[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Disabling assert function
- From: Nikolai Kondrashov <spbnick@...>
- Date: Wed, 19 May 2010 14:51:05 +0400
Hello everyone,
I wasn't able to find an answer to a seemingly basic question anywhere:
Is it possible to disable "assert" function execution along with its
argument evaluation in Lua? I.e. like it is done in C by defining NDEBUG?
Could it be done with the parser ignoring "assert" calls and subsequently
not producing any bytecode for it?
Or maybe there are some other approaches, which I missed?
Thank you :)
Sincerely,
Nick