aboutsummaryrefslogtreecommitdiffstats
path: root/docs/grammar.txt
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2017-08-17 03:53:46 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2017-08-24 20:46:18 +0800
commit23c791e4df32315b9f16449abaac0835be7f7fdc (patch)
tree6d6f3998f63b14dd52542b6a443d5941afded253 /docs/grammar.txt
parent504e6285f3b9f688f4456607980fabc60d5432c2 (diff)
downloaddexon-solidity-23c791e4df32315b9f16449abaac0835be7f7fdc.tar.gz
dexon-solidity-23c791e4df32315b9f16449abaac0835be7f7fdc.tar.zst
dexon-solidity-23c791e4df32315b9f16449abaac0835be7f7fdc.zip
Add pure to grammar
Diffstat (limited to 'docs/grammar.txt')
-rw-r--r--docs/grammar.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/grammar.txt b/docs/grammar.txt
index 36ba36f0..041728c5 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' | 'view' | 'payable'
+StateMutability = 'pure' | 'constant' | 'view' | 'payable'
Block = '{' Statement* '}'
Statement = IfStatement | WhileStatement | ForStatement | Block | InlineAssemblyStatement |