mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-26 02:25:35 +00:00
Fix ignoring of simulation timings so that invalid module parameters cause syntax errors
This commit is contained in:
parent
143c0abd33
commit
2cc09161ff
2 changed files with 2 additions and 4 deletions
|
@ -355,6 +355,8 @@ package_body_stmt:
|
|||
localparam_decl;
|
||||
|
||||
non_opt_delay:
|
||||
'#' TOK_ID { delete $2; } |
|
||||
'#' TOK_CONSTVAL { delete $2; } |
|
||||
'#' '(' expr ')' { delete $3; } |
|
||||
'#' '(' expr ':' expr ':' expr ')' { delete $3; delete $5; delete $7; };
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue