mojoshader_internal.h
changeset 630 e6bd53dd1f91
parent 625 bfb4016d9404
child 635 be3b428802a1
equal deleted inserted replaced
629:d886403c6609 630:e6bd53dd1f91
    17 #include <stdarg.h>
    17 #include <stdarg.h>
    18 #include <assert.h>
    18 #include <assert.h>
    19 
    19 
    20 #include "mojoshader.h"
    20 #include "mojoshader.h"
    21 
    21 
       
    22 #define DEBUG_LEXER 0
    22 #define DEBUG_PREPROCESSOR 0
    23 #define DEBUG_PREPROCESSOR 0
    23 #define DEBUG_ASSEMBLY_PARSER 0
    24 #define DEBUG_ASSEMBLY_PARSER 0
    24 #define DEBUG_TOKENIZER ((DEBUG_PREPROCESSOR) || (DEBUG_ASSEMBLY_PARSER))
    25 #define DEBUG_TOKENIZER \
       
    26     (DEBUG_PREPROCESSOR || DEBUG_ASSEMBLY_PARSER || DEBUG_LEXER)
    25 
    27 
    26 #if (defined(__APPLE__) && defined(__MACH__))
    28 #if (defined(__APPLE__) && defined(__MACH__))
    27 #define PLATFORM_MACOSX 1
    29 #define PLATFORM_MACOSX 1
    28 #endif
    30 #endif
    29 
    31