minor fixes
authorkhartlage <khartlage>
Sat, 30 Nov 2002 16:41:35 +0000 (16:41 +0000)
committerkhartlage <khartlage>
Sat, 30 Nov 2002 16:41:35 +0000 (16:41 +0000)
net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/phpeditor/PHPParserAction.java

index 37fae97..f4cc8a9 100644 (file)
@@ -62,7 +62,7 @@ public class PHPParserAction extends TextEditorAction {
         return;
       }
       IPreferenceStore store = PHPeclipsePlugin.getDefault().getPreferenceStore();
-      if (store.getBoolean(PHPeclipsePlugin.PHP_PARSER_DEFAULT)) {
+      if (store.getString(PHPeclipsePlugin.PHP_PARSER_DEFAULT).equals(PHPeclipsePlugin.PHP_INTERNAL_PARSER)) {
         // first delete all the previous markers
         fileToParse.deleteMarkers(IMarker.PROBLEM, false, 0);