From 0a1746da98ef24b887074bad1c390523f6c4b190 Mon Sep 17 00:00:00 2001 From: "Arnold D. Robbins" Date: Fri, 19 Oct 2012 13:36:49 +0200 Subject: SYMTAB enhancements, bug fix. Doc additions. --- test/ChangeLog | 6 ++++++ test/lintwarn.ok | 1 + test/symtab1.awk | 3 +++ 3 files changed, 10 insertions(+) (limited to 'test') 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 + + * 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 * 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]) -- cgit v1.2.3