Re: Bug? Colouring should be aware of \ at end of line
Re: Bug? Colouring should be aware of \ at end of line
- Subject: Re: Bug? Colouring should be aware of \ at end of line
- From: email@hidden (Stefan Haller)
- Date: Fri, 21 Apr 2006 15:08:27 +0200
- Organization: Ableton
Chris Jefferson <email@hidden> wrote:
> I've just spent about an hour tracking down a bug, that turned out to be:
>
> int check_limit(int i)
> {
> // Note, the following function doesn't really work :\
> int check;
> ..
> }
>
> The problem is that the \ on the end of the comment means that the
> "int check" gets sucked into the comment. Would it be possible to
> colour the next line "comment colour" as well?
If you add -Wcomment (or -Wall, which includes it) to your CFLAGS, you
will be warned about this at compile time.
--
Stefan Haller
Ableton
http://www.ableton.com/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden