aboutsummaryrefslogtreecommitdiffstats
path: root/SolidityParser.cpp
diff options
context:
space:
mode:
authorCJentzsch <jentzsch.software@gmail.com>2015-02-23 21:32:17 +0800
committerCJentzsch <jentzsch.software@gmail.com>2015-02-23 21:32:17 +0800
commitc5b2733d1e405487b0b3d419b22a08883ac487dd (patch)
treedc8257f8e0a2b9b01c63721a4fdeb2eb6e125b16 /SolidityParser.cpp
parentf924681adf68e5cfbbffa98795014e4fb4f476a8 (diff)
parentcd9262badfd1cd7425469d0eba94a5109c20960a (diff)
downloaddexon-solidity-c5b2733d1e405487b0b3d419b22a08883ac487dd.tar.gz
dexon-solidity-c5b2733d1e405487b0b3d419b22a08883ac487dd.tar.zst
dexon-solidity-c5b2733d1e405487b0b3d419b22a08883ac487dd.zip
Merge remote-tracking branch 'upstream/develop' into memTests
Diffstat (limited to 'SolidityParser.cpp')
-rw-r--r--SolidityParser.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/SolidityParser.cpp b/SolidityParser.cpp
index ddb58244..69bbc6e0 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 inheritable b;
+ uint internal b;
uint public c;
uint d;
function f() {}
function f_priv() private {}
function f_public() public {}
- function f_inheritable() inheritable {}
+ function f_internal() internal {}
})";
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 inheritable a;
+ uint private internal a;
})";
BOOST_CHECK_THROW(parseText(text), ParserError);
}