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

Various fixes for JSX support #247

Merged
merged 1 commit into from
Jul 11, 2023
Merged

Various fixes for JSX support #247

merged 1 commit into from
Jul 11, 2023

Conversation

guillaumebrunerie
Copy link
Contributor

This pull request brings the changes from tree-sitter/tree-sitter-javascript#227 to the Typescript grammar, and fixes what needs to be fixed in the grammar and tests here.

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).

@guillaumebrunerie
Copy link
Contributor Author

Looks like I had forgotten one change related to fragments, I've added it now and a test to make sure that fragments behave properly.

@amaanq amaanq merged commit a232b3a into tree-sitter:master Jul 11, 2023
1 check passed
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.

None yet

2 participants