1h2paspp(1)                    h2pas preprocessor                    h2paspp(1)
2
3
4

NAME

6       h2paspp - Free Pascal h2pas preprocessor program.
7
8

SYNOPSIS

10       h2paspp [-doih] file1 ... filen
11
12

DESCRIPTION

14       h2paspp reads one or more C header files and preprocesses them, writing
15       the result to files with the same name as  the  originals  as  it  goes
16       along.  It does not accept all preprocesser tokens of C, but takes care
17       of the following preprocessor directives:
18
19       #define symbol
20              Defines the new symbol symbol. Note that  macros  are  not  sup‐
21              ported.
22
23       #if symbol
24              The  text  following  this  directive  is  included if symbol is
25              defined.
26
27       #ifdef symbol
28              The text following this  directive  is  included  if  symbol  is
29              defined.
30
31       #ifndef symbol
32              The  text  following this directive is included if symbol is not
33              defined.
34
35       #include filename
36              Include directives are removed, unless the -I option was  given,
37              in  which  case  the include file is included and written to the
38              output file.
39
40       #undef symbol
41              The symbol symbol is undefined.
42
43

USAGE

45       h2paspp accepts one or more filenames and preprocesses  them.  It  will
46       read  the  input,  and write output to a file with the same name unless
47       the -o option is given, in which case the file is written to the speci‐
48       fied file.  Note that only one output filename can be given.
49
50
51

OPTIONS

53       h2paspp has a small number of options to control its behaviour:
54
55
56       -dsymbol
57              Define the symbol symbol before processing is started.
58
59       -h     emit a small helptext.
60
61       -ooutfile
62              If  this  option  is given, the output will be written to a file
63              named outfile. Note that only one output file can be given.
64
65

SEE ALSO

67              ppc386(1) h2pas(1) cpp(1)
68
69
70
71
72Free Pascal                    12 November 2004                     h2paspp(1)
Impressum