Skip to main content

Module preprocess

Module preprocess 

Source
Expand description

Config preprocessing (macros, includes, conditionals). Functions for preprocessing Arma configs and scripts

Structs§

IncludeFolders
The folders searched for absolute includes (#include "\DZ\data\x.hpp").
MemoryIncludes
The files of one archive (a PBO) as an include source, for input that must never reach the file system.
PreprocessInfo
Struct for additional information about preprocessor output. Contains import stack used for loop detection and the origins of all the lines in the output.

Functions§

preprocess
Reads input string and returns preprocessed string with an info struct containing the origins of the lines in the output.
preprocess_in
Like preprocess, with the include folders given as an IncludeFolders, so that some of them can be checked directly instead of searched recursively.