mojoshader_assembler.c
changeset 571 f8f81d832fa0
parent 570 af6bb8728f9e
child 572 cdc8bb82f7d2
--- a/mojoshader_assembler.c	Thu Feb 12 01:28:06 2009 -0500
+++ b/mojoshader_assembler.c	Thu Feb 12 01:31:17 2009 -0500
@@ -10,7 +10,7 @@
 #define __MOJOSHADER_INTERNAL__ 1
 #include "mojoshader_internal.h"
 
-#define DEBUG_ASSEMBLY_PARSER 1
+#define DEBUG_ASSEMBLY_PARSER 0
 
 // Simple linked list to cache source filenames, so we don't have to copy
 //  the same string over and over for each opcode.
@@ -225,7 +225,9 @@
 
 
 // !!! FIXME: cut-and-paste from preprocessor.
-#if DEBUG_ASSEMBLY_PARSER
+#if !DEBUG_ASSEMBLY_PARSER
+#define print_debug_token(ctx)
+#else
 static void print_debug_token(Context *ctx)
 {
     printf("ASSEMBLER TOKEN: \"");