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 12d278a131..e18c50c194 100644
--- a/parse.y
+++ b/parse.y
@@ -3942,6 +3942,10 @@ string : tCHAR
string1 : tSTRING_BEG string_contents tSTRING_END
{
$$ = new_string1(heredoc_dedent($2));
+ /*%%%*/
+ if ($$) nd_set_loc($$, &@$);
+ /*%
+ %*/
}
;