diff options
author | Lefteris Karapetsas <lefteris@refu.co> | 2015-02-09 21:12:36 +0800 |
---|---|---|
committer | Lefteris Karapetsas <lefteris@refu.co> | 2015-02-09 21:12:36 +0800 |
commit | 190be6c5f50f3b3f0a2f70c77457ac4917bc1636 (patch) | |
tree | 09250b4ed4f968f1f61af41da177693d9427bd84 | |
parent | 08e38cfa49848d65a153386a52c00bbd0dfa3e68 (diff) | |
download | dexon-solidity-190be6c5f50f3b3f0a2f70c77457ac4917bc1636.tar dexon-solidity-190be6c5f50f3b3f0a2f70c77457ac4917bc1636.tar.gz dexon-solidity-190be6c5f50f3b3f0a2f70c77457ac4917bc1636.tar.bz2 dexon-solidity-190be6c5f50f3b3f0a2f70c77457ac4917bc1636.tar.lz dexon-solidity-190be6c5f50f3b3f0a2f70c77457ac4917bc1636.tar.xz dexon-solidity-190be6c5f50f3b3f0a2f70c77457ac4917bc1636.tar.zst dexon-solidity-190be6c5f50f3b3f0a2f70c77457ac4917bc1636.zip |
Styling in Natspec Enums
-rw-r--r-- | SolidityABIJSON.cpp | 2 | ||||
-rw-r--r-- | SolidityInterface.cpp | 2 | ||||
-rw-r--r-- | SolidityNatspecJSON.cpp | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/SolidityABIJSON.cpp b/SolidityABIJSON.cpp index d600340e..242a88e7 100644 --- a/SolidityABIJSON.cpp +++ b/SolidityABIJSON.cpp @@ -48,7 +48,7 @@ public: auto msg = std::string("Parsing contract failed with: ") + boost::diagnostic_information(_e); BOOST_FAIL(msg); } - std::string generatedInterfaceString = m_compilerStack.getMetadata("", DocumentationType::ABI_INTERFACE); + std::string generatedInterfaceString = m_compilerStack.getMetadata("", DocumentationType::ABIInterface); Json::Value generatedInterface; m_reader.parse(generatedInterfaceString, generatedInterface); Json::Value expectedInterface; diff --git a/SolidityInterface.cpp b/SolidityInterface.cpp index 3b7d26ec..78de2356 100644 --- a/SolidityInterface.cpp +++ b/SolidityInterface.cpp @@ -43,7 +43,7 @@ public: { m_code = _code; BOOST_REQUIRE_NO_THROW(m_compilerStack.parse(_code)); - m_interface = m_compilerStack.getMetadata("", DocumentationType::ABI_SOLIDITY_INTERFACE); + m_interface = m_compilerStack.getMetadata("", DocumentationType::ABISolidityInterface); BOOST_REQUIRE_NO_THROW(m_reCompiler.parse(m_interface)); return m_reCompiler.getContractDefinition(_contractName); } diff --git a/SolidityNatspecJSON.cpp b/SolidityNatspecJSON.cpp index 911820dd..b652ad10 100644 --- a/SolidityNatspecJSON.cpp +++ b/SolidityNatspecJSON.cpp @@ -54,9 +54,9 @@ public: } if (_userDocumentation) - generatedDocumentationString = m_compilerStack.getMetadata("", DocumentationType::NATSPEC_USER); + generatedDocumentationString = m_compilerStack.getMetadata("", DocumentationType::NatspecUser); else - generatedDocumentationString = m_compilerStack.getMetadata("", DocumentationType::NATSPEC_DEV); + generatedDocumentationString = m_compilerStack.getMetadata("", DocumentationType::NatspecDev); Json::Value generatedDocumentation; m_reader.parse(generatedDocumentationString, generatedDocumentation); Json::Value expectedDocumentation; |