docs: various fixes
Closes https://github.com/tree-sitter/tree-sitter/issues/1317. Closes https://github.com/tree-sitter/tree-sitter/issues/1752. Closes https://github.com/tree-sitter/tree-sitter/issues/2439. Co-authored-by: Simon Hengel <sol@typeful.net> Co-authored-by: Akash Yadav <itsaky01@gmail.com> Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com> Co-authored-by: Laytan Laats <laytanlaats@hotmail.com>
This commit is contained in:
parent
ea7f6e1fa3
commit
df1fe842eb
15 changed files with 21 additions and 20 deletions
|
|
@ -3849,7 +3849,7 @@ static inline bool ts_query_cursor__advance(
|
|||
continue;
|
||||
}
|
||||
|
||||
// Enfore the longest-match criteria. When a query pattern contains optional or
|
||||
// Enforce the longest-match criteria. When a query pattern contains optional or
|
||||
// repeated nodes, this is necessary to avoid multiple redundant states, where
|
||||
// one state has a strict subset of another state's captures.
|
||||
bool did_remove = false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue