After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 704172 - Nested Aliases fail when the nested alias has two or more arguments.
Nested Aliases fail when the nested alias has two or more arguments.
Status: RESOLVED FIXED
Product: doxygen
Classification: Other
Component: general
1.8.4
Other Mac OS
: Normal normal
: ---
Assigned To: Dimitri van Heesch
Dimitri van Heesch
Depends on:
Blocks:
 
 
Reported: 2013-07-13 20:58 UTC by Mark Cianciosa
Modified: 2013-10-28 07:25 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Mark Cianciosa 2013-07-13 20:58:11 UTC
When attempting to nest one alias with multiple arguments inside a second alias with multiple arguments, doxygen miss counts the number of arguments in the outer alias.

The following example shows this behavior.

/** @mainpage
 *  @alias1{test1, test2, @alias2{test3, test4}}
 */

Produced with config

ALIASES  = alias1{3}="\section \1, \2\n<table>\3</table>"
ALIASES += alias2{2}="<tr><td>\1</td><td>\2</td></tr>"


See Also:
http://stackoverflow.com/questions/17516008/passing-alias-as-the-argument-to-another-alias-in-doxygen
Comment 1 Dimitri van Heesch 2013-08-03 17:41:24 UTC
Confirmed. Should be fixed in the next GIT update.
Comment 2 Dimitri van Heesch 2013-08-23 15:04:29 UTC
This bug was previously marked ASSIGNED, which means it should be fixed in
doxygen version 1.8.5. Please verify if this is indeed the case. Reopen the
bug if you think it is not fixed and please include any additional information
that you think can be relevant.
Comment 3 Tom Ghyselinck 2013-10-28 07:25:28 UTC
Hi, I am currently using the latest release 1.8.5 of doxygen for TCL and C/C++.

This issue still seems to be happening:

When defining:

    ALIASES                += apitest{2}="ARG0: \1 ARG1: \2"

The following code

    /**
     * \mainpage
     * \apitest{A, B \apitest{C, D}}
     */

ends up in

    ARG0: A ARG1: B {C, D}

I tried various combinations of escaping '{', ',' and '}'
Always leading to similar output.

Can you verify this, it is getting a very urgent issue for us.