Re: Comparing tree types

2014-11-03 Thread Martin Jambor
Hi, On Mon, Nov 03, 2014 at 03:12:10AM +0530, Vini Kanvar wrote: > I am trying to compare the tree declarations of the lhs and the rhs of > the assignment statement in the following program. > > struct node { > struct node * next; > }; > struct node ** obj1, obj2; > obj1 = &obj2.next;

Comparing tree types

2014-11-02 Thread Vini Kanvar
I am trying to compare the tree declarations of the lhs and the rhs of the assignment statement in the following program. struct node { struct node * next; }; struct node ** obj1, obj2; obj1 = &obj2.next; // lhs is obj1, rhs is obj2.next --- Let us call the following