add const

This commit is contained in:
joshvera 2015-12-02 16:45:12 -05:00
parent da8e48bf09
commit 7ad82cf684

View file

@ -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));
}