diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2017-05-10 18:04:52 +0800 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2017-05-19 23:11:04 +0800 |
commit | cd5d93da2aef3b9617cbf02d0d1341ce071789c2 (patch) | |
tree | d42555973bbbfdda46ca98d0a13a43d3cef4318b /solc | |
parent | 81877cc59441f43a33ad7e7a09b92d3ea06b5f03 (diff) | |
download | dexon-solidity-cd5d93da2aef3b9617cbf02d0d1341ce071789c2.tar dexon-solidity-cd5d93da2aef3b9617cbf02d0d1341ce071789c2.tar.gz dexon-solidity-cd5d93da2aef3b9617cbf02d0d1341ce071789c2.tar.bz2 dexon-solidity-cd5d93da2aef3b9617cbf02d0d1341ce071789c2.tar.lz dexon-solidity-cd5d93da2aef3b9617cbf02d0d1341ce071789c2.tar.xz dexon-solidity-cd5d93da2aef3b9617cbf02d0d1341ce071789c2.tar.zst dexon-solidity-cd5d93da2aef3b9617cbf02d0d1341ce071789c2.zip |
Rename CompilerStack.metadata to CompilerStack.natspec
Diffstat (limited to 'solc')
-rw-r--r-- | solc/CommandLineInterface.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/solc/CommandLineInterface.cpp b/solc/CommandLineInterface.cpp index ab79aaa3..cee642e0 100644 --- a/solc/CommandLineInterface.cpp +++ b/solc/CommandLineInterface.cpp @@ -308,7 +308,7 @@ void CommandLineInterface::handleMeta(DocumentationType _type, string const& _co if (m_args.count(argName)) { - std::string output = dev::jsonPrettyPrint(m_compiler->metadata(_contract, _type)); + std::string output = dev::jsonPrettyPrint(m_compiler->natspec(_contract, _type)); if (m_args.count(g_argOutputDir)) createFile(m_compiler->filesystemFriendlyName(_contract) + suffix, output); @@ -817,9 +817,9 @@ void CommandLineInterface::handleCombinedJSON() contractData[g_strSrcMapRuntime] = map ? *map : ""; } if (requests.count(g_strNatspecDev)) - contractData[g_strNatspecDev] = dev::jsonCompactPrint(m_compiler->metadata(contractName, DocumentationType::NatspecDev)); + contractData[g_strNatspecDev] = dev::jsonCompactPrint(m_compiler->natspec(contractName, DocumentationType::NatspecDev)); if (requests.count(g_strNatspecUser)) - contractData[g_strNatspecUser] = dev::jsonCompactPrint(m_compiler->metadata(contractName, DocumentationType::NatspecUser)); + contractData[g_strNatspecUser] = dev::jsonCompactPrint(m_compiler->natspec(contractName, DocumentationType::NatspecUser)); output[g_strContracts][contractName] = contractData; } |