aboutsummaryrefslogtreecommitdiff
path: root/src/stdlib/text.c
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2025-08-23 17:32:37 -0400
committerBruce Hill <bruce@bruce-hill.com>2025-08-23 17:32:37 -0400
commitecf08ab61fe49101b6c769badf362d21d8699df4 (patch)
tree051fd862221c43cdc521ce1e5123238de3272735 /src/stdlib/text.c
parentb033c491b8df6e6c4bc11f9941f2bba93bb9d10f (diff)
Fix some LSP issues, mostly unused imports
Diffstat (limited to 'src/stdlib/text.c')
-rw-r--r--src/stdlib/text.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/stdlib/text.c b/src/stdlib/text.c
index 6e2e9072..b246b6ce 100644
--- a/src/stdlib/text.c
+++ b/src/stdlib/text.c
@@ -1784,7 +1784,7 @@ public Int_t Text$memory_size(Text_t text)
return Int$plus(
Int$from_int64((int64_t)sizeof(Text_t)),
Int$plus(Text$memory_size(*text.left), Text$memory_size(*text.right)));
- default: errx(1, "Invalid text tag: ", text.tag);
+ default: errx(1, "Invalid text tag: %d", text.tag);
}
}
@@ -1799,7 +1799,7 @@ public Text_t Text$layout(Text_t text)
return Texts(Text("Blob("), Int64$as_text((int64_t[1]){text.length}, false, NULL), Text(")"));
case TEXT_CONCAT:
return Texts(Text("Concat("), Text$layout(*text.left), Text(", "), Text$layout(*text.right), Text(")"));
- default: errx(1, "Invalid text tag: ", text.tag);
+ default: errx(1, "Invalid text tag: %d", text.tag);
}
}