El Sábado, 21 de Noviembre de 2009, Iñaki Baz Castillo escribió:
> El Sábado, 21 de Noviembre de 2009, Adrian Thurston escribió:
> > That's because you're working with a signed char alphabet. The literal
> > value 0xff is interpreted as -1.
> 
> Ok, thanks!

According to the doc alphtype can be (for C):

  char   unsigned char
  short  unsigned short
  int    unsigned int
  long   unsigned long

However I set:

  %%{
    machine my_grammar;
    alphtype unsigned char;

and get:

  "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