From 898bee15817573b5ab865a1dae7e52da310affa8 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Sat, 9 Nov 2024 16:27:54 -0500 Subject: Introduce a `Match` struct to represent pattern matching results, which improves the usability of a lot of the APIs. Also bugfix some issues with ranges. --- stdlib/text.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'stdlib/text.c') diff --git a/stdlib/text.c b/stdlib/text.c index 92c5df48..44179fa7 100644 --- a/stdlib/text.c +++ b/stdlib/text.c @@ -1354,11 +1354,4 @@ public Pattern_t Pattern$escape_text(Text_t text) #undef add_escaped } -public const TypeInfo_t Pattern$info = { - .size=sizeof(Pattern_t), - .align=__alignof__(Pattern_t), - .tag=TextInfo, - .TextInfo={.lang="Pattern"}, -}; - // vim: ts=4 sw=0 et cino=L2,l1,(0,W4,m1,\:0 -- cgit v1.2.3