1
0
mirror of synced 2026-04-15 17:50:00 +00:00

Support optional labels at the end of package definition

Signed-off-by: Lukasz Dalek <ldalek@antmicro.com>
This commit is contained in:
Lukasz Dalek
2020-06-19 20:46:38 +02:00
committed by Kamil Rakoczy
parent 3b81a1b809
commit a8750b496e

View File

@@ -556,7 +556,7 @@ package:
current_ast_mod = mod;
mod->str = *$4;
append_attr(mod, $1);
} ';' package_body TOK_ENDPACKAGE {
} ';' package_body TOK_ENDPACKAGE opt_label {
ast_stack.pop_back();
current_ast_mod = NULL;
exitTypeScope();