2013/10/21 Iñaki Baz Castillo <i...@aliax.net>: > 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
The following modification in the grammar fixes it: ( 0x01..0x09 | 0x0B..0x0C | 0x0E..0x7F | 0x80..0xFF)+; but I don't understand wht it is required to split the last range into two ranges. Thanks a lot. -- Iñaki Baz Castillo <i...@aliax.net> _______________________________________________ ragel-users mailing list ragel-users@complang.org http://www.complang.org/mailman/listinfo/ragel-users