aboutsummaryrefslogtreecommitdiff
path: root/src/util.h
diff options
context:
space:
mode:
authorame <[email protected]>2024-03-04 12:21:56 -0600
committerame <[email protected]>2024-03-04 12:21:56 -0600
commit4b86d0780ef2bee48b1b1d8719adbcedeccf1ea2 (patch)
tree1fce22a997d32969940f8ab42cbb7fc96f23ca1a /src/util.h
parent1d2c4b59879a6f96edd2f8f86d6313a97c856d26 (diff)
parser almost done
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/util.h b/src/util.h
index c68054d..6612512 100644
--- a/src/util.h
+++ b/src/util.h
@@ -25,7 +25,9 @@
#define i_swap(A,B) double temp = A; A = B; B = temp;
#define lesser(A,B) (A>B?B:A)
int gen_parse(char*,int, parray_t**);
-void p_fatal(const char*);
+
+#define p_fatal(M) _p_fatal(M, __LINE__, __FILE__, __func__ );
+void _p_fatal(const char*, int, const char*, const char*);
void p_error(const char*);
char* strnstr(const char*, const char*, size_t);