aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2023-06-01 20:21:15 -0700
committerKaz Kylheku <kaz@kylheku.com>2023-06-01 20:21:15 -0700
commit025c74ed0d842e131cfe4b642cec233a03b5418f (patch)
treee3d4a4c3be5e6fc3e8e3db7af7d6409d5e344014
parent257672152b93c08f573db2912eef2b9a4145d5f5 (diff)
downloadtl-who-025c74ed0d842e131cfe4b642cec233a03b5418f.tar.gz
tl-who-025c74ed0d842e131cfe4b642cec233a03b5418f.tar.bz2
tl-who-025c74ed0d842e131cfe4b642cec233a03b5418f.zip
bugfix: mistake in pattern.
* who.tl (tree-to-template): Run-on-dot in the pattern whch detects second level of keyword nesting. Actually, it's not clear what this nesting is for. When would we want a ((:p ..) ...) or whatever. I will review this; it might be CL-WHO cruft that has no purpose. No test case broke because of this bug, which means it's not tested.
-rw-r--r--who.tl2
1 files changed, 1 insertions, 1 deletions
diff --git a/who.tl b/who.tl
index 1ce80d7..6c2d0ac 100644
--- a/who.tl
+++ b/who.tl
@@ -209,7 +209,7 @@
(match-case element
(@(or @(keywordp)
(@(keywordp) . @nil)
- ((@(keywordp) .@nil) . @nil))
+ ((@(keywordp) . @nil) . @nil))
;; the syntax for a tag - process it
(ncon [process-tag element tree-to-template]))
((noesc @(constantp @item))