diff options
author | chriseth <chris@ethereum.org> | 2016-08-12 18:56:45 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-12 18:56:45 +0800 |
commit | b2900c36c64c3d44055fb7c674425d598729a371 (patch) | |
tree | 67093550ae5521cea81c53f8a637bfb4d792ded0 | |
parent | 63194c4287f3a96859bf2f9eaed3f108fa401096 (diff) | |
parent | cbedc7b343777eeb856713d59447e50ecf87fc0d (diff) | |
download | dexon-solidity-b2900c36c64c3d44055fb7c674425d598729a371.tar.gz dexon-solidity-b2900c36c64c3d44055fb7c674425d598729a371.tar.zst dexon-solidity-b2900c36c64c3d44055fb7c674425d598729a371.zip |
Merge pull request #856 from asinyagin/develop
Fix JSON AST structure
-rw-r--r-- | libsolidity/ast/ASTJsonConverter.cpp | 3 |
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&) |