On Thu, Jun 30, 2011 at 8:42 PM, Jakub Jelinek wrote:
> Hi!
>
> As reporteed by Tobias, when printing array ctors the pretty printer would
> never print indexes or ranges, which means that e.g.
> {[2 ... 71]=7}
> ctor was printed as
> {7}
> and
> {[3]=1, [7]=2}
> ctor was printed as
> {1, 2}
> The
Hi!
As reporteed by Tobias, when printing array ctors the pretty printer would
never print indexes or ranges, which means that e.g.
{[2 ... 71]=7}
ctor was printed as
{7}
and
{[3]=1, [7]=2}
ctor was printed as
{1, 2}
The following patch prints the index (if different from the last index + 1
resp.