From: Yuan Fu <casouri@gmail.com>
To: Perry Smith <pedz@easesoftware.com>
Cc: emacs-devel@gnu.org
Subject: Re: Another nit
Date: Fri, 9 Dec 2022 20:56:30 -0800 [thread overview]
Message-ID: <305950EC-9443-4A72-A639-DD6E4A1601A4@gmail.com> (raw)
In-Reply-To: <FCA59B15-A385-460D-A894-45725EA55E24@easesoftware.com>
> On Dec 9, 2022, at 8:11 PM, Perry Smith <pedz@easesoftware.com> wrote:
>
> Isn’t this example wrong? From admin/notes/tree-sitter/starter-guide
>
>> (match NODE-TYPE PARENT-TYPE NODE-FIELD
>> NODE-INDEX-MIN NODE-INDEX-MAX)
>>
>> => checks everything. If an argument is nil, don’t match that. Eg,
>> (match nil nil TYPE) is the same as (parent-is TYPE)
>
> Seems like (match nil TYPE) would be the same as (parent-is TYPE)
>
You are right, thanks! I fixed that.
Yuan
next prev parent reply other threads:[~2022-12-10 4:56 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-12-10 4:11 Another nit Perry Smith
2022-12-10 4:56 ` Yuan Fu [this message]
2022-12-10 8:36 ` Can the tree-sitter/build-module/build.sh support Mingw64 on Windows OS Eason Huang
2022-12-11 23:37 ` Richard Stallman
2022-12-12 12:09 ` Eason Huang
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=305950EC-9443-4A72-A639-DD6E4A1601A4@gmail.com \
--to=casouri@gmail.com \
--cc=emacs-devel@gnu.org \
--cc=pedz@easesoftware.com \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.