diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2005-06-07 15:53:45 -0300 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2005-06-07 15:53:45 -0300 |
| commit | 746a1d612b975e1ec2b0ea906e6932f2497f5391 (patch) | |
| tree | 2383adba9240f9b20af60d79a051fa1054cc1838 /lcode.c | |
| parent | 3ad03b331de36025a5daed76bc1984cc6288e6b4 (diff) | |
| download | lua-746a1d612b975e1ec2b0ea906e6932f2497f5391.tar.gz lua-746a1d612b975e1ec2b0ea906e6932f2497f5391.tar.bz2 lua-746a1d612b975e1ec2b0ea906e6932f2497f5391.zip | |
small bug (type error)
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 2.12 2005/03/16 16:59:21 roberto Exp roberto $ | 2 | ** $Id: lcode.c,v 2.13 2005/05/20 15:53:42 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 | */ |
| @@ -223,7 +223,7 @@ static int addk (FuncState *fs, TValue *k, TValue *v) { | |||
| 223 | MAXARG_Bx, "constant table overflow"); | 223 | MAXARG_Bx, "constant table overflow"); |
| 224 | while (oldsize < f->sizek) setnilvalue(&f->k[oldsize++]); | 224 | while (oldsize < f->sizek) setnilvalue(&f->k[oldsize++]); |
| 225 | setobj(L, &f->k[fs->nk], v); | 225 | setobj(L, &f->k[fs->nk], v); |
| 226 | luaC_barriert(L, f, v); | 226 | luaC_barrier(L, f, v); |
| 227 | return fs->nk++; | 227 | return fs->nk++; |
| 228 | } | 228 | } |
| 229 | } | 229 | } |
