raku-mode icon indicating copy to clipboard operation
raku-mode copied to clipboard

Grammar highlighting issues escaped quotes

Open teodozjan opened this issue 6 years ago • 1 comments

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 } 
}

teodozjan avatar Jul 12 '18 09:07 teodozjan

Thanks for the workaround in the meantime....

MorayJ avatar Aug 21 '18 09:08 MorayJ