emacs-devel
[Top][All Lists]
Advanced

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

Re: Tree-sitter integration in python.el


From: Eli Zaretskii
Subject: Re: Tree-sitter integration in python.el
Date: Tue, 04 Oct 2022 15:33:40 +0300

> From: Matthias Meulien <orontee@gmail.com>
> Cc: casouri@gmail.com,  emacs-devel@gnu.org
> Date: Tue, 04 Oct 2022 13:21:45 +0200
> 
> Eli Zaretskii <eliz@gnu.org> writes:
> 
> > (...)  Would you please share the changes you made, FTR?  Then others
> > who face the same problem could easily find the solution.  TIA.
> 
> Sure, but let me make clear that it's an unclean hack and using
> https://github.com/casouri/tree-sitter-module may prove to be more
> robust.

Understood, thanks.

> diff --unified tree-sitter-ruby/Makefile tree-sitter-python/Makefile
> --- tree-sitter-ruby/Makefile 2022-10-03 23:01:34.963750322 +0200
> +++ tree-sitter-python/Makefile       2022-10-04 13:06:46.014817832 +0200
> @@ -31,7 +31,7 @@
>  ifeq (, $(CPPSRC))
>       ADDITIONALLIBS := 
>  else
> -     ADDITIONALLIBS := -lc++
> +     ADDITIONALLIBS :=
>  endif

Any reason why you needed to use the C++ compiler?



reply via email to

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