[antlr-interest] How to get filename into token (c++)?

Peter Palotas peter.palotas at gmail.com
Sat Oct 21 05:27:19 PDT 2006


I'm having some real problems getting filename information for tokens in
C++. It seems the default token class simply does nothing when setFilename()
is called.

How can I make ANTLR use a custom Token class, that does recognize
setFilename()?

Sincerely, Peter
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20061021/6d85139d/attachment-0001.html 


More information about the antlr-interest mailing list