aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Sinyagin <sinyagin.alexander@gmail.com>2016-08-10 21:04:12 +0800
committerAlex Sinyagin <sinyagin.alexander@gmail.com>2016-08-12 01:00:19 +0800
commita7ff352d383ef4a937e01104706f21cb621a62f9 (patch)
treee4421475a3111b761118c5d55fc7b13d93696ed5
parentf2bec51a96ef8f26d06d171dc7566b205b35acb3 (diff)
downloaddexon-solidity-a7ff352d383ef4a937e01104706f21cb621a62f9.tar.gz
dexon-solidity-a7ff352d383ef4a937e01104706f21cb621a62f9.tar.zst
dexon-solidity-a7ff352d383ef4a937e01104706f21cb621a62f9.zip
Fix JSON AST structure
-rw-r--r--libsolidity/ast/ASTJsonConverter.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/libsolidity/ast/ASTJsonConverter.cpp b/libsolidity/ast/ASTJsonConverter.cpp
index fc43976d..1e39e7f2 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&)