|
From: | Hermann Peifer |
Subject: | Re: [bug-gawk] Another typeof() issue |
Date: | Mon, 29 Jun 2015 20:17:43 +0200 |
User-agent: | Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 |
On 2015-06-29 18:58, Aharon Robbins wrote:
Hi.Date: Mon, 29 Jun 2015 07:46:20 +0200 From: Hermann Peifer <address@hidden> To: address@hidden CC: address@hidden Subject: Re: [bug-gawk] Another typeof() issuetake a look.Once you are looking at the debugger, here 2 surprising error messages: $ echo 'BEGIN{a; b[1]}' > test.awk $ awk -D -f test.awk gawk> eval "typeof(a)" awk: cmd. line:1: error: attempt to use non-function `typeof' in function call gawk> eval "isarray(b)" awk: cmd. line:1: error: function name address@hidden' previously definedThese are not related to typeof or isarray. Any builtin function that is a gawk extension over standard awk has this problem. I have a fix which I'll push once I also add a test case.
Thanks for the fix, which works fine. Hermann
[Prev in Thread] | Current Thread | [Next in Thread] |