summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--parse.y3
1 files changed, 2 insertions, 1 deletions
diff --git a/parse.y b/parse.y
index 62ceedb8c5..109c227e09 100644
--- a/parse.y
+++ b/parse.y
@@ -4998,7 +4998,8 @@ assoc : arg_value tASSOC arg_value
| tSTRING_BEG string_contents tLABEL_END arg_value
{
/*%%%*/
- $$ = list_append(new_list(dsym_node($2, &@$), &@$), $4, &@$);
+ YYLTYPE location = {@1.first_loc, @3.last_loc};
+ $$ = list_append(new_list(dsym_node($2, &location), &location), $4, &@$);
/*%
$$ = dispatch2(assoc_new, dispatch1(dyna_symbol, $2), $4);
%*/