aboutsummaryrefslogtreecommitdiff
path: root/lcode.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2000-03-24 14:26:08 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2000-03-24 14:26:08 -0300
commit213e9febc889d5aaae8ef0e8b777cdb4889e30c1 (patch)
treea3b8483f7ce4094e8df3071cb774ef1ee70cc474 /lcode.c
parent47b4bf59649834c611571d7ac1482eac55687ce5 (diff)
downloadlua-213e9febc889d5aaae8ef0e8b777cdb4889e30c1.tar.gz
lua-213e9febc889d5aaae8ef0e8b777cdb4889e30c1.tar.bz2
lua-213e9febc889d5aaae8ef0e8b777cdb4889e30c1.zip
limits now are in `llims.n'
Diffstat (limited to 'lcode.c')
-rw-r--r--lcode.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/lcode.c b/lcode.c
index 78777e00..d507e179 100644
--- a/lcode.c
+++ b/lcode.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lcode.c,v 1.16 2000/03/20 19:15:37 roberto Exp roberto $ 2** $Id: lcode.c,v 1.17 2000/03/24 12:18:30 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*/
@@ -212,10 +212,6 @@ void luaK_kstr (LexState *ls, int c) {
212} 212}
213 213
214 214
215#ifndef LOOKBACKNUMS
216#define LOOKBACKNUMS 20 /* arbitrary limit */
217#endif
218
219static int real_constant (FuncState *fs, Number r) { 215static int real_constant (FuncState *fs, Number r) {
220 /* check whether `r' has appeared within the last LOOKBACKNUMS entries */ 216 /* check whether `r' has appeared within the last LOOKBACKNUMS entries */
221 Proto *f = fs->f; 217 Proto *f = fs->f;