Andrea Callia D'Iddio wrote on 14/03/2007 12:36:59:

> Hi all,
> first of all i want to thank you for the aid that i have receveid from
> this mailing list. I have another little question:
> if i have a statemente that is an expression, for example x+5 , how
> can i know if the operation is plus (+), or minus (-), or equal(=) or
> less (<) etc..
> Can you give me the name of the file containing all these definition??

in tree.def, look for all the tree code definitions (DEFTREECODE):
for example:
/* Simple arithmetic.  */
DEFTREECODE (PLUS_EXPR, "plus_expr", tcc_binary, 2)
DEFTREECODE (MINUS_EXPR, "minus_expr", tcc_binary, 2)
DEFTREECODE (MULT_EXPR, "mult_expr", tcc_binary, 2)

Tehila.

> Thanks to all,
> Andrea

Reply via email to