aboutsummaryrefslogtreecommitdiffstats
path: root/awkgram.c
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2015-02-01 20:53:05 +0200
committerArnold D. Robbins <arnold@skeeve.com>2015-02-01 20:53:05 +0200
commitbcb51623b8e156b03c2ae588906e4ed25fa3eba2 (patch)
treef693983ab1daea9761135dae96be0f515b29f681 /awkgram.c
parent1bd1b885c7dd16b5e4ab78c040312f6f7d742784 (diff)
downloadegawk-bcb51623b8e156b03c2ae588906e4ed25fa3eba2.tar.gz
egawk-bcb51623b8e156b03c2ae588906e4ed25fa3eba2.tar.bz2
egawk-bcb51623b8e156b03c2ae588906e4ed25fa3eba2.zip
Move param checking against function names into --posix.
Diffstat (limited to 'awkgram.c')
-rw-r--r--awkgram.c2
1 files changed, 1 insertions, 1 deletions
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)