From 1e3fb8a2c0cca385d65c52679411b118b5fb4641 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Sun, 24 Nov 2024 16:18:21 -0500 Subject: Rename "NULL" to "NONE" --- stdlib/patterns.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'stdlib/patterns.h') diff --git a/stdlib/patterns.h b/stdlib/patterns.h index 2b30a3ae..641009a7 100644 --- a/stdlib/patterns.h +++ b/stdlib/patterns.h @@ -21,7 +21,7 @@ typedef struct { } Match_t; typedef Match_t OptionalMatch_t; -#define NULL_MATCH ((OptionalMatch_t){.index=NULL_INT}) +#define NONE_MATCH ((OptionalMatch_t){.index=NONE_INT}) Text_t Text$replace(Text_t str, Pattern_t pat, Text_t replacement, Pattern_t backref_pat, bool recursive); Pattern_t Pattern$escape_text(Text_t text); -- cgit v1.2.3