From 4d48191bcc0a99bb32f13709b5e77a5a89258eb3 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 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; }