Deterministic AST node identifiers.

This commit is contained in:
chriseth committed 2017-01-17 10:45:45 +01:00
1 parent 6ecb4aa36f
commit 99eaadd2cd
4 files changed
+11 -2

No files matched your search

+2
View File
@@ -37,6 +37,8 @@ using namespace dev::solidity;
ASTNode::ASTNode(SourceLocation const& _location):
m_location(_location)
{
static size_t id = 0;
m_id = ++id;
}
ASTNode::~ASTNode()