aboutsummaryrefslogtreecommitdiff
path: root/lcode.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2000-03-03 17:30:47 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2000-03-03 17:30:47 -0300
commit29e01934253adf5fbf43faff81d87d7470cef8ce (patch)
tree0d9e69a15bb60993ef2cc12fdf22e9ecd8e181e6 /lcode.c
parent61f97a8ace5b0df8de8da4e7473643a35956c2a7 (diff)
downloadlua-29e01934253adf5fbf43faff81d87d7470cef8ce.tar.gz
lua-29e01934253adf5fbf43faff81d87d7470cef8ce.tar.bz2
lua-29e01934253adf5fbf43faff81d87d7470cef8ce.zip
details
Diffstat (limited to 'lcode.c')
-rw-r--r--lcode.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lcode.c b/lcode.c
index 2d9c2285..be97e2bb 100644
--- a/lcode.c
+++ b/lcode.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lcode.c,v 1.3 2000/03/03 14:58:26 roberto Exp roberto $ 2** $Id: lcode.c,v 1.4 2000/03/03 18:53:17 roberto Exp roberto $
3** Code generator for Lua 3** Code generator for Lua
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -86,7 +86,7 @@ void luaK_retcode (LexState *ls, int nlocals, listdesc *e) {
86 *last = SETARG_B(*last, nlocals); 86 *last = SETARG_B(*last, nlocals);
87 } 87 }
88 else 88 else
89 luaK_U(ls, RETCODE, nlocals, 0); 89 luaK_primitivecode(ls, CREATE_U(RETCODE, nlocals));
90} 90}
91 91
92 92