mirror of
https://github.com/gbdev/rgbds.git
synced 2025-12-03 00:07:48 +00:00
Add string expansion reporting
And fix line counting with expansion-made newlines. This has the same bug as the old lexer (equs-newline's output does not print the second warning as being part of the expansion). Additionally, we regress equs-recursion, as we are no longer able to catch this specific EQUS recursion. Simply enough, the new expansion begins **after** the old one ends! I have found no way to handle that.
This commit is contained in:
8
test/asm/equs-newline.err
Normal file
8
test/asm/equs-newline.err
Normal file
@@ -0,0 +1,8 @@
|
||||
warning: test/asm/equs-newline.asm(2): [-Wuser]
|
||||
First
|
||||
while expanding symbol "ACT"
|
||||
warning: test/asm/equs-newline.asm(3): [-Wuser]
|
||||
Second
|
||||
while expanding symbol "ACT"
|
||||
warning: test/asm/equs-newline.asm(4): [-Wuser]
|
||||
Third
|
||||
Reference in New Issue
Block a user