Allow ',' to be escaped in string literals

It should only be needed for macro arguments, added to string parsing
function as well for consistency.
This commit is contained in:
AntonioND
2017-03-19 00:02:40 +00:00
parent fa962b9470
commit 0867476bde

View File

@@ -565,6 +565,9 @@ yylex_ReadQuotedString()
case '"':
ch = '"';
break;
case ',':
ch = ',';
break;
case '{':
ch = '{';
break;
@@ -704,6 +707,9 @@ yylex_MACROARGS()
case '\\':
ch = '\\';
break;
case ',':
ch = ',';
break;
case '{':
ch = '{';
break;