lua-users home
lua-l archive

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

RJP Computing wrote:
> I think I found a bug when defining a constant.
> Take the following example packge:
> #define DEBUG 2
The token DEBUG is defined here...

> 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'.

Kein-Hong Man (esq.)
Kuala Lumpur, Malaysia