mojoshader_lexer.re
changeset 798 5dd67cc04cf9
parent 697 765a85a989a2
child 865 4eb06464212d
--- a/mojoshader_lexer.re	Sun Nov 15 14:01:41 2009 -0500
+++ b/mojoshader_lexer.re	Sun Nov 15 14:02:18 2009 -0500
@@ -25,7 +25,7 @@
 typedef unsigned char uchar;
 
 /*!max:re2c */
-#define RET(t) do { return update_state(s, eoi, cursor, token, t); } while (0)
+#define RET(t) return update_state(s, eoi, cursor, token, (Token) t)
 #define YYCTYPE uchar
 #define YYCURSOR cursor
 #define YYLIMIT limit