On Fri, May 31, 2019 at 10:50 PM Jeff Law wrote:
>
> On 5/31/19 1:56 PM, Martin Sebor wrote:
> > Given a poiner to array p, tree dumps for expressions like &(*p)[2]
> > actually show &*p[2]. That's not right -- the parentheses are
> > important to differentiate indexing into the array the pointer
On 5/31/19 1:56 PM, Martin Sebor wrote:
> Given a poiner to array p, tree dumps for expressions like &(*p)[2]
> actually show &*p[2]. That's not right -- the parentheses are
> important to differentiate indexing into the array the pointer
> points to from indexing into the pointer.
>
> The attach
Given a poiner to array p, tree dumps for expressions like &(*p)[2]
actually show &*p[2]. That's not right -- the parentheses are
important to differentiate indexing into the array the pointer
points to from indexing into the pointer.
The attached patch adjusts the tree pretty printer to add the