On 21 Aug 2005, at 18:35, Andreas Wapf wrote:
How is it possible to print out the input value reduced by a rule
inside
an action .
As an example:
stmts:stmts, stmt
| stmt
{
printf(???);
}
For example stmt is an "if a then b" statement. The $1 value of
Hello
How is it possible to print out the input value reduced by a rule inside
an action .
As an example:
stmts:stmts, stmt
| stmt
{
printf(???);
}
For example stmt is an "if a then b" statement. The $1 value of this
stmt returns me a "if" node. I do