Fixed: AS decompilation - Gotos handling vs and/or

This commit is contained in:
Jindra Petřík
2021-03-27 15:39:58 +01:00
parent a52a4206ca
commit f6459bb740
3 changed files with 29 additions and 15 deletions

View File

@@ -2048,8 +2048,11 @@ public class Graph {
boolean parseNext = true;
//****************************DECOMPILING PART*************
GraphPartMarkedArrayList<GraphTargetItem> output = new GraphPartMarkedArrayList<>();
if (stack.isEmpty() && (currentRet instanceof GraphPartMarkedArrayList)) {
((GraphPartMarkedArrayList) currentRet).clearCurrentParts();
}
GraphPartMarkedArrayList<GraphTargetItem> output = new GraphPartMarkedArrayList<>();
output.startPart(part);
if (currentRet instanceof GraphPartMarkedArrayList) {
((GraphPartMarkedArrayList) currentRet).startPart(part);