Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Schorn2007-10-22 04:16:15 -0400
committerMarkus Schorn2007-10-22 04:16:15 -0400
commitaa6dbbcd83df56dacbf4ef3df47075e227e8bc88 (patch)
treee810ee8e74d565a7632636b14f45ce98820377d8
parent58150201b7b7bd008e7622437de50a138989ee8a (diff)
downloadorg.eclipse.cdt-aa6dbbcd83df56dacbf4ef3df47075e227e8bc88.tar.gz
org.eclipse.cdt-aa6dbbcd83df56dacbf4ef3df47075e227e8bc88.tar.xz
org.eclipse.cdt-aa6dbbcd83df56dacbf4ef3df47075e227e8bc88.zip
Fixes navigation for mactos defined in a file of an SDKs that does not contain declarations.
-rw-r--r--core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/pdom/dom/PDOMFile.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/pdom/dom/PDOMFile.java b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/pdom/dom/PDOMFile.java
index 9bc83bba622..b1df1c7ac12 100644
--- a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/pdom/dom/PDOMFile.java
+++ b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/pdom/dom/PDOMFile.java
@@ -423,7 +423,7 @@ public class PDOMFile implements IIndexFragmentFile {
}
public boolean hasNames() throws CoreException {
- return getFirstName()!=null;
+ return getFirstName()!=null || getFirstMacro() != null || getFirstInclude() != null;
}
public void convertIncludersToUnresolved() throws CoreException {

Back to the top