* Fix the interpretation of ''\<character> in indented strings.

This commit is contained in:
Eelco Dolstra 2010-04-21 16:18:27 +00:00
parent cae4efdca3
commit 6f0f16497a

View file

@ -137,7 +137,7 @@ inherit { return INHERIT; }
return IND_STR; return IND_STR;
} }
<IND_STRING>\'\'\\. { <IND_STRING>\'\'\\. {
yylval->e = new ExprIndStr(yytext + 2); yylval->e = unescapeStr(yytext + 2);
return IND_STR; return IND_STR;
} }
<IND_STRING>\$\{ { BEGIN(INITIAL); return DOLLAR_CURLY; } <IND_STRING>\$\{ { BEGIN(INITIAL); return DOLLAR_CURLY; }