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 @@
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** Lua Parser3** Lua Parser
4** See Copyright Notice in lua.h4** 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
490static void listfield (LexState *ls, struct ConsControl *cc) {490static void listfield (LexState *ls, struct ConsControl *cc) {
491 expr(ls, &cc->v);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 cc->na++;493 cc->na++;
494 cc->tostore++;494 cc->tostore++;
495}495}

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