SIZEOF("Section") and STARTOF("Section") can be known

Fixes #890
This commit is contained in:
Rangi
2021-06-20 16:10:27 -04:00
committed by Eldred Habert
parent 06b57aa1ce
commit a67f5d6e01
7 changed files with 87 additions and 17 deletions

View File

@@ -1,5 +1,11 @@
ERROR: section-sizeof-startof.asm(5):
Expected constant expression: Section "sect"'s size is not known
ERROR: section-sizeof-startof.asm(6):
Expected constant expression: Section "sect"'s start is not known
error: Assembly aborted (2 errors)!
ERROR: section-sizeof-startof.asm(21):
Expected constant expression: Section "sect2"'s bank is not known
ERROR: section-sizeof-startof.asm(22):
Expected constant expression: Section "sect2"'s size is not known
ERROR: section-sizeof-startof.asm(23):
Expected constant expression: Section "sect2"'s start is not known
ERROR: section-sizeof-startof.asm(30):
Expected constant expression: Section "sect3"'s size is not known
error: Assembly aborted (5 errors)!