mirror of
https://github.com/odin-lang/Odin.git
synced 2026-04-19 13:00:28 +00:00
ERROR_BLOCK() any usages of "Did you mean?" like behaviour whilst iterating across a scope entry map
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user