diff options
author | Alex Sinyagin <sinyagin.alexander@gmail.com> | 2016-08-18 23:38:20 +0800 |
---|---|---|
committer | Alex Sinyagin <sinyagin.alexander@gmail.com> | 2016-08-18 23:38:20 +0800 |
commit | 4b9eb299d023989873528e6e52fdc8925d3fcda9 (patch) | |
tree | 508582ed481c9c9cfb5e91baf7066dd746d7c1e4 /libsolidity | |
parent | 4387d8bbe3096864da6db478006493e491e8eda6 (diff) | |
download | dexon-solidity-4b9eb299d023989873528e6e52fdc8925d3fcda9.tar.gz dexon-solidity-4b9eb299d023989873528e6e52fdc8925d3fcda9.tar.zst dexon-solidity-4b9eb299d023989873528e6e52fdc8925d3fcda9.zip |
Rename root AST JSON node to SourceUnit
Diffstat (limited to 'libsolidity')
-rw-r--r-- | libsolidity/ast/ASTJsonConverter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libsolidity/ast/ASTJsonConverter.cpp b/libsolidity/ast/ASTJsonConverter.cpp index 3ce572bf..d23c4890 100644 --- a/libsolidity/ast/ASTJsonConverter.cpp +++ b/libsolidity/ast/ASTJsonConverter.cpp @@ -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"]); |