mirror of https://github.com/YosysHQ/yosys.git
Fixed detection of "task foo(bar);" syntax error
This commit is contained in:
parent
6176f4d081
commit
a3a13cce32
|
@ -708,6 +708,8 @@ wire_name_and_opt_assign:
|
|||
|
||||
wire_name:
|
||||
TOK_ID range_or_multirange {
|
||||
if (astbuf1 == nullptr)
|
||||
frontend_verilog_yyerror("Syntax error.");
|
||||
AstNode *node = astbuf1->clone();
|
||||
node->str = *$1;
|
||||
append_attr_clone(node, albuf);
|
||||
|
|
Loading…
Reference in New Issue