diff options
| author | Lua Team <team@lua.org> | 2005-03-04 12:00:00 +0000 |
|---|---|---|
| committer | repogen <> | 2005-03-04 12:00:00 +0000 |
| commit | e6ddfd3b09c0a3727afc773029c323a3defe50fa (patch) | |
| tree | 70e021a2b008f43064eeb04e002a31ba371b5108 /src/ldo.c | |
| parent | e2493a40ee611d5a718fd2a81fe67e24c04c91a0 (diff) | |
| download | lua-github-5.1-work5.tar.gz | |
Lua 5.1-work55.1-work5
Diffstat (limited to 'src/ldo.c')
| -rw-r--r-- | src/ldo.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ /* -** $Id: ldo.c,v 2.13 2004/12/03 20:35:33 roberto Exp $ +** $Id: ldo.c,v 2.14 2005/02/18 12:40:02 roberto Exp $ ** Stack and Call structure of Lua ** See Copyright Notice in lua.h */ @@ -474,7 +474,7 @@ static void f_parser (lua_State *L, void *ud) { luaC_checkGC(L); tf = ((c == LUA_SIGNATURE[0]) ? luaU_undump : luaY_parser)(L, p->z, &p->buff, p->name); - cl = luaF_newLclosure(L, tf->nups, gt(L)); + cl = luaF_newLclosure(L, tf->nups, hvalue(gt(L))); cl->l.p = tf; for (i = 0; i < tf->nups; i++) /* initialize eventual upvalues */ cl->l.upvals[i] = luaF_newupval(L); |
