Hi,
I need help on how to rewrite a rule to a fill a template with a list of tokens.
The rule:
identList
: i+=IDENT (',' i+=IDENT)*
-> identifierList(identifiers={$i})
;
returns:
[...@17,102:106='ident1',<4>,10:1...@19,109:112='ident2',<4>,10:24]
when using <identifiers> in a template group.
How can I do it properly?
_________________________________________________________________
Attention à tous les Humains. Nous sommes vos photos. Libérez-nous de vos
disques durs.
http://go.microsoft.com/?linkid=9666050
--~--~---------~--~----~------------~-------~--~----~
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