Roberto Ierusalimschy 25 years ago
parent
commit
29e0193425
1 changed files with 2 additions and 2 deletions
  1. 2 2
      lcode.c

+ 2 - 2
lcode.c

@@ -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));
 }
 }