8.5 h2paspp - preprocessor for h2pas

h2paspp can be used as a simple preprocessor for h2pas. It removes some of the constructs that h2pas has difficulties with. h2paspp reads one or more C header files and preprocesses them, writing the result to files with the same name as the originals as it goes along. It does not accept all preprocessed tokens of C, but takes care of the following preprocessor directives:

#define symbol
Defines the new symbol symbol. Note that macros are not supported.
#if symbol
The text following this directive is included if symbol is defined.
#ifdef symbol
The text following this directive is included if symbol is defined.
#ifndef symbol
The text following this directive is included if symbol is not defined.
#include filename
Include directives are removed, unless the -I option was given, in which case the include file is included and written to the output file.
#undef symbol
The symbol symbol is undefined.

  8.5.1 Usage
  8.5.2 Options