summaryrefslogtreecommitdiffstats
path: root/lisplib.c
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2021-01-16 08:18:24 -0800
committerKaz Kylheku <kaz@kylheku.com>2021-01-16 08:18:24 -0800
commit66ca884d757fa14f56ea362a0da722e27804ad47 (patch)
treeea8712d89e7d4dbde297b6792ea4754b2cd24fb2 /lisplib.c
parent165f289b0a028906e574281286bc0e8f98346b6b (diff)
downloadtxr-66ca884d757fa14f56ea362a0da722e27804ad47.tar.gz
txr-66ca884d757fa14f56ea362a0da722e27804ad47.tar.bz2
txr-66ca884d757fa14f56ea362a0da722e27804ad47.zip
matcher: add lambda-match and defun-match
* lisplib.c (match_set_entries): New autoload triggers. * share/txr/stdlib/match.tl (lambda-match, defun-match): New macros.
Diffstat (limited to 'lisplib.c')
-rw-r--r--lisplib.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisplib.c b/lisplib.c
index 38fa4e35..d7a06fcd 100644
--- a/lisplib.c
+++ b/lisplib.c
@@ -875,6 +875,7 @@ static val match_set_entries(val dlt, val fun)
};
val name[] = {
lit("when-match"), lit("match-case"), lit("if-match"),
+ lit("lambda-match"), lit("defun-match"),
nil
};