mojoshader_preprocessor.c
changeset 692 08a5fca606ff
parent 690 4710df464f13
child 693 0cdfff18820c
equal deleted inserted replaced
691:47efe0f000ab 692:08a5fca606ff
  1792 
  1792 
  1793         assert(!skipping);
  1793         assert(!skipping);
  1794         *_token = token;
  1794         *_token = token;
  1795         *_len = state->tokenlen;
  1795         *_len = state->tokenlen;
  1796         return state->token;
  1796         return state->token;
  1797 
       
  1798         // !!! FIXME: check for ((Token) '\n'), so we know if a preprocessor
       
  1799         // !!! FIXME:  directive started a line.
       
  1800     } // while
  1797     } // while
  1801 
  1798 
  1802     assert(0 && "shouldn't hit this code");
  1799     assert(0 && "shouldn't hit this code");
  1803     *_token = TOKEN_UNKNOWN;
  1800     *_token = TOKEN_UNKNOWN;
  1804     *_len = 0;
  1801     *_len = 0;