diff options
Diffstat (limited to 'lparser.c')
-rw-r--r-- | lparser.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lparser.c,v 1.20 1999/02/09 18:01:55 roberto Exp roberto $ | 2 | ** $Id: lparser.c,v 1.21 1999/02/24 15:37:19 roberto Exp roberto $ |
3 | ** LL(1) Parser and code generator for Lua | 3 | ** LL(1) Parser and code generator for Lua |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -403,6 +403,10 @@ static void close_exp (LexState *ls, int pc, int nresults) { | |||
403 | deltastack(ls, nresults); /* push results */ | 403 | deltastack(ls, nresults); /* push results */ |
404 | deltastack(ls, -(code[pc]+1)); /* pop params (at code[pc]) and function */ | 404 | deltastack(ls, -(code[pc]+1)); /* pop params (at code[pc]) and function */ |
405 | } | 405 | } |
406 | #ifdef DEBUG | ||
407 | if (nresults != MULT_RET) | ||
408 | code_oparg(ls, CHECKSTACK, ls->fs->stacksize, 0); | ||
409 | #endif | ||
406 | } | 410 | } |
407 | 411 | ||
408 | 412 | ||