diff options
-rw-r--r-- | lparser.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lparser.c,v 2.161 2017/06/29 15:06:44 roberto Exp roberto $ | 2 | ** $Id: lparser.c,v 2.162 2017/06/29 15:38:41 roberto Exp roberto $ |
3 | ** Lua Parser | 3 | ** Lua Parser |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -1411,7 +1411,7 @@ static void test_then_block (LexState *ls, int *escapelist) { | |||
1411 | luaK_goiffalse(ls->fs, &v); /* will jump to label if condition is true */ | 1411 | luaK_goiffalse(ls->fs, &v); /* will jump to label if condition is true */ |
1412 | enterblock(fs, &bl, 0); /* must enter block before 'goto' */ | 1412 | enterblock(fs, &bl, 0); /* must enter block before 'goto' */ |
1413 | gotostat(ls, v.t); /* handle goto/break */ | 1413 | gotostat(ls, v.t); /* handle goto/break */ |
1414 | while (testnext(ls, ';')) {} /* skip colons */ | 1414 | while (testnext(ls, ';')) {} /* skip semicolons */ |
1415 | if (block_follow(ls, 0)) { /* 'goto' is the entire block? */ | 1415 | if (block_follow(ls, 0)) { /* 'goto' is the entire block? */ |
1416 | leaveblock(fs); | 1416 | leaveblock(fs); |
1417 | return; /* and that is it */ | 1417 | return; /* and that is it */ |