aboutsummaryrefslogtreecommitdiff
path: root/cup/utils.h
diff options
context:
space:
mode:
authorMustafa Quraish <[email protected]>2022-01-30 01:19:54 -0500
committerMustafa Quraish <[email protected]>2022-01-30 01:19:54 -0500
commit5b87ec6ef2b84f1d319e5376bcf9eedea9829d79 (patch)
treef1afa80f034a1cd73192510046978435252e1160 /cup/utils.h
parentRemove return-0 example (diff)
downloadarchived-cup-5b87ec6ef2b84f1d319e5376bcf9eedea9829d79.tar.xz
archived-cup-5b87ec6ef2b84f1d319e5376bcf9eedea9829d79.zip
Rename `cup` directory to `src`
Diffstat (limited to 'cup/utils.h')
-rw-r--r--cup/utils.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/cup/utils.h b/cup/utils.h
deleted file mode 100644
index dfc018c..0000000
--- a/cup/utils.h
+++ /dev/null
@@ -1,12 +0,0 @@
-#pragma once
-
-#include "common.h"
-#include "tokens.h"
-
-void die(const char *fmt, ...);
-void _die_location(char *file, int line, Location loc, const char *fmt, ...);
-
-i64 i64max(i64 a, i64 b);
-i64 i64min(i64 a, i64 b);
-
-#define die_location(loc, ...) _die_location(__FILE__, __LINE__, loc, __VA_ARGS__) \ No newline at end of file