On 23 Jun 2011, at 02:31, Ted Toth <[email protected]> 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.
I believe you'd need to feed the Ragel file through your C preprocessor, to have the identifier names replaced with their values before feeding it to Ragel. _______________________________________________ ragel-users mailing list [email protected] http://www.complang.org/mailman/listinfo/ragel-users
