[Github-comments] [geany/geany] Rust Syntax highlighting fails on unicode-declaring string literals. (#1089)

llogiq notifications at xxxxx
Fri Jun 24 04:37:14 UTC 2016


Example:
```
let x = "\u{FFFE}"; // <-- Everything from here on will be colored as string literal
let y = ..
```

The problem appears to be that the syntax highlighter cannot deal with the squiggly braces after the `\u`, if I remove them, the syntax highlighter colors the rest of the code correctly. However, without the braces, the string literal is no longer valid Rust.

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/1089
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20160623/3d8b3e27/attachment.html>


More information about the Github-comments mailing list