aboutsummaryrefslogtreecommitdiff
path: root/lcode.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2000-03-03 11:58:26 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2000-03-03 11:58:26 -0300
commit3c9d999424520c809e05bee11d81788b488434f6 (patch)
tree7556d9ea10bda42b226aec4dd956753467cc0864 /lcode.c
parentf7840a3e0bc07813246b2bad6bf4579848187908 (diff)
downloadlua-3c9d999424520c809e05bee11d81788b488434f6.tar.gz
lua-3c9d999424520c809e05bee11d81788b488434f6.tar.bz2
lua-3c9d999424520c809e05bee11d81788b488434f6.zip
many details (most by lhf).
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 9ca8de7e..cf9aee47 100644
--- a/lcode.c
+++ b/lcode.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lcode.c,v 1.1 2000/02/22 13:30:11 roberto Exp roberto $ 2** $Id: lcode.c,v 1.2 2000/03/03 12:33:59 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*/
@@ -152,7 +152,7 @@ int luaK_kstr (LexState *ls, int c) {
152#endif 152#endif
153 153
154static int real_constant (LexState *ls, real r) { 154static int real_constant (LexState *ls, real r) {
155 /* check whether `r' has appeared within the last LIM entries */ 155 /* check whether `r' has appeared within the last LOOKBACKNUMS entries */
156 TProtoFunc *f = ls->fs->f; 156 TProtoFunc *f = ls->fs->f;
157 int c = f->nknum; 157 int c = f->nknum;
158 int lim = c < LOOKBACKNUMS ? 0 : c-LOOKBACKNUMS; 158 int lim = c < LOOKBACKNUMS ? 0 : c-LOOKBACKNUMS;