Skip to content

Nested Aliases fail when the nested alias has two or more arguments. (Origin: bugzilla #704172) #5239

@doxygen

Description

@doxygen

status RESOLVED severity normal in component general for ---
Reported in version 1.8.4 on platform Other
Assigned to: Dimitri van Heesch

On 2013-07-13 20:58:11 +0000, Mark Cianciosa wrote:

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

Produced with config

ALIASES = alias1{3}="\section \1, \2\n

\3
"
ALIASES += alias2{2}="\1\2"

See Also:
http://stackoverflow.com/questions/17516008/passing-alias-as-the-argument-to-another-alias-in-doxygen

On 2013-08-03 17:41:24 +0000, Dimitri van Heesch wrote:

Confirmed. Should be fixed in the next GIT update.

On 2013-08-23 15:04:29 +0000, Dimitri van Heesch wrote:

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.

On 2013-10-28 07:25:28 +0000, Tom Ghyselinck wrote:

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions