Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Made this into debug output.
  • Loading branch information
icculus committed Feb 23, 2009
1 parent 20e6167 commit f279a29
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion mojoshader_preprocessor.c
Expand Up @@ -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++)
{
Expand All @@ -1459,6 +1460,8 @@ static int reduce_pp_expression(Context *ctx)
} // else
} // for
printf("\n");
#endif

return 1;
} // reduce_pp_expression

Expand Down

0 comments on commit f279a29

Please sign in to comment.