Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Single line elif-branch in combination with a subsequent empty line causes ParserError #131

Open
fiber-space opened this issue Jan 11, 2018 · 0 comments

Comments

@fiber-space
Copy link

fiber-space commented Jan 11, 2018

From the error log:

  28     elif State == u"A":   Value = u'8'
  29     elif State == u"B":   Value = u'9'
  30     
  31     else<---- here

The token ELSE should be one of those: ASSERT, AT, ...

The combination of a single-line elif branch and the subsequent empty line causes the ParserError. Removal of the empty line or breaking the elif statement at ':' resolves the issue.

This has been tested against baron 0.6.6.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant