diff --git a/trunk/src/com/jpexs/decompiler/flash/graph/Graph.java b/trunk/src/com/jpexs/decompiler/flash/graph/Graph.java index 6dc101bc0..59511e17d 100644 --- a/trunk/src/com/jpexs/decompiler/flash/graph/Graph.java +++ b/trunk/src/com/jpexs/decompiler/flash/graph/Graph.java @@ -1368,12 +1368,12 @@ public class Graph { String parts[] = ret.toString().split("\r\n"); ret = new StringBuilder(); - String labelPattern="loop(switch)?[0-9]*:"; + String labelPattern = "loop(switch)?[0-9]*:"; try { Stack loopStack = new Stack(); for (int p = 0; p < parts.length; p++) { String stripped = Highlighting.stripHilights(parts[p]); - if (stripped.matches(labelPattern)){ // && (!stripped.startsWith("case ")) && (!stripped.equals("default:"))) { + if (stripped.matches(labelPattern)) { loopStack.add(stripped.substring(0, stripped.length() - 1)); } if (stripped.startsWith("break ")) {