|
From: Michalis K. <mic...@gm...> - 2015-01-03 22:59:18
|
Hi, I just committed a small improvement to PasDoc:full parsing and showing of deprecated 'followed by a string' declarations. This is useful to document *why* some identifier is deprecated, it's understood both by compilers (FPC, Delphi since 2010) and now by PasDoc too :) Previously, there was a code to skip it (but only in certain situations, for procedures/functions --- but not e.g. for classes). Now it is actually understood by PasDoc (read to TPasItem.DeprecatedNote), for all cases, and shown in the output documentation (HTML and LaTeX). It even works for tricky cases like procedure MyProc3; deprecated #72#$6 'llo'; // this says 'Hello' Tests are welcome of course :) My testcase is in SVN in tests/ok_deprecated_directive_note.pas, see http://svn.code.sf.net/p/pasdoc/code/trunk/tests/ok_deprecated_directive_note.pas . Regards and happy coding in the new year! :) Michalis |