mojoshader_assembler.c
changeset 840 84a0c6807aa8
parent 801 6f9625737d41
child 939 64cc93ee5a56
--- a/mojoshader_assembler.c	Sat Feb 20 21:50:48 2010 -0500
+++ b/mojoshader_assembler.c	Sat Feb 20 23:41:12 2010 -0500
@@ -226,6 +226,12 @@
                 break;
             } // if
 
+            else if (ctx->tokenval == TOKEN_BAD_CHARS)
+            {
+                fail(ctx, "Bad characters in source file");
+                continue;
+            } // else if
+
             else if (ctx->tokenval == TOKEN_PREPROCESSING_ERROR)
             {
                 fail(ctx, ctx->token);