From 58ab88da82577ee9f73557fcb937016dbfd29893 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antonio=20Ni=C3=B1o=20D=C3=ADaz?= Date: Tue, 20 Feb 2018 23:48:55 +0000 Subject: [PATCH] Allow to scape `"` in lists of macro args MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit For example: PrintMacro : MACRO PRINTT \1 ENDM PrintMacro STRCAT(\"Hello\"\, \" world\\n\") Signed-off-by: Antonio Niño Díaz --- src/asm/lexer.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/asm/lexer.c b/src/asm/lexer.c index bb8f6ad0..cdb91c25 100644 --- a/src/asm/lexer.c +++ b/src/asm/lexer.c @@ -763,6 +763,9 @@ static uint32_t yylex_MACROARGS(void) case '\\': ch = '\\'; break; + case '"': + ch = '\"'; + break; case ',': ch = ','; break;