summaryrefslogtreecommitdiff
path: root/ccc.h
diff options
context:
space:
mode:
authorCarson Fleming <cflems@cflems.net>2026-03-15 19:25:26 -0400
committerCarson Fleming <cflems@cflems.net>2026-03-15 19:25:26 -0400
commit66e278b0752eaa9808687c0dc214b49d7b58e8eb (patch)
treecca09f74ab439c3d54913bc1b4355b8208a5824f /ccc.h
parent1f85b418dd7960c28f16de21c44dcb4e2e05e694 (diff)
downloadccc-66e278b0752eaa9808687c0dc214b49d7b58e8eb.tar.gz
functional lexer
Diffstat (limited to 'ccc.h')
-rw-r--r--ccc.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/ccc.h b/ccc.h
index 6b41480..36f80f9 100644
--- a/ccc.h
+++ b/ccc.h
@@ -1,12 +1,7 @@
#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