diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1999-09-06 12:24:46 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1999-09-06 12:24:46 -0300 |
commit | f7fe04d4b78fb4027c1c9960e1a1b4c778a1252f (patch) | |
tree | 8a374bdc3f5c0a75afbc55c1536a5fe2addc2c59 /ldo.c | |
parent | 82699d0c4f497c651fe550f73b2810facf0f0446 (diff) | |
download | lua-f7fe04d4b78fb4027c1c9960e1a1b4c778a1252f.tar.gz lua-f7fe04d4b78fb4027c1c9960e1a1b4c778a1252f.tar.bz2 lua-f7fe04d4b78fb4027c1c9960e1a1b4c778a1252f.zip |
details.
Diffstat (limited to 'ldo.c')
-rw-r--r-- | ldo.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: ldo.c,v 1.45 1999/06/22 20:37:23 roberto Exp roberto $ | 2 | ** $Id: ldo.c,v 1.46 1999/08/16 20:52:00 roberto Exp roberto $ |
3 | ** Stack and Call structure of Lua | 3 | ** Stack and Call structure of Lua |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -190,7 +190,7 @@ void luaD_calln (int nArgs, int nResults) { | |||
190 | break; | 190 | break; |
191 | case LUA_T_CLOSURE: { | 191 | case LUA_T_CLOSURE: { |
192 | Closure *c = clvalue(func); | 192 | Closure *c = clvalue(func); |
193 | TObject *proto = &(c->consts[0]); | 193 | TObject *proto = c->consts; |
194 | ttype(func) = LUA_T_CLMARK; | 194 | ttype(func) = LUA_T_CLMARK; |
195 | firstResult = (ttype(proto) == LUA_T_CPROTO) ? | 195 | firstResult = (ttype(proto) == LUA_T_CPROTO) ? |
196 | callCclosure(c, fvalue(proto), base) : | 196 | callCclosure(c, fvalue(proto), base) : |