summaryrefslogtreecommitdiffhomepage
path: root/src/parse.y
diff options
context:
space:
mode:
Diffstat (limited to 'src/parse.y')
-rw-r--r--src/parse.y1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/parse.y b/src/parse.y
index dfe573b95..677a39736 100644
--- a/src/parse.y
+++ b/src/parse.y
@@ -3942,6 +3942,7 @@ parser_yylex(parser_state *p)
if (!ISSPACE(c2)) {
tokfix(p);
yylval.nd = new_str(p, tok(p), toklen(p));
+ p->lstate = EXPR_DOT;
return tHEREDOC_BEG;
}
}