Allow spaces after a code letter
This commit is contained in:
parent
cdcb80f3c5
commit
400e9329be
|
@ -973,6 +973,7 @@ void get_command() {
|
||||||
bool code_has_value() {
|
bool code_has_value() {
|
||||||
int i = 1;
|
int i = 1;
|
||||||
char c = seen_pointer[i];
|
char c = seen_pointer[i];
|
||||||
|
while (c == ' ') c = seen_pointer[++i];
|
||||||
if (c == '-' || c == '+') c = seen_pointer[++i];
|
if (c == '-' || c == '+') c = seen_pointer[++i];
|
||||||
if (c == '.') c = seen_pointer[++i];
|
if (c == '.') c = seen_pointer[++i];
|
||||||
return (c >= '0' && c <= '9');
|
return (c >= '0' && c <= '9');
|
||||||
|
|
Loading…
Reference in a new issue