RE: [Doxygen-users] Bug? Define in a function body
Brought to you by:
dimitri
From: Nikitin M. (I. MP P SW 2 AAL) <Mik...@si...> - 2003-07-31 08:11:13
|
I believe, this is the current behaviour as Doxygen gathers the documentation inside the function without looking at what does it actually documents. And as it is not possible to document local variables, it is neither possible to document local macros. Mike > -----Original Message----- > From: Frederic Marchal [mailto:fre...@wo...] > Sent: Tuesday, July 29, 2003 8:27 AM > To: dox...@li... > Subject: [Doxygen-users] Bug? Define in a function body > > > Hello, > > I'm not completely sure whether this is a bug or not... > Anyway, it is very strange. > Could somebody review it and confirm it is a bug ? > > The following C code processed with doxygen 1.3.2 appends the > description of the > macros to the function description and leaves the description > of the macros empty. > > /*! > * Function description > */ > void Function(void) > { > > /*! I expect this to be the description of DUMMY1.*/ > #define DUMMY1 'b' > > #define DUMMY2 'b' /*!< I expect this to be the description > of DUMMY2.*/ > } > > A macro defined outside of a function is properly documented though. > > Frederic > > > |