diff options
author | Clifford Wolf <clifford@clifford.at> | 2015-02-19 13:36:54 +0100 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2015-02-19 13:36:54 +0100 |
commit | e0e6d130cd083a8285ea2991629e0049023da234 (patch) | |
tree | 7be213913f1145b536f7b696e95e300ef67c834f /frontends | |
parent | 08c0fe164fefb28dc209d35e7bd757538311d2e6 (diff) | |
download | yosys-e0e6d130cd083a8285ea2991629e0049023da234.tar.gz yosys-e0e6d130cd083a8285ea2991629e0049023da234.tar.bz2 yosys-e0e6d130cd083a8285ea2991629e0049023da234.zip |
YosysJS stuff
Diffstat (limited to 'frontends')
-rw-r--r-- | frontends/verilog/verilog_parser.y | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/frontends/verilog/verilog_parser.y b/frontends/verilog/verilog_parser.y index 23cea27f1..f2bc9c573 100644 --- a/frontends/verilog/verilog_parser.y +++ b/frontends/verilog/verilog_parser.y @@ -139,6 +139,7 @@ static void free_attr(std::map<std::string, AstNode*> *al) %% input: { + ast_stack.clear(); ast_stack.push_back(current_ast); } design { ast_stack.pop_back(); |