diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2016-11-18 04:38:50 +0800 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2017-08-23 01:24:22 +0800 |
commit | 9e8d2a561f79be15f3ebdbdd139835b50baa43ce (patch) | |
tree | ca5cb5df6b5298538b96447188d1733f0bb504a2 /docs/grammar.txt | |
parent | efe4d68a7bdc55fd79b9e01b863064b27528428a (diff) | |
download | dexon-solidity-9e8d2a561f79be15f3ebdbdd139835b50baa43ce.tar.gz dexon-solidity-9e8d2a561f79be15f3ebdbdd139835b50baa43ce.tar.zst dexon-solidity-9e8d2a561f79be15f3ebdbdd139835b50baa43ce.zip |
Update grammar with view
Diffstat (limited to 'docs/grammar.txt')
-rw-r--r-- | docs/grammar.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/grammar.txt b/docs/grammar.txt index 76827a77..36ba36f0 100644 --- a/docs/grammar.txt +++ b/docs/grammar.txt @@ -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 | |