diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2012-10-19 13:36:49 +0200 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2012-10-19 13:36:49 +0200 |
commit | 0a1746da98ef24b887074bad1c390523f6c4b190 (patch) | |
tree | ed266131000fafdfa1bdf780d22683dad7b8eaf0 /test | |
parent | a892293556960b0813098ede7da7a34774da7d3c (diff) | |
download | egawk-0a1746da98ef24b887074bad1c390523f6c4b190.tar.gz egawk-0a1746da98ef24b887074bad1c390523f6c4b190.tar.bz2 egawk-0a1746da98ef24b887074bad1c390523f6c4b190.zip |
SYMTAB enhancements, bug fix. Doc additions.
Diffstat (limited to 'test')
-rw-r--r-- | test/ChangeLog | 6 | ||||
-rw-r--r-- | test/lintwarn.ok | 1 | ||||
-rw-r--r-- | test/symtab1.awk | 3 |
3 files changed, 10 insertions, 0 deletions
diff --git a/test/ChangeLog b/test/ChangeLog index f545a57b..7a6a6de4 100644 --- a/test/ChangeLog +++ b/test/ChangeLog @@ -1,3 +1,9 @@ +2012-10-19 Arnold D. Robbins <arnold@skeeve.com> + + * symtab1.awk: Adjust to not print ENVIRON and PROCINFO which won't + be the same as on the author's machine. + * lintwarn.ok: Adjust. + 2012-10-13 Arnold D. Robbins <arnold@skeeve.com> * Makefile.am (EXTRA_DIST): Add jarebug.sh. diff --git a/test/lintwarn.ok b/test/lintwarn.ok index 312d40d4..ec87612f 100644 --- a/test/lintwarn.ok +++ b/test/lintwarn.ok @@ -16,6 +16,7 @@ gawk: lintwarn.awk:18: warning: `case' is a gawk extension gawk: lintwarn.awk:19: warning: `default' is a gawk extension gawk: lintwarn.awk:19: error: duplicate `default' detected in switch body gawk: lintwarn.awk:18: error: duplicate case values in switch body: 1 +gawk: lintwarn.awk:24: error: `continue' is not allowed outside a loop gawk: lintwarn.awk:23: error: `break' is not allowed outside a loop or switch gawk: lintwarn.awk:24: error: `continue' is not allowed outside a loop gawk: lintwarn.awk:25: error: `next' used in BEGIN action diff --git a/test/symtab1.awk b/test/symtab1.awk index 6ca7d632..eeb01437 100644 --- a/test/symtab1.awk +++ b/test/symtab1.awk @@ -1,5 +1,8 @@ function dumparray(name, array, i) { + if (name == "ENVIRON" || name == "PROCINFO") + return + for (i in array) if (isarray(array[i])) dumparray(name "[" i "]", array[i]) |