[antlr-interest] Loosing hidden tokens
veflings
veflings at hotmail.com
Thu Mar 25 03:10:42 PST 2004
I have downloaded the java grammar from the antlr site and have
filtered the lexer through a TokenStreamHiddenTokenFilter.
The Lexer is set to use antlr.CommonHiddenStreamToken and the parser
to antlr.CommonASTWithHiddenTokens.
Everything works fine exept in a rule where a node is duplicated with:
getASTFactory().dupTree(theNode)
The duplicated node has the hidden tokens set to null.
Why does this happen and what can I do to prevent it?
Thanks in advance
Henning
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