From: Clifford Wolf Date: Wed, 12 Nov 2014 18:10:35 +0000 (+0100) Subject: Fixed parsing of nested verilog concatenation and replicate X-Git-Tag: yosys-0.5~274 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4e5350b409877ecc804cb3ee9a8ab0cb1a3773d9;p=yosys.git Fixed parsing of nested verilog concatenation and replicate --- 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 {