abort upon errors (temporary)
authorBrian <brian@nostromo.localnet.net>
Fri, 16 Feb 2007 16:06:09 +0000 (09:06 -0700)
committerBrian <brian@nostromo.localnet.net>
Fri, 16 Feb 2007 16:06:09 +0000 (09:06 -0700)
src/mesa/shader/slang/slang_compile.c

index 199f96e441e67efd8ffb0c3b8487c83e53385102..f73fccf43602927c6f22272bb1405dea70d462cf 100644 (file)
@@ -162,6 +162,9 @@ slang_info_log_message(slang_info_log * log, const char *prefix,
    }
    slang_string_concat(log->text, msg);
    slang_string_concat(log->text, "\n");
+#if 1
+   abort(); /* XXX temporary */
+#endif
    return 1;
 }
 
@@ -214,7 +217,7 @@ slang_info_log_memory(slang_info_log * log)
       log->dont_free_text = 1;
       log->text = out_of_memory;
    }
-   abort();
+   abort(); /* XXX temporary */
 }
 
 /* slang_parse_ctx */