From 53aa98ed09bc4c055fc72104fbfdb6a1a8d3a39c 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 3b4b0f53..646664c0 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 :