aboutsummaryrefslogtreecommitdiff
path: root/lcode.c
diff options
context:
space:
mode:
Diffstat (limited to 'lcode.c')
-rw-r--r--lcode.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lcode.c b/lcode.c
index 3e22de75..0d96f632 100644
--- a/lcode.c
+++ b/lcode.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lcode.c,v 1.113 2002/11/14 16:15:53 roberto Exp roberto $ 2** $Id: lcode.c,v 1.114 2002/12/04 17:38:31 roberto Exp roberto $
3** Code generator for Lua 3** Code generator for Lua
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -176,7 +176,7 @@ void luaK_concat (FuncState *fs, int *l1, int l2) {
176} 176}
177 177
178 178
179static void luaK_checkstack (FuncState *fs, int n) { 179void luaK_checkstack (FuncState *fs, int n) {
180 int newstack = fs->freereg + n; 180 int newstack = fs->freereg + n;
181 if (newstack > fs->f->maxstacksize) { 181 if (newstack > fs->f->maxstacksize) {
182 if (newstack >= MAXSTACK) 182 if (newstack >= MAXSTACK)