mirror of
https://github.com/odin-lang/Odin.git
synced 2026-01-08 22:13:17 +00:00
Clean up error block usage
This commit is contained in:
@@ -1160,10 +1160,12 @@ gb_internal bool parse_build_flags(Array<String> args) {
|
||||
|
||||
case BuildFlag_TerseErrors:
|
||||
build_context.hide_error_line = true;
|
||||
build_context.terse_errors = true;
|
||||
break;
|
||||
case BuildFlag_VerboseErrors:
|
||||
gb_printf_err("-verbose-errors is not the default, -terse-errors can now disable it\n");
|
||||
build_context.hide_error_line = false;
|
||||
build_context.terse_errors = false;
|
||||
break;
|
||||
|
||||
case BuildFlag_ErrorPosStyle:
|
||||
|
||||
Reference in New Issue
Block a user