# HG changeset patch # User jwe # Date 775798955 0 # Node ID 33d622a12de84af5a4dcb433739bf35a72e4d1bf # Parent 6ed31b2e297a6be90bfb09936149fc1b564ad1cc [project @ 1994-08-02 03:42:35 by jwe] diff --git a/src/lex.l b/src/lex.l --- a/src/lex.l +++ b/src/lex.l @@ -54,6 +54,7 @@ #include "error.h" #include "utils.h" #include "tree.h" +#include "tree-misc.h" #include "tree-plot.h" #include "tree-const.h" #include "y.tab.h" @@ -1131,7 +1132,7 @@ int in_comment = 1; int len = 0; - int c; + int c = 0; while ((c = yyinput ()) != EOF) { @@ -1166,6 +1167,9 @@ done: + if (c) + yyunput (c, yytext); + help_buf[len] = '\0'; }