diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-04-10 15:05:08 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-04-10 15:05:08 -0300 |
commit | f1f271ae76e626d1e6ffe71d5589d9e0d995bac1 (patch) | |
tree | 601395f5038bb6c8904c01a1c14a39e2dd79acb6 /lcode.c | |
parent | 6c7334a9ac4b424a4fd52bfeb4d674bc7cfa4eb3 (diff) | |
download | lua-f1f271ae76e626d1e6ffe71d5589d9e0d995bac1.tar.gz lua-f1f271ae76e626d1e6ffe71d5589d9e0d995bac1.tar.bz2 lua-f1f271ae76e626d1e6ffe71d5589d9e0d995bac1.zip |
details
Diffstat (limited to 'lcode.c')
-rw-r--r-- | lcode.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 | ||
176 | void luaK_checkstack (FuncState *fs, int n) { | 176 | static 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) |