* 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
1 changed files with 1 additions and 1 deletions

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; }