Improve the error messages for interpolating undefined or invalid symbols (#1423)

This commit is contained in:
Sylvie
2024-07-25 17:36:02 -04:00
committed by GitHub
parent e179ba5fd3
commit 13a8895fca
4 changed files with 22 additions and 6 deletions

View File

@@ -1,3 +1,7 @@
error: interpolation.asm(20):
Only numerical and string symbols can be interpolated
error: Assembly aborted (1 error)!
error: interpolation.asm(18):
Interpolated symbol "undef" does not exist
error: interpolation.asm(22):
Interpolated symbol "label" does not exist
error: interpolation.asm(29):
Interpolated symbol "foo" is not a numeric or string symbol
error: Assembly aborted (3 errors)!