From 4e5350b409877ecc804cb3ee9a8ab0cb1a3773d9 Mon Sep 17 00:00:00 2001 From: Clifford Wolf Date: Wed, 12 Nov 2014 19:10:35 +0100 Subject: [PATCH] Fixed parsing of nested verilog concatenation and replicate --- frontends/verilog/verilog_parser.y | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { -- 2.30.2