lua-users home
lua-l archive

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

On 8/7/07, KHMan <> wrote:
RJP Computing wrote:
> #define DEBUG 2
The token DEBUG is defined here...

I am not sure what you are saying. The package files are not fed to the compiler so there is no reference that DEBUG was defined as 2.

Let me clearer.

toLua package file:
    #define WHAT_EVER 3

Should generate:

But currently generates:

So when you go to build the generated file the compiler complains that WHAT_EVER is undefined.

Another possible fix would be to copy the '#define' to the generated file as well as generate:

RJP Computing