mirror of
https://github.com/lua/lua.git
synced 2025-01-28 06:03:00 +08:00
detail
This commit is contained in:
parent
7dae7899b1
commit
2a70107581
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
** $Id: lparser.c,v 1.216 2003/08/25 19:51:54 roberto Exp roberto $
|
** $Id: lparser.c,v 1.217 2003/08/27 21:01:44 roberto Exp roberto $
|
||||||
** Lua Parser
|
** Lua Parser
|
||||||
** See Copyright Notice in lua.h
|
** See Copyright Notice in lua.h
|
||||||
*/
|
*/
|
||||||
@ -320,7 +320,7 @@ static void pushclosure (LexState *ls, FuncState *func, expdesc *v) {
|
|||||||
|
|
||||||
static void open_func (LexState *ls, FuncState *fs) {
|
static void open_func (LexState *ls, FuncState *fs) {
|
||||||
lua_State *L = ls->L;
|
lua_State *L = ls->L;
|
||||||
Proto *f = luaF_newproto(ls->L);
|
Proto *f = luaF_newproto(L);
|
||||||
fs->f = f;
|
fs->f = f;
|
||||||
fs->prev = ls->fs; /* linked list of funcstates */
|
fs->prev = ls->fs; /* linked list of funcstates */
|
||||||
fs->ls = ls;
|
fs->ls = ls;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user