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 2.43 2006/06/22 16:12:59 roberto Exp roberto $ | 2 | ** $Id: lparser.c,v 2.44 2006/07/11 15:53:29 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 | */ |
@@ -495,7 +495,7 @@ static void lastlistfield (FuncState *fs, struct ConsControl *cc) { | |||
495 | 495 | ||
496 | static void listfield (LexState *ls, struct ConsControl *cc) { | 496 | static void listfield (LexState *ls, struct ConsControl *cc) { |
497 | expr(ls, &cc->v); | 497 | expr(ls, &cc->v); |
498 | luaY_checklimit(ls->fs, cc->na, MAXARG_Bx, "items in a constructor"); | 498 | luaY_checklimit(ls->fs, cc->na, MAX_INT, "items in a constructor"); |
499 | cc->na++; | 499 | cc->na++; |
500 | cc->tostore++; | 500 | cc->tostore++; |
501 | } | 501 | } |