The importer doesn't accept HEX, only decimal.

http://www.complang.org/redmine/issues/301

On 11-06-22 06:31 PM, Ted Toth wrote:
I did try to use 'import' on my C header but parser didn't work.
#define FOO 0x42 in the header file didn't work but FOO = 0x42; in my
ragel file does work.

On Mon, Jun 20, 2011 at 11:19 AM, Ted Toth<[email protected]>  wrote:
Maybe I don't understand but I tried using values that are defined in
a header (.h) file but ragel complained :( I ended up adding the same
values to my ragel file. I'd prefer to use the C header values instead
of having to replicate them.

Ted


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

--
Dr. Adrian D. Thurston
http://www.complang.org/thurston/

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

Reply via email to