mirror of
https://github.com/lua/lua
synced 2025-03-30 09:32:52 +03:00
detail
This commit is contained in:
parent
84488c5670
commit
007f229568
4
ldo.h
4
ldo.h
@ -1,5 +1,5 @@
|
||||
/*
|
||||
** $Id: ldo.h,v 1.53 2002/11/21 16:46:16 roberto Exp roberto $
|
||||
** $Id: ldo.h,v 1.54 2002/11/21 17:19:11 roberto Exp roberto $
|
||||
** Stack and Call structure of Lua
|
||||
** See Copyright Notice in lua.h
|
||||
*/
|
||||
@ -16,7 +16,7 @@
|
||||
/*
|
||||
** macro to control inclusion of some hard tests on stack reallocation
|
||||
*/
|
||||
#ifndef CONDHARDSTACKTESTS
|
||||
#ifndef HARDSTACKTESTS
|
||||
#define condhardstacktests(x) { /* empty */ }
|
||||
#else
|
||||
#define condhardstacktests(x) x
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
** $Id: lparser.c,v 1.195 2002/10/08 18:46:08 roberto Exp roberto $
|
||||
** $Id: lparser.c,v 1.196 2002/10/16 20:40:58 roberto Exp roberto $
|
||||
** Lua Parser
|
||||
** See Copyright Notice in lua.h
|
||||
*/
|
||||
@ -450,7 +450,7 @@ static void funcargs (LexState *ls, expdesc *f) {
|
||||
nparams = fs->freereg - (base+1);
|
||||
}
|
||||
init_exp(f, VCALL, luaK_codeABC(fs, OP_CALL, base, nparams+1, 2));
|
||||
fs->f->lineinfo[f->info] = line;
|
||||
luaK_fixline(fs, line);
|
||||
fs->freereg = base+1; /* call remove function and arguments and leaves
|
||||
(unless changed) one result */
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user