Showing the changes to src/lparser.c (1 of 15 files). Show all
Unified · Split
| @@ -1,5 +1,5 @@ | ||
| 1 | 1 | /* |
| 2 | −** $Id: lparser.c,v 2.42 2006/06/05 15:57:59 roberto Exp $ | |
| 2 | +** $Id: lparser.c,v 2.42a 2006/06/05 15:57:59 roberto Exp $ | |
| 3 | 3 | ** Lua Parser |
| 4 | 4 | ** See Copyright Notice in lua.h |
| 5 | 5 | */ |
| @@ -489,7 +489,7 @@ static void lastlistfield (FuncState *fs, struct ConsControl *cc) { · 483 unmodified lines | ||
| 489 | 489 | |
| 490 | 490 | static void listfield (LexState *ls, struct ConsControl *cc) { |
| 491 | 491 | expr(ls, &cc->v); |
| 492 | − luaY_checklimit(ls->fs, cc->na, MAXARG_Bx, "items in a constructor"); | |
| 492 | + luaY_checklimit(ls->fs, cc->na, MAX_INT, "items in a constructor"); | |
| 493 | 493 | cc->na++; |
| 494 | 494 | cc->tostore++; |
| 495 | 495 | } |