Skip to content

Commit 160ea94

Browse files
author
Daniel Kroening
committed
symbol_table API
1 parent 136b4b6 commit 160ea94

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vhdl/vhdl_typecheck.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ void vhdl_typecheckt::typecheck_architecture_decl(irept &decl)
8484
new_symbol.type=type;
8585
new_symbol.mode=module_symbol->mode;
8686

87-
symbol_table.move(new_symbol);
87+
symbol_table.add(new_symbol);
8888
}
8989
}
9090
else if(d.id()==ID_component)

0 commit comments

Comments
 (0)