From f0445587cf9f6a6babb725f3800f1fb6edab37eb Mon Sep 17 00:00:00 2001 From: ceriel Date: Wed, 31 Oct 1984 15:26:09 +0000 Subject: [PATCH] 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. --- util/LLgen/src/tokens.g | 8 -------- 1 file changed, 8 deletions(-) diff --git a/util/LLgen/src/tokens.g b/util/LLgen/src/tokens.g index 3a91a4c0..4f2f8567 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; }