I want to do some processing with the variables in an expression. For
example, from the expression i==j in,
if i==j then writeln("yes");
I want to get the lexemes i and j and also their other attributes, say
types. I am doing something with the compiler, so I would like to know how
I can get this from within the Expr or its derived classes. I tried a
printf("%s",$2->parentSymbol->name); //Simplified grammar, if id == id
then...
from chapel.ypp, but it resulted in an internal error.
PLease help.
------------------------------------------------------------------------------
_______________________________________________
Chapel-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/chapel-developers