A
Alex Sedow
Where to get/buy tool for partial preprocessing?
1. What I mean by partial macro preprocessing. This is mode in which almost
sources (>99%) is not preprocessed. But some macros (setted by options) will
be "executed". This feature maybe used for:
a) exclude some (nonpublic, temple or test) parts of source code.
b) simplify source code (remove unused macros, replace some macros to better
undestanding).
Example (PRIVATE macro executed, all other not executed):
Source code:
#define PRIVATE 0
#define TESTING 0
#if PRIVATE
verify_registration_code();
#endif
#if PRIVATE || TESTING
self_test();
#endif
Source code after partial preprocessing:
#define TESTING 0
#if 0 || TESTING
self_test();
#endif
Alex.
1. What I mean by partial macro preprocessing. This is mode in which almost
sources (>99%) is not preprocessed. But some macros (setted by options) will
be "executed". This feature maybe used for:
a) exclude some (nonpublic, temple or test) parts of source code.
b) simplify source code (remove unused macros, replace some macros to better
undestanding).
Example (PRIVATE macro executed, all other not executed):
Source code:
#define PRIVATE 0
#define TESTING 0
#if PRIVATE
verify_registration_code();
#endif
#if PRIVATE || TESTING
self_test();
#endif
Source code after partial preprocessing:
#define TESTING 0
#if 0 || TESTING
self_test();
#endif
Alex.