aboutsummaryrefslogtreecommitdiff
path: root/lcode.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2002-04-10 15:05:08 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2002-04-10 15:05:08 -0300
commitf1f271ae76e626d1e6ffe71d5589d9e0d995bac1 (patch)
tree601395f5038bb6c8904c01a1c14a39e2dd79acb6 /lcode.c
parent6c7334a9ac4b424a4fd52bfeb4d674bc7cfa4eb3 (diff)
downloadlua-f1f271ae76e626d1e6ffe71d5589d9e0d995bac1.tar.gz
lua-f1f271ae76e626d1e6ffe71d5589d9e0d995bac1.tar.bz2
lua-f1f271ae76e626d1e6ffe71d5589d9e0d995bac1.zip
details
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 51fe877d..32a56d14 100644
--- a/lcode.c
+++ b/lcode.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lcode.c,v 1.93 2002/03/25 17:47:14 roberto Exp roberto $ 2** $Id: lcode.c,v 1.94 2002/04/02 20:34:53 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*/
@@ -173,7 +173,7 @@ void luaK_concat (FuncState *fs, int *l1, int l2) {
173} 173}
174 174
175 175
176void luaK_checkstack (FuncState *fs, int n) { 176static void luaK_checkstack (FuncState *fs, int n) {
177 int newstack = fs->freereg + n; 177 int newstack = fs->freereg + n;
178 if (newstack > fs->f->maxstacksize) { 178 if (newstack > fs->f->maxstacksize) {
179 if (newstack >= MAXSTACK) 179 if (newstack >= MAXSTACK)