From 642a8ae9449c40f4e78b562a501d49d34aa8aec6 Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Wed, 8 Nov 2023 18:14:41 +0000 Subject: Lexer symbols now recognise macro constants and references --- asm/lexer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'asm/lexer.c') diff --git a/asm/lexer.c b/asm/lexer.c index 8b0a061..49756f5 100644 --- a/asm/lexer.c +++ b/asm/lexer.c @@ -143,7 +143,7 @@ char uppercase(char c) bool is_symbol(char c) { return isalpha(c) || isdigit(c) || c == '-' || c == '_' || c == '.' || - c == ':'; + c == ':' || c == '(' || c == ')' || c == '%' || c == '$'; } bool is_valid_hex_char(char c) -- cgit v1.2.3-13-gbd6f