1PASCAL_PRE_PROC(1) User commands PASCAL_PRE_PROC(1)
2
3
4
6 pascal_pre_proc - Pascal preprocessor based on the PasDoc parser
7
9 pascal_pre_proc [OPTIONS] FILE
10
12 pascal_pre_proc is a Pascal preprocessor based on the parser used by
13 the PasDoc documentation generator. When run, it will parse FILE, in‐
14 terpreting all compiler directives - like {$DEFINE}, {$IDEF}, {$IN‐
15 CLUDE}, as well as FPC macros - and print the result on standard out‐
16 put.
17
19 -?, --help
20 Display a help message and exit.
21
22 -v, --verbosity LEVEL
23 Set logging verbosity. LEVEL must be an integer in the 0-6
24 range. The default is 2.
25
26 -D, --define SYMBOL
27 Assume SYMBOL is defined when parsing conditional blocks.
28
29 -d, --conditionals CONDFILE
30 Similar to -D. Reads the list of symbols from CONDFILE.
31
32 -I, --include PATH
33 Search in PATH when evaluating {$INCLUDE} directives.
34
35 --no-macro
36 Disable support for FPC macros.
37
39 file_to_pascal_data(1), file_to_pascal_string(1), pasdoc(1)
40
41
42
43 2021-09-22 PASCAL_PRE_PROC(1)