mirror of https://github.com/YosysHQ/yosys.git
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
|
@ -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…
Reference in New Issue