Support lowercase in hex bytes

This commit is contained in:
Tom Jack 2020-02-20 12:07:01 -06:00
parent ffe0bfb428
commit 01531ac307

View File

@ -580,7 +580,7 @@ let letter = small | capital
let ident = small (letter | '_' | digit)*
let constr = capital (letter | '_' | digit)*
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_seq = byte | byte (byte | '_')* byte
let bytes = "0x" (byte_seq? as seq)