add const
This commit is contained in:
parent
da8e48bf09
commit
7ad82cf684
1 changed files with 1 additions and 1 deletions
|
|
@ -173,7 +173,7 @@ TSPoint ts_node_size_point(TSNode self) {
|
|||
}
|
||||
|
||||
TSPoint ts_node_start_point(TSNode self) {
|
||||
TSTree *tree = ts_node__tree(self);
|
||||
const TSTree *tree = ts_node__tree(self);
|
||||
return ts_point_make(self.row + tree->padding_point.row, ts_tree_offset_column(tree));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue