projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c832b18
)
Fixed parsing of nested verilog concatenation and replicate
author
Clifford Wolf
<clifford@clifford.at>
Wed, 12 Nov 2014 18:10:35 +0000
(19:10 +0100)
committer
Clifford Wolf
<clifford@clifford.at>
Wed, 12 Nov 2014 18:10:35 +0000
(19:10 +0100)
frontends/verilog/verilog_parser.y
patch
|
blob
|
history
diff --git
a/frontends/verilog/verilog_parser.y
b/frontends/verilog/verilog_parser.y
index 0902e58a2a41c1d1c942a8e538cbf855840c103b..e40bc188bf783ecb9d39361185e2b867ae00e060 100644
(file)
--- 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 {