aboutsummaryrefslogtreecommitdiffstats
path: root/eval.c
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2016-07-17 06:00:10 +0300
committerArnold D. Robbins <arnold@skeeve.com>2016-07-17 06:00:10 +0300
commit87e61996806174f405b0aab9c92688945b9dca77 (patch)
tree4e6cb312a70c4cb00dd274c23818cd76df36e3a3 /eval.c
parentd7d60e6b4c86e38ab937f45c22fa7d335d45208b (diff)
downloadegawk-87e61996806174f405b0aab9c92688945b9dca77.tar.gz
egawk-87e61996806174f405b0aab9c92688945b9dca77.tar.bz2
egawk-87e61996806174f405b0aab9c92688945b9dca77.zip
Fix set_LINT for LINT="invalid" to reset lintfunc.
Diffstat (limited to 'eval.c')
-rw-r--r--eval.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/eval.c b/eval.c
index 6d30109b..b857ea4f 100644
--- a/eval.c
+++ b/eval.c
@@ -964,6 +964,7 @@ set_LINT()
else if (lintlen == 7 && strncmp(lintval, "invalid", 7) == 0) {
do_flags &= ~ DO_LINT_ALL;
do_flags |= DO_LINT_INVALID;
+ lintfunc = warning;
} else
lintfunc = warning;
} else {