aboutsummaryrefslogtreecommitdiffstats
path: root/Parser.cpp
diff options
context:
space:
mode:
authorGav Wood <g@ethdev.com>2015-02-23 17:42:59 +0800
committerGav Wood <g@ethdev.com>2015-02-23 17:42:59 +0800
commit45fdd9b007a2858ac6913885977213ac0581ce01 (patch)
tree5e3f2d9d8e49c1e21dd9ba5f82d808694d0e7caf /Parser.cpp
parente7528c6af8a9b313b4bb20358c939f16b693e9cb (diff)
parenta17108e3bc20b8826e5189d51594b1c5186a4184 (diff)
downloaddexon-solidity-45fdd9b007a2858ac6913885977213ac0581ce01.tar
dexon-solidity-45fdd9b007a2858ac6913885977213ac0581ce01.tar.gz
dexon-solidity-45fdd9b007a2858ac6913885977213ac0581ce01.tar.bz2
dexon-solidity-45fdd9b007a2858ac6913885977213ac0581ce01.tar.lz
dexon-solidity-45fdd9b007a2858ac6913885977213ac0581ce01.tar.xz
dexon-solidity-45fdd9b007a2858ac6913885977213ac0581ce01.tar.zst
dexon-solidity-45fdd9b007a2858ac6913885977213ac0581ce01.zip
Merge pull request #1107 from chriseth/sol_inheritableIsInternal
Replaced "inheritable" by "internal".
Diffstat (limited to 'Parser.cpp')
-rw-r--r--Parser.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Parser.cpp b/Parser.cpp
index 9940fb8d..9fe1af22 100644
--- a/Parser.cpp
+++ b/Parser.cpp
@@ -187,8 +187,8 @@ Declaration::Visibility Parser::parseVisibilitySpecifier(Token::Value _token)
Declaration::Visibility visibility(Declaration::Visibility::Default);
if (_token == Token::Public)
visibility = Declaration::Visibility::Public;
- else if (_token == Token::Inheritable)
- visibility = Declaration::Visibility::Inheritable;
+ else if (_token == Token::Internal)
+ visibility = Declaration::Visibility::Internal;
else if (_token == Token::Private)
visibility = Declaration::Visibility::Private;
else if (_token == Token::External)