I've created the attached patch for issue ANTLR-378. The patch works for me, though I've only tested the changes for a grammar with "language=Java". I didn't find anything on the ANTLR page describing how to submit patches, so I am sending it here. Is there a better way? I also was unable to get maven to run the test suite, so I'm not sure if this patch introduces regressions or not.
--Patrick ----- Original Message ---- From: Terence Parr <[email protected]> To: Patrick Higgins <[email protected]> Cc: [email protected] Sent: Wednesday, July 1, 2009 5:38:37 PM Subject: Re: [antlr-interest] Jira issue ANTLR-378 Hi. i'm swamped but try to add description attribute to evalPredicate template (in Java.stg or Dbg.stg I think) Ter On Jul 1, 2009, at 3:39 PM, Patrick Higgins wrote: > > Has anyone taken a look at http://www.antlr.org/jira/browse/ANTLR-378 yet? I > converted the PL/SQL grammar at > http://www.antlr.org/grammar/1209225566284/PLSQL3.g to Java (after applying > the fixes mentioned at http://markmail.org/message/mf724z2pfe5rpdrh) and > found that it does not parse all of our PL/SQL source properly. > > When I try to use the debugger in ANTLRWorks v1.2.3, I find that this grammar > triggers the same exception as issue ANTLR-378. > > I'll try tracking this down if no one has looked at it yet, but I'm not sure > how far I'll get. > > Does anyone have other suggestions for how to debug a grammar of the > complexity of the PL/SQL grammar without using the ANTLRWorks debugger? > > Thanks, > Patrick > > > List: http://www.antlr.org/mailman/listinfo/antlr-interest > Unsubscribe: > http://www.antlr.org/mailman/options/antlr-interest/your-email-address --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "il-antlr-interest" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/il-antlr-interest?hl=en -~----------~----~----~----~------~----~------~--~---
ANTLR-378.patch
Description: Binary data
List: http://www.antlr.org/mailman/listinfo/antlr-interest Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your-email-address
