bug-gawk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Debugger: Incomplete print of arrays of arrays


From: arnold
Subject: Re: Debugger: Incomplete print of arrays of arrays
Date: Sat, 02 Dec 2023 12:31:28 -0700
User-agent: Heirloom mailx 12.5 7/5/10

Hi.

Thanks for the report. Nice catch!  Fix is attached.

Arnold

Hermann Peifer <peifer@gmx.eu> wrote:

> Hi again.
>
> Printing array "a" works fine, but there is some truncation going on
> when printing "b". See below.
>
> Hermann
>
>  > cat test.awk
> BEGIN {
>       a[1] = 1
>       a[2] = 2
>       b[1][2][3] = 123
>       b[2][2][3] = 223
> }
>
>  > gawk -D -f test.awk
> gawk> r
> Starting program:
> Program exited normally with exit value: 0
> gawk> p @a
> a["1"] = 1
> a["2"] = 2
> gawk> p @b
> 2["3"] = 123
> 2["3"] = 223
> gawk> exit
>

Attachment: debug.c.diff
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]