File tree 4 files changed +82
-11
lines changed
4 files changed +82
-11
lines changed Original file line number Diff line number Diff line change 1
1
all :
2
- tree-sitter generate --abi=13
3
- tree-sitter test
2
+ npm run build
3
+ npm run test
Original file line number Diff line number Diff line change 4
4
"description" : " A tree-sitter parser for Vim help files" ,
5
5
"main" : " bindings/node" ,
6
6
"scripts" : {
7
+ "build" : " tree-sitter generate" ,
7
8
"test" : " tree-sitter test"
8
9
},
9
10
"repository" : {
25
26
"nan" : " ^2.15.0"
26
27
},
27
28
"devDependencies" : {
28
- "tree-sitter-cli" : " ^0.20.0 "
29
+ "tree-sitter-cli" : " ^0.20.7 "
29
30
}
30
31
}
Original file line number Diff line number Diff line change 5
5
#pragma GCC diagnostic ignored "-Wmissing-field-initializers"
6
6
#endif
7
7
8
- #define LANGUAGE_VERSION 13
8
+ #define LANGUAGE_VERSION 14
9
9
#define STATE_COUNT 65
10
10
#define LARGE_STATE_COUNT 6
11
11
#define SYMBOL_COUNT 31
@@ -288,6 +288,74 @@ static const uint16_t ts_non_terminal_alias_map[] = {
288
288
0 ,
289
289
};
290
290
291
+ static const TSStateId ts_primary_state_ids [STATE_COUNT ] = {
292
+ [0 ] = 0 ,
293
+ [1 ] = 1 ,
294
+ [2 ] = 2 ,
295
+ [3 ] = 3 ,
296
+ [4 ] = 4 ,
297
+ [5 ] = 5 ,
298
+ [6 ] = 4 ,
299
+ [7 ] = 7 ,
300
+ [8 ] = 8 ,
301
+ [9 ] = 9 ,
302
+ [10 ] = 10 ,
303
+ [11 ] = 11 ,
304
+ [12 ] = 12 ,
305
+ [13 ] = 13 ,
306
+ [14 ] = 14 ,
307
+ [15 ] = 15 ,
308
+ [16 ] = 16 ,
309
+ [17 ] = 17 ,
310
+ [18 ] = 18 ,
311
+ [19 ] = 19 ,
312
+ [20 ] = 20 ,
313
+ [21 ] = 20 ,
314
+ [22 ] = 20 ,
315
+ [23 ] = 9 ,
316
+ [24 ] = 10 ,
317
+ [25 ] = 13 ,
318
+ [26 ] = 18 ,
319
+ [27 ] = 17 ,
320
+ [28 ] = 28 ,
321
+ [29 ] = 10 ,
322
+ [30 ] = 30 ,
323
+ [31 ] = 31 ,
324
+ [32 ] = 32 ,
325
+ [33 ] = 33 ,
326
+ [34 ] = 31 ,
327
+ [35 ] = 35 ,
328
+ [36 ] = 13 ,
329
+ [37 ] = 18 ,
330
+ [38 ] = 9 ,
331
+ [39 ] = 17 ,
332
+ [40 ] = 40 ,
333
+ [41 ] = 41 ,
334
+ [42 ] = 42 ,
335
+ [43 ] = 43 ,
336
+ [44 ] = 44 ,
337
+ [45 ] = 30 ,
338
+ [46 ] = 35 ,
339
+ [47 ] = 47 ,
340
+ [48 ] = 33 ,
341
+ [49 ] = 32 ,
342
+ [50 ] = 30 ,
343
+ [51 ] = 35 ,
344
+ [52 ] = 31 ,
345
+ [53 ] = 33 ,
346
+ [54 ] = 32 ,
347
+ [55 ] = 55 ,
348
+ [56 ] = 55 ,
349
+ [57 ] = 44 ,
350
+ [58 ] = 43 ,
351
+ [59 ] = 42 ,
352
+ [60 ] = 60 ,
353
+ [61 ] = 55 ,
354
+ [62 ] = 44 ,
355
+ [63 ] = 43 ,
356
+ [64 ] = 42 ,
357
+ };
358
+
291
359
static bool ts_lex (TSLexer * lexer , TSStateId state ) {
292
360
START_LEXER ();
293
361
eof = lexer -> eof (lexer );
@@ -1350,6 +1418,7 @@ extern const TSLanguage *tree_sitter_help(void) {
1350
1418
tree_sitter_help_external_scanner_serialize ,
1351
1419
tree_sitter_help_external_scanner_deserialize ,
1352
1420
},
1421
+ .primary_state_ids = ts_primary_state_ids ,
1353
1422
};
1354
1423
return & language ;
1355
1424
}
You can’t perform that action at this time.
0 commit comments