mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Rename root AST JSON node to SourceUnit
This commit is contained in:
@@ -107,7 +107,7 @@ bool ASTJsonConverter::visit(SourceUnit const&)
|
||||
{
|
||||
Json::Value children(Json::arrayValue);
|
||||
|
||||
m_astJson["name"] = "root";
|
||||
m_astJson["name"] = "SourceUnit";
|
||||
m_astJson["children"] = children;
|
||||
m_jsonNodePtrs.push(&m_astJson["children"]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user