3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-06-06 22:23:23 +00:00

Fixed parsing of nested verilog concatenation and replicate

This commit is contained in:
Clifford Wolf 2014-11-12 19:10:35 +01:00
parent c832b188a5
commit 4e5350b409

View file

@ -1321,7 +1321,7 @@ basic_expr:
'{' concat_list '}' { '{' concat_list '}' {
$$ = $2; $$ = $2;
} | } |
'{' expr '{' expr '}' '}' { '{' expr '{' concat_list '}' '}' {
$$ = new AstNode(AST_REPLICATE, $2, $4); $$ = new AstNode(AST_REPLICATE, $2, $4);
} | } |
'~' attr basic_expr %prec UNARY_OPS { '~' attr basic_expr %prec UNARY_OPS {