yeah. willTry to keep that in mind. I just fixed a number of them with regards to the NFA analysis. Ter On Jun 15, 2010, at 3:02 PM, Ben McCann wrote:
> We stripped out the comments and it solved the problem. It'd be nice to make > sure that version 4 is not affected by this problem. > > Thanks again for the help, > Ben > > > On Tue, Jun 15, 2010 at 11:33 AM, Ben McCann <[email protected]> wrote: > That works for me. We don't really need the comments :o) > > Thanks! > > > > On Tue, Jun 15, 2010 at 11:31 AM, Terence Parr <[email protected]> wrote: > > On Jun 14, 2010, at 5:18 PM, Ben McCann wrote: > > > We patched in the override of toArray and are still seeing the same sorts > > of issues. > > dang. Turns out there are a few Sets etc... laying around. I'm neckdeep in > v4 at moment. > > easiest solution: go to org/antlr/codegen/templates/Java/AST.stg and kill the > comments in this template: > > rewriteCode( > alts, description, > referencedElementsDeep, // ALL referenced elements to right of -> > referencedTokenLabels, > referencedTokenListLabels, > referencedRuleLabels, > referencedRuleListLabels, > referencedWildcardLabels, > referencedWildcardListLabels, > rewriteBlockLevel, enclosingTreeLevel, treeLevel) ::= > << > > // AST REWRITE > // elements: <referencedElementsDeep; separator=", "> > // token labels: <referencedTokenLabels; separator=", "> > // rule labels: <referencedRuleLabels; separator=", "> > // token list labels: <referencedTokenListLabels; separator=", "> > // rule list labels: <referencedRuleListLabels; separator=", "> > // wildcard labels: <[referencedWildcardLabels,referencedWildcardListLabels]; > separator=", "> > ... > >> > > > _______________________________________________ antlr-dev mailing list [email protected] http://www.antlr.org/mailman/listinfo/antlr-dev
