From bdef113184a266d3ad9b40442cc2508cae648771 Mon Sep 17 00:00:00 2001 From: ceriel Date: Fri, 6 Feb 1987 23:38:35 +0000 Subject: [PATCH] Bug fix (INPUT, not STDIN !!!) --- util/topgen/LLlex.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/topgen/LLlex.c b/util/topgen/LLlex.c index 3b4b0f534..646664c0b 100644 --- a/util/topgen/LLlex.c +++ b/util/topgen/LLlex.c @@ -85,7 +85,7 @@ LLlex() { dot.t_tokno = PATTERN_SEPARATOR; return PATTERN_SEPARATOR; } - ungetc(c,stdin); + ungetc(c,input); dot.t_tokno = OTHER; return OTHER; case open_bracket :