summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2020-04-07 07:25:13 -0700
committerKaz Kylheku <kaz@kylheku.com>2020-04-07 07:25:13 -0700
commitffe8bd7754c0dd9c8bb73fe1c46ff7d4bbe5f02a (patch)
treeff9bdeb36aac153b2eedeec620ad41c4bdf53a05
parente16a723bb22365da26412f547730c475cc122525 (diff)
downloadtxr-ffe8bd7754c0dd9c8bb73fe1c46ff7d4bbe5f02a.tar.gz
txr-ffe8bd7754c0dd9c8bb73fe1c46ff7d4bbe5f02a.tar.bz2
txr-ffe8bd7754c0dd9c8bb73fe1c46ff7d4bbe5f02a.zip
tags: @(bind) should generate variable tags.
* tags.tl (process-clause): Symbols from @(bind) should be recorded as variable tags, not function tags.
-rwxr-xr-xtags.tl2
1 files changed, 1 insertions, 1 deletions
diff --git a/tags.tl b/tags.tl
index b33e2fcb..2f76ab0e 100755
--- a/tags.tl
+++ b/tags.tl
@@ -175,7 +175,7 @@
(add (ntag fun-tag (car args)))))
(bind (let ((syms (flatcar (cadr elem))))
(each ((sym syms))
- (add (ntag fun-tag sym)))))
+ (add (ntag var-tag sym)))))
(do (let ((forms [mapcar unexpand (cdr elem)]))
(each ((form forms))
(pend (process-form path lines form))))))))))))