[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Disabling assert function
- From: Nikolai Kondrashov <spbnick@...>
- Date: Wed, 19 May 2010 15:06:20 +0400
On 05/19/2010 03:00 PM, Alex Davies wrote:
"assert" isn't a keyword in lua so it isn't treated any differently to
any other function.
Yeah, it's one of the things I like in Lua - so little keywords :)
It could be done via metalua or modifying lua's source etc, but at that
point you should really make assert a reserved word as redefining assert
(ie to change the error handling) would no longer be possible.
Thanks, I think that Metalua or maube LuaMacro as Steve suggest is my way :)
Completely forgot about the macros when I asked the question :)
Sincerely,
Nick