mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-09-27 19:00:43 +00:00
Fixed goto/for detection
This commit is contained in:
@@ -467,7 +467,7 @@ public class ActionGraph extends Graph {
|
||||
}
|
||||
|
||||
GraphPart breakPart = getMostCommonPart(localData, caseBodyParts, loops, new ArrayList<>());
|
||||
removeEdgeToFromList(gotoTargets, breakPart);
|
||||
//removeEdgeToFromList(gotoTargets, breakPart);
|
||||
List<List<GraphTargetItem>> caseCommands = new ArrayList<>();
|
||||
GraphPart next = breakPart;
|
||||
|
||||
@@ -482,7 +482,7 @@ public class ActionGraph extends Graph {
|
||||
for (int i = 0; i < caseValuesMap.size(); i++) {
|
||||
GraphPart cur = caseBodyParts.get(i);
|
||||
if (!caseBodies.contains(cur)) {
|
||||
removeEdgeToFromList(gotoTargets, cur);
|
||||
//removeEdgeToFromList(gotoTargets, cur);
|
||||
caseBodies.add(cur);
|
||||
}
|
||||
valuesMapping.add(caseBodies.indexOf(cur));
|
||||
|
||||
Reference in New Issue
Block a user