diff options
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; |