diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-03-03 11:58:26 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-03-03 11:58:26 -0300 |
commit | 3c9d999424520c809e05bee11d81788b488434f6 (patch) | |
tree | 7556d9ea10bda42b226aec4dd956753467cc0864 /lcode.c | |
parent | f7840a3e0bc07813246b2bad6bf4579848187908 (diff) | |
download | lua-3c9d999424520c809e05bee11d81788b488434f6.tar.gz lua-3c9d999424520c809e05bee11d81788b488434f6.tar.bz2 lua-3c9d999424520c809e05bee11d81788b488434f6.zip |
many details (most by lhf).
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.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 | ||
154 | static int real_constant (LexState *ls, real r) { | 154 | static 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; |