many changes and fixes
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpdt / internal / compiler / ast / ArrayDeclarator.java
index e6c9163..8d2930a 100644 (file)
@@ -14,7 +14,7 @@ public class ArrayDeclarator extends AbstractVariable {
   public ArrayDeclarator(final AbstractVariable prefix,
                          final Expression vars,
                          final int sourceEnd) {
-    super(prefix.getSourceStart(), sourceEnd);
+    super(prefix.sourceStart, sourceEnd);
     this.prefix = prefix;
     this.var = vars;
   }
@@ -35,7 +35,7 @@ public class ArrayDeclarator extends AbstractVariable {
 
   /**
    * Return the name of the variable.
-   * @return the name of the prefix variable
+   * @return the name of the functionName variable
    */
   public String getName() {
     return prefix.getName();