Re: [Doxygen-users] how to add c-style comments inside @code?
Brought to you by:
dimitri
|
From: Dave D. <do...@do...> - 2006-05-10 07:56:00
|
On Wed, May 10, 2006 at 09:50:10AM +0200, Emil Maskovsky wrote:
> I don't know any C/C++ compiler yet, which can handle nested C-style
> comments
It's unlikely that any will exist.
> - the compiler will try to compile all after first "*/" as
> normal C code (and of course will not compile that source).
For C code, the Standard explicitly states that "/*" and "//" have no
special meaning within a comment. There's even a footnote that makes
the intended behavior absolutely clear:
"Thus, /* ... */ comments do not nest."
-Dave Dodge
|