make sure that the VariableHover for the debugPlugin is the first to show
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpdt / internal / compiler / DocumentElementParser.java
index f2cb849..2d6c723 100644 (file)
@@ -10,7 +10,6 @@
  *******************************************************************************/
 package net.sourceforge.phpdt.internal.compiler;
 
-import net.sourceforge.phpdt.core.compiler.CharOperation;
 import net.sourceforge.phpdt.core.compiler.IProblem;
 import net.sourceforge.phpdt.internal.compiler.env.ICompilationUnit;
 import net.sourceforge.phpdt.internal.compiler.parser.UnitParser;
@@ -18,8 +17,6 @@ import net.sourceforge.phpdt.internal.compiler.problem.AbortCompilation;
 import net.sourceforge.phpdt.internal.compiler.problem.ProblemReporter;
 import net.sourceforge.phpeclipse.internal.compiler.ast.CompilationUnitDeclaration;
 
-import org.eclipse.core.runtime.CoreException;
-
 
 /*
  * A document element parser extracts structural information
@@ -1009,7 +1006,7 @@ public CompilationUnitDeclaration endParse(int act) {
 public void initialize() {
        //positionning the parser for a new compilation unit
        //avoiding stack reallocation and all that....
-       super.initialize();
+       super.initialize(false);
        intArrayPtr = -1;
 }
 /**
@@ -1044,8 +1041,6 @@ public void parseCompilationUnit(ICompilationUnit unit) {
                scanner.resetTo(0, regionSource.length);
                scanner.setSource(regionSource);
                parse();
-       } catch (CoreException e) {
-               e.printStackTrace();
        } catch (AbortCompilation ex) {
        }
 }