diff options
Diffstat (limited to 'asm')
-rw-r--r-- | asm/lexer.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/asm/lexer.c b/asm/lexer.c index 7f37ce7..f2b63ba 100644 --- a/asm/lexer.c +++ b/asm/lexer.c @@ -136,7 +136,8 @@ char uppercase(char c) bool is_symbol(char c) { - return isalpha(c) || c == '-' || c == '_' || c == '.' || c == ':'; + return isalpha(c) || isdigit(c) || c == '-' || c == '_' || c == '.' || + c == ':'; } bool is_valid_hex_char(char c) |