[ragel-users] C #define for numeric literals
thurston at complang.org
Sat Jun 25 17:53:51 UTC 2011
The importer doesn't accept HEX, only decimal.
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<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.
> ragel-users mailing list
> ragel-users at complang.org
Dr. Adrian D. Thurston
ragel-users mailing list
ragel-users at complang.org
More information about the ragel-users