ERROR_BLOCK() any usages of "Did you mean?" like behaviour whilst iterating across a scope entry map

This commit is contained in:
gingerBill
2021-08-27 12:14:51 +01:00
parent bf56e3ea8d
commit b88e945268
4 changed files with 10 additions and 7 deletions

View File

@@ -377,6 +377,8 @@ void end_error_block(void) {
mutex_unlock(&global_error_collector.block_mutex);
}
#define ERROR_BLOCK() begin_error_block(); defer (end_error_block())
#define ERROR_OUT_PROC(name) void name(char const *fmt, va_list va)
typedef ERROR_OUT_PROC(ErrorOutProc);