1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-10 01:35:39 +02:00

Do not expand to empty if the macro is not found.

This commit is contained in:
Alain Magloire 2004-03-02 04:53:20 +00:00
parent 74206bb9c0
commit db74457777

View file

@ -221,6 +221,8 @@ public abstract class AbstractMakefile extends Parent implements IMakefile {
result = expandString(result, recursive);
}
buffer.append(result);
} else { // Do not expand
buffer.append('$').append('(').append(name).append(')');
}
}
macroName.setLength(0);
@ -244,6 +246,9 @@ public abstract class AbstractMakefile extends Parent implements IMakefile {
result = expandString(result, recursive);
}
buffer.append(result);
} else {
// nothing found
buffer.append('$').append(c);
}
inMacro = false;
} else {