1) Added missing strings for italic, underline and strike through.
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpdt / internal / compiler / lookup / CompilationUnitScope.java
index 0e03ef2..2682063 100644 (file)
@@ -17,7 +17,7 @@ import net.sourceforge.phpdt.internal.compiler.ast.CompilationUnitDeclaration;
 import net.sourceforge.phpdt.internal.compiler.ast.ImportReference;
 import net.sourceforge.phpdt.internal.compiler.ast.TypeDeclaration;
 import net.sourceforge.phpdt.internal.compiler.problem.ProblemReporter;
-import net.sourceforge.phpdt.internal.compiler.util.CompoundNameVector;
+//import net.sourceforge.phpdt.internal.compiler.util.CompoundNameVector;
 import net.sourceforge.phpdt.internal.compiler.util.HashtableOfObject;
 import net.sourceforge.phpdt.internal.compiler.util.HashtableOfType;
 import net.sourceforge.phpdt.internal.compiler.util.ObjectVector;
@@ -206,7 +206,7 @@ public class CompilationUnitScope extends Scope {
                nextImport: for (int i = 0; i < numberOfStatements; i++) {
                        ImportReference importReference = referenceContext.imports[i];
                        IFile file = importReference.getFile();
-                       SourceTypeBinding typeBinding;
+                       //SourceTypeBinding typeBinding;
                        // char[][] compoundName = importReference.tokens;
                        char[][] compoundName = null;
                        if (file != null) {
@@ -387,7 +387,7 @@ public class CompilationUnitScope extends Scope {
                                }
                                typeBinding.compoundName = compoundName; // compoundName;
                                // this.fPackage = fPackage;
-                               typeBinding.fileName = file.getLocation().toString()
+                               typeBinding.fileName = file.getFullPath().toString()
                                                .toCharArray();
                                // typeBinding.modifiers = scope.referenceContext.modifiers;
                                // typeBinding.sourceName = scope.referenceContext.name;