mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Deterministic AST node identifiers.
This commit is contained in:
1 parent
6ecb4aa36f
commit
99eaadd2cd
4 files changed
+11
-2
No files matched your search
@@ -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()
|
||||
|
||||
Reference in new issue
Block a user