diff options
Diffstat (limited to 'lua.stx')
-rw-r--r-- | lua.stx | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1,6 +1,6 @@ | |||
1 | %{ | 1 | %{ |
2 | /* | 2 | /* |
3 | ** $Id: lua.stx,v 1.33 1998/01/12 13:35:37 roberto Exp roberto $ | 3 | ** $Id: lua.stx,v 1.34 1998/02/11 20:56:46 roberto Exp roberto $ |
4 | ** Syntax analizer and code generator | 4 | ** Syntax analizer and code generator |
5 | ** See Copyright Notice in lua.h | 5 | ** See Copyright Notice in lua.h |
6 | */ | 6 | */ |
@@ -679,6 +679,8 @@ chunk : statlist ret ; | |||
679 | 679 | ||
680 | statlist : /* empty */ | 680 | statlist : /* empty */ |
681 | | statlist stat sc | 681 | | statlist stat sc |
682 | { LUA_ASSERT(L->currState->stacksize == L->currState->nlocalvar, | ||
683 | "stack size != # local vars"); } | ||
682 | ; | 684 | ; |
683 | 685 | ||
684 | sc : /* empty */ | ';' ; | 686 | sc : /* empty */ | ';' ; |