improved parser keywords abstract, final, public, protected, privatem,..
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpdt / internal / compiler / DocumentElementParser.java
index 079b182..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
@@ -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) {
        }
 }