mojoshader_lexer.re
changeset 584 9aea8877564d
parent 564 c669568326fb
child 594 de6f8df3b4fe
equal deleted inserted replaced
583:9c966b751fd6 584:9aea8877564d
    80                     { RET(TOKEN_FLOAT_LITERAL); }
    80                     { RET(TOKEN_FLOAT_LITERAL); }
    81     
    81     
    82     (["] (ESC|any\[\n\\"])* ["])
    82     (["] (ESC|any\[\n\\"])* ["])
    83                     { RET(TOKEN_STRING_LITERAL); }
    83                     { RET(TOKEN_STRING_LITERAL); }
    84     
    84     
    85     "..."           { RET(TOKEN_ELLIPSIS); }
    85     ">>="           { RET(TOKEN_RSHIFTASSIGN); }
       
    86     "<<="           { RET(TOKEN_LSHIFTASSIGN); }
       
    87     "+="            { RET(TOKEN_ADDASSIGN); }
       
    88     "-="            { RET(TOKEN_SUBASSIGN); }
       
    89     "*="            { RET(TOKEN_MULTASSIGN); }
       
    90     "/="            { RET(TOKEN_DIVASSIGN); }
       
    91     "%="            { RET(TOKEN_MODASSIGN); }
       
    92     "^="            { RET(TOKEN_XORASSIGN); }
       
    93     "&="            { RET(TOKEN_ANDASSIGN); }
       
    94     "|="            { RET(TOKEN_ORASSIGN); }
       
    95     "++"            { RET(TOKEN_INCREMENT); }
       
    96     "--"            { RET(TOKEN_DECREMENT); }
    86     ">>"            { RET(TOKEN_RSHIFT); }
    97     ">>"            { RET(TOKEN_RSHIFT); }
    87     "<<"            { RET(TOKEN_LSHIFT); }
    98     "<<"            { RET(TOKEN_LSHIFT); }
    88     "&&"            { RET(TOKEN_ANDAND); }
    99     "&&"            { RET(TOKEN_ANDAND); }
    89     "||"            { RET(TOKEN_OROR); }
   100     "||"            { RET(TOKEN_OROR); }
    90     "<="            { RET(TOKEN_LEQ); }
   101     "<="            { RET(TOKEN_LEQ); }