mojoshader_lexer.re
changeset 697 765a85a989a2
parent 690 4710df464f13
child 798 5dd67cc04cf9
equal deleted inserted replaced
696:c9e03dc63eb8 697:765a85a989a2
   210         PP "else"       { RET(TOKEN_PP_ELSE); }
   210         PP "else"       { RET(TOKEN_PP_ELSE); }
   211         PP "elif"       { RET(TOKEN_PP_ELIF); }
   211         PP "elif"       { RET(TOKEN_PP_ELIF); }
   212         PP "endif"      { RET(TOKEN_PP_ENDIF); }
   212         PP "endif"      { RET(TOKEN_PP_ENDIF); }
   213         PP "error"      { RET(TOKEN_PP_ERROR); }
   213         PP "error"      { RET(TOKEN_PP_ERROR); }
   214         WHITESPACE      { goto ppdirective; }
   214         WHITESPACE      { goto ppdirective; }
   215         ANY             { cursor=(const uchar*)s->source; goto scanner_loop; }
   215 
       
   216         ANY             {
       
   217                             token = cursor = (const uchar *) s->source;
       
   218                             limit = cursor + s->bytes_left;
       
   219                             goto scanner_loop;
       
   220                         }
   216 */
   221 */
   217 
   222 
   218 bad_chars:
   223 bad_chars:
   219     if (YYLIMIT == YYCURSOR) YYFILL(1);
   224     if (YYLIMIT == YYCURSOR) YYFILL(1);
   220 /*!re2c
   225 /*!re2c