Skip to content

Commit

Permalink
Disabled assembly parser debug output, for now.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Feb 12, 2009
1 parent 5a6d201 commit 71e3dfe
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions mojoshader_assembler.c
Expand Up @@ -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.
Expand Down Expand Up @@ -225,7 +225,9 @@ static Token _nexttoken(Context *ctx)


// !!! 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: \"");
Expand Down

0 comments on commit 71e3dfe

Please sign in to comment.