aboutsummaryrefslogtreecommitdiffstats
path: root/doc/gawk.texi
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2015-04-16 10:09:03 +0300
committerArnold D. Robbins <arnold@skeeve.com>2015-04-16 10:09:03 +0300
commit456fd40ebbb78fe31b28bbe0907282c685bce170 (patch)
tree4ba94ebd0e8fc597db62b24d86b4ae0a02be4857 /doc/gawk.texi
parent5521633779b34da5d4fdd2728c48e1636b0bde7a (diff)
downloadegawk-456fd40ebbb78fe31b28bbe0907282c685bce170.tar.gz
egawk-456fd40ebbb78fe31b28bbe0907282c685bce170.tar.bz2
egawk-456fd40ebbb78fe31b28bbe0907282c685bce170.zip
Make builtin shadowing work. Add test and doc.
Diffstat (limited to 'doc/gawk.texi')
-rw-r--r--doc/gawk.texi7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/gawk.texi b/doc/gawk.texi
index e86e8bba..501aacde 100644
--- a/doc/gawk.texi
+++ b/doc/gawk.texi
@@ -4900,6 +4900,13 @@ Similarly, you may use @code{print} or @code{printf} statements in the
@var{init} and @var{increment} parts of a @code{for} loop. This is another
long-undocumented ``feature'' of Unix @command{awk}.
+@command{gawk} lets you use the names of built-in functions that are
+@command{gawk} extensions as the names of parameters in user-defined functions.
+This is intended to ``future-proof'' old code that happens to use
+function names added by @command{gawk} after the code was written.
+Standard @command{awk} built-in functions, such as @code{sin()} or
+@code{substr()} are @emph{not} shadowed in this way.
+
@end ignore
@node Invoking Summary