diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2015-02-12 23:25:38 +0200 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2015-02-12 23:25:38 +0200 |
commit | b6061d8bf983dd69909a39f1d323934ee3de8166 (patch) | |
tree | 8d0959fec88a639dbc99845e6735a51e6ad7cdf3 | |
parent | f2c0bdf60b053c28d6cde7faf1b014e5b7f7deaf (diff) | |
parent | dea37a9bcb88cf1ba65c7ad5c439425352a01f40 (diff) | |
download | egawk-b6061d8bf983dd69909a39f1d323934ee3de8166.tar.gz egawk-b6061d8bf983dd69909a39f1d323934ee3de8166.tar.bz2 egawk-b6061d8bf983dd69909a39f1d323934ee3de8166.zip |
Merge branch 'gawk-4.1-stable'
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | POSIX.STD | 15 | ||||
-rwxr-xr-x | configure | 6 | ||||
-rw-r--r-- | configure.ac | 6 |
4 files changed, 21 insertions, 11 deletions
@@ -1,3 +1,8 @@ +2015-02-12 Arnold D. Robbins <arnold@skeeve.com> + + * POSIX.STD: Update with info about function parameters. + * configure.ac: Remove test for / use of dbug library. + 2015-02-11 Arnold D. Robbins <arnold@skeeve.com> * gawkapi.h: Fix spelling error in comment. @@ -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 @@ -5837,11 +5837,7 @@ if test -f $srcdir/.developing then # add other debug flags as appropriate, save GAWKDEBUG for emergencies CFLAGS="$CFLAGS -DARRAYDEBUG -DYYDEBUG -DLOCALEDEBUG" - if grep dbug $srcdir/.developing - then - CFLAGS="$CFLAGS -DDBUG" - LIBS="$LIBS dbug/libdbug.a" - fi + # turn on compiler warnings if we're doing development # enable debugging using macros also if test "$GCC" = yes diff --git a/configure.ac b/configure.ac index 548a3ce3..008c2780 100644 --- a/configure.ac +++ b/configure.ac @@ -88,11 +88,7 @@ if test -f $srcdir/.developing then # add other debug flags as appropriate, save GAWKDEBUG for emergencies CFLAGS="$CFLAGS -DARRAYDEBUG -DYYDEBUG -DLOCALEDEBUG" - if grep dbug $srcdir/.developing - then - CFLAGS="$CFLAGS -DDBUG" - LIBS="$LIBS dbug/libdbug.a" - fi + # turn on compiler warnings if we're doing development # enable debugging using macros also if test "$GCC" = yes |