mirror of
https://github.com/gbdev/rgbds.git
synced 2025-12-02 15:57:48 +00:00
Don't consider difference of invalid labels constant
If a label is defined outside of a section, avoid trying to obtain its value.
This commit is contained in:
5
test/asm/use-label-outside-section.err
Normal file
5
test/asm/use-label-outside-section.err
Normal file
@@ -0,0 +1,5 @@
|
||||
ERROR: use-label-outside-section.asm(1):
|
||||
Label "lab" created outside of a SECTION
|
||||
ERROR: use-label-outside-section.asm(2):
|
||||
Expected constant expression: 'lab' is not constant at assembly time
|
||||
error: Assembly aborted (2 errors)!
|
||||
Reference in New Issue
Block a user