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

Tag not supported #390

Open
Kile2304 opened this issue Dec 4, 2024 · 6 comments
Open

Tag not supported #390

Kile2304 opened this issue Dec 4, 2024 · 6 comments
Assignees

Comments

@Kile2304
Copy link

Kile2304 commented Dec 4, 2024

The highlight system breaks when I add a tag.

https://pest.rs/book/grammars/syntax.html#tags

Ex:

hello = { #first_tag = first ~ #second_tag = second }

first = { "this is a try" }
second = { " another try" }

@ice1000
Copy link
Member

ice1000 commented Dec 5, 2024

What are the other new syntax?

@tomtau
Copy link

tomtau commented Dec 7, 2024

rule = { #tag = ... }

@ice1000
Copy link
Member

ice1000 commented Dec 7, 2024

rule = { #tag = ... }

What's the difference between this and tags?

@tomtau
Copy link

tomtau commented Dec 7, 2024

No difference, I thought you were asking what the new syntax is.

@ice1000
Copy link
Member

ice1000 commented Dec 7, 2024

No difference, I thought you were asking what the new syntax is.

I was wondering what other new syntax are there, so I can update it in a batch

@tomtau
Copy link

tomtau commented Dec 7, 2024

That should be it, unless you want to handle the doc comments in a special way: https://pest.rs/book/grammars/comments.html#doc-comments

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

3 participants