diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/parser_bison.y | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/parser_bison.y b/src/parser_bison.y index 24210b2b..174150aa 100644 --- a/src/parser_bison.y +++ b/src/parser_bison.y @@ -1970,6 +1970,14 @@ rule_position : chain_spec handle_merge(&$1, &$2); $$ = $1; } + | chain_spec handle_spec + { + $2.position.location = $2.handle.location; + $2.position.id = $2.handle.id; + $2.handle.id = 0; + handle_merge(&$1, &$2); + $$ = $1; + } ; ruleid_spec : chain_spec handle_spec |