public
/
ack.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fedaa32
)
The input routine used to skip space. This "feature" has been removed
author
ceriel
<none@none>
Wed, 31 Oct 1984 15:26:09 +0000
(15:26 +0000)
committer
ceriel
<none@none>
Wed, 31 Oct 1984 15:26:09 +0000
(15:26 +0000)
because it is also used to read strings, in which space is significant.
util/LLgen/src/tokens.g
patch
|
blob
|
history
diff --git
a/util/LLgen/src/tokens.g
b/util/LLgen/src/tokens.g
index
3a91a4c
..
4f2f856
100644
(file)
--- a/
util/LLgen/src/tokens.g
+++ b/
util/LLgen/src/tokens.g
@@
-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;
}