diff options
Diffstat (limited to 'awkgram.y')
-rw-r--r-- | awkgram.y | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -86,7 +86,7 @@ static ssize_t read_one_line(int fd, void *buffer, size_t count); static int one_line_close(int fd); static bool want_source = false; -static bool want_regexp; /* lexical scanning kludge */ +static bool want_regexp = false; /* lexical scanning kludge */ static char *in_function; /* parsing kludge */ static bool symtab_used = false; /* program used SYMTAB */ static int rule = 0; @@ -398,7 +398,7 @@ regexp * is a regexp so it should read up to the closing slash. */ : a_slash - { ++want_regexp; } + { want_regexp = true; } REGEXP /* The terminating '/' is consumed by yylex(). */ { NODE *n, *exp; |