aboutsummaryrefslogtreecommitdiffstats
path: root/parse.y
diff options
context:
space:
mode:
Diffstat (limited to 'parse.y')
-rw-r--r--parse.y1
1 files changed, 1 insertions, 0 deletions
diff --git a/parse.y b/parse.y
index 857b62bfe7..120b935d39 100644
--- a/parse.y
+++ b/parse.y
@@ -10865,6 +10865,7 @@ new_op_assign_gen(struct parser_params *parser, NODE *lhs, ID op, NODE *rhs, con
else {
asgn = lhs;
asgn->nd_value = new_call(gettable(vid, location), op, new_list(rhs, location), location);
+ asgn->nd_loc = *location;
}
}
else {