aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2015-02-12 23:24:04 +0200
committerArnold D. Robbins <arnold@skeeve.com>2015-02-12 23:24:04 +0200
commit7620bc316c7e5bfd18f19c8e2fb09637d9eb8dee (patch)
tree366d6a4f76964bc164e88b3c432bd66c1528cc08
parent2f49027b6d6b1f03ae07c5cd9625b072465079bd (diff)
downloadegawk-7620bc316c7e5bfd18f19c8e2fb09637d9eb8dee.tar.gz
egawk-7620bc316c7e5bfd18f19c8e2fb09637d9eb8dee.tar.bz2
egawk-7620bc316c7e5bfd18f19c8e2fb09637d9eb8dee.zip
Update POSIX.STD.
-rw-r--r--ChangeLog4
-rw-r--r--POSIX.STD15
2 files changed, 18 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 773afd3b..aaee6219 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2015-02-12 Arnold D. Robbins <arnold@skeeve.com>
+
+ * POSIX.STD: Update with info about function parameters.
+
2015-02-11 Arnold D. Robbins <arnold@skeeve.com>
* gawkapi.h: Fix spelling error in comment.
diff --git a/POSIX.STD b/POSIX.STD
index 1555d7be..c48dfb42 100644
--- a/POSIX.STD
+++ b/POSIX.STD
@@ -5,7 +5,7 @@
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.
--------------------------------------------------------------------------
-Thu Mar 31 22:31:57 IST 2011
+Thu Feb 12 08:51:22 IST 2015
============================
This file documents several things related to the 2008 POSIX standard
that I noted after reviewing it.
@@ -30,6 +30,19 @@ that I noted after reviewing it.
sequence into account. By default gawk doesn't do this. Rather, gawk
will do this only if --posix is in effect.
+4. According to POSIX, the function parameters of one function may not have
+ the same name as another function, making this invalid:
+
+ function foo() { ... }
+ function bar(foo) { ...}
+
+ Or even:
+
+ function bar(foo) { ...}
+ function foo() { ... }
+
+ Gawk enforces this only with --posix.
+
The following things aren't described by POSIX but ought to be:
1. The value of $0 in an END rule