The input routine used to skip space. This "feature" has been removed

because it is also used to read strings, in which space is significant.
This commit is contained in:
ceriel 1984-10-31 15:26:09 +00:00
parent fedaa3267a
commit 4d48191bcc

View file

@ -232,14 +232,6 @@ input() {
nostartline = 0;
nonline = 1;
}
if (c == ' ' || c == '\t') { /*
* Deliver space, but only once
*/
do c = getc(f);
while (c == ' ' || c == '\t');
ungetc(c,f);
return ' ';
}
if (c == '\n') nonline = 0;
return c;
}