LHS of assignment

James A. Morrison ja2morri@csclub.uwaterloo.ca
Tue Aug 2 05:14:00 GMT 2005


shreyas krishnan <shreyas76@gmail.com> writes:

> Hi every one, 
>      Can some one please answer this.  How do I get a tree node from
> an exisiting symbol for use in the LHS of a expression ? example a=10;
>
> thanks
> shrey

 I don't really know what your asking but in a = <expr> is the the 1st operand
of a MODIFY_EXPR, i.e. TREE_OPERAND (modify_expr, 0).


-- 
Thanks,
Jim

http://www.csclub.uwaterloo.ca/~ja2morri/
http://phython.blogspot.com
http://open.nit.ca/wiki/?page=jim



More information about the Gcc mailing list