aboutsummaryrefslogtreecommitdiffstats
path: root/grammar.txt
diff options
context:
space:
mode:
authorChristian <c@ethdev.com>2015-02-18 20:35:12 +0800
committerChristian <c@ethdev.com>2015-02-18 20:35:12 +0800
commit8d658ce5a2cc1b2b248192c3c2ef03a2f82e557f (patch)
treeeda0329009f9db05c47b43c5e6c41b6572ec9122 /grammar.txt
parentde574487e43b15184ce81e7cb9885fd1387f4964 (diff)
downloaddexon-solidity-8d658ce5a2cc1b2b248192c3c2ef03a2f82e557f.tar.gz
dexon-solidity-8d658ce5a2cc1b2b248192c3c2ef03a2f82e557f.tar.zst
dexon-solidity-8d658ce5a2cc1b2b248192c3c2ef03a2f82e557f.zip
Rename "protected" to "inheritable".
Diffstat (limited to 'grammar.txt')
-rw-r--r--grammar.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/grammar.txt b/grammar.txt
index 5e6e65f8..a3b24687 100644
--- a/grammar.txt
+++ b/grammar.txt
@@ -6,10 +6,10 @@ ContractPart = StateVariableDeclaration | StructDefinition | ModifierDefinition
InheritanceSpecifier = Identifier ( '(' Expression ( ',' Expression )* ')' )?
StructDefinition = 'struct' Identifier '{'
( VariableDeclaration (';' VariableDeclaration)* )? '}
-StateVariableDeclaration = TypeName ( 'public' | 'protected' | 'private' )? Identifier ';'
+StateVariableDeclaration = TypeName ( 'public' | 'inheritable' | 'private' )? Identifier ';'
ModifierDefinition = 'modifier' Identifier ParameterList? Block
FunctionDefinition = 'function' Identifier ParameterList
- ( Identifier | 'constant' | 'public' | 'protected' | 'private' )*
+ ( Identifier | 'constant' | 'external' | 'public' | 'inheritable' | 'private' )*
( 'returns' ParameterList )? Block
EnumValue = Identifier