GNOME Bugzilla – Bug 699381
Strange error message when having sole end tag for H4, H5 and H6
Last modified: 2013-05-20 14:09:10 UTC
When having the following C code: /// @file /// @brief test for sole end tag of h4 / h5 / h6 /// <h1> text in H1 formaat</h1> /// <h2> text in H2 formaat</h2> /// <h3> text in H3 formaat</h3> /// <h4> text in H4 formaat</h4> /// <h5> text in H5 formaat</h5> /// <h6> text in H6 formaat</h6> /// sole end h1 </h1><br> /// sole end h2 </h2><br> /// sole end h3 </h3><br> /// sole end h4 </h4><br> /// sole end h5 </h5><br> /// sole end h6 </h6><br> /// @brief document a void a(void) { } We get the (error) messages: D:/speeltuin/bug_h4/aa.c:8: warning: Unexpected tag </h1> found D:/speeltuin/bug_h4/aa.c:9: warning: Unexpected tag </h2> found D:/speeltuin/bug_h4/aa.c:10: warning: Unexpected tag </h3> 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)
Created attachment 242993 [details] [review] 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)
Thanks, I'll include the patch in the next subversion update.
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.
Works as expected