[antlr-interest] Initializing synthetic tokens?

Gerald Rosenberg gerald at certiv.net
Thu Nov 15 09:52:15 PST 2012


In v3, synthetic tokens could be initialized:
tokens {
     COMMA = ',' ;
}

v4 complains about the assignment.  Is there an alternative/preferred 
way to initialize these tokens?  Did not find anything in TDAR4.

Thanks.



More information about the antlr-interest mailing list