Remove unused ‘unexpected token’ handling
This commit is contained in:
parent
d3d25f2683
commit
8b1aeee0e3
5 changed files with 14 additions and 68 deletions
|
|
@ -6,14 +6,7 @@ extern "C" {
|
|||
|
||||
#include "tree.h"
|
||||
|
||||
typedef enum {
|
||||
TSParseErrorTypeNone,
|
||||
TSParseErrorTypeLexical,
|
||||
TSParseErrorTypeSyntactic,
|
||||
} TSParseErrorType;
|
||||
|
||||
typedef struct {
|
||||
TSParseErrorType type;
|
||||
const char **expected_inputs;
|
||||
size_t expected_input_count;
|
||||
size_t position;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue