summaryrefslogtreecommitdiffstats
path: root/autoload.c
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2023-06-12 23:29:20 -0700
committerKaz Kylheku <kaz@kylheku.com>2023-06-12 23:29:20 -0700
commitba027a19ce561646cd1a176bcf9b552ea0e6c9a0 (patch)
treea7fcb264f5e39af0cf698fc918575ffd0c8ec2ad /autoload.c
parent034799fc0288388d08dcfbcf6230cb698942ba69 (diff)
downloadtxr-ba027a19ce561646cd1a176bcf9b552ea0e6c9a0.tar.gz
txr-ba027a19ce561646cd1a176bcf9b552ea0e6c9a0.tar.bz2
txr-ba027a19ce561646cd1a176bcf9b552ea0e6c9a0.zip
New macro: match-cond.
* stdlib/match.tl (match-cond): New macro. * autoload.c (match_set_entries): match-cond triggers autoload of match module. * tests/011/patmatch.tl: Tests. * txr.1: Documented. * stdlib/doc.tl: Updated.
Diffstat (limited to 'autoload.c')
-rw-r--r--autoload.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/autoload.c b/autoload.c
index f90366d1..d384879a 100644
--- a/autoload.c
+++ b/autoload.c
@@ -840,7 +840,7 @@ static val match_set_entries(val fun)
nil
};
val name[] = {
- lit("when-match"), lit("match-case"), lit("if-match"),
+ lit("when-match"), lit("match-case"), lit("match-cond"), lit("if-match"),
lit("match"), lit("match-ecase"),
lit("while-match"), lit("while-match-case"), lit("while-true-match-case"),
lit("lambda-match"), lit("defun-match"), lit("defmatch"),