diff options
| author | gingerBill <bill@gingerbill.org> | 2022-01-23 15:40:46 +0000 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2022-01-23 15:40:46 +0000 |
| commit | 56b4e0a3c393dd0d820b4d82467c33e0e72298a6 (patch) | |
| tree | 40ce1e75cda0398a2239a92c117d7c94f75da70f /src/error.cpp | |
| parent | 27dbe84f79f917998cc472d4bcb0a6a93811b1b8 (diff) | |
Fix #1267
Diffstat (limited to 'src/error.cpp')
| -rw-r--r-- | src/error.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/error.cpp b/src/error.cpp index 1496b4775..b08ff99df 100644 --- a/src/error.cpp +++ b/src/error.cpp @@ -403,6 +403,7 @@ void compiler_error(char const *fmt, ...) { gb_printf_err("Internal Compiler Error: %s\n", gb_bprintf_va(fmt, va)); va_end(va); + GB_DEBUG_TRAP(); gb_exit(1); } |