Upgrade tree-sitter for new lexer API

This commit is contained in:
Max Brunsfeld 2017-12-21 17:13:14 -08:00
parent 811de9534d
commit d85b6287e6
2 changed files with 2 additions and 1 deletions

View File

@ -13,7 +13,7 @@
"nan": "^2.4.0"
},
"devDependencies": {
"tree-sitter-cli": "^0.7.1"
"tree-sitter-cli": "^0.8.0"
},
"scripts": {
"build": "tree-sitter generate && node-gyp build",

View File

@ -24,6 +24,7 @@ typedef struct {
typedef struct {
void (*advance)(void *, bool);
void (*mark_end)(void *);
uint32_t (*get_column)(void *);
int32_t lookahead;
TSSymbol result_symbol;
} TSLexer;