mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Yul grammar: allow multiple $ signs (matches Solidity)
This commit is contained in:
parent
4dc3335cda
commit
a99347e9f0
@ -108,7 +108,7 @@ Grammar::
|
|||||||
'break' | 'continue'
|
'break' | 'continue'
|
||||||
FunctionCall =
|
FunctionCall =
|
||||||
Identifier '(' ( Expression ( ',' Expression )* )? ')'
|
Identifier '(' ( Expression ( ',' Expression )* )? ')'
|
||||||
Identifier = [a-zA-Z_$] [a-zA-Z_0-9]*
|
Identifier = [a-zA-Z_$] [a-zA-Z_$0-9]*
|
||||||
IdentifierList = Identifier ( ',' Identifier)*
|
IdentifierList = Identifier ( ',' Identifier)*
|
||||||
TypeName = Identifier | BuiltinTypeName
|
TypeName = Identifier | BuiltinTypeName
|
||||||
BuiltinTypeName = 'bool' | [us] ( '8' | '32' | '64' | '128' | '256' )
|
BuiltinTypeName = 'bool' | [us] ( '8' | '32' | '64' | '128' | '256' )
|
||||||
|
Loading…
Reference in New Issue
Block a user