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:
parent
fedaa3267a
commit
4d48191bcc
1 changed files with 0 additions and 8 deletions
|
@ -232,14 +232,6 @@ input() {
|
||||||
nostartline = 0;
|
nostartline = 0;
|
||||||
nonline = 1;
|
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;
|
if (c == '\n') nonline = 0;
|
||||||
return c;
|
return c;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue