Syntax highlighting is changeable.
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpeclipse / internal / compiler / ast / Break.java
index d01e783..bd53e9f 100644 (file)
@@ -46,13 +46,13 @@ public class Break extends BranchStatement {
                targetLabel = targetContext.breakLabel();
                FlowContext traversedContext = flowContext;
                int subIndex = 0, maxSub = 5;
-               subroutines = new AstNode[maxSub];
+               subroutines = new ASTNode[maxSub];
                
                do {
-                       AstNode sub;
+                       ASTNode sub;
                        if ((sub = traversedContext.subRoutine()) != null) {
                                if (subIndex == maxSub) {
-                                       System.arraycopy(subroutines, 0, (subroutines = new AstNode[maxSub*=2]), 0, subIndex); // grow
+                                       System.arraycopy(subroutines, 0, (subroutines = new ASTNode[maxSub*=2]), 0, subIndex); // grow
                                }
                                subroutines[subIndex++] = sub;
                                if (sub.cannotReturn()) {
@@ -61,7 +61,7 @@ public class Break extends BranchStatement {
                        }
                        traversedContext.recordReturnFrom(flowInfo.unconditionalInits());
 
-                       AstNode node;
+                       ASTNode node;
                        if ((node = traversedContext.associatedNode) instanceof TryStatement) {
                                TryStatement tryStatement = (TryStatement) node;
                                flowInfo.addInitializationsFrom(tryStatement.subRoutineInits); // collect inits                 
@@ -74,7 +74,7 @@ public class Break extends BranchStatement {
                
                // resize subroutines
                if (subIndex != maxSub) {
-                       System.arraycopy(subroutines, 0, (subroutines = new AstNode[subIndex]), 0, subIndex);
+                       System.arraycopy(subroutines, 0, (subroutines = new ASTNode[subIndex]), 0, subIndex);
                }
                return FlowInfo.DEAD_END;
        }