SPC
Version 0.9.5
|
SPC also includes a preprocessor that is modeled after the Standard C preprocessor.
The C preprocessor processes a source code file before the compiler does. It handles such tasks as including code from other files, conditionally including or excluding blocks of code, stripping comments, defining simple and parameterized macros, and expanding macros wherever they are encountered in the source code.
The SPC preprocessor implements the following standard preprocessor directives: #include, #define, #ifdef, #ifndef, #endif, #if, #elif, #undef, ##, #line, #error, and #pragma. Its implementation is close to a standard C preprocessor's, so most preprocessor directives should work as C programmers expect in SPC. Any significant deviations are explained below.