diff options
author | chriseth <chris@ethereum.org> | 2017-03-21 02:06:17 +0800 |
---|---|---|
committer | djudjuu <julfaber@gmail.com> | 2017-05-17 17:14:33 +0800 |
commit | dea7b864e6bbd80b913abf44dc4748868c5d6975 (patch) | |
tree | ebf81211d3f0a40fdbaf973e1913365942e5fe29 /libsolidity/interface | |
parent | 242e43188161d15d36d831652b03095690524c72 (diff) | |
download | dexon-solidity-dea7b864e6bbd80b913abf44dc4748868c5d6975.tar.gz dexon-solidity-dea7b864e6bbd80b913abf44dc4748868c5d6975.tar.zst dexon-solidity-dea7b864e6bbd80b913abf44dc4748868c5d6975.zip |
Compact format for AST-Json with backwards compatibility
Diffstat (limited to 'libsolidity/interface')
-rw-r--r-- | libsolidity/interface/StandardCompiler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libsolidity/interface/StandardCompiler.cpp b/libsolidity/interface/StandardCompiler.cpp index 223cc15d..4ca1fd09 100644 --- a/libsolidity/interface/StandardCompiler.cpp +++ b/libsolidity/interface/StandardCompiler.cpp @@ -377,7 +377,7 @@ Json::Value StandardCompiler::compileInternal(Json::Value const& _input) { Json::Value sourceResult = Json::objectValue; sourceResult["id"] = sourceIndex++; - sourceResult["legacyAST"] = ASTJsonConverter(m_compilerStack.ast(source), m_compilerStack.sourceIndices()).json(); + sourceResult["legacyAST"] = ASTJsonConverter(true, m_compilerStack.sourceIndices()).toJson(m_compilerStack.ast(source)); output["sources"][source] = sourceResult; } |