[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: two separate issues related to readall() in Gawk ver. 5.2.0
From: |
arnold |
Subject: |
Re: two separate issues related to readall() in Gawk ver. 5.2.0 |
Date: |
Sat, 17 Sep 2022 13:07:23 -0600 |
User-agent: |
Heirloom mailx 12.5 7/5/10 |
arnold@skeeve.com wrote:
> > 2) minor bug revealed:
> > SYMTAB contained entries for: dBug::_ foo::arr foo::test_namespace pgm::run
> > #stderr> warning: readall: unable to set foo::arr
> > #stderr> warning: readall: unable to set pgm::run
> > #stderr> warning: readall: unable to set dBug::_
> > #stderr> warning: readall: unable to set foo::test_namespace
> >
> > Note: the namespace variables had a variety of data types:
> > foo::test_namespace="test"
> > split("",foo::arr); foo::arr[2]=foo::test_namespace;
> > foo::arr["xyz"]=3;
> > dBug::_["flag"]=1;
>
> The code just needs to be smarter. It an identifier contains :: it
> needs to call sym_update_ns() instead of sym_update(). I may try to
> fix this.
Now fixed. It'll be pushed soon.
Arnold