1) Reintroduced PHPPerspectiveFactory (was lost with refactoring).
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpeclipse / builder / IdentifierIndexManager.java
index 5b3a50f..9eba696 100644 (file)
@@ -31,7 +31,7 @@ import org.eclipse.core.runtime.CoreException;
 import org.eclipse.core.runtime.IStatus;
 
 /**
- * Manages the identifer index information for a specific project
+ * Manages the identifier index information for a specific project
  * 
  */
 public class IdentifierIndexManager {
@@ -385,7 +385,8 @@ public class IdentifierIndexManager {
                                                                                        skipComments();
                                                                                }
                                                                        }       
-                                                               } while (fToken != TokenNameRPAREN );
+                                                                       getNextToken ();
+                                                               } while ((fToken != TokenNameRPAREN) && (fToken != 0));
                                                        }
                                                        parseDeclarations(null, buf, true);
                                                }