Remove some unnecessary global symbols from the library
This commit is contained in:
parent
f0999d7ac0
commit
a3ce4a4282
3 changed files with 5 additions and 6 deletions
|
|
@ -5,6 +5,7 @@
|
|||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include <limits.h>
|
||||
#include <stdbool.h>
|
||||
#include <stdio.h>
|
||||
#include "./length.h"
|
||||
|
|
@ -13,7 +14,7 @@ extern "C" {
|
|||
#include "tree_sitter/api.h"
|
||||
#include "tree_sitter/parser.h"
|
||||
|
||||
extern TSStateId TS_TREE_STATE_NONE;
|
||||
static const TSStateId TS_TREE_STATE_NONE = USHRT_MAX;
|
||||
#define NULL_SUBTREE ((Subtree) {.ptr = NULL})
|
||||
|
||||
typedef union Subtree Subtree;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue