aboutsummaryrefslogtreecommitdiff
path: root/lvm.c
diff options
context:
space:
mode:
Diffstat (limited to 'lvm.c')
-rw-r--r--lvm.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lvm.c b/lvm.c
index d49ed9e4..141d88f6 100644
--- a/lvm.c
+++ b/lvm.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lvm.c,v 1.147 2000/11/24 17:39:56 roberto Exp roberto $ 2** $Id: lvm.c,v 1.148 2000/12/04 18:33:40 roberto Exp roberto $
3** Lua virtual machine 3** Lua virtual machine
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -35,7 +35,7 @@
35** Extra stack size to run a function: 35** Extra stack size to run a function:
36** TAG_LINE(1), NAME(1), TM calls(3) (plus some extra...) 36** TAG_LINE(1), NAME(1), TM calls(3) (plus some extra...)
37*/ 37*/
38#define EXTRA_STACK 8 38#define EXTRA_FSTACK 8
39 39
40 40
41 41
@@ -355,7 +355,7 @@ StkId luaV_execute (lua_State *L, const Closure *cl, StkId base) {
355 TString **const kstr = tf->kstr; 355 TString **const kstr = tf->kstr;
356 const lua_Hook linehook = L->linehook; 356 const lua_Hook linehook = L->linehook;
357 infovalue(base-1)->pc = &pc; 357 infovalue(base-1)->pc = &pc;
358 luaD_checkstack(L, tf->maxstacksize+EXTRA_STACK); 358 luaD_checkstack(L, tf->maxstacksize+EXTRA_FSTACK);
359 if (tf->is_vararg) /* varargs? */ 359 if (tf->is_vararg) /* varargs? */
360 adjust_varargs(L, base, tf->numparams); 360 adjust_varargs(L, base, tf->numparams);
361 else 361 else