New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Strange error message when having sole end tag for H4, H5 and H6 (Origin: bugzilla #699381) #5157

Closed
doxygen opened this Issue Jul 2, 2018 · 0 comments

Comments

Projects
None yet
1 participant
@doxygen
Owner

doxygen commented Jul 2, 2018

status VERIFIED severity normal in component general for ---
Reported in version 1.8.3.1-SVN on platform Other
Assigned to: Dimitri van Heesch

Original attachment names and IDs:

On 2013-05-01 13:32:30 +0000, albert wrote:

When having the following C code:
/// @file
/// @brief test for sole end tag of h4 / h5 / h6
///

text in H1 formaat


///

text in H2 formaat


///

text in H3 formaat


///

text in H4 formaat


///
text in H5 formaat

///
text in H6 formaat

/// sole end h1

/// sole end h2

/// sole end h3

/// sole end h4

/// sole end h5

/// sole end h6

/// @brief document a
void a(void)
{
}

We get the (error) messages:
D:/speeltuin/bug_h4/aa.c:8: warning: Unexpected tag found
D:/speeltuin/bug_h4/aa.c:9: warning: Unexpected tag found
D:/speeltuin/bug_h4/aa.c:10: warning: Unexpected tag found
D:/speeltuin/bug_h4/aa.c:11: Unexpected end tag h4

ASSERT: "0" in ..\src\docparser.cpp (6260)
D:/speeltuin/bug_h4/aa.c:12: Unexpected end tag h5

ASSERT: "0" in ..\src\docparser.cpp (6260)
D:/speeltuin/bug_h4/aa.c:13: Unexpected end tag h6

ASSERT: "0" in ..\src\docparser.cpp (6260)

On 2013-05-01 13:37:55 +0000, albert wrote:

Created attachment 242993
PATCH: correctioon for sole end tag H4 H5 and H6

This patch corrects the error messages for the sole end tags of H4, H5 and H6.
In the file docparser.cpp it is noted:

default:
  // we should not get here!

So the corresponding cases have been added.
(problem was found during fixing bug 681733 regarding warn / error messages)

On 2013-05-01 18:47:05 +0000, Dimitri van Heesch wrote:

Thanks, I'll include the patch in the next subversion update.

On 2013-05-19 12:36:46 +0000, Dimitri van Heesch wrote:

This bug was previously marked ASSIGNED, which means it should be fixed in
doxygen version 1.8.4. 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-05-20 14:09:10 +0000, albert wrote:

Works as expected

@doxygen doxygen closed this Jul 19, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment