We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3ab9f5a commit ff64836Copy full SHA for ff64836
src/lj_parse.c
@@ -1280,12 +1280,14 @@ static void fscope_end(FuncState *fs)
1280
MSize idx = gola_new(ls, NAME_BREAK, VSTACK_LABEL, fs->pc);
1281
ls->vtop = idx; /* Drop break label immediately. */
1282
gola_resolve(ls, bl, idx);
1283
+ } else { /* Need the fixup step to propagate the breaks. */
1284
+ gola_fixup(ls, bl);
1285
return;
- } /* else: need the fixup step to propagate the breaks. */
- } else if (!(bl->flags & FSCOPE_GOLA)) {
1286
- return;
+ }
1287
1288
+ if ((bl->flags & FSCOPE_GOLA)) {
1289
1290
}
- gola_fixup(ls, bl);
1291
1292
1293
/* Mark scope as having an upvalue. */
0 commit comments