From: ceriel Date: Wed, 31 Oct 1984 15:26:09 +0000 (+0000) Subject: The input routine used to skip space. This "feature" has been removed X-Git-Tag: release-5-5~6001 X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=4d48191bcc0a99bb32f13709b5e77a5a89258eb3;p=ack.git 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. --- diff --git a/util/LLgen/src/tokens.g b/util/LLgen/src/tokens.g index 3a91a4c0e..4f2f8567f 100644 --- 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; }