diff options
author | chriseth <chris@ethereum.org> | 2018-05-30 20:42:50 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-30 20:42:50 +0800 |
commit | 41965ca2626e1e09de7fb1eb40ae4751b5e289fa (patch) | |
tree | 1b6938ccea869ec1c7d081023a5b1a356196af01 /docs | |
parent | 3f3d6df2a5e3a57420d6669be416553e3240e8a7 (diff) | |
parent | b7cafcbdf95c807f46fc07f4788d82981b7112b4 (diff) | |
download | dexon-solidity-41965ca2626e1e09de7fb1eb40ae4751b5e289fa.tar.gz dexon-solidity-41965ca2626e1e09de7fb1eb40ae4751b5e289fa.tar.zst dexon-solidity-41965ca2626e1e09de7fb1eb40ae4751b5e289fa.zip |
Merge pull request #4176 from sifmelcara/add/calldata-keyword
Add a new keyword, "calldata", to allow explicitly specify data location in external function's argument list
Diffstat (limited to 'docs')
-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 0dda4f49..5d977827 100644 --- a/docs/grammar.txt +++ b/docs/grammar.txt @@ -57,7 +57,7 @@ Mapping = 'mapping' '(' ElementaryTypeName '=>' TypeName ')' ArrayTypeName = TypeName '[' Expression? ']' FunctionTypeName = 'function' FunctionTypeParameterList ( 'internal' | 'external' | StateMutability )* ( 'returns' FunctionTypeParameterList )? -StorageLocation = 'memory' | 'storage' +StorageLocation = 'memory' | 'storage' | 'calldata' StateMutability = 'pure' | 'constant' | 'view' | 'payable' Block = '{' Statement* '}' |