shithub: femtolisp

Download patch

ref: ed591c91cab423a6e1923545ccdc740c1b9ca595
parent: 6813e1071ffc4f451135daa79a928207a63d5e85
author: Sigrid Solveig Haflínudóttir <sigrid@ftrv.se>
date: Tue Dec 24 23:27:49 EST 2024

qp tries: embrace asserts

--- a/3rd/fn.h
+++ b/3rd/fn.h
@@ -61,13 +61,8 @@
 	return(Tindex_branch(t->index));
 }
 
-#ifdef WITH_EXTRA_CHECKS
 #define Tbranch(t) assert(isbranch(t))
 #define Tleaf(t)  assert(!isbranch(t))
-#else
-#define Tbranch(t)
-#define Tleaf(t)
-#endif
 
 #define Tcheck_get(type, tag, field, expr) \
 	static inline type \