mojoshader_assembler.c
changeset 495 93ede2fba3c6
parent 492 29bfa3448549
child 497 5b2465d40b57
--- a/mojoshader_assembler.c	Wed Dec 10 05:21:21 2008 -0500
+++ b/mojoshader_assembler.c	Wed Dec 10 05:21:32 2008 -0500
@@ -337,7 +337,7 @@
            (rc == END_OF_STREAM) ? "END_OF_STREAM" :
            (rc == FAIL) ? "FAIL" :
            (rc == NOFAIL) ? "NOFAIL" : "???",
-           ctx->token);
+           (ctx->token[0] == '\n') ? "\\n" : ctx->token);
     #endif
     return rc;
 } // tokenize
@@ -402,7 +402,7 @@
            (rc == END_OF_STREAM) ? "END_OF_STREAM" :
            (rc == FAIL) ? "FAIL" :
            (rc == NOFAIL) ? "NOFAIL" : "???",
-           ctx->token);
+           (ctx->token[0] == '\n') ? "\\n" : ctx->token);
     #endif
 
     if ((rc == END_OF_STREAM) && (!eosok))