aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/ast/ASTJsonConverter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libsolidity/ast/ASTJsonConverter.cpp')
-rw-r--r--libsolidity/ast/ASTJsonConverter.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/libsolidity/ast/ASTJsonConverter.cpp b/libsolidity/ast/ASTJsonConverter.cpp
index fc43976d..c4134f4e 100644
--- a/libsolidity/ast/ASTJsonConverter.cpp
+++ b/libsolidity/ast/ASTJsonConverter.cpp
@@ -362,6 +362,7 @@ void ASTJsonConverter::endVisit(FunctionDefinition const&)
void ASTJsonConverter::endVisit(VariableDeclaration const&)
{
+ goUp();
}
void ASTJsonConverter::endVisit(TypeName const&)
@@ -378,10 +379,12 @@ void ASTJsonConverter::endVisit(UserDefinedTypeName const&)
void ASTJsonConverter::endVisit(Mapping const&)
{
+ goUp();
}
void ASTJsonConverter::endVisit(InlineAssembly const&)
{
+ goUp();
}
void ASTJsonConverter::endVisit(Block const&)