Corrected function name coding style.
authorRyan C. Gordon <icculus@icculus.org>
Sat, 04 Apr 2009 02:10:43 -0400
changeset 731 a3ce99bdc376
parent 730 d4fe68d04624
child 732 e070fea1f8c7
Corrected function name coding style.
mojoshader_compiler.c
--- 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);
 }