sheepy

build system (sheepy) and package manager (spm) for C
git clone https://spartatek.se/git/sheepy.git
Log | Files | Refs | README | LICENSE

single.i (1163B)


      1 /* This file does:
      2  *
      3  * (1) QUEX_OPTION_MULTI is defined => Do nothing!
      4  *
      5  * (2) Is is not defined => 'single analyzer mode'. That is, the application
      6  *     is only linked to one quex-generated analyzer.
      7  * 
      8  * There are parts of the code which are the same for all quex-generated 
      9  * analyzers. Those are included with the analyzer engine, if the engine is 
     10  * the only one generated by quex. They are included manually by the user
     11  * if there are multiple engines.
     12  *
     13  * Single mode: 'quex/code_base/Single.i' is included along with the generated
     14  *              engine.
     15  *              QUEX_OPTION_MULTI is NOT defined.
     16  *
     17  * Multiple analyzer mode: The user includes 'quex/code_base/multi.i' in one of
     18  *                         his files.
     19  *              QUEX_OPTION_MULTI IS defined.
     20  *
     21  * (C) Frank-Rene Schaefer                                                   */
     22 
     23 #if ! defined(QUEX_OPTION_MULTI)
     24 #ifndef __QUEX_INCLUDE_GUARD__SINGLE_I
     25 #define __QUEX_INCLUDE_GUARD__SINGLE_I
     26 #   define  QUEX_OPTION_MULTI_ALLOW_IMPLEMENTATION
     27 #   include "multi.i"
     28 #   undef   QUEX_OPTION_MULTI_ALLOW_IMPLEMENTATION
     29 #endif /* __QUEX_INCLUDE_GUARD__SINGLE_I */
     30 #endif