summaryrefslogtreecommitdiff
path: root/parse/gram.y
diff options
context:
space:
mode:
Diffstat (limited to 'parse/gram.y')
-rw-r--r--parse/gram.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/parse/gram.y b/parse/gram.y
index bc3e114..540a4fe 100644
--- a/parse/gram.y
+++ b/parse/gram.y
@@ -287,7 +287,7 @@ attrs : /* empty */ {$$.nstr = 0; $$.str = NULL;}
;
decllist: declbody {
- $$.nl = NULL; $$.nn = 0;
+ $$.loc = $1->loc; $$.nl = NULL; $$.nn = 0;
lappend(&$$.nl, &$$.nn, $1);
}
| declbody Tcomma decllist {