diff options
Diffstat (limited to 'lparser.c')
| -rw-r--r-- | lparser.c | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: lparser.c,v 1.195 2002/10/08 18:46:08 roberto Exp roberto $ | 2 | ** $Id: lparser.c,v 1.196 2002/10/16 20:40:58 roberto Exp roberto $ |
| 3 | ** Lua Parser | 3 | ** Lua Parser |
| 4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
| 5 | */ | 5 | */ |
| @@ -450,7 +450,7 @@ static void funcargs (LexState *ls, expdesc *f) { | |||
| 450 | nparams = fs->freereg - (base+1); | 450 | nparams = fs->freereg - (base+1); |
| 451 | } | 451 | } |
| 452 | init_exp(f, VCALL, luaK_codeABC(fs, OP_CALL, base, nparams+1, 2)); | 452 | init_exp(f, VCALL, luaK_codeABC(fs, OP_CALL, base, nparams+1, 2)); |
| 453 | fs->f->lineinfo[f->info] = line; | 453 | luaK_fixline(fs, line); |
| 454 | fs->freereg = base+1; /* call remove function and arguments and leaves | 454 | fs->freereg = base+1; /* call remove function and arguments and leaves |
| 455 | (unless changed) one result */ | 455 | (unless changed) one result */ |
| 456 | } | 456 | } |
