1) Introduced a warning log message for breakpoints that do not match the local path...
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpeclipse / builder / IdentifierIndexManager.java
index 526ff4b..639f165 100644 (file)
@@ -24,7 +24,7 @@ import net.sourceforge.phpdt.internal.compiler.parser.Scanner;
 import net.sourceforge.phpdt.internal.compiler.parser.SyntaxError;
 import net.sourceforge.phpdt.internal.compiler.util.Util;
 import net.sourceforge.phpeclipse.PHPeclipsePlugin;
-import net.sourceforge.phpeclipse.obfuscator.PHPIdentifier;
+//import net.sourceforge.phpeclipse.obfuscator.PHPIdentifier;
 
 import org.eclipse.core.resources.IFile;
 import org.eclipse.core.runtime.CoreException;
@@ -380,12 +380,13 @@ public class IdentifierIndexManager {
                                                                                ident = fScanner.getCurrentIdentifierSource();
                                                                                addIdentifierInformation('v', ident, buf,
                                                                                                phpdocOffset, phpdocLength);
-                                                                       }       
-                                                                       skipComments();
-                                                                       if (fToken == TokenNameCOMMA) {
                                                                                skipComments();
-                                                                       }
-                                                               } while (fToken != TokenNameRPAREN );
+                                                                               if (fToken == TokenNameCOMMA) {
+                                                                                       skipComments();
+                                                                               }
+                                                                       }       
+                                                                       getNextToken ();
+                                                               } while ((fToken != TokenNameRPAREN) && (fToken != 0));
                                                        }
                                                        parseDeclarations(null, buf, true);
                                                }
@@ -468,7 +469,7 @@ public class IdentifierIndexManager {
                }
 
                public boolean equals(Object o) {
-                       String s = (String) o;
+                       //String s = (String) o;
                        return compare(this, o) == 0;
                }
        }
@@ -576,7 +577,7 @@ public class IdentifierIndexManager {
                String line = (String) fFileMap.get(file.getProjectRelativePath()
                                .toString());
                if (line != null) {
-                       PHPIdentifierLocation ident;
+                       //PHPIdentifierLocation ident;
                        ArrayList allClassNames = new ArrayList();
                        addLine(treeMap, null, line, allClassNames);
                        int i = 0;
@@ -588,7 +589,7 @@ public class IdentifierIndexManager {
        }
 
        public void addIdentifiers(TreeMap treeMap, String startClazz) {
-               PHPIdentifierLocation ident;
+               //PHPIdentifierLocation ident;
                ArrayList allClassNames = new ArrayList();
                addClassName(treeMap, startClazz, allClassNames);
                int i = 0;