aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libsolidity/ast/ASTJsonConverter.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/libsolidity/ast/ASTJsonConverter.cpp b/libsolidity/ast/ASTJsonConverter.cpp
index c7a9d7ec..3ce572bf 100644
--- a/libsolidity/ast/ASTJsonConverter.cpp
+++ b/libsolidity/ast/ASTJsonConverter.cpp
@@ -152,7 +152,7 @@ bool ASTJsonConverter::visit(EnumDefinition const& _node)
bool ASTJsonConverter::visit(EnumValue const& _node)
{
- addJsonNode(_node, "EnumValue", { make_pair("name", _node.name()) }, true);
+ addJsonNode(_node, "EnumValue", { make_pair("name", _node.name()) });
return true;
}
@@ -244,7 +244,7 @@ bool ASTJsonConverter::visit(Block const& _node)
bool ASTJsonConverter::visit(PlaceholderStatement const& _node)
{
- addJsonNode(_node, "PlaceholderStatement", {}, true);
+ addJsonNode(_node, "PlaceholderStatement", {});
return true;
}
@@ -432,7 +432,6 @@ void ASTJsonConverter::endVisit(EnumDefinition const&)
void ASTJsonConverter::endVisit(EnumValue const&)
{
- goUp();
}
void ASTJsonConverter::endVisit(ParameterList const&)
@@ -499,7 +498,6 @@ void ASTJsonConverter::endVisit(Block const&)
void ASTJsonConverter::endVisit(PlaceholderStatement const&)
{
- goUp();
}
void ASTJsonConverter::endVisit(IfStatement const&)