Allow { and } to be escaped in string literals
As stated in the documentation but that was not actually implemented.
@@ -565,6 +565,12 @@ yylex_ReadQuotedString()
case '"':
ch = '"';
break;
+ case '{':
+ ch = '{';
+ break;
+ case '}':
+ ch = '}';
+ break;
default:
maxLength = MAXSTRLEN - index;
length = CopyMacroArg(&yylval.tzString[index], maxLength, ch);
@@ -698,6 +704,12 @@ yylex_MACROARGS()
case '\\':
ch = '\\';
break;
+ case '{':
+ ch = '{';
+ break;
+ case '}':
+ ch = '}';
+ break;
default:
maxLength = MAXSTRLEN - index;
length = CopyMacroArg(&yylval.tzString[index], maxLength, ch);
