I tried replacing:
-> ^($o $addExpr $e)

with:
-> ^(BIN_EXPR<BinaryExpression>[$o.text, $addExpr, $e.tree]>) // instead of 
$addExpr.tree

but the tool (at least ver 3.1.1) dooes not allow this - error(117): missing 
attribute access on rule scope. Anyway, $addExpr is of type addExpr_return.
 
I do not know. This may be a bug.
 
Tomasz


      
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"il-antlr-interest" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/il-antlr-interest?hl=en
-~----------~----~----~----~------~----~------~--~---

List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe: 
http://www.antlr.org/mailman/options/antlr-interest/your-email-address

Reply via email to