summaryrefslogtreecommitdiffstats
path: root/src/parser_bison.y
diff options
context:
space:
mode:
Diffstat (limited to 'src/parser_bison.y')
-rw-r--r--src/parser_bison.y1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/parser_bison.y b/src/parser_bison.y
index ebaef17c..735f2dff 100644
--- a/src/parser_bison.y
+++ b/src/parser_bison.y
@@ -2057,6 +2057,7 @@ hook_spec : TYPE STRING HOOK STRING dev_spec prio_spec
$<chain>0->type = xstrdup(chain_type);
xfree($2);
+ $<chain>0->loc = @$;
$<chain>0->hook.loc = @4;
$<chain>0->hook.name = chain_hookname_lookup($4);
if ($<chain>0->hook.name == NULL) {