mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-26 02:25:35 +00:00
Tiny fixes to verilog parser
This commit is contained in:
parent
bee57c808a
commit
e45d1c8865
2 changed files with 9 additions and 1 deletions
|
@ -209,7 +209,12 @@ module:
|
|||
};
|
||||
|
||||
module_para_opt:
|
||||
'#' '(' TOK_PARAMETER param_decl_list optional_comma ')' | /* empty */;
|
||||
'#' '(' module_para_list ')' | /* empty */;
|
||||
|
||||
module_para_list:
|
||||
TOK_PARAMETER single_param_decl |
|
||||
TOK_PARAMETER single_param_decl ',' module_para_list |
|
||||
/* empty */;
|
||||
|
||||
module_args_opt:
|
||||
'(' ')' | /* empty */ | '(' module_args optional_comma ')';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue