More specific error message when an expression is not constant because a symbol is undefined

This commit is contained in:
Rangi42
2025-08-24 22:02:41 -04:00
parent 8564df51e5
commit c578a7b761
8 changed files with 19 additions and 18 deletions

View File

@@ -16,7 +16,7 @@ error: Strings as numbers must be a single charmap unit
at raw-string-symbol-errors.asm(17)
error: `m` is not a numeric symbol
at raw-string-symbol-errors.asm(18)
error: Expected constant expression: `u` is not constant at assembly time
error: Expected constant expression: undefined symbol `u`
at raw-string-symbol-errors.asm(19)
error: `n` is not a string symbol
at raw-string-symbol-errors.asm(21)