lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]



On 8-Feb-07, at 1:55 PM, Mike Pall wrote:

Hi,

Rici Lake wrote:
Sorry it took me so long to get around to it. The patch is now on
http://lua-users.org/wiki/LuaPowerPatches

This ...

+        lua_number2int(first, nvalue(ra+1));

... does not work with the MSVC definition of lua_number2int().
You need to put it into a temporary variable first (I stumbled on
this in an older version of LuaJIT, too).

Thanks, I'll fix that. It also really should check to make sure that ra+1 is a number, although it won't crash if it isn't.


BTW: The opcode docs in lopcodes.h need to be updated, too.

Yes, I forgot about that, although I did get the changes to symbexec in :)

There are a couple of other minor tweaks which need doing.