diff options
author | Nicolai <NicolaiSoeborg@users.noreply.github.com> | 2016-07-19 06:49:00 +0800 |
---|---|---|
committer | Nicolai <NicolaiSoeborg@users.noreply.github.com> | 2016-07-19 06:49:00 +0800 |
commit | c396148fe6d86b9f218080db6a4cebeb42d2ca35 (patch) | |
tree | 9a51a4e0bc98c218cd3c59ea6ccc5f35f997da60 | |
parent | 80b01f6ebd59f7116335a921e7d84ad1562e15e9 (diff) | |
download | dexon-solidity-c396148fe6d86b9f218080db6a4cebeb42d2ca35.tar.gz dexon-solidity-c396148fe6d86b9f218080db6a4cebeb42d2ca35.tar.zst dexon-solidity-c396148fe6d86b9f218080db6a4cebeb42d2ca35.zip |
grammer.txt: inheritable => internal
-rw-r--r-- | libsolidity/grammar.txt | 4 |
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 |