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
Doxygen-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/doxygen-users

Reply via email to