diff options
Diffstat (limited to 'src/include')
| -rw-r--r-- | src/include/daw/logging.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/daw/logging.h b/src/include/daw/logging.h index ec4674e..ded5bc1 100644 --- a/src/include/daw/logging.h +++ b/src/include/daw/logging.h @@ -47,7 +47,7 @@ void __DEBUG(const char* file, const i32 line, const char* func, #define UNIMPLEMENTED { DEBUG("%s is not implemented yet!", __func__); __asm__("int3;"); } do {} while (false) -#define ASSERT(cond) if (!(cond)) { ERROR("ASSERTION FAILED! " #cond); __asm__("int3;"); } do {} while (false) +#define ASSERT(cond) if (!(cond)) { ERROR(__FILE__ ":%d: ASSERTION FAILED! " #cond, __LINE__); __asm__("int3;"); } do {} while (false) #else #define DEBUG(...) #define ASSERT(...) |
