aboutsummaryrefslogtreecommitdiffstats
path: root/frontends
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2014-11-12 19:10:35 +0100
committerClifford Wolf <clifford@clifford.at>2014-11-12 19:10:35 +0100
commit4e5350b409877ecc804cb3ee9a8ab0cb1a3773d9 (patch)
tree74aa356dd780ebbb410dec734b4abb3d53b07b8c /frontends
parentc832b188a54954830a38bf187567187ffad49c31 (diff)
downloadyosys-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.y2
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 {