mojoshader_lexer.re
changeset 584 9aea8877564d
parent 564 c669568326fb
child 594 de6f8df3b4fe
--- a/mojoshader_lexer.re	Thu Feb 12 02:55:45 2009 -0500
+++ b/mojoshader_lexer.re	Thu Feb 12 13:54:01 2009 -0500
@@ -82,7 +82,18 @@
     (["] (ESC|any\[\n\\"])* ["])
                     { RET(TOKEN_STRING_LITERAL); }
     
-    "..."           { RET(TOKEN_ELLIPSIS); }
+    ">>="           { RET(TOKEN_RSHIFTASSIGN); }
+    "<<="           { RET(TOKEN_LSHIFTASSIGN); }
+    "+="            { RET(TOKEN_ADDASSIGN); }
+    "-="            { RET(TOKEN_SUBASSIGN); }
+    "*="            { RET(TOKEN_MULTASSIGN); }
+    "/="            { RET(TOKEN_DIVASSIGN); }
+    "%="            { RET(TOKEN_MODASSIGN); }
+    "^="            { RET(TOKEN_XORASSIGN); }
+    "&="            { RET(TOKEN_ANDASSIGN); }
+    "|="            { RET(TOKEN_ORASSIGN); }
+    "++"            { RET(TOKEN_INCREMENT); }
+    "--"            { RET(TOKEN_DECREMENT); }
     ">>"            { RET(TOKEN_RSHIFT); }
     "<<"            { RET(TOKEN_LSHIFT); }
     "&&"            { RET(TOKEN_ANDAND); }