diff --git a/asm6502.c b/asm6502.c index 278f58f..fdbb0da 100644 --- a/asm6502.c +++ b/asm6502.c @@ -315,7 +315,7 @@ char *err_msg[] = { "string expected", "can not read file", "maximum file stack size exceeded", - "byte sized value expected", + "byte sized value expected" }; #define ERROR_NORM 1 @@ -445,11 +445,6 @@ void skip_curr_and_white(char **p) } } -int first_number(char c) -{ - return c == '$' || c == '%' || isdigit(c); -} - value number(char **p) { value num= {0,0}; @@ -1250,7 +1245,7 @@ void directive_binary(char **p, int pass) skip_white(p); if (**p == ',') { skip_curr_and_white(p); - if (first_number(**p)) skip = expr(p); + skip = expr(p); skip_white(p); if (**p == ',') { skip_curr_and_white(p);