mojoshader_preprocessor.c
changeset 559 d34ac77da171
parent 558 314c86ff14dd
child 560 225d579ae929
equal deleted inserted replaced
558:314c86ff14dd 559:d34ac77da171
   331 
   331 
   332     while (1)
   332     while (1)
   333     {
   333     {
   334         IncludeState *state = ctx->include_stack;
   334         IncludeState *state = ctx->include_stack;
   335         if (state == NULL)
   335         if (state == NULL)
       
   336         {
       
   337             *_token = TOKEN_EOI;
       
   338             *_len = 0;
   336             return NULL;  // we're done!
   339             return NULL;  // we're done!
       
   340         } // if
   337 
   341 
   338         if (state->insert_token != TOKEN_UNKNOWN)
   342         if (state->insert_token != TOKEN_UNKNOWN)
   339         {
   343         {
   340             state->insert_tokchar = (char) state->insert_token;
   344             state->insert_tokchar = (char) state->insert_token;
   341             *_token = state->insert_token;
   345             *_token = state->insert_token;