verilog: Fix write to deleted object
authorDavid Shah <dave@ds0.me>
Sun, 12 Apr 2020 17:49:09 +0000 (18:49 +0100)
committerDavid Shah <dave@ds0.me>
Sun, 12 Apr 2020 17:49:09 +0000 (18:49 +0100)
Signed-off-by: David Shah <dave@ds0.me>
frontends/verilog/verilog_parser.y

index 3bffa3986a781988cbcca752e6f2769976645e13..bd51aa12b876ad04b6ba86132f5e70727aed4101 100644 (file)
@@ -1735,7 +1735,6 @@ single_cell:
                ast_stack.back()->children.push_back(new AstNode(AST_CELLARRAY, $2, astbuf2));
        } '(' cell_port_list ')'{
                SET_AST_NODE_LOC(astbuf2, @1, @$);
-               SET_AST_NODE_LOC(astbuf3, @1, @$);
        };
 
 prim_list: