El Sábado, 21 de Noviembre de 2009, Adrian Thurston escribió:
> That doesn't sound right. Can you send a ragel file that causes this?
> Reduce it if contains code you don't want to share.

Any grammar causes it:

---------test.rl-------------
%%{
        
        machine my_grammar;
        alphtype unsigned char;
                
        DIGIT                   = 0x30..0x39;
        ALPHA                   = 0x41..0x5a | 0x61..0x7a;
        mychar                  = DIGIT | ALPHA;

        main                  := mychar;
        write data;
        
}%%
-----------------------------

~# ragel -F0 -R test.rl
test.rl:4:11: "unsigned char" is not a valid alphabet type




-- 
Iñaki Baz Castillo <[email protected]>

_______________________________________________
ragel-users mailing list
[email protected]
http://www.complang.org/mailman/listinfo/ragel-users

Reply via email to