emacs-devel
[Top][All Lists]
Advanced

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

Re: Stylistic changes to tree-sitter code


From: Robert Pluim
Subject: Re: Stylistic changes to tree-sitter code
Date: Thu, 27 Oct 2022 15:56:12 +0200

>>>>> On Thu, 27 Oct 2022 21:33:10 +0800, Po Lu via "Emacs development 
>>>>> discussions." <emacs-devel@gnu.org> said:


    Po Lu> Unfortunately, I don't have tree-sitter installed, so would someone
    Po Lu> please do a smoke test on the changes before I install them?

I have it installed, but I donʼt use it yet, so all I can offer is a
compile test:

  CC       treesit.o
treesit.c: In function ‘treesit_find_override_name’:
treesit.c:467:41: error: ‘list’ undeclared (first use in this function); did 
you mean ‘listn’?
  467 |    *name = Fnth (make_fixnum (1), XCAR (list));
      |                                         ^~~~
      |                                         listn
treesit.c:467:41: note: each undeclared identifier is reported only once for 
each function it appears in
treesit.c:476:57: error: expected ‘;’ before ‘return’
  476 |   CHECK_LIST_END (tem, Vtreesit_load_name_override_list)
      |                                                         ^
      |                                                         ;
  477 | 
  478 |   return false;
      |   ~~~~~~                                                 
treesit.c: In function ‘treesit_load_language’:
treesit.c:555:15: error: redeclaration of ‘tail’ with no linkage
  555 |   Lisp_Object tail;
      |               ^~~~
treesit.c:539:15: note: previous declaration of ‘tail’ was here
  539 |   Lisp_Object tail;
      |               ^~~~
treesit.c: In function ‘treesit_find_override_name’:
treesit.c:479:1: warning: control reaches end of non-void function 
[-Wreturn-type]
  479 | }
      | ^
make[2]: *** [Makefile:424: treesit.o] Error 1

Robert
-- 



reply via email to

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