Remove length restriction in external scanner serialization API
This commit is contained in:
parent
e355929a30
commit
9a04231ab1
12 changed files with 85 additions and 56 deletions
|
|
@ -143,7 +143,8 @@ void ts_document_parse_with_options(TSDocument *self, TSParseOptions options) {
|
|||
tree_path_init(&self->parser.tree_path1, old_tree);
|
||||
tree_path_init(&self->parser.tree_path2, tree);
|
||||
tree_path_get_changes(&self->parser.tree_path1, &self->parser.tree_path2,
|
||||
options.changed_ranges, options.changed_range_count);
|
||||
options.changed_ranges, options.changed_range_count,
|
||||
self->parser.language);
|
||||
}
|
||||
|
||||
ts_tree_release(old_tree);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue