mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 10:12:06 +00:00
Allow to scape " in lists of macro args
For example:
PrintMacro : MACRO
PRINTT \1
ENDM
PrintMacro STRCAT(\"Hello\"\, \" world\\n\")
Signed-off-by: Antonio Niño Díaz <antonio_nd@outlook.com>
This commit is contained in:
@@ -763,6 +763,9 @@ static uint32_t yylex_MACROARGS(void)
|
||||
case '\\':
|
||||
ch = '\\';
|
||||
break;
|
||||
case '"':
|
||||
ch = '\"';
|
||||
break;
|
||||
case ',':
|
||||
ch = ',';
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user