Partially revert d4d5e29
This commit is contained in:
parent
144c096a27
commit
41ec8b4166
4 changed files with 22 additions and 17 deletions
|
|
@ -4124,11 +4124,7 @@ void ts_query_cursor_set_max_start_depth(
|
|||
TSQueryCursor *self,
|
||||
uint32_t max_start_depth
|
||||
) {
|
||||
if (max_start_depth == 0) {
|
||||
self->max_start_depth = UINT32_MAX;
|
||||
} else {
|
||||
self->max_start_depth = max_start_depth;
|
||||
}
|
||||
self->max_start_depth = max_start_depth;
|
||||
}
|
||||
|
||||
#undef LOG
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue