Closed Y-Less closed 2 years ago
I found a bad work-around:
#if 0
/** hello */
#else
static stock IGNORE_THIS_DOCUMENTATION() {}
#endif
/** world */
main()
{
}
The hello
comment still ends up in the XML file, but it is now attached to a function and can be moved around.
#if 0
/** hello */
#else
const IGNORE_THIS_DOCUMENTATION = 0;
#endif
/** world */
main()
{
}
That completely removes it.
This issue has been automatically marked as stale because it has not had recent activity.
Duplicate of #186
Issue description:
Comments seem to ignore
#if
. While this seems like it shouldn't matter, it does when compiling documentation (pawndoc) comments with-r
.Minimal complete verifiable example (MCVE):
That will give the following output when compiled with
-r
:Obviously the
hello
is present, when it shouldn't be.Workspace Information:
Windows 3.10.11 (HEAD)