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

-- 
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