shithub: femtolisp

Download patch

ref: 32172cdf6a00026675dee9be5c0fa3aef5fdff9d
parent: 31cd5bdb1e8cbd5070cd9171bdc4c037f1adb73f
author: Sigrid Solveig Haflínudóttir <ftrvxmtrx@gmail.com>
date: Mon Nov 30 09:44:24 EST 2020

no idea what this assert is about tbh

--- a/print.c
+++ b/print.c
@@ -104,8 +104,7 @@
         print_traverse(f->vals);
         print_traverse(f->env);
     }
-    else {
-        assert(iscvalue(v));
+    else if (iscvalue(v)) {
         cvalue_t *cv = (cvalue_t*)ptr(v);
         // don't consider shared references to ""
         if (!cv_isstr(cv) || cv_len(cv)!=0)