mojoshader_preprocessor.c
changeset 605 197c9f2999b7
parent 604 c08b6b14994a
child 606 63e7a66ac320
equal deleted inserted replaced
604:c08b6b14994a 605:197c9f2999b7
   413             *_token = TOKEN_EOI;
   413             *_token = TOKEN_EOI;
   414             *_len = 0;
   414             *_len = 0;
   415             return NULL;  // we're done!
   415             return NULL;  // we're done!
   416         } // if
   416         } // if
   417 
   417 
       
   418         // !!! FIXME: todo.
       
   419         // TOKEN_PP_INCLUDE,
       
   420         // TOKEN_PP_LINE,
       
   421         // TOKEN_PP_DEFINE,
       
   422         // TOKEN_PP_UNDEF,
       
   423         // TOKEN_PP_IF,
       
   424         // TOKEN_PP_IFDEF,
       
   425         // TOKEN_PP_IFNDEF,
       
   426         // TOKEN_PP_ELSE,
       
   427         // TOKEN_PP_ELIF,
       
   428         // TOKEN_PP_ENDIF,
       
   429         // TOKEN_PP_ERROR,
       
   430 
   418         Token token = preprocessor_internal_lexer(state);
   431         Token token = preprocessor_internal_lexer(state);
   419         if (token == TOKEN_EOI)
   432         if (token == TOKEN_EOI)
   420         {
   433         {
   421             assert(state->bytes_left == 0);
   434             assert(state->bytes_left == 0);
   422             pop_source(ctx);
   435             pop_source(ctx);