aboutsummaryrefslogtreecommitdiffstats
path: root/awkgram.y
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.y
parent28e37a0dc466d96478c3e6a8f087b7be097ed318 (diff)
downloadegawk-97773a0db9bcbafa16afcd1461ed6eead7f192a8.tar.gz
egawk-97773a0db9bcbafa16afcd1461ed6eead7f192a8.tar.bz2
egawk-97773a0db9bcbafa16afcd1461ed6eead7f192a8.zip
Minor cleanups (bool to int, move a macro).
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 ad830a5d..be1e495c 100644
--- a/awkgram.y
+++ b/awkgram.y
@@ -4286,7 +4286,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)
@@ -4299,7 +4299,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();