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,4 +1,4 @@
error: Expected constant expression: `unknown` is not constant at assembly time
error: Expected constant expression: undefined symbol `unknown`
at ds-bad.asm(3)
warning: Expression must be 8-bit; use `LOW()` to force 8-bit [-Wtruncation]
at ds-bad.asm(4)