Fixed: clear the tables and stacks from the previous operation.

This commit is contained in:
arookas 2015-12-23 20:22:37 -05:00
parent c4fc1f9f4f
commit c4532d85e7

View file

@ -42,6 +42,10 @@ namespace arookas
{
throw new ArgumentNullException("importResolver");
}
DataTable.Clear();
SymbolTable.Clear();
Scopes.Clear();
Loops.Clear();
ImportResolver = importResolver;
writer = new aBinaryWriter(output, Endianness.Big, Encoding.GetEncoding(932));
Text = new sunWriter(writer);