[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: hightlight if/ifdef blocks
From: |
Michaël Cadilhac |
Subject: |
Re: hightlight if/ifdef blocks |
Date: |
Wed, 01 Nov 2006 02:31:22 +0100 |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.90 (gnu/linux) |
Fang lun gang <no@mail.com> writes:
>>>>>> "Martin" == Martin <m.gercke@gmail.com> writes:
>
> Martin> Hi, after reading some rules about not nesting c comments and
> using
> Martin> #if 0 instead
> Martin> // not_used_at_the_moment();
>
> Would you please share the rules of why not nesting c comments?
>
> I used to thought it is ok to nest comments marked using "//".
// are not « native » C comment ;-)
I think Martin was talking about nesting /* */. The use of #if 0 is
quite a good practice.
--
/!\ My mail address changed, please update your files accordingly.
| Michaël `Micha' Cadilhac | Le copillage-collage |
| Epita/LRDE Promo 2007 | tue le programmeur. |
| http://michael.cadilhac.name | -- Dictons LRDE |
`-- - JID: micha@amessage.be --' - --'
pgpCjMS0vP297.pgp
Description: PGP signature