mojoshader_lexer.c
changeset 799 38370fa657fb
parent 697 765a85a989a2
child 866 3fc643a4f742
--- a/mojoshader_lexer.c	Sun Nov 15 14:02:18 2009 -0500
+++ b/mojoshader_lexer.c	Sun Nov 15 14:03:46 2009 -0500
@@ -26,7 +26,7 @@
 typedef unsigned char uchar;
 
 #define YYMAXFILL 8
-#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