From f279a29464641a5bd3e71936204cae692142a2df Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Mon, 23 Feb 2009 16:56:28 -0500 Subject: [PATCH] Made this into debug output. --- mojoshader_preprocessor.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/mojoshader_preprocessor.c b/mojoshader_preprocessor.c index 510b4959..dd3903ed 100644 --- a/mojoshader_preprocessor.c +++ b/mojoshader_preprocessor.c @@ -1434,7 +1434,8 @@ static int reduce_pp_expression(Context *ctx) #undef PUSH_TO_STACK // okay, you now have some validated data in reverse polish notation. - printf("RPN:"); + #if DEBUG_PREPROCESSOR + printf("EXPRESSION RPN:"); int i = 0; for (i = 0; i < outputsize; i++) { @@ -1459,6 +1460,8 @@ static int reduce_pp_expression(Context *ctx) } // else } // for printf("\n"); + #endif + return 1; } // reduce_pp_expression