mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 10:12:06 +00:00
Fixes #881 by moving the task from the lexer to the parser. This both alleviates the need for backtracking in the lexer, removing what is (was) arguably a hack, and causes tokenization boundaries to be properly respected, fixing the issue mentioned above. Co-authored-by: Rangi <remy.oukaour+rangi42@gmail.com>
6 lines
670 B
NASM
6 lines
670 B
NASM
SECTION "test", ROM0[0]
|
|
ld [ $ff00 + c ], a
|
|
; 257 spaces exceeds both LEXER_BUF_SIZE (42) and uint8_t limit (255)
|
|
ld [ $ff00 + c ], a
|
|
ld [ $ff00 + c ], a
|