Update grammar with view

This commit is contained in:
Alex Beregszaszi
2017-08-22 18:24:22 +01:00
parent efe4d68a7b
commit 9e8d2a561f
+1 -1
View File
@@ -53,7 +53,7 @@ ArrayTypeName = TypeName '[' Expression? ']'
FunctionTypeName = 'function' TypeNameList ( 'internal' | 'external' | StateMutability )*
( 'returns' TypeNameList )?
StorageLocation = 'memory' | 'storage'
StateMutability = 'constant' | 'payable'
StateMutability = 'constant' | 'view' | 'payable'
Block = '{' Statement* '}'
Statement = IfStatement | WhileStatement | ForStatement | Block | InlineAssemblyStatement |