[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [ANN] Lua 5.2.0 (beta-rc1) now available
- From: Roberto Ierusalimschy <roberto@...>
- Date: Mon, 13 Jun 2011 16:03:32 -0300
> The documentation relating to lua_arith seems incorrect with regard to
> LUA_OPUNM. The code in lapi.c appears to create the second argument,
> and thus does not require a dummy nil.
It was corrected but not fully corrected:
Right:
Performs an arithmetic operation over the two values
(or one, in the case of negation)
Wrong:
When the operation is @id{LUA_OPUNM},
the caller must push a @nil value for the second operand.
Thanks for the feedback.
-- Roberto