Re: Aliases

Dimitri Van Heesch <[email protected]>
Newsgroups gmane.text.doxygen.devel
Message-ID <[email protected]>
On 31 jul 2009, at 11:41, John Tapsell wrote:

> Hey all,
>
>  At the moment you can't use cond inside an alias, like:
>
> ALIASES = foodev="\cond FooDev" \
>          endfoodev="\endcond"
>
> (http://bugzilla.gnome.org/show_bug.cgi?id=485773)
>
> Does anyone know of a work around?
>
> Can anyone give a hint how I could fix this bug in doxygen?

The problem is that both the ALIASES resolution and the processing of  
\cond..\endcond
section's are done in the same pass, in src/commentcnv.l.

To do this properly a two-pass approach would be needed.
First the ALIASES need to be resolved and then the \cond sections
need to be processed.

Alternatively, some special treatment could be given to
expanded aliases with \cond or \endcond commands.

Regards,
   Dimitri


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.