#101 AS1/2 loop fix

This commit is contained in:
Jindra Petk
2013-06-09 19:55:00 +02:00
parent 1483379b85
commit 963ff4a06f
3 changed files with 7 additions and 4 deletions

View File

@@ -1090,9 +1090,9 @@ public class Action implements GraphSourceItem {
output2.add(new ClassTreeItem(className, extendsOp, implementsOp, functions, vars, staticFunctions, staticVars));
return output2;
}
if (parts.get(pos) instanceof PopTreeItem) {
pos++;
}
/*if (parts.get(pos) instanceof PopTreeItem) {
pos++;
}*/
if (parts.size() <= pos) {
ok = false;
break;

View File

@@ -49,7 +49,7 @@ public class ActionPop extends Action {
} else if (val instanceof SetTypeTreeItem) {
output.add(val);
} else {
output.add(new PopTreeItem(this));
//output.add(new PopTreeItem(this));
}
/*if (!(val instanceof DirectValueTreeItem)) {
output.add(new VoidTreeItem(this, val));

View File

@@ -349,6 +349,9 @@ public class Graph {
}
private void processIfs(List<GraphTargetItem> list) {
if (true) {
return;
}
for (int i = 0; i < list.size(); i++) {
GraphTargetItem item = list.get(i);
if (item instanceof Block) {