mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Add hex numbers with uppercase X to grammar.txt
This commit is contained in:
parent
410d288dfc
commit
f2f1462585
@ -131,7 +131,7 @@ HexLiteral = 'hex' ('"' ([0-9a-fA-F]{2})* '"' | '\'' ([0-9a-fA-F]{2})* '\'')
|
||||
StringLiteral = '"' ([^"\r\n\\] | '\\' .)* '"'
|
||||
Identifier = [a-zA-Z_$] [a-zA-Z_$0-9]*
|
||||
|
||||
HexNumber = '0x' [0-9a-fA-F]+
|
||||
HexNumber = '0' [xX] [0-9a-fA-F]+
|
||||
DecimalNumber = [0-9]+ ( '.' [0-9]* )? ( [eE] [0-9]+ )?
|
||||
|
||||
TupleExpression = '(' ( Expression? ( ',' Expression? )* )? ')'
|
||||
|
Loading…
Reference in New Issue
Block a user