multiline comments starting on the same line as C preprocessor directives incorrectly coloured
Bug #262797 reported by
Peter Berry
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
vim (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: vim
If a comment starts after (but on the same line as) a preprocessor directive but ends on another line, the part of it on the same line as the directive is coloured properly as a comment, but the rest of it is treated as normal code, with the result that the comment end token "*/" is flagged as an error. See attachment for an example.
To post a comment you must log in.
This is discussed here, including patch, and appears to be fixed in the latest development version: http:// groups. google. com/group/ vim_dev/ browse_ thread/ thread/ 14159630f99bffe 0/368c4478f2fbf 896?lnk= gst
I was not able to find a numbered vim patch for it, but that doesn't mean it doesn't exist :)