diff options
Diffstat (limited to 'frontends/ast')
-rw-r--r-- | frontends/ast/simplify.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/frontends/ast/simplify.cc b/frontends/ast/simplify.cc index b9fb37d50..69056aeee 100644 --- a/frontends/ast/simplify.cc +++ b/frontends/ast/simplify.cc @@ -2637,10 +2637,9 @@ skip_dynamic_range_lvalue_expansion:; wire->is_output = false; wire->is_reg = true; wire->attributes["\\nosync"] = AstNode::mkconst_int(1, false); - if (child->type == AST_ENUM_ITEM){ + if (child->type == AST_ENUM_ITEM) wire->attributes["\\enum_base_type"] = child->attributes["\\enum_base_type"]; - } wire_cache[child->str] = wire; current_ast_mod->children.push_back(wire); |