diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2021-04-19 20:16:10 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2021-04-19 20:16:10 -0700 |
commit | 8994babc7c49d3a118bb8341549fef209a21dcc2 (patch) | |
tree | 3c8cb9e07708e21d25e513f3b765a4ab8b9d941d /lisplib.c | |
parent | f264a0cbbb22d8dd012b8b56d9e88147e2e23eb8 (diff) | |
download | txr-8994babc7c49d3a118bb8341549fef209a21dcc2.tar.gz txr-8994babc7c49d3a118bb8341549fef209a21dcc2.tar.bz2 txr-8994babc7c49d3a118bb8341549fef209a21dcc2.zip |
matcher: first pattern macro, sme.
* lisplib.c (match_instantiate): Intern sme symbol.
* share/txr/stdlib/doc-syms.tl: Update with sme entry.
* share/txr/stdlib/match.tl (sme): New defmatch macro.
* tests/011/patmatch.tl: New tests for sme.
* txr.1: Documented.
Diffstat (limited to 'lisplib.c')
-rw-r--r-- | lisplib.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -871,7 +871,7 @@ static val match_instantiate(val set_fun) static val match_set_entries(val dlt, val fun) { val name_noload[] = { - lit("all*"), lit("as"), lit("with"), lit("scan"), + lit("all*"), lit("as"), lit("with"), lit("scan"), lit("sme"), nil }; val name[] = { |