Another thing syntax highlighters mistake about rust is its support for nested 
block comments.

For example take this code:

```Rust
/*
/*
inner
*/
interesting
*/
```

`interesting` here is commented out, because its still "inside" the outer 
comment boundary.

Same code rendered as C++:

```C++
/*
/*
inner
*/
interesting
*/
```

`interesting` here gets read like normal code. C++ parses, like C, from the 
first occurence of `/*` to the first occurence of `*/`.

I wonder, can geany cope with this? I don't use geany, so I can't test. I just 
know that the text editor I use (kate) has that precise problem.

---
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/595#issuecomment-185159810

Reply via email to