diff options
author | Clifford Wolf <clifford@clifford.at> | 2014-11-12 19:10:35 +0100 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2014-11-12 19:10:35 +0100 |
commit | 4e5350b409877ecc804cb3ee9a8ab0cb1a3773d9 (patch) | |
tree | 74aa356dd780ebbb410dec734b4abb3d53b07b8c /frontends | |
parent | c832b188a54954830a38bf187567187ffad49c31 (diff) | |
download | yosys-4e5350b409877ecc804cb3ee9a8ab0cb1a3773d9.tar.gz yosys-4e5350b409877ecc804cb3ee9a8ab0cb1a3773d9.tar.bz2 yosys-4e5350b409877ecc804cb3ee9a8ab0cb1a3773d9.zip |
Fixed parsing of nested verilog concatenation and replicate
Diffstat (limited to 'frontends')
-rw-r--r-- | frontends/verilog/verilog_parser.y | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/frontends/verilog/verilog_parser.y b/frontends/verilog/verilog_parser.y index 0902e58a2..e40bc188b 100644 --- a/frontends/verilog/verilog_parser.y +++ b/frontends/verilog/verilog_parser.y @@ -1321,7 +1321,7 @@ basic_expr: '{' concat_list '}' { $$ = $2; } | - '{' expr '{' expr '}' '}' { + '{' expr '{' concat_list '}' '}' { $$ = new AstNode(AST_REPLICATE, $2, $4); } | '~' attr basic_expr %prec UNARY_OPS { |