mojoshader_preprocessor.c
changeset 727 6978fac0fa31
parent 723 6d58b504cc6e
child 729 92cc053fbf75
equal deleted inserted replaced
726:9f58e2b0ed8a 727:6978fac0fa31
    28 #endif
    28 #endif
    29 
    29 
    30 #if DEBUG_TOKENIZER
    30 #if DEBUG_TOKENIZER
    31 static void print_debug_lexing_position(IncludeState *s)
    31 static void print_debug_lexing_position(IncludeState *s)
    32 {
    32 {
    33     printf("NOW LEXING %s:%d ...\n", s->filename, s->line);
    33     if (s != NULL)
       
    34         printf("NOW LEXING %s:%d ...\n", s->filename, s->line);
    34 } // print_debug_lexing_position
    35 } // print_debug_lexing_position
    35 #else
    36 #else
    36 #define print_debug_lexing_position(s)
    37 #define print_debug_lexing_position(s)
    37 #endif
    38 #endif
    38 
    39