From b7cafcbdf95c807f46fc07f4788d82981b7112b4 Mon Sep 17 00:00:00 2001 From: mingchuan Date: Wed, 23 May 2018 12:31:20 +0800 Subject: Allow using `calldata` keyword to specify data location --- docs/grammar.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs') 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* '}' -- cgit v1.2.3