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

Empty string as input to choice causes parse to hang #700

Open
eelstork opened this issue Jul 29, 2020 · 0 comments
Open

Empty string as input to choice causes parse to hang #700

eelstork opened this issue Jul 29, 2020 · 0 comments
Labels

Comments

@eelstork
Copy link

Example:

boolean_literal: $ => choice('true', 'false', '')

Would be nice if this can be rejected on generate instead of hanging on parse.

@issue-label-bot issue-label-bot bot added the bug label Jul 29, 2020
@tree-sitter tree-sitter deleted a comment from issue-label-bot bot Feb 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant