summaryrefslogtreecommitdiff
path: root/frontends
diff options
context:
space:
mode:
Diffstat (limited to 'frontends')
-rw-r--r--frontends/verilog/parser.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontends/verilog/parser.y b/frontends/verilog/parser.y
index ba0efcf5..59d0a570 100644
--- a/frontends/verilog/parser.y
+++ b/frontends/verilog/parser.y
@@ -179,7 +179,7 @@ attr_assign:
hierarchical_id {
if (attr_list.count(*$1) != 0)
delete attr_list[*$1];
- attr_list[*$1] = AstNode::mkconst_int(0, false, 0);
+ attr_list[*$1] = AstNode::mkconst_int(1, false);
delete $1;
} |
hierarchical_id '=' expr {