bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#66673: [PATCH] Fix treesit-install-language-grammar recipe addition


From: Eli Zaretskii
Subject: bug#66673: [PATCH] Fix treesit-install-language-grammar recipe addition
Date: Sun, 22 Oct 2023 08:15:02 +0300

> Resent-To: bug-gnu-emacs@gnu.org
> Cc: 66673-done@debbugs.gnu.org
> From: Yuan Fu <casouri@gmail.com>
> Date: Sat, 21 Oct 2023 20:40:52 -0700
> 
> 
> 
> > On Oct 21, 2023, at 8:09 PM, nvp <noah.v.peart@gmail.com> wrote:
> > 
> > 
> > 
> > * lisp/treesit.el (treesit-install-language-grammar): fix recipe
> > addition to `treesit-language-source-alist`
> > 
> > Bug: `treesit-install-language-grammar` adds repeated language
> > entry to `treesit-language-source-alist` causing circular list.
> 
> Thank you! I applied the path on emacs-29.

Thanks.

Yuan, if we are fixing treesit-install-language-grammar, I think it
lacks the "-ltree-sitter" command-line option for the link command.
At least on MS-Windows, this is required, as the link command will
fail if we don't supply that option: the linker _must_ scan the
tree-sitter library when generating the shared library for the
grammar.





reply via email to

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