Use ISCONST for future rgbds lexer compatibility

This commit is contained in:
Rangi 2020-08-17 13:02:49 -04:00
parent 7233c19f57
commit 328a6737db

View File

@ -187,7 +187,7 @@ else
cp \1 cp \1
endc endc
if STRSUB("\2", 1, 1) == "\"" if ISCONST(\2)
; Replace a character with another one ; Replace a character with another one
jr nz, ._\@ jr nz, ._\@
ld a, \2 ld a, \2