aboutsummaryrefslogtreecommitdiffstats
path: root/parse.y
diff options
context:
space:
mode:
Diffstat (limited to 'parse.y')
-rw-r--r--parse.y4
1 files changed, 4 insertions, 0 deletions
diff --git a/parse.y b/parse.y
index b19076cf12..1b0608d8e7 100644
--- a/parse.y
+++ b/parse.y
@@ -2067,10 +2067,14 @@ string_content : tSTRING_CONTENT
$<node>$ = lex_strterm;
lex_strterm = 0;
lex_state = EXPR_BEG;
+ COND_PUSH(0);
+ CMDARG_PUSH(0);
}
compstmt '}'
{
lex_strterm = $<node>2;
+ COND_LEXPOP();
+ CMDARG_LEXPOP();
$$ = new_evstr($3);
}
;