Hello ANTLR community, I want to get
t+='void' (t+='*')* to a list of a custom token type, say TYPE. That is, each element/token of the list should change its original type to the type TYPE. The following approach does not work because invalid java code is generated: t+='void' (t+='*')* -> ^(TYPE[$t]+) The following implicit list generation works fine, however each element retains its original type: t+='void' (t+='*')* -> ^($t+) Can anyone tell me, whether and how this could be done? Thanks in advance, Christian List: http://www.antlr.org/mailman/listinfo/antlr-interest Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your-email-address -- You received this message because you are subscribed to the Google Groups "il-antlr-interest" group. To post to this group, send email to il-antlr-inter...@googlegroups.com. To unsubscribe from this group, send email to il-antlr-interest+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/il-antlr-interest?hl=en.