diff options
Diffstat (limited to 'lparser.c')
-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.154 2016/06/22 15:48:25 roberto Exp roberto $ | 2 | ** $Id: lparser.c,v 2.155.1.2 2017/04/29 18:11:40 roberto Exp $ |
3 | ** Lua Parser | 3 | ** Lua Parser |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -1392,7 +1392,7 @@ static void test_then_block (LexState *ls, int *escapelist) { | |||
1392 | luaK_goiffalse(ls->fs, &v); /* will jump to label if condition is true */ | 1392 | luaK_goiffalse(ls->fs, &v); /* will jump to label if condition is true */ |
1393 | enterblock(fs, &bl, 0); /* must enter block before 'goto' */ | 1393 | enterblock(fs, &bl, 0); /* must enter block before 'goto' */ |
1394 | gotostat(ls, v.t); /* handle goto/break */ | 1394 | gotostat(ls, v.t); /* handle goto/break */ |
1395 | skipnoopstat(ls); /* skip other no-op statements */ | 1395 | while (testnext(ls, ';')) {} /* skip colons */ |
1396 | if (block_follow(ls, 0)) { /* 'goto' is the entire block? */ | 1396 | if (block_follow(ls, 0)) { /* 'goto' is the entire block? */ |
1397 | leaveblock(fs); | 1397 | leaveblock(fs); |
1398 | return; /* and that is it */ | 1398 | return; /* and that is it */ |