From: ceriel Date: Fri, 6 Feb 1987 23:38:35 +0000 (+0000) Subject: Bug fix (INPUT, not STDIN !!!) X-Git-Tag: release-5-5~4726 X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=bdef113184a266d3ad9b40442cc2508cae648771;p=ack.git Bug fix (INPUT, not STDIN !!!) --- 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 :