diff options
author | Federico Bond <federicobond@gmail.com> | 2018-09-02 23:57:21 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-02 23:57:21 +0800 |
commit | f2f1462585282adc98eebf1f7b0690891971adf0 (patch) | |
tree | f80af7b4c151e71ccde86114a762bb1adc0b1d7f | |
parent | 410d288dfc2e08c42df58c7e01ad5c332ce92727 (diff) | |
download | dexon-solidity-f2f1462585282adc98eebf1f7b0690891971adf0.tar dexon-solidity-f2f1462585282adc98eebf1f7b0690891971adf0.tar.gz dexon-solidity-f2f1462585282adc98eebf1f7b0690891971adf0.tar.bz2 dexon-solidity-f2f1462585282adc98eebf1f7b0690891971adf0.tar.lz dexon-solidity-f2f1462585282adc98eebf1f7b0690891971adf0.tar.xz dexon-solidity-f2f1462585282adc98eebf1f7b0690891971adf0.tar.zst dexon-solidity-f2f1462585282adc98eebf1f7b0690891971adf0.zip |
Add hex numbers with uppercase X to 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 809fcffc..43ef07a9 100644 --- a/docs/grammar.txt +++ b/docs/grammar.txt @@ -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? )* )? ')' |