mojoshader_compiler.c
changeset 731 a3ce99bdc376
parent 730 d4fe68d04624
child 778 a43d07e5da68
--- a/mojoshader_compiler.c	Sat Apr 04 02:09:48 2009 -0400
+++ b/mojoshader_compiler.c	Sat Apr 04 02:10:43 2009 -0400
@@ -50,7 +50,7 @@
 } // is_semantic
 
 
-static int ConvertToLemonToken(const Context *ctx)
+static int convert_to_lemon_token(const Context *ctx)
 {
     switch (ctx->tokenval)
     {
@@ -302,7 +302,7 @@
     } // switch
 
     return 0;
-}
+} // convert_to_lemon_token
 
 
 void MOJOSHADER_compile(const char *filename,
@@ -331,7 +331,7 @@
         ctx.token = preprocessor_nexttoken(ctx.preprocessor,
                                                 &ctx.tokenlen,
                                                 &ctx.tokenval);
-        ParseHLSL(pParser, ConvertToLemonToken(&ctx), 0, 0);
+        ParseHLSL(pParser, convert_to_lemon_token(&ctx), 0, 0);
     } while (ctx.tokenval != TOKEN_EOI);
     ParseHLSLFree(pParser, f, d);
 }