Remove TSLength from runtime header
Refactor node functions now that character offset and byte offset are stored separately
This commit is contained in:
parent
8e217f758c
commit
22c76fc71b
6 changed files with 101 additions and 106 deletions
|
|
@ -1,7 +1,7 @@
|
|||
#ifndef RUNTIME_LENGTH_H_
|
||||
#define RUNTIME_LENGTH_H_
|
||||
|
||||
#include "tree_sitter/runtime.h"
|
||||
#include "tree_sitter/parser.h"
|
||||
#include <stdbool.h>
|
||||
|
||||
static inline TSLength ts_length_add(TSLength len1, TSLength len2) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue