aboutsummaryrefslogtreecommitdiffstats
path: root/awkgram.y
diff options
context:
space:
mode:
Diffstat (limited to 'awkgram.y')
-rw-r--r--awkgram.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/awkgram.y b/awkgram.y
index cd5353f9..0b7e29f3 100644
--- a/awkgram.y
+++ b/awkgram.y
@@ -4670,7 +4670,7 @@ shadow_funcs()
efree(funcs);
/* End with fatal if the user requested it. */
- if (shadow && lintfunc != warning)
+ if (shadow && lintfunc == r_fatal)
lintwarn(_("there were shadowed variables."));
}