mirror of https://github.com/YosysHQ/yosys.git
Ignore empty parameters in Verilog module instantiations
Fixes #2394 Signed-off-by: Claire Xenia Wolf <claire@symbioticeda.com>
This commit is contained in:
parent
7e2fc2eaeb
commit
46f0932c4c
|
@ -1891,6 +1891,9 @@ cell_parameter:
|
|||
astbuf1->children.push_back(node);
|
||||
node->children.push_back($1);
|
||||
} |
|
||||
'.' TOK_ID '(' ')' {
|
||||
// just ignore empty parameters
|
||||
} |
|
||||
'.' TOK_ID '(' expr ')' {
|
||||
AstNode *node = new AstNode(AST_PARASET);
|
||||
node->str = *$2;
|
||||
|
|
Loading…
Reference in New Issue