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 slash parsing #26

Merged
merged 3 commits into from
Jan 20, 2024
Merged

Fix slash parsing #26

merged 3 commits into from
Jan 20, 2024

Conversation

vrischmann
Copy link
Owner

Stop considering a single / as terminating when scanning for an element_text.

I can't remember exactly but I think I added this terminator because the keyword checks didn't work here.

While fixing #25 the test Go comments inside template broke again; after some investigation I realized that the C function lookahead_buffer_find_keyword had a bug in it which broke the go comments parsing.

This PR fixes #25

@vrischmann vrischmann self-assigned this Jan 20, 2024
@vrischmann vrischmann merged commit d7d19f1 into master Jan 20, 2024
4 checks passed
@vrischmann vrischmann deleted the fix-slash-parsing branch January 20, 2024 19:13
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.

/ in markup text breaks highlighting and tree-sitter parse
1 participant