From 35276d99e0e3bc37bcd655c29e399e69ad5ceaec Mon Sep 17 00:00:00 2001 From: chriseth Date: Wed, 17 Aug 2016 19:07:44 +0200 Subject: JSON AST: Some attribute cleanup. Add linearized base contracts. --- libsolidity/ast/ASTJsonConverter.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'libsolidity/ast/ASTJsonConverter.h') diff --git a/libsolidity/ast/ASTJsonConverter.h b/libsolidity/ast/ASTJsonConverter.h index 192c4c4f..97aa8654 100644 --- a/libsolidity/ast/ASTJsonConverter.h +++ b/libsolidity/ast/ASTJsonConverter.h @@ -141,11 +141,10 @@ public: private: void process(); - void addKeyValue(Json::Value& _obj, std::string const& _key, std::string const& _val); void addJsonNode( ASTNode const& _node, std::string const& _nodeName, - std::initializer_list> _list, + std::initializer_list> _attributes, bool _hasChildren ); std::string sourceLocationToString(SourceLocation const& _location) const; -- cgit