diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-11-22 11:59:04 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-11-22 11:59:04 -0200 |
commit | 007f229568ec47a2b6659ef3049b9ed03ccac72d (patch) | |
tree | 8778582e7fb45e5debd0a557c259170022420e5a | |
parent | 84488c56700fe1fddf9745283140a80879f59ff6 (diff) | |
download | lua-007f229568ec47a2b6659ef3049b9ed03ccac72d.tar.gz lua-007f229568ec47a2b6659ef3049b9ed03ccac72d.tar.bz2 lua-007f229568ec47a2b6659ef3049b9ed03ccac72d.zip |
detail
-rw-r--r-- | ldo.h | 4 | ||||
-rw-r--r-- | lparser.c | 4 |
2 files changed, 4 insertions, 4 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: ldo.h,v 1.53 2002/11/21 16:46:16 roberto Exp roberto $ | 2 | ** $Id: ldo.h,v 1.54 2002/11/21 17:19:11 roberto Exp roberto $ |
3 | ** Stack and Call structure of Lua | 3 | ** Stack and Call structure of Lua |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -16,7 +16,7 @@ | |||
16 | /* | 16 | /* |
17 | ** macro to control inclusion of some hard tests on stack reallocation | 17 | ** macro to control inclusion of some hard tests on stack reallocation |
18 | */ | 18 | */ |
19 | #ifndef CONDHARDSTACKTESTS | 19 | #ifndef HARDSTACKTESTS |
20 | #define condhardstacktests(x) { /* empty */ } | 20 | #define condhardstacktests(x) { /* empty */ } |
21 | #else | 21 | #else |
22 | #define condhardstacktests(x) x | 22 | #define condhardstacktests(x) x |
@@ -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 | } |