lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


I think I found a bug when defining a constant.

Take the following example packge:

#define DEBUG 2

In the generated file it doesn't reference the 'DEBUG' anywhere, it just produces this line:

 tolua_constant(tolua_S,"DEBUG",DEBUG);

I might have the wrong idea about how this works, but I expected it to place the number I supplied instead of the 'DEBUG'.
--
Regards,
Ryan
RJP Computing