jgm / skylighting

A Haskell syntax highlighting library with tokenizers derived from KDE syntax highlighting descriptions
194 stars 62 forks source link

Invalid highlighting for '\0' #82

Closed ghost closed 5 years ago

ghost commented 5 years ago
'\0'

in the c language wrongly highlights the last quote to be invalid.

jgm commented 5 years ago

Confirmed that this works in Kate.

jgm commented 5 years ago

Found the bug, in pCStringChar.

jgm commented 5 years ago

Thanks for reporting this! It was a regression that has been present since 2017, affecting multiple syntaxes (not just C). Surprising it hasn't come up before now.

jgm commented 5 years ago

Released 0.8.1.2 with fix.