diff options
author | Aryadev Chavali <aryadev@aryadevchavali.com> | 2023-11-08 18:14:41 +0000 |
---|---|---|
committer | Aryadev Chavali <aryadev@aryadevchavali.com> | 2023-11-08 18:14:41 +0000 |
commit | 642a8ae9449c40f4e78b562a501d49d34aa8aec6 (patch) | |
tree | 4a7a72bd5b5dd1f8ae433eee05fe469d94f9d83b /asm | |
parent | 8fa40d8515daeaafe74e686265e7f3104ae76b65 (diff) | |
download | ovm-642a8ae9449c40f4e78b562a501d49d34aa8aec6.tar.gz ovm-642a8ae9449c40f4e78b562a501d49d34aa8aec6.tar.bz2 ovm-642a8ae9449c40f4e78b562a501d49d34aa8aec6.zip |
Lexer symbols now recognise macro constants and references
Diffstat (limited to 'asm')
-rw-r--r-- | asm/lexer.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) |