emacs-devel
[Top][All Lists]
Advanced

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

Re: Another nit


From: Yuan Fu
Subject: Re: Another nit
Date: Fri, 9 Dec 2022 20:56:30 -0800


> 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


reply via email to

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