emacs-devel
[Top][All Lists]
Advanced

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

Another nit


From: Perry Smith
Subject: Another nit
Date: Fri, 9 Dec 2022 22:11:47 -0600

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)

Attachment: signature.asc
Description: Message signed with OpenPGP


reply via email to

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