[antlr-interest] Custom Token Types (parallel to ASTLabelType, for lexer)?
Bryan Ewbank
ewbank at synopsys.com
Wed Oct 20 13:30:23 PDT 2004
I've looked at the C++ generator, and it appears that RefToken is hardcoded.
What I would like to do is extend the Token class to include filename
information, as well as a symbol table reference, but it doesn't seem to be
a supported model.
How do others use symbol tables and/or produce file and line information,
given that the type returned by the Lexer is hardcoded?
- Bryan
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/antlr-interest/
<*> To unsubscribe from this group, send an email to:
antlr-interest-unsubscribe at yahoogroups.com
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
More information about the antlr-interest
mailing list