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 6aa90c50..4eab3d6f 100644
--- a/awkgram.y
+++ b/awkgram.y
@@ -4252,7 +4252,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."));
}