aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/grammar.txt
diff options
context:
space:
mode:
authorNicolai <NicolaiSoeborg@users.noreply.github.com>2016-07-19 06:49:00 +0800
committerNicolai <NicolaiSoeborg@users.noreply.github.com>2016-07-19 06:49:00 +0800
commitc396148fe6d86b9f218080db6a4cebeb42d2ca35 (patch)
tree9a51a4e0bc98c218cd3c59ea6ccc5f35f997da60 /libsolidity/grammar.txt
parent80b01f6ebd59f7116335a921e7d84ad1562e15e9 (diff)
downloaddexon-solidity-c396148fe6d86b9f218080db6a4cebeb42d2ca35.tar.gz
dexon-solidity-c396148fe6d86b9f218080db6a4cebeb42d2ca35.tar.zst
dexon-solidity-c396148fe6d86b9f218080db6a4cebeb42d2ca35.zip
grammer.txt: inheritable => internal
Diffstat (limited to 'libsolidity/grammar.txt')
-rw-r--r--libsolidity/grammar.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/libsolidity/grammar.txt b/libsolidity/grammar.txt
index 91bc5bcb..8bfe9f85 100644
--- a/libsolidity/grammar.txt
+++ b/libsolidity/grammar.txt
@@ -6,10 +6,10 @@ ContractPart = StateVariableDeclaration | StructDefinition | ModifierDefinition
InheritanceSpecifier = Identifier ( '(' Expression ( ',' Expression )* ')' )?
StructDefinition = 'struct' Identifier '{'
( VariableDeclaration (';' VariableDeclaration)* )? '}'
-StateVariableDeclaration = TypeName ( 'public' | 'inheritable' | 'private' )? Identifier ';'
+StateVariableDeclaration = TypeName ( 'public' | 'internal' | 'private' )? Identifier ';'
ModifierDefinition = 'modifier' Identifier ParameterList? Block
FunctionDefinition = 'function' Identifier ParameterList
- ( Identifier | 'constant' | 'external' | 'public' | 'inheritable' | 'private' )*
+ ( Identifier | 'constant' | 'external' | 'public' | 'internal' | 'private' )*
( 'returns' ParameterList )? Block
EnumValue = Identifier