Continue to norm stuff and remove useless stuff

This commit is contained in:
Maieul BOYER 2024-09-02 18:33:13 +02:00
parent 62ac9f3813
commit 1a40f20f0d
No known key found for this signature in database
9 changed files with 164 additions and 195 deletions

View file

@ -26,7 +26,7 @@ TSTree *ts_tree_new(t_subtree root, const TSLanguage *language)
TSTree *ts_tree_copy(const TSTree *self)
{
ts_subtree_retain(self->root);
(self->root->ref_count++);
return (ts_tree_new(self->root, self->language));
}