commit 5a2da41cd5441d6d5f41ed8a42e67a8af05f72f1
parent 7cbbccbf7b9ef6f2e36f0628b85e8dc6d9f9c398
Author: Drew DeVault <sir@cmpwn.com>
Date: Sun, 7 Feb 2021 11:23:47 -0500
stdlib: update strings
Diffstat:
2 files changed, 9 insertions(+), 6 deletions(-)
diff --git a/gen-stdlib b/gen-stdlib
@@ -200,9 +200,10 @@ strings() {
cstrings.ha \
dup.ha \
iter.ha \
+ sub.ha \
+ suffix.ha \
tokenize.ha \
- utf8.ha \
- sub.ha
+ utf8.ha
gen_ssa strings encoding::utf8 types
}
diff --git a/mk/stdlib.mk b/mk/stdlib.mk
@@ -184,9 +184,10 @@ stdlib_strings_srcs= \
$(STDLIB)/strings/cstrings.ha \
$(STDLIB)/strings/dup.ha \
$(STDLIB)/strings/iter.ha \
+ $(STDLIB)/strings/sub.ha \
+ $(STDLIB)/strings/suffix.ha \
$(STDLIB)/strings/tokenize.ha \
- $(STDLIB)/strings/utf8.ha \
- $(STDLIB)/strings/sub.ha
+ $(STDLIB)/strings/utf8.ha
$(HARECACHE)/strings/strings.ssa: $(stdlib_strings_srcs) $(stdlib_rt) $(stdlib_encoding_utf8) $(stdlib_types)
@printf 'HAREC \t$@\n'
@@ -395,9 +396,10 @@ testlib_strings_srcs= \
$(STDLIB)/strings/cstrings.ha \
$(STDLIB)/strings/dup.ha \
$(STDLIB)/strings/iter.ha \
+ $(STDLIB)/strings/sub.ha \
+ $(STDLIB)/strings/suffix.ha \
$(STDLIB)/strings/tokenize.ha \
- $(STDLIB)/strings/utf8.ha \
- $(STDLIB)/strings/sub.ha
+ $(STDLIB)/strings/utf8.ha
$(TESTCACHE)/strings/strings.ssa: $(testlib_strings_srcs) $(testlib_rt) $(testlib_encoding_utf8) $(testlib_types)
@printf 'HAREC \t$@\n'