diff options
Diffstat (limited to 'lparser.c')
-rw-r--r-- | lparser.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lparser.c,v 1.147 2001/06/08 19:00:57 roberto Exp roberto $ | 2 | ** $Id: lparser.c,v 1.148 2001/06/11 14:56:42 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 | */ |
@@ -636,6 +636,7 @@ static void primaryexp (LexState *ls, expdesc *v) { | |||
636 | next(ls); | 636 | next(ls); |
637 | expr(ls, v); | 637 | expr(ls, v); |
638 | check(ls, l_c(')')); | 638 | check(ls, l_c(')')); |
639 | luaK_dischargevars(ls->fs, v); | ||
639 | return; | 640 | return; |
640 | } | 641 | } |
641 | case TK_NAME: { | 642 | case TK_NAME: { |