Michalis Kamburelis edited this page Jan 7, 2017 · 3 revisions

CommandLine option --no-macro tells pasdoc to not handle macros. In PasDocGui you can uncheck the box Recognize FPC macros syntax when parsing.

Macros are supported by FPC and look like

{$define MY_CONST := 3 + 1}
const Four = MY_CONST;

By default, macro support is turned on in pasdoc. Even if you don’t use FPC macros in your sources, there’s extremely small chance that you will ever need to use this option to turn macro support off. You really need to turn macro support off only if you write some strange things like

{$define MY_CONST := 3 + 1}

and you expect that your compiler (Delphi, FPC) will ignore the ":= 3 + 1_" part_ (and treat the directive as equivalent to simple {$define MY_CONST} ).

PasDoc, documentation generator for Pascal:
Supported Tags:
Command Line:
Developers pages:
Clone this wiki locally
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.