multiline comments starting on the same line as C preprocessor directives incorrectly coloured

Bug #262797 reported by Peter Berry
4
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.

Revision history for this message
Peter Berry (pwberry) wrote :
Revision history for this message
Andrew McCarthy (andrewmccarthy) wrote :

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/14159630f99bffe0/368c4478f2fbf896?lnk=gst

I was not able to find a numbered vim patch for it, but that doesn't mean it doesn't exist :)

Changed in vim:
status: New → Confirmed
Revision history for this message
Peter Berry (pwberry) wrote :

Fixed in Jaunty.

Changed in vim (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.