; * doc/lispref/parsing.texi (Pattern Matching): Fix punctuation.
This commit is contained in:
parent
bee2f814f2
commit
d6151e9da5
1 changed files with 2 additions and 2 deletions
|
@ -1550,7 +1550,7 @@ There are some additional functions for queries:
|
|||
string format; and @code{treesit-pattern-expand} converts a pattern.
|
||||
|
||||
@findex treesit-query-first-valid
|
||||
Tree-sitter grammars change overtime. To support multiple possible
|
||||
Tree-sitter grammars change overtime. To support multiple possible
|
||||
versions of a grammar, a Lisp program can use
|
||||
@code{treesit-query-first-valid} to pick the right query to use. For
|
||||
example, if a grammar has a @code{(defun)} node in one version, and
|
||||
|
@ -1567,7 +1567,7 @@ later renamed it to @code{(function_definition)}, a Lisp program can use
|
|||
to support both versions of the grammar.
|
||||
|
||||
For more details, consider reading the tree-sitter project's
|
||||
documentation about pattern-matching. The documentation can be found at
|
||||
documentation about pattern-matching. The documentation can be found at
|
||||
@uref{https://tree-sitter.github.io/tree-sitter/using-parsers#pattern-matching-with-queries}.
|
||||
|
||||
@node User-defined Things
|
||||
|
|
Loading…
Add table
Reference in a new issue