summaryrefslogtreecommitdiffstats
path: root/src/parser_bison.y
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2015-11-15 16:10:45 +0000
committerPatrick McHardy <kaber@trash.net>2015-11-15 16:10:45 +0000
commitc552570dc67a56614c1053b9ea2fb27cd6ce106b (patch)
tree4fca6d4ed25a5abead43ec2890085d8e00b17ac1 /src/parser_bison.y
parent2f16228172ff3629c09b7d0633e30c125aebc37e (diff)
rule: move comment out of handle
The comment does not belong to the handle, it belongs to the rule. Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'src/parser_bison.y')
-rw-r--r--src/parser_bison.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parser_bison.y b/src/parser_bison.y
index ab4524b8..ec1e7428 100644
--- a/src/parser_bison.y
+++ b/src/parser_bison.y
@@ -1288,7 +1288,7 @@ rule : stmt_list comment_spec
struct stmt *i;
$$ = rule_alloc(&@$, NULL);
- $$->handle.comment = $2;
+ $$->comment = $2;
list_for_each_entry(i, $1, list)
$$->num_stmts++;
list_splice_tail($1, &$$->stmts);