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

fix: Fix parsing when string is larger than buffer length #214

Merged
merged 1 commit into from
Aug 17, 2024

Conversation

segevfiner
Copy link
Contributor

Caused by annoying limitation of Node-API where you can't create a reference to a String.

Fixes #199

Caused by annoying limitation of Node-API where you can't create a reference to a String.

Fixes tree-sitter#199
@segevfiner
Copy link
Contributor Author

@amaanq ?

@amaanq
Copy link
Member

amaanq commented Aug 17, 2024

Thanks @segevfiner, sorry for being behind 😬

@amaanq amaanq merged commit 9ea6558 into tree-sitter:master Aug 17, 2024
7 checks 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.

Bug: Parser.parse(string) fails if the string length is >= than the buffer size
2 participants