mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-24 09:25:31 +02:00
fixed some small bugs
This commit is contained in:
parent
f6d8cec74d
commit
7d7a436378
3 changed files with 12 additions and 2 deletions
|
@ -1,3 +1,13 @@
|
|||
2004-04-20 David Inglis
|
||||
|
||||
Fixed up some small bugs with the macro paths
|
||||
|
||||
* model/org/eclipse/cdt/internal/core/model/MacroEntry.java
|
||||
|
||||
Initialize baseref to always be a Path("")
|
||||
|
||||
* model/org/eclipse/cdt/internal/core/model/PathEntryManager.java
|
||||
|
||||
2004-04-20 David Inglis
|
||||
|
||||
Added more CModelException throwing in model essentially if the model fails to create
|
||||
|
|
|
@ -39,7 +39,7 @@ public class MacroEntry extends APathEntry implements IMacroEntry {
|
|||
* @return String
|
||||
*/
|
||||
public String getMacroValue() {
|
||||
return macroName;
|
||||
return macroValue;
|
||||
}
|
||||
|
||||
public boolean equals(Object obj) {
|
||||
|
|
|
@ -674,7 +674,7 @@ public class PathEntryManager implements ICDescriptorListener {
|
|||
}
|
||||
|
||||
// check fo the base path
|
||||
IPath basePath = null;
|
||||
IPath basePath = new Path(""); //$NON-NLS-1$
|
||||
if (element.hasAttribute(ATTRIBUTE_BASE_PATH)) {
|
||||
basePath = new Path(element.getAttribute(ATTRIBUTE_BASE_PATH));
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue