Menu

#80 defines containing _

0.12.1
closed
None
5
2012-11-14
2012-11-14
No

You can define defines for pasdoc with the -D option, but that does not seem to work with defines containing a _

(with PasDoc 0.11.0 [2008-06-22|FPC 2.2.0|Linux|32] )

Discussion

  • Michalis Kamburelis

    Testing with latest SVN version, everything seems to work fine.

    I have this unit:

    unit a;
    interface
    {$ifdef MY_DEFINE} procedure Correct; {$endif}
    implementation
    end.
    

    And generating docs with this command:

    pasdoc -DMY_DEFINE a.pas
    

    and the output is correct (contains the "Correct" procedure).

    Please upgrade to the latest pasdoc version, as version 0.11.0 is quite old. The latest released version is 0.12.1, available from https://sourceforge.net/projects/pasdoc/files/ . You can also get the development snapshots, see http://pasdoc.sipsolutions.net/DevelopmentSnapshots .

    If you still have this problem, please reopen this issue and describe in more detail how to reproduce the problem. For me it works fine :) Thanks.

     
  • Michalis Kamburelis

    • status: open --> closed
    • assigned_to: Michalis Kamburelis
     

Log in to post a comment.