commit 8974b59e4014dd1ca79dec6994d4c53ac226de5f
parent 4ff1e5b4e10fcc27bf8f2d99b188847b085fc556
Author: Roberto Ierusalimschy <roberto@inf.puc-rio.br>
Date: Wed, 24 Aug 2005 14:40:48 -0300
no more compatibility for {;} and similar syntax
Diffstat:
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/lparser.c b/lparser.c
@@ -1,5 +1,5 @@
/*
-** $Id: lparser.c,v 2.32 2005/08/17 18:32:09 roberto Exp roberto $
+** $Id: lparser.c,v 2.33 2005/08/22 18:54:32 roberto Exp roberto $
** Lua Parser
** See Copyright Notice in lua.h
*/
@@ -526,7 +526,6 @@ static void constructor (LexState *ls, expdesc *t) {
checknext(ls, '{');
do {
lua_assert(cc.v.k == VVOID || cc.tostore > 0);
- testnext(ls, ';'); /* compatibility only */
if (ls->t.token == '}') break;
closelistfield(fs, &cc);
switch(ls->t.token) {