From 83da606072ce272eb053d4e1497d77e647cfecae Mon Sep 17 00:00:00 2001 From: Michael Smith Date: Sat, 3 Aug 2024 23:40:31 +0100 Subject: Revise syntax macros and add a ton of branch hints My new programming style is branch hints. All non-confusing branches must be hinted when I can be bothered. It's faster, sometimes, maybe. Also, start trying to use more signed sizes in at least some of the places where it makes sense. Unsigned sizes are surprisingly error-prone! --- test/kv.test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') diff --git a/test/kv.test.c b/test/kv.test.c index 7f82b8a..1bd1784 100644 --- a/test/kv.test.c +++ b/test/kv.test.c @@ -9,7 +9,7 @@ #include "../src/kv.c" #include "../src/intdefs.h" -#include "../src/noreturn.h" +#include "../src/langext.h" static noreturn die(const struct kv_parser *kvp) { fprintf(stderr, "parse error: %d:%d: %s\n", kvp->line, kvp->col, -- cgit v1.2.3