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

Grammar highlighting issues escaped quotes #19

Open
teodozjan opened this issue Jul 12, 2018 · 1 comment
Open

Grammar highlighting issues escaped quotes #19

teodozjan opened this issue Jul 12, 2018 · 1 comment
Labels
bug Font-lock Issues involving syntax highlighting and coloring

Comments

@teodozjan
Copy link

teodozjan commented Jul 12, 2018

Escaped double quotes are still highlighted as quotes
I need to add quote in comment to fix back highlighting.

Example -- everything after itvalue definition get highlighted in one color

grammar SomeGrammar {
 token itvalue { \" <-[\"]>+? \" } 
 token somevalue { \" <-[\"]>+? \" } 
 token another token { nothingSpecial } 
}
}

While this works fine

grammar SomeGrammar {
 token itvalue { \" <-[\"]>+? \" } # "
 token somevalue { \" <-[\"]>+? \" } # "
 token another token { nothingSpecial } 
}
@MorayJ
Copy link

MorayJ commented Aug 21, 2018

Thanks for the workaround in the meantime....

@matiaslina matiaslina added bug Font-lock Issues involving syntax highlighting and coloring labels May 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Font-lock Issues involving syntax highlighting and coloring
Projects
None yet
Development

No branches or pull requests

3 participants