aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity
diff options
context:
space:
mode:
Diffstat (limited to 'libsolidity')
-rw-r--r--libsolidity/ast/ASTJsonConverter.cpp2
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"]);