emacs-devel
[Top][All Lists]
Advanced

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

Re: feature/tree-sitter 88d54756d4 2/2: Check for outdated tree-sitter n


From: Po Lu
Subject: Re: feature/tree-sitter 88d54756d4 2/2: Check for outdated tree-sitter node when printing
Date: Thu, 03 Nov 2022 11:18:26 +0800
User-agent: Gnus/5.13 (Gnus v5.13)

Yuan Fu <casouri@gmail.com> writes:

> +bool treesit_node_uptodate_p (Lisp_Object obj)
> +{
> +  Lisp_Object lisp_parser = XTS_NODE (obj)->parser;
> +  return XTS_NODE (obj)->timestamp == XTS_PARSER (lisp_parser)->timestamp;
> +}

This should be:

bool
treesit_node_uptodate_p (Lisp_Object object)
{
  ...

> +bool treesit_node_uptodate_p (Lisp_Object obj);

This should read "extern bool treesit_node_uptodate_p (Lisp_Object)".

BTW, does the modification to the style patch I asked you to test work?
You either didn't answer, or it fell into the spam bucket (but I looked
and found nothing there.)

Thanks.


reply via email to

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