Fixed #116 §§push at the end of switch branches

This commit is contained in:
Jindra Petřík
2023-10-07 23:07:01 +02:00
parent 8b9c386102
commit 98b7ac100e
2 changed files with 3 additions and 1 deletions

View File

@@ -3366,7 +3366,7 @@ public class Graph {
protected SwitchItem handleSwitch(GraphTargetItem switchedObject,
GraphSourceItem switchStartItem, List<GotoItem> foundGotos, Map<GraphPart, List<GraphTargetItem>> partCodes, Map<GraphPart, Integer> partCodePos, Set<GraphPart> visited, Set<GraphPart> allParts, TranslateStack stack, List<GraphPart> stopPart, List<StopPartKind> stopPartKind, List<Loop> loops, List<ThrowState> throwStates, BaseLocalData localData, int staticOperation, String path,
List<GraphTargetItem> caseValuesMap, GraphPart defaultPart, List<GraphPart> caseBodyParts, Reference<GraphPart> nextRef, Reference<GraphTargetItem> tiRef) throws InterruptedException {
List<GraphTargetItem> caseValuesMap, GraphPart defaultPart, List<GraphPart> caseBodyParts, Reference<GraphPart> nextRef, Reference<GraphTargetItem> tiRef) throws InterruptedException {
boolean hasDefault = false;
/*
case 4:
@@ -3528,6 +3528,7 @@ public class Graph {
}
}
caseCommands.add(currentCaseCommands);
makeAllCommands(currentCaseCommands, stack);
}
/*