fpdoc ignores ostarget
Original Reporter info from Mantis: Simon Ameis @SAmeis
-
Reporter name: Simon Ameis
Original Reporter info from Mantis: Simon Ameis @SAmeis
- Reporter name: Simon Ameis
Description:
The command line parameter ostarget is passed to the parser in mkfpdoc.pp line 277. However the parser ignores this as the option poSkipDefaultDefs is set.
Thus conditions in unit interface secion are skipped at all when generating the documentation.
Additional information:
The appended patch removes the option poSkipDefaultDefs,. so the ostarget switch is actually used. The most usefull solution would be to parse everything without interpreting the defines, OS or CPU target and add them as comment in the generated documentation.
Mantis conversion info:
- Mantis ID: 37126
- Build: 40925
- Version: 3.3.1
- Fixed in version: 3.3.1
- Fixed in revision: 45453 (#a409f63a)
- Target version: 3.2.0