lua-users home
lua-l archive

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


> > If you compile luac with -DLUAI_ASSERT then `luac -l <file>` will no longer work.
> 
> Thanks for the report.
> For the time being, add this line at the top of luac.c:
> #undef LUAI_ASSERT

Better yet, you can fix the bug by removing the option -DLUAI_ASSERT.

The LUAI_ASSERT has the following comment:

    Internal assertions for in-house debugging

(The prefix LUAI_, instead of LUA_, also hints that it is not intended
for regular use.)

So, if you use this macro, you are on your own.

-- Roberto