misc changes
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpdt / internal / compiler / Compiler.java
index 6583d9e..081c885 100644 (file)
@@ -215,7 +215,7 @@ public class Compiler implements ITypeRequestor, ProblemSeverities {
                        // diet parsing for large collection of unit
                        CompilationUnitDeclaration parsedUnit;
                        if (totalUnits < parseThreshold) {
-                               parsedUnit = parser.parse(sourceUnit, unitResult);
+                               parsedUnit = parser.parse(sourceUnit, unitResult,false);
                        } else {
                                parsedUnit = parser.dietParse(sourceUnit, unitResult);
                        }
@@ -293,7 +293,7 @@ public class Compiler implements ITypeRequestor, ProblemSeverities {
                        try {
                                // diet parsing for large collection of units
                                if (totalUnits < parseThreshold) {
-                                       parsedUnit = parser.parse(sourceUnits[i], unitResult);
+                                       parsedUnit = parser.parse(sourceUnits[i], unitResult, false);
                                } else {
                                        parsedUnit = parser.dietParse(sourceUnits[i], unitResult);
                                }