From f8df21bd2071c4e3729d37d1552f54ca2742551a Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Tue, 8 Mar 2005 17:10:05 -0300 Subject: `luaconf.h´ exports all its definitions always (so all of them must have a lua/LUA prefix). MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lcode.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lcode.c') diff --git a/lcode.c b/lcode.c index d2f05a8d..07d1b4f4 100644 --- a/lcode.c +++ b/lcode.c @@ -1,5 +1,5 @@ /* -** $Id: lcode.c,v 2.8 2004/12/03 20:35:33 roberto Exp roberto $ +** $Id: lcode.c,v 2.9 2005/01/10 18:17:39 roberto Exp roberto $ ** Code generator for Lua ** See Copyright Notice in lua.h */ @@ -606,7 +606,7 @@ void luaK_prefix (FuncState *fs, UnOpr op, expdesc *e) { if (op == OPR_MINUS) { luaK_exp2val(fs, e); if (e->k == VK && ttisnumber(&fs->f->k[e->info])) - e->info = luaK_numberK(fs, num_unm(nvalue(&fs->f->k[e->info]))); + e->info = luaK_numberK(fs, luac_numunm(nvalue(&fs->f->k[e->info]))); else { luaK_exp2anyreg(fs, e); freeexp(fs, e); -- cgit v1.2.3-55-g6feb