aboutsummaryrefslogtreecommitdiffstats
path: root/parse.y
diff options
context:
space:
mode:
Diffstat (limited to 'parse.y')
-rw-r--r--parse.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/parse.y b/parse.y
index aa37439498..cddd97114b 100644
--- a/parse.y
+++ b/parse.y
@@ -3912,7 +3912,6 @@ strings : string
else {
node = evstr2dstr(node);
}
- heredoc_indent = 0;
$$ = node;
/*%
$$ = $1;
@@ -3935,6 +3934,7 @@ string : tCHAR
string1 : tSTRING_BEG string_contents tSTRING_END
{
heredoc_dedent($2);
+ heredoc_indent = 0;
/*%%%*/
$$ = $2;
/*%