diff options
author | Federico Bond <federicobond@gmail.com> | 2016-12-25 00:00:11 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-12-25 00:00:11 +0800 |
commit | 2a7b01982c2b49399b9ee0dd89c7827af28c6280 (patch) | |
tree | 2faf5d93f7661d446e4d68d8e7ee603db6ebf967 /docs/grammar.txt | |
parent | 3a88580512f6cb5f3305c371bbbdda8e47f44687 (diff) | |
download | dexon-solidity-2a7b01982c2b49399b9ee0dd89c7827af28c6280.tar dexon-solidity-2a7b01982c2b49399b9ee0dd89c7827af28c6280.tar.gz dexon-solidity-2a7b01982c2b49399b9ee0dd89c7827af28c6280.tar.bz2 dexon-solidity-2a7b01982c2b49399b9ee0dd89c7827af28c6280.tar.lz dexon-solidity-2a7b01982c2b49399b9ee0dd89c7827af28c6280.tar.xz dexon-solidity-2a7b01982c2b49399b9ee0dd89c7827af28c6280.tar.zst dexon-solidity-2a7b01982c2b49399b9ee0dd89c7827af28c6280.zip |
Fix StorageLocation position for ArrayTypeName rule in 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 d15fbaf7..7bb45bba 100644 --- a/docs/grammar.txt +++ b/docs/grammar.txt @@ -38,7 +38,7 @@ TypeNameList = '(' ( TypeName (',' TypeName )* )? ')' VariableDeclaration = TypeName Identifier TypeName = ElementaryTypeName | Identifier StorageLocation? | Mapping | ArrayTypeName | FunctionTypeName Mapping = 'mapping' '(' ElementaryTypeName '=>' TypeName ')' -ArrayTypeName = TypeName StorageLocation? '[' Expression? ']' +ArrayTypeName = TypeName '[' Expression? ']' StorageLocation? FunctionTypeName = 'function' TypeNameList ( 'internal' | 'external' | 'constant' | 'payable' )* ( 'returns' TypeNameList )? StorageLocation = 'memory' | 'storage' |