[antlr-interest] Jira issue ANTLR-378

Patrick Higgins patrick133t at yahoo.com
Thu Jul 2 14:59:02 PDT 2009


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 <parrt at cs.usfca.edu>
To: Patrick Higgins <patrick133t at yahoo.com>
Cc: antlr-interest at antlr.org
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ANTLR-378.patch
Type: application/octet-stream
Size: 8112 bytes
Desc: not available
Url : http://www.antlr.org/pipermail/antlr-interest/attachments/20090702/849aeff6/attachment.obj 


More information about the antlr-interest mailing list