aboutsummaryrefslogtreecommitdiffstats
path: root/awkgram.y
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2012-10-31 19:51:04 +0200
committerArnold D. Robbins <arnold@skeeve.com>2012-10-31 19:51:04 +0200
commit993eaa708f7785e0ab5c1b1e53ddf4abe1d835e4 (patch)
tree41af325f0266b3316de634a57fa12ffa2b86c6b2 /awkgram.y
parentcec88d59be5ef7c50647e45f5aeb3d9260236705 (diff)
downloadegawk-993eaa708f7785e0ab5c1b1e53ddf4abe1d835e4.tar.gz
egawk-993eaa708f7785e0ab5c1b1e53ddf4abe1d835e4.tar.bz2
egawk-993eaa708f7785e0ab5c1b1e53ddf4abe1d835e4.zip
Some minor fixes. See ChangeLog.
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;