Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Force 4.0 Reference - -fp generate preprocessor file http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 -Fp                 Generate preprocessor file
------------------------------------------------------------------------------
 Syntax
   -Fp

 Arguments
   None.

 Default
   No preprocessor output.

 Description
   The -Fp switch instructs the compiler to emit a Force Preprocessor
   Output file, with the same base name as the source file but with a
   .fpo extension. The .fpo file contains a variant of the input source
   code with the following changes:

   - comments are removed
   - leading spaces are removed
   - preprocessor directives are removed
   - #included files are inserted
   - macros are expanded

   The .fpo file can be used to study the net result of actions by the
   compiler's internal preprocessor, like macro expansions.

   Note that the output lines in the .fpo files can be longer than the
   maximum displayable width of your editor.

 Example
   . Compile source and produce a preprocessor output file.
   
     force.exe -Fp test.prg
   
   . Compile source and disable producing preprocessor output file (override
     the effect of a -Fp switch in force.cfg).
   
     force.exe -Fp- test.prg

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson