Merge branch 'feature/lower-hex' into 'dev'
Support lowercase in hex bytes See merge request ligolang/ligo!443
This commit is contained in:
commit
6aae402cd0
@ -580,7 +580,7 @@ let letter = small | capital
|
|||||||
let ident = small (letter | '_' | digit)*
|
let ident = small (letter | '_' | digit)*
|
||||||
let constr = capital (letter | '_' | digit)*
|
let constr = capital (letter | '_' | digit)*
|
||||||
let attr = ident | constr
|
let attr = ident | constr
|
||||||
let hexa_digit = digit | ['A'-'F']
|
let hexa_digit = digit | ['A'-'F' 'a'-'f']
|
||||||
let byte = hexa_digit hexa_digit
|
let byte = hexa_digit hexa_digit
|
||||||
let byte_seq = byte | byte (byte | '_')* byte
|
let byte_seq = byte | byte (byte | '_')* byte
|
||||||
let bytes = "0x" (byte_seq? as seq)
|
let bytes = "0x" (byte_seq? as seq)
|
||||||
|
Loading…
Reference in New Issue
Block a user