aboutsummaryrefslogtreecommitdiffstats
path: root/awkgram.y
diff options
context:
space:
mode:
Diffstat (limited to 'awkgram.y')
-rw-r--r--awkgram.y4
1 files changed, 2 insertions, 2 deletions
diff --git a/awkgram.y b/awkgram.y
index 91e791ab..e7d44b83 100644
--- a/awkgram.y
+++ b/awkgram.y
@@ -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;