Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlain Magloire2003-04-16 11:31:47 -0400
committerAlain Magloire2003-04-16 11:31:47 -0400
commit9fdb83198ec5a19a5395f3d08c432fdb905fadd7 (patch)
treea0660c1d4f874634c330a37a78ec29e75ab53c58
parent25f2f47b7b4e3d0d01352bd1d24885fa2c9f21c5 (diff)
downloadorg.eclipse.cdt-9fdb83198ec5a19a5395f3d08c432fdb905fadd7.tar.gz
org.eclipse.cdt-9fdb83198ec5a19a5395f3d08c432fdb905fadd7.tar.xz
org.eclipse.cdt-9fdb83198ec5a19a5395f3d08c432fdb905fadd7.zip
Patch from Sam Robb check for null == format
and fall back to the default binary parser.
-rw-r--r--core/org.eclipse.cdt.core/model/org/eclipse/cdt/internal/core/model/CModelManager.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/org.eclipse.cdt.core/model/org/eclipse/cdt/internal/core/model/CModelManager.java b/core/org.eclipse.cdt.core/model/org/eclipse/cdt/internal/core/model/CModelManager.java
index d8e75334648..a731ae1a0ea 100644
--- a/core/org.eclipse.cdt.core/model/org/eclipse/cdt/internal/core/model/CModelManager.java
+++ b/core/org.eclipse.cdt.core/model/org/eclipse/cdt/internal/core/model/CModelManager.java
@@ -425,6 +425,9 @@ public class CModelManager implements IResourceChangeListener {
}
} catch (CoreException e) {
}
+ if (null == format) {
+ format = getDefaultBinaryParserFormat();
+ }
return format;
}

Back to the top