mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-07 06:33:24 +00:00
Support optional labels at the end of package definition
Signed-off-by: Lukasz Dalek <ldalek@antmicro.com>
This commit is contained in:
parent
3b81a1b809
commit
a8750b496e
1 changed files with 1 additions and 1 deletions
|
@ -556,7 +556,7 @@ package:
|
||||||
current_ast_mod = mod;
|
current_ast_mod = mod;
|
||||||
mod->str = *$4;
|
mod->str = *$4;
|
||||||
append_attr(mod, $1);
|
append_attr(mod, $1);
|
||||||
} ';' package_body TOK_ENDPACKAGE {
|
} ';' package_body TOK_ENDPACKAGE opt_label {
|
||||||
ast_stack.pop_back();
|
ast_stack.pop_back();
|
||||||
current_ast_mod = NULL;
|
current_ast_mod = NULL;
|
||||||
exitTypeScope();
|
exitTypeScope();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue