diff --git a/lparser.c b/lparser.c index 1a0a4e51..3df5a958 100644 --- a/lparser.c +++ b/lparser.c @@ -1,5 +1,5 @@ /* -** $Id: lparser.c,v 2.161 2017/06/29 15:06:44 roberto Exp roberto $ +** $Id: lparser.c,v 2.162 2017/06/29 15:38:41 roberto Exp roberto $ ** Lua Parser ** See Copyright Notice in lua.h */ @@ -1411,7 +1411,7 @@ static void test_then_block (LexState *ls, int *escapelist) { luaK_goiffalse(ls->fs, &v); /* will jump to label if condition is true */ enterblock(fs, &bl, 0); /* must enter block before 'goto' */ gotostat(ls, v.t); /* handle goto/break */ - while (testnext(ls, ';')) {} /* skip colons */ + while (testnext(ls, ';')) {} /* skip semicolons */ if (block_follow(ls, 0)) { /* 'goto' is the entire block? */ leaveblock(fs); return; /* and that is it */