[ragel-users] 0x0E..0xFF produces "lower end of range is greater then upper end"
Adrian Thurston
thurston at complang.org
Sun Nov 24 19:17:36 UTC 2013
Hi, which architecture is this one?
On 13-10-21 11:15 AM, IƱaki Baz Castillo wrote:
> 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.
>
_______________________________________________
ragel-users mailing list
ragel-users at complang.org
http://www.complang.org/mailman/listinfo/ragel-users
More information about the ragel-users
mailing list