aboutsummaryrefslogtreecommitdiff
path: root/stdlib/patterns.h
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2024-11-24 16:18:21 -0500
committerBruce Hill <bruce@bruce-hill.com>2024-11-24 16:18:21 -0500
commit1e3fb8a2c0cca385d65c52679411b118b5fb4641 (patch)
treee8e7ae5b4a8b4f39ed867c238f1a05494b6a50ac /stdlib/patterns.h
parent0e10313d64f54dd587ebbcd5f413bd999333c911 (diff)
Rename "NULL" to "NONE"
Diffstat (limited to 'stdlib/patterns.h')
-rw-r--r--stdlib/patterns.h2
1 files changed, 1 insertions, 1 deletions
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);