diff options
author | Marek Kotewicz <marek.kotewicz@gmail.com> | 2015-02-19 15:21:02 +0800 |
---|---|---|
committer | Marek Kotewicz <marek.kotewicz@gmail.com> | 2015-02-19 15:21:02 +0800 |
commit | d9e38eb3a8a63e5e429f623ae350e109a9e73c25 (patch) | |
tree | 57b3e024941fae39e5192462b2518c1bf0bebe36 /SolidityParser.cpp | |
parent | 7c38963394f63583048afcf0be11af54d636ae1f (diff) | |
parent | 98739c362a9ca0d1410518d667956a406d63afa8 (diff) | |
download | dexon-solidity-d9e38eb3a8a63e5e429f623ae350e109a9e73c25.tar dexon-solidity-d9e38eb3a8a63e5e429f623ae350e109a9e73c25.tar.gz dexon-solidity-d9e38eb3a8a63e5e429f623ae350e109a9e73c25.tar.bz2 dexon-solidity-d9e38eb3a8a63e5e429f623ae350e109a9e73c25.tar.lz dexon-solidity-d9e38eb3a8a63e5e429f623ae350e109a9e73c25.tar.xz dexon-solidity-d9e38eb3a8a63e5e429f623ae350e109a9e73c25.tar.zst dexon-solidity-d9e38eb3a8a63e5e429f623ae350e109a9e73c25.zip |
Merge branch 'develop' into jsonrpc
Diffstat (limited to 'SolidityParser.cpp')
-rw-r--r-- | SolidityParser.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/SolidityParser.cpp b/SolidityParser.cpp index 5f9064e0..ddb58244 100644 --- a/SolidityParser.cpp +++ b/SolidityParser.cpp @@ -651,13 +651,13 @@ BOOST_AUTO_TEST_CASE(visibility_specifiers) char const* text = R"( contract c { uint private a; - uint protected b; + uint inheritable b; uint public c; uint d; function f() {} function f_priv() private {} function f_public() public {} - function f_protected() protected {} + function f_inheritable() inheritable {} })"; BOOST_CHECK_NO_THROW(parseText(text)); } @@ -666,7 +666,7 @@ BOOST_AUTO_TEST_CASE(multiple_visibility_specifiers) { char const* text = R"( contract c { - uint private protected a; + uint private inheritable a; })"; BOOST_CHECK_THROW(parseText(text), ParserError); } |