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
21
22       #if symbol
23              The text following this  directive  is  included  if  symbol  is
24              defined.
25
26       #ifdef symbol
27              The  text  following  this  directive  is  included if symbol is
28              defined.
29
30       #ifndef symbol
31              The text following this directive is included if symbol  is  not
32              defined.
33
34       #include filename
35              Include  directives are removed, unless the -I option was given,
36              in which case the include file is included and  written  to  the
37              output file.
38
39       #undef symbol
40              The symbol symbol is undefined.
41
42

USAGE

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

OPTIONS

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

SEE ALSO

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