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

slashdash comments parsing blocks naïvely #18

Open
zkat opened this issue Jan 8, 2025 · 1 comment
Open

slashdash comments parsing blocks naïvely #18

zkat opened this issue Jan 8, 2025 · 1 comment

Comments

@zkat
Copy link
Member

zkat commented Jan 8, 2025

slashdash comments are supposed to be bounded by entity, not by simple syntax delimiters, but I don't know how, or if it's even possible, to say something like:

start: "{"
consume: "#children"
end: "}"

Which is what I think it would take to fix this

@zkat
Copy link
Member Author

zkat commented Jan 8, 2025

Oh it looks like you can include patterns: https://macromates.com/manual/en/language_grammars

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

No branches or pull requests

1 participant