emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/trie 1b3b473 031/111: Another bug-fix in trie--do-wildc


From: Stefan Monnier
Subject: [elpa] externals/trie 1b3b473 031/111: Another bug-fix in trie--do-wildcard-search
Date: Mon, 14 Dec 2020 11:35:14 -0500 (EST)

branch: externals/trie
commit 1b3b473aabd2cc3704a3567e6d153bd12823549a
Author: Toby Cubitt <toby-predictive@dr-qubit.org>
Commit: tsc25 <toby-predictive@dr-qubit.org>

    Another bug-fix in trie--do-wildcard-search
---
 trie.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/trie.el b/trie.el
index 34df39a..5f0acc8 100644
--- a/trie.el
+++ b/trie.el
@@ -1757,7 +1757,7 @@ wildcards will be particularly slow."
             (while pat
               (if (null grp-stack)
                   (error "Syntax error in trie wildcard pattern: missing 
\"(\"")
-                (push (cons (pop grp-stack) idx) grps)
+                (push (cons (pop grp-stack) (length seq)) grps)
                 (setq pat (cdr pat))))
             (unless (null grp-stack)
               (error "Syntax error in trie wildcard pattern: missing \")\""))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]