PAWN documentation comments not working (xml file)
#1

Please only try and help if you really know what the PAWN documentation comments are.

I've never used the PAWN documentation comments before, and want to start, but I can't get them to work at all.

I have this test file with a documented function:

pawn Код:
#include <a_samp>

/**--------------------------------------------------------------------------**\
<summary>Test</summary>
<param name="num">The number to print.</param>
<returns>
    -
</returns>
<remarks>
    Just a test.
</remarks>
\**--------------------------------------------------------------------------**/

Test(num)
{
    printf("%i", num);
}

main()
{
    Test(69);
}
The comments are taken directly from a YSI file and changed, so I know the problem isn't there (with how the comments are written).

The .xml file gets generated, but when I view it in Chrome, it's blank... The .xls file is in the right place also (in pawno\xml). It's also missing some information, such as the <remarks>..

Here's the generated xml file: http://pastebin.com/htzPCdXq (line 837)
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)