Re: Disabling assert function
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: Disabling assert function
- From: steve donovan <steve.j.donovan@...>
- Date: 2010年5月19日 13:01:14 +0200
On Wed, May 19, 2010 at 12:56 PM, Nikolai Kondrashov <spbnick@gmail.com> wrote:
> You mean with Metalua? Or did I miss some other macro solution?
There is also LuaMacro, which is C-style lexical macros. However, it
does require your Lua to have the token filter patch applied, at least
for the compilation stage.
(Since it is C-style, you can define the C classic ASSERT(a == 0) and
actually have the string 'a == 0' displayed as the assert message)
steve d.