unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Po Lu <luangruo@yahoo.com>
To: emacs-devel@gnu.org
Cc: Yuan Fu <casouri@gmail.com>
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	[thread overview]
Message-ID: <878rksg1z1.fsf@yahoo.com> (raw)
In-Reply-To: <20221103004915.21875C009EC@vcs2.savannah.gnu.org> (Yuan Fu's message of "Wed, 2 Nov 2022 20:49:15 -0400 (EDT)")

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	other threads:[~2022-11-03  3:18 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <166743655413.25449.4460092570974006982@vcs2.savannah.gnu.org>
     [not found] ` <20221103004915.21875C009EC@vcs2.savannah.gnu.org>
2022-11-03  3:18   ` Po Lu [this message]
2022-11-03  3:51     ` feature/tree-sitter 88d54756d4 2/2: Check for outdated tree-sitter node when printing Yuan Fu
2022-11-03  8:09       ` Po Lu
2022-11-03  9:33         ` Yuan Fu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=878rksg1z1.fsf@yahoo.com \
    --to=luangruo@yahoo.com \
    --cc=casouri@gmail.com \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).