diff options
Diffstat (limited to 'src/common.h')
| -rw-r--r-- | src/common.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/common.h b/src/common.h index 4bd4c17..332b61d 100644 --- a/src/common.h +++ b/src/common.h @@ -5,7 +5,11 @@ _Noreturn void fatal_error(const char* msg, ...); +// TODO +#ifdef __ducc__ #define unreachable() fatal_error("%s:%d: unreachable", __FILE__, __LINE__) +#endif + #define unimplemented() fatal_error("%s:%d: unimplemented", __FILE__, __LINE__) bool str_ends_with(const char* s, const char* suffix); |
