ref: 0867476bdea4c19f7c8ecb0cfa422e803a690f0a
parent: fa962b94702787480203331f44b036199eaf7218
author: AntonioND <[email protected]>
date: Sat Mar 18 20:02:40 EDT 2017
Allow ',' to be escaped in string literals It should only be needed for macro arguments, added to string parsing function as well for consistency.
--- a/src/asm/lexer.c
+++ b/src/asm/lexer.c
@@ -565,6 +565,9 @@
case '"':
ch = '"';
break;
+ case ',':
+ ch = ',';
+ break;
case '{':
ch = '{';
break;
@@ -703,6 +706,9 @@
break;
case '\\':
ch = '\\';
+ break;
+ case ',':
+ ch = ',';
break;
case '{':
ch = '{';