1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

Fix for PR 90193: Scanner faililng on Local/User paths as provided in Std. Make

User specified include paths (through the UI) are now created with isSystemInclude attribute set to true.
This commit is contained in:
Vladimir Hirsl 2005-04-11 05:16:11 +00:00
parent 8a0437859f
commit 033cc2b06d
4 changed files with 17 additions and 3 deletions

View file

@ -1,3 +1,10 @@
2005-04-11 Vladimir Hirsl
Fix for PR 90193: Scanner faililng on Local/User paths as provided in Std. Make
User specified include paths (through the UI) are now created with
isSystemInclude attribute set to true.
* model/org/eclipse/cdt/core/model/CoreModel.java
2005-04-08 Vladimir Hirsl 2005-04-08 Vladimir Hirsl
Added offset and length parameters for index entries. Added offset and length parameters for index entries.
Refactoring of AbstractIndexer. Moved old parser specific stuff to the appropriate subclass. Refactoring of AbstractIndexer. Moved old parser specific stuff to the appropriate subclass.

View file

@ -454,7 +454,7 @@ public class CoreModel {
* @return IIncludeEntry * @return IIncludeEntry
*/ */
public static IIncludeEntry newIncludeEntry(IPath resourcePath, IPath basePath, IPath includePath) { public static IIncludeEntry newIncludeEntry(IPath resourcePath, IPath basePath, IPath includePath) {
return newIncludeEntry(resourcePath, basePath, includePath, false); return newIncludeEntry(resourcePath, basePath, includePath, true);
} }
/** /**
@ -529,7 +529,7 @@ public class CoreModel {
* @return IIincludeEntry * @return IIincludeEntry
*/ */
public static IIncludeEntry newIncludeRefEntry(IPath resourcePath, IPath baseRef, IPath includePath) { public static IIncludeEntry newIncludeRefEntry(IPath resourcePath, IPath baseRef, IPath includePath) {
return new IncludeEntry(resourcePath, null, baseRef, includePath, false, null, false); return new IncludeEntry(resourcePath, null, baseRef, includePath, true, null, false);
} }
/** /**

View file

@ -1,3 +1,10 @@
2005-04-11 Vladimir Hirsl
Fix for PR 90193: Scanner faililng on Local/User paths as provided in Std. Make
User specified include paths (through the UI) are now created with
isSystemInclude attribute set to true.
* src/org/eclipse/cdt/internal/ui/dialogs/cpaths/CPElement.java
2005-04-08 Alain Magloire 2005-04-08 Alain Magloire
New icons from the IBM folks(Patch from DDaoust) New icons from the IBM folks(Patch from DDaoust)
* icons/* * icons/*

View file

@ -96,7 +96,7 @@ public class CPElement {
case IPathEntry.CDT_INCLUDE : case IPathEntry.CDT_INCLUDE :
createAttributeElement(INCLUDE, new Path("")); //$NON-NLS-1$ createAttributeElement(INCLUDE, new Path("")); //$NON-NLS-1$
createAttributeElement(EXCLUSION, new Path[0]); createAttributeElement(EXCLUSION, new Path[0]);
createAttributeElement(SYSTEM_INCLUDE, Boolean.valueOf(false)); createAttributeElement(SYSTEM_INCLUDE, Boolean.valueOf(true));
createAttributeElement(BASE_REF, new Path("")); //$NON-NLS-1$ createAttributeElement(BASE_REF, new Path("")); //$NON-NLS-1$
createAttributeElement(BASE, new Path("")); //$NON-NLS-1$ createAttributeElement(BASE, new Path("")); //$NON-NLS-1$
break; break;