mirror of
https://github.com/Ed94/Odin.git
synced 2026-07-19 01:01:31 -07:00
Add -verbose-errors which shows the error in the line of code
This commit is contained in:
@@ -200,8 +200,10 @@ struct BuildContext {
|
||||
bool disallow_do;
|
||||
bool insert_semicolon;
|
||||
|
||||
|
||||
bool ignore_warnings;
|
||||
bool warnings_as_errors;
|
||||
bool show_error_line;
|
||||
|
||||
bool use_subsystem_windows;
|
||||
bool ignore_microsoft_magic;
|
||||
@@ -746,6 +748,9 @@ String get_fullpath_core(gbAllocator a, String path) {
|
||||
return path_to_fullpath(a, res);
|
||||
}
|
||||
|
||||
bool show_error_line(void) {
|
||||
return build_context.show_error_line;
|
||||
}
|
||||
|
||||
|
||||
void init_build_context(TargetMetrics *cross_target) {
|
||||
|
||||
Reference in New Issue
Block a user