aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2016-11-18 04:38:50 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2017-08-23 01:24:22 +0800
commit9e8d2a561f79be15f3ebdbdd139835b50baa43ce (patch)
treeca5cb5df6b5298538b96447188d1733f0bb504a2
parentefe4d68a7bdc55fd79b9e01b863064b27528428a (diff)
downloaddexon-solidity-9e8d2a561f79be15f3ebdbdd139835b50baa43ce.tar
dexon-solidity-9e8d2a561f79be15f3ebdbdd139835b50baa43ce.tar.gz
dexon-solidity-9e8d2a561f79be15f3ebdbdd139835b50baa43ce.tar.bz2
dexon-solidity-9e8d2a561f79be15f3ebdbdd139835b50baa43ce.tar.lz
dexon-solidity-9e8d2a561f79be15f3ebdbdd139835b50baa43ce.tar.xz
dexon-solidity-9e8d2a561f79be15f3ebdbdd139835b50baa43ce.tar.zst
dexon-solidity-9e8d2a561f79be15f3ebdbdd139835b50baa43ce.zip
Update grammar with view
-rw-r--r--docs/grammar.txt2
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 |