Revision history for CompilerOptpp
Deletions:
- Since fbc 1.00.0
Additions:
{{fbdoc item="ver"}}
- Since fbc 1.00.0
- Since fbc 1.00.0
Revision [21977]
Edited on 2017-11-11 00:27:29 by fxm [Details the preprocessor commands impacted by the expansion]Additions:
The ##-pp## compiler option enables the preprocessor-only mode. The code is parsed & checked as usual, but is not compiled. For every input file <source>.bas passed to the compiler, a pre-processed version named <source>.pp.bas is generated.
Specifically, preprocessor commands such as conditional compilation (#if, #ifdef, #ifndef, etc.), text replacement (#define, #macro, etc.) and file inclusion (#include) are processed recursively, and the resulting expanded code is written to the pp.bas file.
Specifically, preprocessor commands such as conditional compilation (#if, #ifdef, #ifndef, etc.), text replacement (#define, #macro, etc.) and file inclusion (#include) are processed recursively, and the resulting expanded code is written to the pp.bas file.
Deletions:
Revision [21975]
Edited on 2017-11-09 07:58:50 by fxm [Changed link at page bottom to point to "Preprocessor commands"]Additions:
- [[CatPgPreProcess|Preprocessor commands]]
Deletions:
Revision [21974]
Edited on 2017-11-09 01:31:19 by fxm [Added a link to "Lexer & preprocessor" at page bottom]Additions:
- [[DevFbcLexer|Lexer & preprocessor]]
Additions:
- [[CompilerCmdLine|Using the Command Line]]