• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Bug? Colouring should be aware of \ at end of line
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Bug? Colouring should be aware of \ at end of line (From: "Chris Jefferson" <email@hidden>)

  • Prev by Date: Bug? Colouring should be aware of \ at end of line
  • Next by Date: Re: What causes this and how can I fix it ?
  • Previous by thread: Bug? Colouring should be aware of \ at end of line
  • Next by thread: building a mach-o bundle object file without bundle packaging
  • Index(es):
    • Date
    • Thread