Iñaki Baz Castillo
2013-10-21 15:15:19 UTC
Hi, using Ragel 6.7 in C with this simple grammar rule:
# Any byte except NULL, CR or LF.
main := ( 0x01..0x09 | 0x0B..0x0C | 0x0E..0xFF )+;
When compiling the grammar it generates the following error:
1:36: lower end of range is greater then upper en
Column 36 points to the beginning of "0x0E..0xFF". What is wrong with
that? AFAIK 0x0E is *less* than 0xFF, am I wrong?
Thanks a lot.
# Any byte except NULL, CR or LF.
main := ( 0x01..0x09 | 0x0B..0x0C | 0x0E..0xFF )+;
When compiling the grammar it generates the following error:
1:36: lower end of range is greater then upper en
Column 36 points to the beginning of "0x0E..0xFF". What is wrong with
that? AFAIK 0x0E is *less* than 0xFF, am I wrong?
Thanks a lot.
--
I?aki Baz Castillo
<ibc at aliax.net>
I?aki Baz Castillo
<ibc at aliax.net>