I don't think that they Python target is being maintained and so this is
probably a bug. My feeling is that we should delete the targets that are not
being maintained or were never finished as they are misleading people into
using them.

If this is being maintained, then perhaps the maintainer could indicate this
here? Or perhaps someone else wants to take this on?

Jim

> -----Original Message-----
> From: [email protected] [mailto:antlr-interest-
> [email protected]] On Behalf Of Matt
> Sent: Wednesday, November 10, 2010 8:49 AM
> To: [email protected]
> Subject: Re: [antlr-interest] Generated Python Parser produces double
> try:
> 
> One last cry for help here - Anyone have *any* idea why a generator
> would be inserting 2 try statements?
> 
> On Wed, Oct 27, 2010 at 2:25 PM, Matt <[email protected]> wrote:
> 
> > Any ideas on how I can debug this?
> >
> >
> > On Tue, Oct 19, 2010 at 11:54 PM, Matt <[email protected]> wrote:
> >
> >> I'm using antlr 3.1.2 jar on Windows.
> >> The generated Parser.py has a double "try:" generated, but only one
> >> "finally:".
> >>
> >> This seems to happen for every "try" in the Parser.
> >> This is not a problem of indents, but a problem of having unmatched
> >> try/finally.
> >>
> >> e.g.:
> >>
> >> try:
> >>     try:
> >>         # some code
> >>
> >> finally:
> >>     pass
> >>
> >>
> >> SHOULD BE:
> >>
> >> try:
> >>       # some code
> >>
> >> finally:
> >>     pass
> >>
> >>
> >> OR:
> >>
> >> try:
> >>     try:
> >>         # some code
> >>
> >>     finally:
> >>         pass
> >> finally:
> >>     pass
> >>
> >>
> >
> 
> List: http://www.antlr.org/mailman/listinfo/antlr-interest
> Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your-
> email-address


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.

Reply via email to