Don't use preprocesser for special tree state values
This commit is contained in:
parent
da1bc038e5
commit
7f1c5f7568
3 changed files with 12 additions and 8 deletions
|
|
@ -9,8 +9,8 @@ extern "C" {
|
|||
#include "tree_sitter/parser.h"
|
||||
#include "runtime/length.h"
|
||||
|
||||
#define TSTREE_STATE_INDEPENDENT (unsigned short)(-1)
|
||||
#define TSTREE_STATE_ERROR (TSTREE_STATE_INDEPENDENT - 1)
|
||||
extern TSStateId TS_TREE_STATE_INDEPENDENT;
|
||||
extern TSStateId TS_TREE_STATE_ERROR;
|
||||
|
||||
struct TSTree {
|
||||
struct {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue