Rename node position to offset

This commit is contained in:
Max Brunsfeld 2015-08-16 10:51:34 -07:00
parent 12582d5e96
commit d910a2d0e7
4 changed files with 30 additions and 25 deletions

View file

@ -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