Bug fix (INPUT, not STDIN !!!)
authorceriel <none@none>
Fri, 6 Feb 1987 23:38:35 +0000 (23:38 +0000)
committerceriel <none@none>
Fri, 6 Feb 1987 23:38:35 +0000 (23:38 +0000)
util/topgen/LLlex.c

index 3b4b0f5..646664c 100644 (file)
@@ -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 :