From e9368a1d7e13bc691f86f25cd80981110b937cab Mon Sep 17 00:00:00 2001 From: Clifford Wolf Date: Sat, 14 Feb 2015 14:21:15 +0100 Subject: Various fixes for memories with offsets --- frontends/ast/simplify.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'frontends/ast/simplify.cc') diff --git a/frontends/ast/simplify.cc b/frontends/ast/simplify.cc index 10b65100..09564972 100644 --- a/frontends/ast/simplify.cc +++ b/frontends/ast/simplify.cc @@ -1421,6 +1421,7 @@ skip_dynamic_range_lvalue_expansion:; if (current_always->type != AST_INITIAL) wrnode->children.push_back(new AstNode(AST_IDENTIFIER)); wrnode->str = children[0]->str; + wrnode->id2ast = children[0]->id2ast; wrnode->children[0]->str = id_addr; wrnode->children[1]->str = id_data; if (current_always->type != AST_INITIAL) -- cgit v1.2.3