This commit is contained in:
Roberto Ierusalimschy
2000-03-03 17:30:47 -03:00
parent 61f97a8ace
commit 29e0193425

View File

@@ -1,5 +1,5 @@
/* /*
** $Id: lcode.c,v 1.3 2000/03/03 14:58:26 roberto Exp roberto $ ** $Id: lcode.c,v 1.4 2000/03/03 18:53:17 roberto Exp roberto $
** Code generator for Lua ** Code generator for Lua
** See Copyright Notice in lua.h ** See Copyright Notice in lua.h
*/ */
@@ -86,7 +86,7 @@ void luaK_retcode (LexState *ls, int nlocals, listdesc *e) {
*last = SETARG_B(*last, nlocals); *last = SETARG_B(*last, nlocals);
} }
else else
luaK_U(ls, RETCODE, nlocals, 0); luaK_primitivecode(ls, CREATE_U(RETCODE, nlocals));
} }