Revert previous change -- apparently it's not quite right. It broke
src/sys/modules/if_ef and possibly other things. I tested the build with a make based on rev. 1.26, and it worked fine. Since I'm not particularly inclined to figure out what's going on with this, it's probably prudent just to back it out for now. Found by: jkh Suggested by: jhay
This commit is contained in:
parent
f7191d4fae
commit
fdcd2e7d3a
@ -2057,24 +2057,18 @@ ParseSkipLine(skip)
|
||||
|
||||
while (((c = ParseReadc()) != '\n' || lastc == '\\')
|
||||
&& c != EOF) {
|
||||
if (c == '#' && lastc != '\\') {
|
||||
while ((c = ParseReadc()) != '\n' && c != EOF);
|
||||
if (c == '\n') {
|
||||
Buf_ReplaceLastByte(buf, (Byte)' ');
|
||||
lineno++;
|
||||
|
||||
break;
|
||||
} else {
|
||||
if (c == '\n') {
|
||||
Buf_ReplaceLastByte(buf, (Byte)' ');
|
||||
lineno++;
|
||||
while ((c = ParseReadc()) == ' ' || c == '\t');
|
||||
|
||||
while ((c = ParseReadc()) == ' ' || c == '\t');
|
||||
|
||||
if (c == EOF)
|
||||
break;
|
||||
}
|
||||
|
||||
Buf_AddByte(buf, (Byte)c);
|
||||
lastc = c;
|
||||
if (c == EOF)
|
||||
break;
|
||||
}
|
||||
|
||||
Buf_AddByte(buf, (Byte)c);
|
||||
lastc = c;
|
||||
}
|
||||
|
||||
if (c == EOF) {
|
||||
|
Loading…
Reference in New Issue
Block a user