Re: Is there such a thing as commenting-out doxygen markdown?

"Kerry, Richard" <[email protected]> Tue, 5 Nov 2019 12:05:42 +0000
Newsgroups gmane.text.doxygen.general
Message-ID <AM0PR02MB3715AC4C2EAD6A0401B958199C7E0@AM0PR02MB3715.eurprd02.prod.outlook.com>
Yes, I thought it would be something like that.
Hence my query about whether the preprocessor acts before the lexical analyzer dumps the comments. 
I haven't really got the option of using /// as I am working with an existing document which has a comment of the form /*! Etc.
While I could edit the whole thing into that form I'm trying to avoid that as I am trying to keep the document as much as possible the same as the original.

R.

> > It doesn’t work.
> >
> > Warning: explicit link request to ‘if’ could not be resolved.
> > Warning: explicit link request to ‘endif’ could not be resolved.
> >
> > Note – I am trying to “comment out” individual lines within a doxygen
> > comment block, not comment out the whole comment.
> >
> > I wonder if #if works in a comment?  I’ve never actually tried it, I’m
> > just wondering out loud whether the pre-processor acts before or after
> > the lexical analyser strips comments.
> >
> You can't do
> 
> /**
> 
> #if
> 
> */
> 
> as comments are removed before preprocessing
> 
> 
> You should be able to do
> 
> 
> ///
> 
> ///
> 
> ///
> 
> #if 0
> 
> ///
> 
> ///
> 
> ///
> 
> #endif
> 
> ///
> 
> ///
> 
> ///
> 
> 
> to remove specific lines of comment.
> 
> --
> Richard Damon


_______________________________________________
Doxygen-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/doxygen-users