Reset AST node IDs between compilation runs.

This commit is contained in:
chriseth
2017-01-20 12:00:16 +01:00
parent da178d967f
commit 7159944f0f
5 changed files with 28 additions and 5 deletions
+1
View File
@@ -112,6 +112,7 @@ bool CompilerStack::parse()
{
//reset
m_errors.clear();
ASTNode::resetID();
m_parseSuccessful = false;
if (SemVerVersion{string(VersionString)}.isPrerelease())