-Lp: Preprocessor Output

Group

OUTPUT

Scope

Compilation Unit

Syntax
  -Lp[=<filename>] 
  
Arguments

<filename>: The name of the file to be generated.

It may contain special modifiers (refer Using Special Modifiers).

Default

No file created

Defines

None

Pragmas

None

Description

Using the -Lp option, the Compiler generates a text file containing the preprocessor's output. If no filename is specified, the text file shares the same name as the source file but with the extension, * .PRE ( %n.pre). The Compiler uses the TEXTPATH environment variable to store the preprocessor file.

The resultant file is a form of the source file, with all preprocessor commands (such as #include, #define, and #ifdef) resolved. Only source code is listed with line numbers.

See also

-LpX: Stop after Preprocessor

-LpCfg: Preprocessor Output Configuration