Add ODIN_ERROR_POS_STYLE constant and change runtime.print_caller_location based on that constant

This commit is contained in:
gingerBill
2022-01-26 17:34:39 +00:00
parent 74174eb4ae
commit 070b450768
3 changed files with 27 additions and 5 deletions

View File

@@ -168,6 +168,8 @@ enum TimingsExportFormat : i32 {
enum ErrorPosStyle {
ErrorPosStyle_Default, // path(line:column) msg
ErrorPosStyle_Unix, // path:line:column: msg
ErrorPosStyle_COUNT
};
// This stores the information for the specify architecture of this build