History

Lua 5.1.2-rc1

Lua Team committed 19 years ago

Commit ce51ee41 parent 954596315 files · +362 −206Browse files

Showing the changes to src/lparser.c (1 of 15 files). Show all

Unified · Split

src/lparser.c+2−2
@@ -1,5 +1,5 @@
11 /*
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 $
33 ** Lua Parser
44 ** See Copyright Notice in lua.h
55 */
@@ -489,7 +489,7 @@ static void lastlistfield (FuncState *fs, struct ConsControl *cc) { · 483 unmodified lines
489489
490490 static void listfield (LexState *ls, struct ConsControl *cc) {
491491 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");
493493 cc->na++;
494494 cc->tostore++;
495495 }

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t