Skip to content
This repository has been archived by the owner on Feb 24, 2024. It is now read-only.

allow double quote in escape sequences #1

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

the-mikedavis
Copy link

Hello! 馃憢

I noticed this edge case in the escape sequences - if you're trying to capture " in a query and it isn't a named node you'll need to surround it in quotes but escape it with a backslash. tree-sitter-cli accepts that as a valid query but it trips up the parser here.

@logancollins
Copy link

Wild. I literally just hit this today, came to report an issue, and low and behold found a PR filed 21 hours ago. 馃槀

@tree-sitter tree-sitter deleted a comment from TaliaTodorkashaw Feb 24, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants