X-Git-Url: http://secure.phpeclipse.com diff --git a/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/internal/compiler/ast/BranchStatement.java b/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/internal/compiler/ast/BranchStatement.java index be0bdb0..df2725a 100644 --- a/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/internal/compiler/ast/BranchStatement.java +++ b/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/internal/compiler/ast/BranchStatement.java @@ -14,14 +14,14 @@ import net.sourceforge.phpdt.internal.compiler.codegen.Label; import net.sourceforge.phpdt.internal.compiler.lookup.BlockScope; public abstract class BranchStatement extends Statement { - public char[] label; + public Expression expression; public Label targetLabel; - public AstNode[] subroutines; + public ASTNode[] subroutines; /** * BranchStatement constructor comment. */ -public BranchStatement(char[] l, int s,int e) { - label = l ; +public BranchStatement(Expression expr, int s,int e) { + expression = expr ; sourceStart = s; sourceEnd = e; } @@ -41,7 +41,7 @@ public BranchStatement(char[] l, int s,int e) { // // blocks in sequence // if (subroutines != null){ // for (int i = 0, max = subroutines.length; i < max; i++){ -// AstNode sub; +// ASTNode sub; // if ((sub = subroutines[i]) instanceof SynchronizedStatement){ // codeStream.load(((SynchronizedStatement)sub).synchroVariable); // codeStream.monitorexit();