summaryrefslogtreecommitdiff
path: root/awkgram.c
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2018-03-05 19:29:54 +0200
committerArnold D. Robbins <arnold@skeeve.com>2018-03-05 19:29:54 +0200
commit97773a0db9bcbafa16afcd1461ed6eead7f192a8 (patch)
tree8aac8a228c54762b18391bc284de043eb67dee24 /awkgram.c
parent28e37a0dc466d96478c3e6a8f087b7be097ed318 (diff)
downloadgawk-97773a0db9bcbafa16afcd1461ed6eead7f192a8.tar.gz
Minor cleanups (bool to int, move a macro).
Diffstat (limited to 'awkgram.c')
-rw-r--r--awkgram.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/awkgram.c b/awkgram.c
index 52821eab..c1a5ead4 100644
--- a/awkgram.c
+++ b/awkgram.c
@@ -6706,7 +6706,7 @@ static int
yylex(void)
{
static char etoa_xlate[256];
- static int do_etoa_init = 1;
+ static bool do_etoa_init = true;
int tok;
if (do_etoa_init)
@@ -6719,7 +6719,7 @@ yylex(void)
#else
# error "An EBCDIC-to-ASCII translation function is needed for this system"
#endif
- do_etoa_init = 0;
+ do_etoa_init = false;
}
tok = yylex_ebcdic();