aboutsummaryrefslogtreecommitdiff
path: root/src/libexpr/lexer.l
diff options
context:
space:
mode:
Diffstat (limited to 'src/libexpr/lexer.l')
-rw-r--r--src/libexpr/lexer.l3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libexpr/lexer.l b/src/libexpr/lexer.l
index 5b1ff0350..d4fae2d7d 100644
--- a/src/libexpr/lexer.l
+++ b/src/libexpr/lexer.l
@@ -160,7 +160,8 @@ or { return OR_KW; }
yylval->e = new ExprIndStr(yytext);
return IND_STR;
}
-<IND_STRING>\'\'\$ {
+<IND_STRING>\'\'\$ |
+<IND_STRING>\$ {
yylval->e = new ExprIndStr("$");
return IND_STR;
}