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

Unindented comment makes the parser crash #123

Open
hoh opened this issue Aug 30, 2017 · 0 comments
Open

Unindented comment makes the parser crash #123

hoh opened this issue Aug 30, 2017 · 0 comments

Comments

@hoh
Copy link

hoh commented Aug 30, 2017

Baron crashes with baron.tokenizer.UnknowItem when trying to baron.parse() a file containing the following code:

class Car:
##    standard idle block comment
    pass

Python3.5.3 / Debian amd64.

@hoh hoh changed the title Unindented comment parsing error Unindented comment makes the parser crash Aug 30, 2017
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