diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2016-01-14 20:48:15 +0200 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2016-01-14 20:48:15 +0200 |
commit | ba6d9c427ffa59b7cfc586ad7307f8350390e66c (patch) | |
tree | 84aa8f2704442e299c9d723dc016c355b499c088 /test/aryprm9.awk | |
parent | 1b52794de2b557626b6192d04ec65ecb176b1ed7 (diff) | |
download | egawk-ba6d9c427ffa59b7cfc586ad7307f8350390e66c.tar.gz egawk-ba6d9c427ffa59b7cfc586ad7307f8350390e66c.tar.bz2 egawk-ba6d9c427ffa59b7cfc586ad7307f8350390e66c.zip |
Fix for extra parameters going down the call chain.
Diffstat (limited to 'test/aryprm9.awk')
-rw-r--r-- | test/aryprm9.awk | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/test/aryprm9.awk b/test/aryprm9.awk new file mode 100644 index 00000000..004e3c34 --- /dev/null +++ b/test/aryprm9.awk @@ -0,0 +1,16 @@ +#!/usr/bin/gawk -f +BEGIN { + + for (i = 0; i < 100; i++) + func_exec() +} + +function func_exec(opaque) +{ + func_a(1, opaque) #set additional argument, not expected by fname +} + +function func_a(a, b, loc1, loc2) +{ + b = 0 #unref Nnull_string +} |