From 9d43b510f74f63806279ce40f65245ea7e5b0d53 Mon Sep 17 00:00:00 2001 From: "Arnold D. Robbins" Date: Fri, 27 Mar 2015 06:32:13 +0300 Subject: Some more cleanups. Ready to merge! --- extension/testext.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'extension/testext.c') diff --git a/extension/testext.c b/extension/testext.c index 8a906c67..e2ddbe87 100644 --- a/extension/testext.c +++ b/extension/testext.c @@ -374,6 +374,17 @@ out: return result; } +/* + * 3/2015: This test is no longer strictly necessary, + * since PROCINFO is no longer a deferred variable. + * But we leave it in for safety, anyway. + */ +/* +BEGIN { + print "test_deferred returns", test_deferred() + print "" +} +*/ static awk_value_t * test_deferred(int nargs, awk_value_t *result) { @@ -1037,6 +1048,7 @@ static awk_bool_t init_testext(void) static const char message[] = "hello, world"; /* of course */ static const char message2[] = "i am a scalar"; + /* This is used by the getfile test */ if (sym_lookup("TESTEXT_QUIET", AWK_NUMBER, & value)) return awk_true; -- cgit v1.2.3