Re: Lua 5.3: wrong coercion?
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: Lua 5.3: wrong coercion?
- From: Roberto Ierusalimschy <roberto@...>
- Date: 2015年1月17日 11:22:38 -0200
> On 01/17/2015 06:04 AM, Coda Highland wrote:
> >Isn't there a #define you can set now to disable string-to-number
> >coercions?
>
> I would love to turn off automatic string-to-number conversion, but
> from looking through the final 5.3.0 luaconf.h, I'm not clear on how
> to do this -- did it make it into the release? Am I missing
> something?
#define LUA_NOCVTN2S
#define LUA_NOCVTS2N
-- Roberto