Rename TSExternalTokenState -> ExternalScannerState
This commit is contained in:
parent
f0c7295d27
commit
bf1bb1604f
6 changed files with 45 additions and 42 deletions
|
|
@ -9,13 +9,14 @@ extern "C" {
|
|||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
typedef uint16_t TSSymbol;
|
||||
typedef uint16_t TSStateId;
|
||||
|
||||
#define ts_builtin_sym_error ((TSSymbol)-1)
|
||||
#define ts_builtin_sym_end 0
|
||||
#define TREE_SITTER_SERIALIZATION_BUFFER_SIZE 1024
|
||||
|
||||
typedef uint16_t TSSymbol;
|
||||
|
||||
typedef uint16_t TSStateId;
|
||||
|
||||
typedef struct {
|
||||
bool visible : 1;
|
||||
bool named : 1;
|
||||
|
|
@ -129,6 +130,7 @@ typedef struct TSLanguage {
|
|||
*/
|
||||
|
||||
#define STATE(id) id
|
||||
|
||||
#define ACTIONS(id) id
|
||||
|
||||
#define SHIFT(state_value) \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue