This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: C++: Missing documentation for MODOP_EXPR


On Fri, 2003-08-15 at 12:01, Gabriel Dos Reis wrote:
> Mark Mitchell <mark@codesourcery.com> writes:
> 
> [...]
> 
> | > My questions are:
> | > 
> | >   1) is __ret the first operand?
> | >   2) is sprintf the second operand?
> | >   3) is the argument list the third operand?
> | > 
> | > I don't think the answers for the last two questions are "yes".  What
> | > I'm after is the meaning of the tree operands.
> | 
> | The first operand is __ret; the third is the call to sprintf.
> | 
> | The second indicates whether it's a plain assignment operator or a
> | compound assignment.
> 
> One more question.  Does the second operand takes any particular form?
> For a plain assignment it seems to be NOP_EXPR.
> (I guess for +=, it will be "+", is that right?)

Yup.

-- 
Mark Mitchell <mark@codesourcery.com>
CodeSourcery, LLC


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]