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

@@ -1,6 +1,6 @@
error: Base value must be equal to $FF00 for [$FF00+C]
at ff00+c-bad.asm(8)
error: Expected constant expression: `xyz` is not constant at assembly time
error: Expected constant expression: undefined symbol `xyz`
at ff00+c-bad.asm(9)
error: Base value must be equal to $FF00 for [$FF00+C]
at ff00+c-bad.asm(9)