Rename node position to offset
This commit is contained in:
parent
12582d5e96
commit
d910a2d0e7
4 changed files with 30 additions and 25 deletions
|
|
@ -8,7 +8,7 @@
|
|||
TSNode ts_node_make(const TSTree *, TSLength);
|
||||
|
||||
static inline TSNode ts_node_null() {
|
||||
return (TSNode){.data = NULL, .position = ts_length_zero() };
|
||||
return (TSNode){.data = NULL, .offset = ts_length_zero() };
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue