diff options
| author | Carson Fleming <[email protected]> | 2026-03-13 01:05:34 -0400 |
|---|---|---|
| committer | Carson Fleming <[email protected]> | 2026-03-13 01:05:34 -0400 |
| commit | 7a361c2e7385c2e670a0e2cc8d9092814ea17253 (patch) | |
| tree | 4573177a388412a2e7bc1b39df2e8569e7f9316e /ccc.h | |
| download | ccc-7a361c2e7385c2e670a0e2cc8d9092814ea17253.tar.gz | |
not even compiled once but we ball
Diffstat (limited to 'ccc.h')
| -rw-r--r-- | ccc.h | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -0,0 +1,12 @@ +#ifndef CCC_H +#define CCC_H +#include <stdio.h> +#include <stdlib.h> + +#define CCC_PANIC { perror("ccc"); exit(1); } +#define CCC_ERROR(format, ...) {\ + fprintf(stderr, "line %ld: " format "\n", LINE __VA_OPT__(,) __VA_ARGS__);\ + exit(1);\ +} + +#endif |
