Commit 88f384566825b60491a69a562a7f108355936394

Thomas de Grivel 2024-03-02T09:52:34

wip fn

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
diff --git a/libc3/fn.c b/libc3/fn.c
index e066184..1629ea8 100644
--- a/libc3/fn.c
+++ b/libc3/fn.c
@@ -53,13 +53,13 @@ s_fn * fn_init_1 (s_fn *fn, char *p)
   buf.wpos = len;
   r = buf_parse_fn(&buf, fn);
   if (r < 0 || (uw) r != len) {
-    err_write_1("fn_init_1: invalid fn: \"");
+    err_write_1("fn_init_1: invalid function: \"");
     err_write_1(p);
     err_write_1("\": ");
     err_inspect_sw(&r);
     err_write_1(" != ");
     err_inspect_uw(&len);
-    assert(! "fn_init_1: invalid fn");
+    assert(! "fn_init_1: invalid function");
     return NULL;
   }
   return fn;