Skip to content

ALIAS for @endcode fails with warning: reached end of file while inside a 'code' block! The command that should end the block seems to be missing! #10676

@scott-zhong

Description

@scott-zhong

ALIAS for @endcode fails with warning: reached end of file while inside a 'code' block! The command that should end the block seems to be missing! on trunk (6822b2f*). Does not fail with 1.10.0.

/**
 * \starttest
 * Something
 * \endtest
 *
 */
class Test
{
};

with configurations

# Difference with default Doxyfile 1.11.0 (6822b2f151227e144f699990929afe6dbf667fee*)
ALIASES                = "starttest=\par testing ^^\code" \
                         endtest=\endcode

produces warning

test.h:10: warning: reached end of file while inside a 'code' block! The command that should end the block seems to be missing!

testcase:

testcase.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions