mirror of
https://github.com/gbdev/rgbds.git
synced 2026-08-20 22:04:32 +00:00
Creating a `Symbol` with `type = SYM_LABEL` but `section = nullptr` is inconsistent and dangerous. I was not able to cause any buggy behavior so far, but it's safer and reasonable to not create such a symbol in the first place. The main consequence is that `DEF(LabelOutsideSection)` will now evaluate as 0.
8 lines
294 B
Plaintext
8 lines
294 B
Plaintext
error: Invalid character 's' after line continuation
|
|
at line-continuation.asm(3)
|
|
warning: spam [-Wuser]
|
|
at line-continuation.asm::spam(4) <- line-continuation.asm(6)
|
|
error: Cannot define label `foo` outside of a `SECTION`
|
|
at line-continuation.asm(14)
|
|
Assembly aborted with 2 errors
|