mirror of
https://github.com/lua/lua
synced 2026-09-26 16:17:11 +03:00
no more fenvs!
This commit is contained in:
parent
5c87f61e6b
commit
064e406f67
16 changed files with 78 additions and 170 deletions
4
ldo.c
4
ldo.c
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
** $Id: ldo.c,v 2.80 2010/01/13 16:17:32 roberto Exp roberto $
|
||||
** $Id: ldo.c,v 2.81 2010/02/09 11:56:29 roberto Exp roberto $
|
||||
** Stack and Call structure of Lua
|
||||
** See Copyright Notice in lua.h
|
||||
*/
|
||||
|
|
@ -622,7 +622,7 @@ static void f_parser (lua_State *L, void *ud) {
|
|||
: luaY_parser(L, p->z, &p->buff, &p->varl, p->name);
|
||||
setptvalue2s(L, L->top, tf);
|
||||
incr_top(L);
|
||||
cl = luaF_newLclosure(L, tf->sizeupvalues, G(L)->l_gt);
|
||||
cl = luaF_newLclosure(L, tf->sizeupvalues);
|
||||
cl->l.p = tf;
|
||||
setclvalue(L, L->top - 1, cl);
|
||||
for (i = 0; i < tf->sizeupvalues; i++) /* initialize upvalues */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue