aboutsummaryrefslogtreecommitdiff
path: root/src/libexpr/lexer.l
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2010-04-21 16:18:27 +0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2010-04-21 16:18:27 +0000
commit6f0f16497a8ce671c2aa9ff3cd9a27eb1f931cf2 (patch)
treec42aa1e59728b16f9e3cf05ddadf5783a0d5554d /src/libexpr/lexer.l
parentcae4efdca3a207b97244aef96161ad2974ec4e50 (diff)
* Fix the interpretation of ''\<character> in indented strings.
Diffstat (limited to 'src/libexpr/lexer.l')
-rw-r--r--src/libexpr/lexer.l2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libexpr/lexer.l b/src/libexpr/lexer.l
index 7aa05db8c..00de57a7b 100644
--- a/src/libexpr/lexer.l
+++ b/src/libexpr/lexer.l
@@ -137,7 +137,7 @@ inherit { return INHERIT; }
return IND_STR;
}
<IND_STRING>\'\'\\. {
- yylval->e = new ExprIndStr(yytext + 2);
+ yylval->e = unescapeStr(yytext + 2);
return IND_STR;
}
<IND_STRING>\$\{ { BEGIN(INITIAL); return DOLLAR_CURLY; }