...
- output=AST, rewrite=true for tree rewriters broken. nextNode for subtree
streams didn't dup node, it gave whole tree back. - Creating token from another token didn't copy input stream in CommonToken. makes sense to copy too; i don't think anybody relies on it being null after a copy. We might want to know where token came from.
- TreeParser.getMissingSymbol() used CommonTree instead of using adaptor.create()
- Fixed bug in TreeVisitor when rewrites altered number of children. Thanks to Chris DiGiano.
- Couldn't properly reuse parser state; ctor reset the state; fixed.
Parser(TokenStream input, RecognizerSharedState state) - LookaheadStream<T> used some hardcoded Object return types for LT, etc...
uses T now.