mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-25 04:33:05 +00:00
This commit is contained in:
@@ -1395,7 +1395,6 @@ static void test_then_block (LexState *ls, int *escapelist) {
|
|||||||
luaK_goiffalse(ls->fs, &v); /* will jump to label if condition is true */
|
luaK_goiffalse(ls->fs, &v); /* will jump to label if condition is true */
|
||||||
enterblock(fs, &bl, 0); /* must enter block before 'goto' */
|
enterblock(fs, &bl, 0); /* must enter block before 'goto' */
|
||||||
gotostat(ls, v.t); /* handle goto/break */
|
gotostat(ls, v.t); /* handle goto/break */
|
||||||
skipnoopstat(ls); /* skip other no-op statements */
|
|
||||||
if (block_follow(ls, 0)) { /* 'goto' is the entire block? */
|
if (block_follow(ls, 0)) { /* 'goto' is the entire block? */
|
||||||
leaveblock(fs);
|
leaveblock(fs);
|
||||||
return; /* and that is it */
|
return; /* and that is it */
|
||||||
|
|||||||
Reference in New Issue
Block a user