This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: can we define a comment?


How about

#define COMMENT /
...

COMMENT/ This is a comment.


On 5/15/06, Eric Fisher <joefoxreal@gmail.com> wrote:
hi,
Anybody knows that if we can define a comment? For a statement such as,
   COMMENT this is a comment.
will be preprocessed as,
   // this is a comment.
or something valid and transparent to the compiler? Of cause we can't
directly use,
   #define COMMENT //

Thanks.
Eric.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]