mirror of
https://github.com/gbdev/rgbds.git
synced 2026-05-08 19:09:36 +00:00
Merge pull request #419 from dbrotz/fix-blackslash-tab-at-eof
Handle tabs after backslash at end of file
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
m: MACRO
|
||||
ENDM
|
||||
|
||||
m2: MACRO
|
||||
m \ ENDM
|
||||
|
||||
m2
|
||||
@@ -0,0 +1,8 @@
|
||||
m: MACRO
|
||||
ENDM
|
||||
|
||||
REPT 1
|
||||
m ENDR
|
||||
|
||||
REPT 1
|
||||
m \ ENDR
|
||||
@@ -0,0 +1,7 @@
|
||||
; Test that \ followed by whitespace after a macro invocation at the end of the
|
||||
; file doesn't cause a segfault.
|
||||
|
||||
bar: MACRO
|
||||
ENDM
|
||||
|
||||
foo bar baz\
|
||||
Reference in New Issue
Block a user