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

Parsing an empty string #3

Closed
remram44 opened this issue Mar 1, 2013 · 0 comments
Closed

Parsing an empty string #3

remram44 opened this issue Mar 1, 2013 · 0 comments

Comments

@remram44
Copy link
Contributor

remram44 commented Mar 1, 2013

Parsing an empty string, or a string that only contains whitespace, provokes a

ParserSyntaxError: Unexpected end of token stream at 0.

I see a ParserSyntaxError("Empty token flow.") in EndToken#nud(), wasn't that intended instead?

This case should probably have it own error class.

rbarrois added a commit that referenced this issue Mar 6, 2013
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
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