diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2017-08-17 03:53:46 +0800 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2017-08-24 20:46:18 +0800 |
commit | 23c791e4df32315b9f16449abaac0835be7f7fdc (patch) | |
tree | 6d6f3998f63b14dd52542b6a443d5941afded253 /docs/grammar.txt | |
parent | 504e6285f3b9f688f4456607980fabc60d5432c2 (diff) | |
download | dexon-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.txt | 2 |
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 | |