From bcb51623b8e156b03c2ae588906e4ed25fa3eba2 Mon Sep 17 00:00:00 2001 From: "Arnold D. Robbins" Date: Sun, 1 Feb 2015 20:53:05 +0200 Subject: Move param checking against function names into --posix. --- awkgram.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'awkgram.c') diff --git a/awkgram.c b/awkgram.c index 9a9ca13b..20d3506a 100644 --- a/awkgram.c +++ b/awkgram.c @@ -4661,7 +4661,7 @@ parse_program(INSTRUCTION **pcode) if (ret == 0) /* avoid spurious warning if parser aborted with YYABORT */ check_funcs(); - if (! check_param_names()) + if (do_posix && ! check_param_names()) errcount++; if (args_array == NULL) -- cgit v1.2.3