mojoshader_lexer.re
changeset 601 bb1484be4e1b
parent 597 832dbfa63509
child 616 9f087be64555
--- a/mojoshader_lexer.re	Fri Feb 13 00:37:26 2009 -0500
+++ b/mojoshader_lexer.re	Fri Feb 13 01:08:50 2009 -0500
@@ -151,7 +151,7 @@
 
 multilinecomment:
     if (YYLIMIT == YYCURSOR)
-        RET(TOKEN_PP_INCOMPLETE_COMMENT);
+        RET(TOKEN_INCOMPLETE_COMMENT);
     matchptr = cursor;
 // The "*\/" is just to avoid screwing up text editor syntax highlighting.
 /*!re2c
@@ -180,10 +180,10 @@
 
 bad_chars:
     if (YYLIMIT == YYCURSOR)
-        RET(TOKEN_PP_BAD_CHARS);
+        RET(TOKEN_BAD_CHARS);
 
 /*!re2c
-    ANYLEGAL        { cursor--; RET(TOKEN_PP_BAD_CHARS); }
+    ANYLEGAL        { cursor--; RET(TOKEN_BAD_CHARS); }
     ANY             { goto bad_chars; }
 */