mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 18:22:07 +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 '\\':
|
case '\\':
|
||||||
ch = '\\';
|
ch = '\\';
|
||||||
break;
|
break;
|
||||||
|
case '"':
|
||||||
|
ch = '\"';
|
||||||
|
break;
|
||||||
case ',':
|
case ',':
|
||||||
ch = ',';
|
ch = ',';
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user