OK - let me take a look for you :-) Jim
> -----Original Message----- > From: Scott Warren [mailto:[email protected]] > Sent: Wednesday, October 06, 2010 11:52 AM > To: Jim Idle > Cc: [email protected]; [email protected] > Subject: [antlr-interest] patch re composite grammars for ANTLR 3.3 > Snapshot > > Jim, > > Here is a two-line change to your 3.3 snapshot which will fix the problem with > composite grammars that I posted about recently. The issue was that nesting > imports more than two deep produced incorrect parsers. I've built and > tested the following fix and I'm confident it won't break anything. I'd be > grateful if you could incorporate it into the 3.3 release. > > CompositeGrammar.java line 277: > List<Grammar> grammars = > subtreeRoot.getPreOrderedGrammarList(); > > CompositeGrammarTree.java line 139: > child._getPreOrderedGrammarList(grammars); > > Thanks, > > skw > > > On Oct 4, 2010, at 1:45 PM, Jim Idle wrote: > > > I have deployed the latest 3.3 snapshot (Java only) to the Maven > > snapshot > > repository: > > > > > > > > > > > > <!-- > > > > > > > > Inform Maven of the ANTLR snapshot repository, which it will > > > > need to consult to get the latest snapshot build of the runtime > > > > if it was not built and installed locally. > > > > --> > > > > <repositories> > > > > > > > > <!-- > > > > This is the ANTLR repository. > > > > --> > > > > <repository> > > > > <id>antlr-snapshot</id> > > > > <name>ANTLR Testing Snapshot Repository</name> > > > > <url>http://antlr.org/antlr-snapshot</url> > > > > <snapshots> > > > > <enabled>true</enabled> > > > > <updatePolicy>always</updatePolicy> > > > > </snapshots> > > > > </repository> > > > > > > > > </repositories> > > > > > > > > > > > > The source artifacts are also included. This includes the maven plugin > > and archetypes as well as gunit. > > > > > > > > As not everyone uses Maven, the complete executable jar (contains all > > dependencies) and the source code jar that you can build from scratch is at: > > > > > > > > http://antlr.org/download > > > > > > > > http://antlr.org/download/antlr-master-3.3-SNAPSHOT-completejar.jar - > > Executable jar > > > > http://antlr.org/download/antlr-master-3.3-SNAPSHOT-src.jar - source > > code for the above > > > > > > > > I imagine that if the git mirrors and so on are up to scratch, that > > you can download from there too, however to be sure, I would > > personally download the source code jar above > > > > > > > > I will assemble and deploy the C runtime snapshot in the next day or > > so, other target authors may or may not wish to generate a snapshot > > release to go with this. > > > > > > > > Jim > > > > > > List: http://www.antlr.org/mailman/listinfo/antlr-interest > > Unsubscribe: > > http://www.antlr.org/mailman/options/antlr-interest/your-email-address > > > > !DSPAM:6251,4caa20db21922096178974! > > > > 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.
