verilog: fix case location

(cherry picked from commit 7713b5a811)
This commit is contained in:
Emil J. Tywoniak 2025-11-02 11:22:33 +01:00
parent 2330860c48
commit 292d44f208
1 changed files with 1 additions and 0 deletions

View File

@ -3054,6 +3054,7 @@ case_item:
extra->case_type_stack.pop_back();
SET_AST_NODE_LOC(extra->ast_stack.back(), @4, @4);
extra->ast_stack.pop_back();
SET_AST_NODE_LOC(extra->ast_stack.back(), @2, @2);
extra->ast_stack.pop_back();
};