From 422606d8b3cc6fba74f97af46f0378fc274d60ad Mon Sep 17 00:00:00 2001 From: c Date: Sun, 28 Jan 2024 20:15:35 -0500 Subject: Fixed things. - Fixed `parser_nxt_token()` assuming the existance of a parser's token. - Fixed block parsing. --- test/include/test.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'test/include/test.h') diff --git a/test/include/test.h b/test/include/test.h index 3193c52..8cde34d 100644 --- a/test/include/test.h +++ b/test/include/test.h @@ -12,6 +12,10 @@ extern unsigned int TESTS_PASSED; #define TEST_INIT unsigned int TESTS_RUN = 0, TESTS_PASSED = 0; +#ifndef __func__ +#define __func__ "" +#endif + #define ASSERT(EXPR) \ TESTS_RUN++; \ (EXPR && ++TESTS_PASSED) ? \ -- cgit v1.2.3