mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-05 08:14:51 +00:00
Fixed: #2519 AS1/2 avoid multi-level loops in cases where possible
This commit is contained in:
@@ -3287,7 +3287,13 @@ public class Graph {
|
||||
System.err.println("Adding break");
|
||||
}
|
||||
makeAllCommands(ret, stack);
|
||||
ret.add(new BreakItem(dialect, null, localData.lineStartInstruction, el.id));
|
||||
|
||||
BreakItem br = new BreakItem(dialect, null, localData.lineStartInstruction, el.id);
|
||||
if (part.start >= code.size() - 1) {
|
||||
br.isScriptEnd = true;
|
||||
}
|
||||
ret.add(br);
|
||||
|
||||
return ret;
|
||||
}
|
||||
if (el.loopPreContinue == part) {
|
||||
|
||||
Reference in New Issue
Block a user