hschumann2/TempleOS-Source-Code
0838
1 2 PreProcessor3 4There is no separate preprocessor pass. The parser front-end calls Lex() which5has the preprocessor built-in. The compiler looks ahead a token, most of the6time, so you might throw an extra semicolon after a directive if it's not taking7affect right away.8 9Put an extra semicolon #exe {Cd("DirName");;} in case a #include follows.10 11#include "" There is no angle bracket <> form of this directive.12#exe {} Will execute code at compile-time and can be used to insert code13into the stream being compiled using StreamPrint().14#define Define string const15#assert Print a warning during compilation if an expression is not true.16#if Include code if an expresion is true.17#else18#endif19#ifdef,#ifndef Include code if a sym is defined.20#ifaot,#ifjit Include code if in AOT compiler mode.21defined() Is a function that can be used in expressions.22#help_index, #help_file See Help System.23 24See PreProcessor.25 