// empty line
.macro .test
.notice readu32("doesntexist.bin")
.endmacro
// empty line
.test
.test
Produces the following three error messages:
test.asm(7) error: Could not open 001A6948
test.asm(7) error: Could not open 001A6600
test.asm(5) error: Could not open 001A6830
Even though the macro is only being called twice. Additionally, the line number for the error message is wrong; line 5 is an empty line, line 7 is the second .test call which makes sense (although it would be nicer to have the line number inside the macro, imo) but there is no corresponding error message for the first .test call on line 6.
Produces the following three error messages:
Even though the macro is only being called twice. Additionally, the line number for the error message is wrong; line 5 is an empty line, line 7 is the second .test call which makes sense (although it would be nicer to have the line number inside the macro, imo) but there is no corresponding error message for the first .test call on line 6.