allow %define with leading whitespace
CVS patchset: 2165 CVS date: 1998/07/03 06:20:59
This commit is contained in:
parent
29ce440d20
commit
a5ab233a9a
3
CHANGES
3
CHANGES
|
@ -1,3 +1,6 @@
|
||||||
|
2.5.2 -> 2.5.3:
|
||||||
|
- allow %define with leading whitespace
|
||||||
|
|
||||||
2.5.1 -> 2.5.2:
|
2.5.1 -> 2.5.2:
|
||||||
- added -bs to build just a source package
|
- added -bs to build just a source package
|
||||||
- included irix.req and irix.prov (Tim Mooney)
|
- included irix.req and irix.prov (Tim Mooney)
|
||||||
|
|
|
@ -45,6 +45,9 @@ int expandMacros(struct MacroContext *mc, char *buf)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
first = buf;
|
||||||
|
SKIPSPACE(first);
|
||||||
|
|
||||||
copyFrom = buf;
|
copyFrom = buf;
|
||||||
copyTo = bufA;
|
copyTo = bufA;
|
||||||
|
|
||||||
|
@ -55,7 +58,7 @@ int expandMacros(struct MacroContext *mc, char *buf)
|
||||||
if (parseMacro(copyFrom+1, &name, &rest)) {
|
if (parseMacro(copyFrom+1, &name, &rest)) {
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
if (copyFrom == buf && !strcmp(name, "define")) {
|
if (copyFrom == first && !strcmp(name, "define")) {
|
||||||
if (handleDefine(mc, rest)) {
|
if (handleDefine(mc, rest)) {
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue