projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
60876ce
)
correct wire declaration grammar for #1614
author
Stefan Biereigel
<stefan@biereigel.de>
Mon, 3 Feb 2020 20:29:40 +0000
(21:29 +0100)
committer
Stefan Biereigel
<stefan@biereigel.de>
Mon, 3 Feb 2020 20:29:40 +0000
(21:29 +0100)
frontends/verilog/verilog_parser.y
patch
|
blob
|
history
diff --git
a/frontends/verilog/verilog_parser.y
b/frontends/verilog/verilog_parser.y
index a30935e0a3d2a0312edb9478bf61c39eb689b79a..96f2faaa15537fecda531003dd1aeff3c27dbb6f 100644
(file)
--- a/
frontends/verilog/verilog_parser.y
+++ b/
frontends/verilog/verilog_parser.y
@@
-476,7
+476,7
@@
wire_type:
astbuf3 = new AstNode(AST_WIRE);
current_wire_rand = false;
current_wire_const = false;
- } wire_type_token_list
delay
{
+ } wire_type_token_list {
$$ = astbuf3;
};
@@
-1240,7
+1240,7
@@
wire_decl:
}
if (astbuf2 && astbuf2->children.size() != 2)
frontend_verilog_yyerror("wire/reg/logic packed dimension must be of the form: [<expr>:<expr>], [<expr>+:<expr>], or [<expr>-:<expr>]");
- } wire_name_list {
+ }
delay
wire_name_list {
delete astbuf1;
if (astbuf2 != NULL)
delete astbuf2;