[ragel-users] C #define for numeric literals

Ted Toth txtoth at gmail.com
Thu Jun 23 01:31:49 UTC 2011


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 <txtoth at gmail.com> 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
ragel-users at complang.org
http://www.complang.org/mailman/listinfo/ragel-users



More information about the ragel-users mailing list