mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-21 06:30:36 +01:00
abort upon errors (temporary)
This commit is contained in:
parent
d30806b0c5
commit
d15059b128
1 changed files with 4 additions and 1 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue