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

Add parenthesized_pattern #198

Merged
merged 1 commit into from
Dec 3, 2021

Conversation

aibaars
Copy link
Contributor

@aibaars aibaars commented Dec 2, 2021

I forgot about the parenthesized patterns such as

case x
  in (1..10) then ...
  ...

Checklist:

  • All tests pass in CI.
  • There are sufficient tests for the new fix/feature.
  • Grammar rules have not been renamed unless absolutely necessary.
  • The conflicts section hasn't grown too much.
  • The parser size hasn't grown too much (check the value of STATE_COUNT in src/parser.c).

@aibaars aibaars requested a review from dcreager December 2, 2021 14:55
Copy link
Contributor

@patrickt patrickt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@aibaars aibaars removed the request for review from dcreager December 3, 2021 15:32
@aibaars aibaars merged commit 888e2e5 into tree-sitter:master Dec 3, 2021
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

Successfully merging this pull request may close these issues.

2 participants