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] )
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.
Log in to post a comment.
Testing with latest SVN version, everything seems to work fine.
I have this unit:
And generating docs with this command:
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.