summaryrefslogtreecommitdiff
path: root/frontends/verilog/parser.y
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2013-10-24 11:20:13 +0200
committerClifford Wolf <clifford@clifford.at>2013-10-24 11:20:13 +0200
commit23cf23418cd28b98c11a1ed3fb45dbb927f48e65 (patch)
tree27042b15ed64cb2a438c97b4eaeb23a681cffa0d /frontends/verilog/parser.y
parenteae43e2db430c951018b5cb70f047de84ad010b0 (diff)
Fixed handling of boolean attributes (frontends)
Diffstat (limited to 'frontends/verilog/parser.y')
-rw-r--r--frontends/verilog/parser.y4
1 files changed, 2 insertions, 2 deletions
diff --git a/frontends/verilog/parser.y b/frontends/verilog/parser.y
index 59d0a570..35e22517 100644
--- a/frontends/verilog/parser.y
+++ b/frontends/verilog/parser.y
@@ -776,11 +776,11 @@ case_type:
opt_synopsys_attr:
opt_synopsys_attr TOK_SYNOPSYS_FULL_CASE {
if (ast_stack.back()->attributes.count("\\full_case") == 0)
- ast_stack.back()->attributes["\\full_case"] = AstNode::mkconst_int(0, false, 0);
+ ast_stack.back()->attributes["\\full_case"] = AstNode::mkconst_int(1, false);
} |
opt_synopsys_attr TOK_SYNOPSYS_PARALLEL_CASE {
if (ast_stack.back()->attributes.count("\\parallel_case") == 0)
- ast_stack.back()->attributes["\\parallel_case"] = AstNode::mkconst_int(0, false, 0);
+ ast_stack.back()->attributes["\\parallel_case"] = AstNode::mkconst_int(1, false);
} |
/* empty */;