The best way I know to create block comments *without* tampering with interior comments is like this:
/* note about reason for commenting block */ #if 0 code code /* comments */ code #endif
From: Fabian Cenedese Cenedese@indel.ch
object->functionLength = 1; /* no Function defined use fixed
function vertex processing */ + object->functionLength = 1; //
no
Function defined use fixed function vertex processing
<nitpick> C++ style comments are strongly discouraged </nitpick>
yes, i know but this comment is INTO a block comment ;) and C comments will break the block comment
What I usually do in such a case is change the existing tags like that:
code /* comment */
becomes (note the spaces in the tags).
/* block comment code / * comment * / */
Like that you still see where the comment was but it doesn't end the block anymore. Of course if the block comment gets removed you have to change the tags back.
bye Fabi
_________________________________________________________________ The new MSN 8: advanced junk mail protection and 2 months FREE* http://join.msn.com/?page=features/junkmail