[ragel-users] 0x0E..0xFF produces "lower end of range is greater then upper end"

Iñaki Baz Castillo ibc at aliax.net
Sun Nov 24 19:20:59 UTC 2013


Linux Ubuntu 64 bits

--
Iñaki Baz Castillo
<ibc at aliax.net>
On Nov 24, 2013 8:17 PM, "Adrian Thurston" <thurston at complang.org> wrote:

> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.colm.net/pipermail/ragel-users/attachments/20131124/6d5414a1/attachment-0001.html>
-------------- next part --------------
_______________________________________________
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