Re: can we define a comment?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



But, I don't want take this function-like  way.

2006/5/16, corey taylor <corey.taylor@xxxxxxxxx>:
Kind of an odd request, but I suppose that you could do something like:

#define CMNT(exp)

But then you'd have to wrap the comment:

CMNT(this is a comment)

corey

On 5/15/06, Eric Fisher <joefoxreal@xxxxxxxxx> 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 of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux