Commit
Author: Michael Davis [mcarsondavis@gmail.com]
Hash: e204002895821a057fc3d0d61758a6fa303d7721
Timestamp: Fri, 24 Dec 2021 02:47:06 +0000 (2 years ago)

+912 -847 +/-5 browse
separate out nodes for old and new files
1diff --git a/grammar.js b/grammar.js
2index 7559975..ba3b9f1 100644
3--- a/grammar.js
4+++ b/grammar.js
5 @@ -17,7 +17,8 @@ module.exports = grammar({
6 $.binary_change,
7 $.index,
8 $.similarity,
9- $.file,
10+ $.old_file,
11+ $.new_file,
12 $.location,
13 $.addition,
14 $.deletion,
15 @@ -42,7 +43,8 @@ module.exports = grammar({
16
17 similarity: ($) => iseq("similarity", "index", field("score", /\d+/), "%"),
18
19- file: ($) => iseq(field("kind", /[-\+]{3}/), $.filename),
20+ old_file: ($) => iseq("---", $.filename),
21+ new_file: ($) => iseq("+++", $.filename),
22
23 location: ($) =>
24 iseq("@@", $.linerange, $.linerange, "@@", optional(ANYTHING)),
25 diff --git a/src/grammar.json b/src/grammar.json
26index ad91225..60418b0 100644
27--- a/src/grammar.json
28+++ b/src/grammar.json
29 @@ -42,7 +42,11 @@
30 },
31 {
32 "type": "SYMBOL",
33- "name": "file"
34+ "name": "old_file"
35+ },
36+ {
37+ "type": "SYMBOL",
38+ "name": "new_file"
39 },
40 {
41 "type": "SYMBOL",
42 @@ -251,18 +255,30 @@
43 }
44 ]
45 },
46- "file": {
47+ "old_file": {
48 "type": "SEQ",
49 "members": [
50 {
51 "type": "IMMEDIATE_TOKEN",
52 "content": {
53- "type": "FIELD",
54- "name": "kind",
55- "content": {
56- "type": "PATTERN",
57- "value": "[-\\+]{3}"
58- }
59+ "type": "STRING",
60+ "value": "---"
61+ }
62+ },
63+ {
64+ "type": "SYMBOL",
65+ "name": "filename"
66+ }
67+ ]
68+ },
69+ "new_file": {
70+ "type": "SEQ",
71+ "members": [
72+ {
73+ "type": "IMMEDIATE_TOKEN",
74+ "content": {
75+ "type": "STRING",
76+ "value": "+++"
77 }
78 },
79 {
80 diff --git a/src/node-types.json b/src/node-types.json
81index bbc0109..4b588bd 100644
82--- a/src/node-types.json
83+++ b/src/node-types.json
84 @@ -40,21 +40,6 @@
85 "fields": {}
86 },
87 {
88- "type": "file",
89- "named": true,
90- "fields": {},
91- "children": {
92- "multiple": false,
93- "required": true,
94- "types": [
95- {
96- "type": "filename",
97- "named": true
98- }
99- ]
100- }
101- },
102- {
103 "type": "file_change",
104 "named": true,
105 "fields": {},
106 @@ -118,6 +103,36 @@
107 "fields": {}
108 },
109 {
110+ "type": "new_file",
111+ "named": true,
112+ "fields": {},
113+ "children": {
114+ "multiple": false,
115+ "required": true,
116+ "types": [
117+ {
118+ "type": "filename",
119+ "named": true
120+ }
121+ ]
122+ }
123+ },
124+ {
125+ "type": "old_file",
126+ "named": true,
127+ "fields": {},
128+ "children": {
129+ "multiple": false,
130+ "required": true,
131+ "types": [
132+ {
133+ "type": "filename",
134+ "named": true
135+ }
136+ ]
137+ }
138+ },
139+ {
140 "type": "similarity",
141 "named": true,
142 "fields": {}
143 @@ -151,10 +166,6 @@
144 "named": true
145 },
146 {
147- "type": "file",
148- "named": true
149- },
150- {
151 "type": "file_change",
152 "named": true
153 },
154 @@ -167,6 +178,14 @@
155 "named": true
156 },
157 {
158+ "type": "new_file",
159+ "named": true
160+ },
161+ {
162+ "type": "old_file",
163+ "named": true
164+ },
165+ {
166 "type": "similarity",
167 "named": true
168 }
169 @@ -182,10 +201,18 @@
170 "named": false
171 },
172 {
173+ "type": "+++",
174+ "named": false
175+ },
176+ {
177 "type": "-",
178 "named": false
179 },
180 {
181+ "type": "---",
182+ "named": false
183+ },
184+ {
185 "type": "--git",
186 "named": false
187 },
188 diff --git a/src/parser.c b/src/parser.c
189index ac458a2..ee291bf 100644
190--- a/src/parser.c
191+++ b/src/parser.c
192 @@ -6,11 +6,11 @@
193 #endif
194
195 #define LANGUAGE_VERSION 13
196- #define STATE_COUNT 49
197- #define LARGE_STATE_COUNT 2
198- #define SYMBOL_COUNT 44
199+ #define STATE_COUNT 51
200+ #define LARGE_STATE_COUNT 4
201+ #define SYMBOL_COUNT 46
202 #define ALIAS_COUNT 0
203- #define TOKEN_COUNT 29
204+ #define TOKEN_COUNT 30
205 #define EXTERNAL_TOKEN_COUNT 0
206 #define FIELD_COUNT 1
207 #define MAX_ALIAS_SEQUENCE_LENGTH 6
208 @@ -35,31 +35,33 @@ enum {
209 anon_sym_index2 = 16,
210 aux_sym_similarity_token1 = 17,
211 anon_sym_PERCENT = 18,
212- aux_sym_file_token1 = 19,
213- anon_sym_AT_AT = 20,
214- anon_sym_AT_AT2 = 21,
215- aux_sym_location_token1 = 22,
216- anon_sym_PLUS = 23,
217- anon_sym_DASH = 24,
218- sym_context = 25,
219- sym_linerange = 26,
220- aux_sym_filename_token1 = 27,
221- sym_commit = 28,
222- sym_source = 29,
223- sym__line = 30,
224- sym_command = 31,
225- sym_file_change = 32,
226- sym_binary_change = 33,
227- sym_index = 34,
228- sym_similarity = 35,
229- sym_file = 36,
230- sym_location = 37,
231- sym_addition = 38,
232- sym_deletion = 39,
233- sym_filename = 40,
234- sym_mode = 41,
235- aux_sym_source_repeat1 = 42,
236- aux_sym_filename_repeat1 = 43,
237+ anon_sym_DASH_DASH_DASH = 19,
238+ anon_sym_PLUS_PLUS_PLUS = 20,
239+ anon_sym_AT_AT = 21,
240+ anon_sym_AT_AT2 = 22,
241+ aux_sym_location_token1 = 23,
242+ anon_sym_PLUS = 24,
243+ anon_sym_DASH = 25,
244+ sym_context = 26,
245+ sym_linerange = 27,
246+ aux_sym_filename_token1 = 28,
247+ sym_commit = 29,
248+ sym_source = 30,
249+ sym__line = 31,
250+ sym_command = 32,
251+ sym_file_change = 33,
252+ sym_binary_change = 34,
253+ sym_index = 35,
254+ sym_similarity = 36,
255+ sym_old_file = 37,
256+ sym_new_file = 38,
257+ sym_location = 39,
258+ sym_addition = 40,
259+ sym_deletion = 41,
260+ sym_filename = 42,
261+ sym_mode = 43,
262+ aux_sym_source_repeat1 = 44,
263+ aux_sym_filename_repeat1 = 45,
264 };
265
266 static const char * const ts_symbol_names[] = {
267 @@ -82,7 +84,8 @@ static const char * const ts_symbol_names[] = {
268 [anon_sym_index2] = "index",
269 [aux_sym_similarity_token1] = "similarity_token1",
270 [anon_sym_PERCENT] = "%",
271- [aux_sym_file_token1] = "file_token1",
272+ [anon_sym_DASH_DASH_DASH] = "---",
273+ [anon_sym_PLUS_PLUS_PLUS] = "+++",
274 [anon_sym_AT_AT] = "@@",
275 [anon_sym_AT_AT2] = "@@",
276 [aux_sym_location_token1] = "location_token1",
277 @@ -99,7 +102,8 @@ static const char * const ts_symbol_names[] = {
278 [sym_binary_change] = "binary_change",
279 [sym_index] = "index",
280 [sym_similarity] = "similarity",
281- [sym_file] = "file",
282+ [sym_old_file] = "old_file",
283+ [sym_new_file] = "new_file",
284 [sym_location] = "location",
285 [sym_addition] = "addition",
286 [sym_deletion] = "deletion",
287 @@ -129,7 +133,8 @@ static const TSSymbol ts_symbol_map[] = {
288 [anon_sym_index2] = anon_sym_index,
289 [aux_sym_similarity_token1] = aux_sym_similarity_token1,
290 [anon_sym_PERCENT] = anon_sym_PERCENT,
291- [aux_sym_file_token1] = aux_sym_file_token1,
292+ [anon_sym_DASH_DASH_DASH] = anon_sym_DASH_DASH_DASH,
293+ [anon_sym_PLUS_PLUS_PLUS] = anon_sym_PLUS_PLUS_PLUS,
294 [anon_sym_AT_AT] = anon_sym_AT_AT,
295 [anon_sym_AT_AT2] = anon_sym_AT_AT,
296 [aux_sym_location_token1] = aux_sym_location_token1,
297 @@ -146,7 +151,8 @@ static const TSSymbol ts_symbol_map[] = {
298 [sym_binary_change] = sym_binary_change,
299 [sym_index] = sym_index,
300 [sym_similarity] = sym_similarity,
301- [sym_file] = sym_file,
302+ [sym_old_file] = sym_old_file,
303+ [sym_new_file] = sym_new_file,
304 [sym_location] = sym_location,
305 [sym_addition] = sym_addition,
306 [sym_deletion] = sym_deletion,
307 @@ -233,8 +239,12 @@ static const TSSymbolMetadata ts_symbol_metadata[] = {
308 .visible = true,
309 .named = false,
310 },
311- [aux_sym_file_token1] = {
312- .visible = false,
313+ [anon_sym_DASH_DASH_DASH] = {
314+ .visible = true,
315+ .named = false,
316+ },
317+ [anon_sym_PLUS_PLUS_PLUS] = {
318+ .visible = true,
319 .named = false,
320 },
321 [anon_sym_AT_AT] = {
322 @@ -301,7 +311,11 @@ static const TSSymbolMetadata ts_symbol_metadata[] = {
323 .visible = true,
324 .named = true,
325 },
326- [sym_file] = {
327+ [sym_old_file] = {
328+ .visible = true,
329+ .named = true,
330+ },
331+ [sym_new_file] = {
332 .visible = true,
333 .named = true,
334 },
335 @@ -366,134 +380,134 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) {
336 eof = lexer->eof(lexer);
337 switch (state) {
338 case 0:
339- if (eof) ADVANCE(87);
340- if (lookahead == '\n') ADVANCE(88);
341+ if (eof) ADVANCE(88);
342+ if (lookahead == '\n') ADVANCE(89);
343 if (lookahead == '\r') ADVANCE(1);
344- if (lookahead == '%') ADVANCE(148);
345- if (lookahead == '+') ADVANCE(154);
346- if (lookahead == '-') ADVANCE(156);
347- if (lookahead == '.') ADVANCE(6);
348- if (lookahead == '@') ADVANCE(7);
349- if (lookahead == 'B') ADVANCE(40);
350- if (lookahead == 'a') ADVANCE(56);
351- if (lookahead == 'd') ADVANCE(19);
352- if (lookahead == 'f') ADVANCE(38);
353- if (lookahead == 'i') ADVANCE(58);
354- if (lookahead == 'm') ADVANCE(63);
355- if (lookahead == 'n') ADVANCE(20);
356- if (lookahead == 'r') ADVANCE(30);
357- if (lookahead == 's') ADVANCE(39);
358- if (lookahead == 't') ADVANCE(61);
359- if (('b' <= lookahead && lookahead <= 'e')) ADVANCE(84);
360+ if (lookahead == '%') ADVANCE(149);
361+ if (lookahead == '+') ADVANCE(156);
362+ if (lookahead == '-') ADVANCE(158);
363+ if (lookahead == '.') ADVANCE(8);
364+ if (lookahead == '@') ADVANCE(9);
365+ if (lookahead == 'B') ADVANCE(42);
366+ if (lookahead == 'a') ADVANCE(58);
367+ if (lookahead == 'd') ADVANCE(21);
368+ if (lookahead == 'f') ADVANCE(40);
369+ if (lookahead == 'i') ADVANCE(60);
370+ if (lookahead == 'm') ADVANCE(65);
371+ if (lookahead == 'n') ADVANCE(22);
372+ if (lookahead == 'r') ADVANCE(32);
373+ if (lookahead == 's') ADVANCE(41);
374+ if (lookahead == 't') ADVANCE(63);
375+ if (('b' <= lookahead && lookahead <= 'e')) ADVANCE(85);
376 if (('\t' <= lookahead && lookahead <= '\f') ||
377- lookahead == ' ') SKIP(85)
378- if (('0' <= lookahead && lookahead <= '9')) ADVANCE(118);
379+ lookahead == ' ') SKIP(86)
380+ if (('0' <= lookahead && lookahead <= '9')) ADVANCE(119);
381 END_STATE();
382 case 1:
383- if (lookahead == '\n') ADVANCE(88);
384+ if (lookahead == '\n') ADVANCE(89);
385 END_STATE();
386 case 2:
387- if (lookahead == '\n') ADVANCE(88);
388+ if (lookahead == '\n') ADVANCE(89);
389 if (lookahead == '\r') ADVANCE(1);
390- if (lookahead == '+') ADVANCE(77);
391- if (lookahead == '-') ADVANCE(5);
392- if (lookahead == '@') ADVANCE(8);
393- if (lookahead == 'd') ADVANCE(44);
394- if (lookahead == 'f') ADVANCE(46);
395- if (lookahead == 'i') ADVANCE(60);
396- if (lookahead == 't') ADVANCE(61);
397+ if (lookahead == '+') ADVANCE(78);
398+ if (lookahead == '-') ADVANCE(7);
399+ if (lookahead == '@') ADVANCE(10);
400+ if (lookahead == 'd') ADVANCE(46);
401+ if (lookahead == 'f') ADVANCE(48);
402+ if (lookahead == 'i') ADVANCE(62);
403+ if (lookahead == 't') ADVANCE(63);
404 if (('\t' <= lookahead && lookahead <= '\f') ||
405 lookahead == ' ') SKIP(2)
406- if (('0' <= lookahead && lookahead <= '9')) ADVANCE(147);
407+ if (('0' <= lookahead && lookahead <= '9')) ADVANCE(148);
408 END_STATE();
409 case 3:
410- if (lookahead == '\n') ADVANCE(88);
411+ if (lookahead == '\n') ADVANCE(89);
412 if (lookahead == '\r') ADVANCE(1);
413 if (lookahead == '\t' ||
414 lookahead == ' ') SKIP(3)
415 if (lookahead == 11 ||
416- lookahead == '\f') ADVANCE(206);
417- if (lookahead != 0) ADVANCE(207);
418+ lookahead == '\f') ADVANCE(209);
419+ if (lookahead != 0) ADVANCE(210);
420 END_STATE();
421 case 4:
422- if (lookahead == '\n') ADVANCE(88);
423+ if (lookahead == '\n') ADVANCE(89);
424 if (lookahead == '\r') ADVANCE(1);
425 if (('\t' <= lookahead && lookahead <= '\f') ||
426- lookahead == ' ') ADVANCE(152);
427- if (lookahead != 0) ADVANCE(153);
428+ lookahead == ' ') ADVANCE(154);
429+ if (lookahead != 0) ADVANCE(155);
430 END_STATE();
431 case 5:
432- if (lookahead == '-') ADVANCE(37);
433- if (('0' <= lookahead && lookahead <= '9')) ADVANCE(195);
434+ if (lookahead == '+') ADVANCE(151);
435 END_STATE();
436 case 6:
437- if (lookahead == '.') ADVANCE(105);
438+ if (lookahead == '-') ADVANCE(150);
439 END_STATE();
440 case 7:
441- if (lookahead == '@') ADVANCE(150);
442+ if (lookahead == '-') ADVANCE(39);
443+ if (('0' <= lookahead && lookahead <= '9')) ADVANCE(198);
444 END_STATE();
445 case 8:
446- if (lookahead == '@') ADVANCE(151);
447+ if (lookahead == '.') ADVANCE(106);
448 END_STATE();
449 case 9:
450- if (lookahead == 'a') ADVANCE(64);
451+ if (lookahead == '@') ADVANCE(152);
452 END_STATE();
453 case 10:
454- if (lookahead == 'a') ADVANCE(204);
455- if (lookahead == '\t' ||
456- lookahead == ' ') SKIP(10)
457- if (lookahead == 11 ||
458- lookahead == '\f') ADVANCE(197);
459- if (lookahead != 0 &&
460- (lookahead < '\n' || '\r' < lookahead)) ADVANCE(207);
461+ if (lookahead == '@') ADVANCE(153);
462 END_STATE();
463 case 11:
464- if (lookahead == 'a') ADVANCE(55);
465+ if (lookahead == 'a') ADVANCE(66);
466 END_STATE();
467 case 12:
468- if (lookahead == 'a') ADVANCE(66);
469+ if (lookahead == 'a') ADVANCE(207);
470+ if (lookahead == '\t' ||
471+ lookahead == ' ') SKIP(12)
472+ if (lookahead == 11 ||
473+ lookahead == '\f') ADVANCE(200);
474+ if (lookahead != 0 &&
475+ (lookahead < '\n' || '\r' < lookahead)) ADVANCE(210);
476 END_STATE();
477 case 13:
478- if (lookahead == 'd') ADVANCE(100);
479+ if (lookahead == 'a') ADVANCE(57);
480 END_STATE();
481 case 14:
482- if (lookahead == 'd') ADVANCE(92);
483+ if (lookahead == 'a') ADVANCE(68);
484 END_STATE();
485 case 15:
486- if (lookahead == 'd') ADVANCE(203);
487- if (lookahead == '\t' ||
488- lookahead == ' ') SKIP(15)
489- if (lookahead == 11 ||
490- lookahead == '\f') ADVANCE(199);
491- if (lookahead != 0 &&
492- (lookahead < '\n' || '\r' < lookahead)) ADVANCE(207);
493+ if (lookahead == 'd') ADVANCE(101);
494 END_STATE();
495 case 16:
496- if (lookahead == 'd') ADVANCE(24);
497+ if (lookahead == 'd') ADVANCE(93);
498 END_STATE();
499 case 17:
500- if (lookahead == 'd') ADVANCE(25);
501+ if (lookahead == 'd') ADVANCE(206);
502+ if (lookahead == '\t' ||
503+ lookahead == ' ') SKIP(17)
504+ if (lookahead == 11 ||
505+ lookahead == '\f') ADVANCE(201);
506+ if (lookahead != 0 &&
507+ (lookahead < '\n' || '\r' < lookahead)) ADVANCE(210);
508 END_STATE();
509 case 18:
510- if (lookahead == 'd') ADVANCE(29);
511+ if (lookahead == 'd') ADVANCE(26);
512 END_STATE();
513 case 19:
514- if (lookahead == 'e') ADVANCE(48);
515- if (lookahead == 'i') ADVANCE(33);
516- if (('0' <= lookahead && lookahead <= '9') ||
517- ('a' <= lookahead && lookahead <= 'f')) ADVANCE(83);
518+ if (lookahead == 'd') ADVANCE(27);
519 END_STATE();
520 case 20:
521- if (lookahead == 'e') ADVANCE(71);
522+ if (lookahead == 'd') ADVANCE(31);
523 END_STATE();
524 case 21:
525- if (lookahead == 'e') ADVANCE(92);
526+ if (lookahead == 'e') ADVANCE(50);
527+ if (lookahead == 'i') ADVANCE(35);
528+ if (('0' <= lookahead && lookahead <= '9') ||
529+ ('a' <= lookahead && lookahead <= 'f')) ADVANCE(84);
530 END_STATE();
531 case 22:
532- if (lookahead == 'e') ADVANCE(70);
533+ if (lookahead == 'e') ADVANCE(73);
534 END_STATE();
535 case 23:
536- if (lookahead == 'e') ADVANCE(94);
537+ if (lookahead == 'e') ADVANCE(93);
538 END_STATE();
539 case 24:
540 if (lookahead == 'e') ADVANCE(72);
541 @@ -502,121 +516,121 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) {
542 if (lookahead == 'e') ADVANCE(95);
543 END_STATE();
544 case 26:
545- if (lookahead == 'e') ADVANCE(93);
546+ if (lookahead == 'e') ADVANCE(74);
547 END_STATE();
548 case 27:
549- if (lookahead == 'e') ADVANCE(67);
550+ if (lookahead == 'e') ADVANCE(96);
551 END_STATE();
552 case 28:
553- if (lookahead == 'e') ADVANCE(65);
554+ if (lookahead == 'e') ADVANCE(94);
555 END_STATE();
556 case 29:
557- if (lookahead == 'e') ADVANCE(73);
558+ if (lookahead == 'e') ADVANCE(69);
559 END_STATE();
560 case 30:
561- if (lookahead == 'e') ADVANCE(59);
562+ if (lookahead == 'e') ADVANCE(67);
563 END_STATE();
564 case 31:
565- if (lookahead == 'e') ADVANCE(14);
566+ if (lookahead == 'e') ADVANCE(75);
567 END_STATE();
568 case 32:
569- if (lookahead == 'f') ADVANCE(90);
570+ if (lookahead == 'e') ADVANCE(61);
571 END_STATE();
572 case 33:
573- if (lookahead == 'f') ADVANCE(32);
574+ if (lookahead == 'e') ADVANCE(16);
575 END_STATE();
576 case 34:
577- if (lookahead == 'f') ADVANCE(47);
578- if (lookahead == '\t' ||
579- lookahead == 11 ||
580- lookahead == '\f' ||
581- lookahead == ' ') SKIP(34)
582- if (('0' <= lookahead && lookahead <= '9') ||
583- ('a' <= lookahead && lookahead <= 'e')) ADVANCE(84);
584+ if (lookahead == 'f') ADVANCE(91);
585 END_STATE();
586 case 35:
587- if (lookahead == 'f') ADVANCE(36);
588+ if (lookahead == 'f') ADVANCE(34);
589 END_STATE();
590 case 36:
591- if (lookahead == 'f') ADVANCE(28);
592+ if (lookahead == 'f') ADVANCE(49);
593+ if (lookahead == '\t' ||
594+ lookahead == 11 ||
595+ lookahead == '\f' ||
596+ lookahead == ' ') SKIP(36)
597+ if (('0' <= lookahead && lookahead <= '9') ||
598+ ('a' <= lookahead && lookahead <= 'e')) ADVANCE(85);
599 END_STATE();
600 case 37:
601- if (lookahead == 'g') ADVANCE(43);
602+ if (lookahead == 'f') ADVANCE(38);
603 END_STATE();
604 case 38:
605- if (lookahead == 'i') ADVANCE(49);
606- if (lookahead == 'r') ADVANCE(62);
607- if (('0' <= lookahead && lookahead <= '9') ||
608- ('a' <= lookahead && lookahead <= 'f')) ADVANCE(83);
609+ if (lookahead == 'f') ADVANCE(30);
610 END_STATE();
611 case 39:
612- if (lookahead == 'i') ADVANCE(54);
613+ if (lookahead == 'g') ADVANCE(45);
614 END_STATE();
615 case 40:
616- if (lookahead == 'i') ADVANCE(57);
617+ if (lookahead == 'i') ADVANCE(51);
618+ if (lookahead == 'r') ADVANCE(64);
619+ if (('0' <= lookahead && lookahead <= '9') ||
620+ ('a' <= lookahead && lookahead <= 'f')) ADVANCE(84);
621 END_STATE();
622 case 41:
623- if (lookahead == 'i') ADVANCE(52);
624+ if (lookahead == 'i') ADVANCE(56);
625 END_STATE();
626 case 42:
627- if (lookahead == 'i') ADVANCE(69);
628+ if (lookahead == 'i') ADVANCE(59);
629 END_STATE();
630 case 43:
631- if (lookahead == 'i') ADVANCE(68);
632+ if (lookahead == 'i') ADVANCE(54);
633 END_STATE();
634 case 44:
635- if (lookahead == 'i') ADVANCE(35);
636+ if (lookahead == 'i') ADVANCE(71);
637 END_STATE();
638 case 45:
639- if (lookahead == 'i') ADVANCE(35);
640- if (('0' <= lookahead && lookahead <= '9') ||
641- ('a' <= lookahead && lookahead <= 'f')) ADVANCE(83);
642+ if (lookahead == 'i') ADVANCE(70);
643 END_STATE();
644 case 46:
645- if (lookahead == 'i') ADVANCE(50);
646- if (lookahead == 'r') ADVANCE(62);
647+ if (lookahead == 'i') ADVANCE(37);
648 END_STATE();
649 case 47:
650- if (lookahead == 'i') ADVANCE(51);
651+ if (lookahead == 'i') ADVANCE(37);
652 if (('0' <= lookahead && lookahead <= '9') ||
653- ('a' <= lookahead && lookahead <= 'f')) ADVANCE(83);
654+ ('a' <= lookahead && lookahead <= 'f')) ADVANCE(84);
655 END_STATE();
656 case 48:
657- if (lookahead == 'l') ADVANCE(22);
658- if (('0' <= lookahead && lookahead <= '9') ||
659- ('a' <= lookahead && lookahead <= 'f')) ADVANCE(82);
660+ if (lookahead == 'i') ADVANCE(52);
661+ if (lookahead == 'r') ADVANCE(64);
662 END_STATE();
663 case 49:
664- if (lookahead == 'l') ADVANCE(23);
665+ if (lookahead == 'i') ADVANCE(53);
666+ if (('0' <= lookahead && lookahead <= '9') ||
667+ ('a' <= lookahead && lookahead <= 'f')) ADVANCE(84);
668 END_STATE();
669 case 50:
670- if (lookahead == 'l') ADVANCE(26);
671+ if (lookahead == 'l') ADVANCE(24);
672+ if (('0' <= lookahead && lookahead <= '9') ||
673+ ('a' <= lookahead && lookahead <= 'f')) ADVANCE(83);
674 END_STATE();
675 case 51:
676- if (lookahead == 'l') ADVANCE(27);
677+ if (lookahead == 'l') ADVANCE(25);
678 END_STATE();
679 case 52:
680- if (lookahead == 'l') ADVANCE(12);
681+ if (lookahead == 'l') ADVANCE(28);
682 END_STATE();
683 case 53:
684- if (lookahead == 'm') ADVANCE(96);
685+ if (lookahead == 'l') ADVANCE(29);
686 END_STATE();
687 case 54:
688- if (lookahead == 'm') ADVANCE(41);
689+ if (lookahead == 'l') ADVANCE(14);
690 END_STATE();
691 case 55:
692- if (lookahead == 'm') ADVANCE(21);
693+ if (lookahead == 'm') ADVANCE(97);
694 END_STATE();
695 case 56:
696- if (lookahead == 'n') ADVANCE(13);
697- if (('0' <= lookahead && lookahead <= '9') ||
698- ('a' <= lookahead && lookahead <= 'f')) ADVANCE(83);
699+ if (lookahead == 'm') ADVANCE(43);
700 END_STATE();
701 case 57:
702- if (lookahead == 'n') ADVANCE(9);
703+ if (lookahead == 'm') ADVANCE(23);
704 END_STATE();
705 case 58:
706- if (lookahead == 'n') ADVANCE(16);
707+ if (lookahead == 'n') ADVANCE(15);
708+ if (('0' <= lookahead && lookahead <= '9') ||
709+ ('a' <= lookahead && lookahead <= 'f')) ADVANCE(84);
710 END_STATE();
711 case 59:
712 if (lookahead == 'n') ADVANCE(11);
713 @@ -625,67 +639,65 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) {
714 if (lookahead == 'n') ADVANCE(18);
715 END_STATE();
716 case 61:
717- if (lookahead == 'o') ADVANCE(97);
718+ if (lookahead == 'n') ADVANCE(13);
719 END_STATE();
720 case 62:
721- if (lookahead == 'o') ADVANCE(53);
722+ if (lookahead == 'n') ADVANCE(20);
723 END_STATE();
724 case 63:
725- if (lookahead == 'o') ADVANCE(17);
726+ if (lookahead == 'o') ADVANCE(98);
727 END_STATE();
728 case 64:
729- if (lookahead == 'r') ADVANCE(74);
730+ if (lookahead == 'o') ADVANCE(55);
731 END_STATE();
732 case 65:
733- if (lookahead == 'r') ADVANCE(102);
734+ if (lookahead == 'o') ADVANCE(19);
735 END_STATE();
736 case 66:
737- if (lookahead == 'r') ADVANCE(42);
738+ if (lookahead == 'r') ADVANCE(76);
739 END_STATE();
740 case 67:
741- if (lookahead == 's') ADVANCE(99);
742+ if (lookahead == 'r') ADVANCE(103);
743 END_STATE();
744 case 68:
745- if (lookahead == 't') ADVANCE(91);
746+ if (lookahead == 'r') ADVANCE(44);
747 END_STATE();
748 case 69:
749- if (lookahead == 't') ADVANCE(75);
750+ if (lookahead == 's') ADVANCE(100);
751 END_STATE();
752 case 70:
753- if (lookahead == 't') ADVANCE(31);
754+ if (lookahead == 't') ADVANCE(92);
755 END_STATE();
756 case 71:
757- if (lookahead == 'w') ADVANCE(92);
758+ if (lookahead == 't') ADVANCE(77);
759 END_STATE();
760 case 72:
761- if (lookahead == 'x') ADVANCE(104);
762+ if (lookahead == 't') ADVANCE(33);
763 END_STATE();
764 case 73:
765- if (lookahead == 'x') ADVANCE(107);
766+ if (lookahead == 'w') ADVANCE(93);
767 END_STATE();
768 case 74:
769- if (lookahead == 'y') ADVANCE(98);
770+ if (lookahead == 'x') ADVANCE(105);
771 END_STATE();
772 case 75:
773- if (lookahead == 'y') ADVANCE(106);
774+ if (lookahead == 'x') ADVANCE(108);
775 END_STATE();
776 case 76:
777- if (lookahead == '+' ||
778- lookahead == '-') ADVANCE(149);
779+ if (lookahead == 'y') ADVANCE(99);
780 END_STATE();
781 case 77:
782- if (('0' <= lookahead && lookahead <= '9')) ADVANCE(195);
783+ if (lookahead == 'y') ADVANCE(107);
784 END_STATE();
785 case 78:
786- if (('0' <= lookahead && lookahead <= '9')) ADVANCE(196);
787+ if (('0' <= lookahead && lookahead <= '9')) ADVANCE(198);
788 END_STATE();
789 case 79:
790- if (('0' <= lookahead && lookahead <= '9') ||
791- ('a' <= lookahead && lookahead <= 'f')) ADVANCE(241);
792+ if (('0' <= lookahead && lookahead <= '9')) ADVANCE(199);
793 END_STATE();
794 case 80:
795 if (('0' <= lookahead && lookahead <= '9') ||
796- ('a' <= lookahead && lookahead <= 'f')) ADVANCE(79);
797+ ('a' <= lookahead && lookahead <= 'f')) ADVANCE(244);
798 END_STATE();
799 case 81:
800 if (('0' <= lookahead && lookahead <= '9') ||
801 @@ -704,747 +716,741 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) {
802 ('a' <= lookahead && lookahead <= 'f')) ADVANCE(83);
803 END_STATE();
804 case 85:
805- if (eof) ADVANCE(87);
806- if (lookahead == '\n') ADVANCE(88);
807+ if (('0' <= lookahead && lookahead <= '9') ||
808+ ('a' <= lookahead && lookahead <= 'f')) ADVANCE(84);
809+ END_STATE();
810+ case 86:
811+ if (eof) ADVANCE(88);
812+ if (lookahead == '\n') ADVANCE(89);
813 if (lookahead == '\r') ADVANCE(1);
814- if (lookahead == '%') ADVANCE(148);
815- if (lookahead == '.') ADVANCE(6);
816- if (lookahead == '@') ADVANCE(8);
817- if (lookahead == 'a') ADVANCE(56);
818- if (lookahead == 'd') ADVANCE(45);
819- if (lookahead == 'f') ADVANCE(38);
820- if (lookahead == 'i') ADVANCE(60);
821- if (lookahead == 'm') ADVANCE(63);
822- if (lookahead == 't') ADVANCE(61);
823- if (('b' <= lookahead && lookahead <= 'e')) ADVANCE(84);
824+ if (lookahead == '%') ADVANCE(149);
825+ if (lookahead == '.') ADVANCE(8);
826+ if (lookahead == '@') ADVANCE(10);
827+ if (lookahead == 'a') ADVANCE(58);
828+ if (lookahead == 'd') ADVANCE(47);
829+ if (lookahead == 'f') ADVANCE(40);
830+ if (lookahead == 'i') ADVANCE(62);
831+ if (lookahead == 'm') ADVANCE(65);
832+ if (lookahead == 't') ADVANCE(63);
833+ if (('b' <= lookahead && lookahead <= 'e')) ADVANCE(85);
834 if (('\t' <= lookahead && lookahead <= '\f') ||
835- lookahead == ' ') SKIP(85)
836- if (('0' <= lookahead && lookahead <= '9')) ADVANCE(118);
837+ lookahead == ' ') SKIP(86)
838+ if (('0' <= lookahead && lookahead <= '9')) ADVANCE(119);
839 END_STATE();
840- case 86:
841- if (eof) ADVANCE(87);
842- if (lookahead == '+') ADVANCE(155);
843- if (lookahead == '-') ADVANCE(157);
844- if (lookahead == '@') ADVANCE(158);
845- if (lookahead == 'B') ADVANCE(174);
846- if (lookahead == 'd') ADVANCE(165);
847- if (lookahead == 'i') ADVANCE(181);
848- if (lookahead == 'n') ADVANCE(166);
849- if (lookahead == 'r') ADVANCE(170);
850- if (lookahead == 's') ADVANCE(173);
851+ case 87:
852+ if (eof) ADVANCE(88);
853+ if (lookahead == '+') ADVANCE(157);
854+ if (lookahead == '-') ADVANCE(159);
855+ if (lookahead == '@') ADVANCE(162);
856+ if (lookahead == 'B') ADVANCE(178);
857+ if (lookahead == 'd') ADVANCE(169);
858+ if (lookahead == 'i') ADVANCE(185);
859+ if (lookahead == 'n') ADVANCE(170);
860+ if (lookahead == 'r') ADVANCE(174);
861+ if (lookahead == 's') ADVANCE(177);
862 if (lookahead == '\t' ||
863 lookahead == 11 ||
864 lookahead == '\f' ||
865- lookahead == ' ') ADVANCE(193);
866+ lookahead == ' ') ADVANCE(196);
867 if (lookahead != 0 &&
868- (lookahead < '\n' || '\r' < lookahead)) ADVANCE(194);
869- END_STATE();
870- case 87:
871- ACCEPT_TOKEN(ts_builtin_sym_end);
872+ (lookahead < '\n' || '\r' < lookahead)) ADVANCE(197);
873 END_STATE();
874 case 88:
875- ACCEPT_TOKEN(aux_sym_source_token1);
876+ ACCEPT_TOKEN(ts_builtin_sym_end);
877 END_STATE();
878 case 89:
879- ACCEPT_TOKEN(anon_sym_diff);
880+ ACCEPT_TOKEN(aux_sym_source_token1);
881 END_STATE();
882 case 90:
883 ACCEPT_TOKEN(anon_sym_diff);
884- if (lookahead == 'e') ADVANCE(65);
885 END_STATE();
886 case 91:
887- ACCEPT_TOKEN(anon_sym_DASH_DASHgit);
888+ ACCEPT_TOKEN(anon_sym_diff);
889+ if (lookahead == 'e') ADVANCE(67);
890 END_STATE();
891 case 92:
892- ACCEPT_TOKEN(aux_sym_file_change_token1);
893+ ACCEPT_TOKEN(anon_sym_DASH_DASHgit);
894 END_STATE();
895 case 93:
896- ACCEPT_TOKEN(anon_sym_file);
897+ ACCEPT_TOKEN(aux_sym_file_change_token1);
898 END_STATE();
899 case 94:
900 ACCEPT_TOKEN(anon_sym_file);
901- if (lookahead == 's') ADVANCE(99);
902 END_STATE();
903 case 95:
904- ACCEPT_TOKEN(anon_sym_mode);
905+ ACCEPT_TOKEN(anon_sym_file);
906+ if (lookahead == 's') ADVANCE(100);
907 END_STATE();
908 case 96:
909- ACCEPT_TOKEN(anon_sym_from);
910+ ACCEPT_TOKEN(anon_sym_mode);
911 END_STATE();
912 case 97:
913- ACCEPT_TOKEN(anon_sym_to);
914+ ACCEPT_TOKEN(anon_sym_from);
915 END_STATE();
916 case 98:
917- ACCEPT_TOKEN(anon_sym_Binary);
918+ ACCEPT_TOKEN(anon_sym_to);
919 END_STATE();
920 case 99:
921- ACCEPT_TOKEN(anon_sym_files);
922+ ACCEPT_TOKEN(anon_sym_Binary);
923 END_STATE();
924 case 100:
925- ACCEPT_TOKEN(anon_sym_and);
926+ ACCEPT_TOKEN(anon_sym_files);
927 END_STATE();
928 case 101:
929 ACCEPT_TOKEN(anon_sym_and);
930+ END_STATE();
931+ case 102:
932+ ACCEPT_TOKEN(anon_sym_and);
933 if (lookahead != 0 &&
934 lookahead != '\t' &&
935 lookahead != '\n' &&
936 lookahead != '\r' &&
937- lookahead != ' ') ADVANCE(207);
938+ lookahead != ' ') ADVANCE(210);
939 END_STATE();
940- case 102:
941+ case 103:
942 ACCEPT_TOKEN(anon_sym_differ);
943 END_STATE();
944- case 103:
945+ case 104:
946 ACCEPT_TOKEN(anon_sym_differ);
947 if (lookahead != 0 &&
948 lookahead != '\t' &&
949 lookahead != '\n' &&
950 lookahead != '\r' &&
951- lookahead != ' ') ADVANCE(207);
952- END_STATE();
953- case 104:
954- ACCEPT_TOKEN(anon_sym_index);
955+ lookahead != ' ') ADVANCE(210);
956 END_STATE();
957 case 105:
958- ACCEPT_TOKEN(anon_sym_DOT_DOT);
959+ ACCEPT_TOKEN(anon_sym_index);
960 END_STATE();
961 case 106:
962- ACCEPT_TOKEN(anon_sym_similarity);
963+ ACCEPT_TOKEN(anon_sym_DOT_DOT);
964 END_STATE();
965 case 107:
966- ACCEPT_TOKEN(anon_sym_index2);
967+ ACCEPT_TOKEN(anon_sym_similarity);
968 END_STATE();
969 case 108:
970- ACCEPT_TOKEN(aux_sym_similarity_token1);
971- if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(241);
972- if (('0' <= lookahead && lookahead <= '9')) ADVANCE(146);
973+ ACCEPT_TOKEN(anon_sym_index2);
974 END_STATE();
975 case 109:
976 ACCEPT_TOKEN(aux_sym_similarity_token1);
977- if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(208);
978+ if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(244);
979 if (('0' <= lookahead && lookahead <= '9')) ADVANCE(147);
980 END_STATE();
981 case 110:
982 ACCEPT_TOKEN(aux_sym_similarity_token1);
983- if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(79);
984- if (('0' <= lookahead && lookahead <= '9')) ADVANCE(108);
985+ if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(211);
986+ if (('0' <= lookahead && lookahead <= '9')) ADVANCE(148);
987 END_STATE();
988 case 111:
989 ACCEPT_TOKEN(aux_sym_similarity_token1);
990- if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(209);
991+ if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(80);
992 if (('0' <= lookahead && lookahead <= '9')) ADVANCE(109);
993 END_STATE();
994 case 112:
995 ACCEPT_TOKEN(aux_sym_similarity_token1);
996- if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(80);
997+ if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(212);
998 if (('0' <= lookahead && lookahead <= '9')) ADVANCE(110);
999 END_STATE();
1000 case 113:
1001 ACCEPT_TOKEN(aux_sym_similarity_token1);
1002- if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(210);
1003+ if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(81);
1004 if (('0' <= lookahead && lookahead <= '9')) ADVANCE(111);
1005 END_STATE();
1006 case 114:
1007 ACCEPT_TOKEN(aux_sym_similarity_token1);
1008- if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(81);
1009+ if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(213);
1010 if (('0' <= lookahead && lookahead <= '9')) ADVANCE(112);
1011 END_STATE();
1012 case 115:
1013 ACCEPT_TOKEN(aux_sym_similarity_token1);
1014- if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(211);
1015+ if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(82);
1016 if (('0' <= lookahead && lookahead <= '9')) ADVANCE(113);
1017 END_STATE();
1018 case 116:
1019 ACCEPT_TOKEN(aux_sym_similarity_token1);
1020- if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(82);
1021+ if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(214);
1022 if (('0' <= lookahead && lookahead <= '9')) ADVANCE(114);
1023 END_STATE();
1024 case 117:
1025 ACCEPT_TOKEN(aux_sym_similarity_token1);
1026- if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(212);
1027+ if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(83);
1028 if (('0' <= lookahead && lookahead <= '9')) ADVANCE(115);
1029 END_STATE();
1030 case 118:
1031 ACCEPT_TOKEN(aux_sym_similarity_token1);
1032- if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(83);
1033+ if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(215);
1034 if (('0' <= lookahead && lookahead <= '9')) ADVANCE(116);
1035 END_STATE();
1036 case 119:
1037 ACCEPT_TOKEN(aux_sym_similarity_token1);
1038- if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(213);
1039+ if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(84);
1040 if (('0' <= lookahead && lookahead <= '9')) ADVANCE(117);
1041 END_STATE();
1042 case 120:
1043 ACCEPT_TOKEN(aux_sym_similarity_token1);
1044- if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(214);
1045- if (('0' <= lookahead && lookahead <= '9')) ADVANCE(119);
1046+ if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(216);
1047+ if (('0' <= lookahead && lookahead <= '9')) ADVANCE(118);
1048 END_STATE();
1049 case 121:
1050 ACCEPT_TOKEN(aux_sym_similarity_token1);
1051- if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(215);
1052+ if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(217);
1053 if (('0' <= lookahead && lookahead <= '9')) ADVANCE(120);
1054 END_STATE();
1055 case 122:
1056 ACCEPT_TOKEN(aux_sym_similarity_token1);
1057- if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(216);
1058+ if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(218);
1059 if (('0' <= lookahead && lookahead <= '9')) ADVANCE(121);
1060 END_STATE();
1061 case 123:
1062 ACCEPT_TOKEN(aux_sym_similarity_token1);
1063- if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(217);
1064+ if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(219);
1065 if (('0' <= lookahead && lookahead <= '9')) ADVANCE(122);
1066 END_STATE();
1067 case 124:
1068 ACCEPT_TOKEN(aux_sym_similarity_token1);
1069- if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(218);
1070+ if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(220);
1071 if (('0' <= lookahead && lookahead <= '9')) ADVANCE(123);
1072 END_STATE();
1073 case 125:
1074 ACCEPT_TOKEN(aux_sym_similarity_token1);
1075- if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(219);
1076+ if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(221);
1077 if (('0' <= lookahead && lookahead <= '9')) ADVANCE(124);
1078 END_STATE();
1079 case 126:
1080 ACCEPT_TOKEN(aux_sym_similarity_token1);
1081- if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(220);
1082+ if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(222);
1083 if (('0' <= lookahead && lookahead <= '9')) ADVANCE(125);
1084 END_STATE();
1085 case 127:
1086 ACCEPT_TOKEN(aux_sym_similarity_token1);
1087- if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(221);
1088+ if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(223);
1089 if (('0' <= lookahead && lookahead <= '9')) ADVANCE(126);
1090 END_STATE();
1091 case 128:
1092 ACCEPT_TOKEN(aux_sym_similarity_token1);
1093- if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(222);
1094+ if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(224);
1095 if (('0' <= lookahead && lookahead <= '9')) ADVANCE(127);
1096 END_STATE();
1097 case 129:
1098 ACCEPT_TOKEN(aux_sym_similarity_token1);
1099- if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(223);
1100+ if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(225);
1101 if (('0' <= lookahead && lookahead <= '9')) ADVANCE(128);
1102 END_STATE();
1103 case 130:
1104 ACCEPT_TOKEN(aux_sym_similarity_token1);
1105- if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(224);
1106+ if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(226);
1107 if (('0' <= lookahead && lookahead <= '9')) ADVANCE(129);
1108 END_STATE();
1109 case 131:
1110 ACCEPT_TOKEN(aux_sym_similarity_token1);
1111- if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(225);
1112+ if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(227);
1113 if (('0' <= lookahead && lookahead <= '9')) ADVANCE(130);
1114 END_STATE();
1115 case 132:
1116 ACCEPT_TOKEN(aux_sym_similarity_token1);
1117- if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(226);
1118+ if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(228);
1119 if (('0' <= lookahead && lookahead <= '9')) ADVANCE(131);
1120 END_STATE();
1121 case 133:
1122 ACCEPT_TOKEN(aux_sym_similarity_token1);
1123- if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(227);
1124+ if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(229);
1125 if (('0' <= lookahead && lookahead <= '9')) ADVANCE(132);
1126 END_STATE();
1127 case 134:
1128 ACCEPT_TOKEN(aux_sym_similarity_token1);
1129- if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(228);
1130+ if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(230);
1131 if (('0' <= lookahead && lookahead <= '9')) ADVANCE(133);
1132 END_STATE();
1133 case 135:
1134 ACCEPT_TOKEN(aux_sym_similarity_token1);
1135- if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(229);
1136+ if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(231);
1137 if (('0' <= lookahead && lookahead <= '9')) ADVANCE(134);
1138 END_STATE();
1139 case 136:
1140 ACCEPT_TOKEN(aux_sym_similarity_token1);
1141- if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(230);
1142+ if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(232);
1143 if (('0' <= lookahead && lookahead <= '9')) ADVANCE(135);
1144 END_STATE();
1145 case 137:
1146 ACCEPT_TOKEN(aux_sym_similarity_token1);
1147- if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(231);
1148+ if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(233);
1149 if (('0' <= lookahead && lookahead <= '9')) ADVANCE(136);
1150 END_STATE();
1151 case 138:
1152 ACCEPT_TOKEN(aux_sym_similarity_token1);
1153- if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(232);
1154+ if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(234);
1155 if (('0' <= lookahead && lookahead <= '9')) ADVANCE(137);
1156 END_STATE();
1157 case 139:
1158 ACCEPT_TOKEN(aux_sym_similarity_token1);
1159- if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(233);
1160+ if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(235);
1161 if (('0' <= lookahead && lookahead <= '9')) ADVANCE(138);
1162 END_STATE();
1163 case 140:
1164 ACCEPT_TOKEN(aux_sym_similarity_token1);
1165- if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(234);
1166+ if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(236);
1167 if (('0' <= lookahead && lookahead <= '9')) ADVANCE(139);
1168 END_STATE();
1169 case 141:
1170 ACCEPT_TOKEN(aux_sym_similarity_token1);
1171- if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(235);
1172+ if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(237);
1173 if (('0' <= lookahead && lookahead <= '9')) ADVANCE(140);
1174 END_STATE();
1175 case 142:
1176 ACCEPT_TOKEN(aux_sym_similarity_token1);
1177- if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(236);
1178+ if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(238);
1179 if (('0' <= lookahead && lookahead <= '9')) ADVANCE(141);
1180 END_STATE();
1181 case 143:
1182 ACCEPT_TOKEN(aux_sym_similarity_token1);
1183- if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(237);
1184+ if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(239);
1185 if (('0' <= lookahead && lookahead <= '9')) ADVANCE(142);
1186 END_STATE();
1187 case 144:
1188 ACCEPT_TOKEN(aux_sym_similarity_token1);
1189- if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(238);
1190+ if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(240);
1191 if (('0' <= lookahead && lookahead <= '9')) ADVANCE(143);
1192 END_STATE();
1193 case 145:
1194 ACCEPT_TOKEN(aux_sym_similarity_token1);
1195- if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(239);
1196+ if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(241);
1197 if (('0' <= lookahead && lookahead <= '9')) ADVANCE(144);
1198 END_STATE();
1199 case 146:
1200 ACCEPT_TOKEN(aux_sym_similarity_token1);
1201- if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(240);
1202+ if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(242);
1203 if (('0' <= lookahead && lookahead <= '9')) ADVANCE(145);
1204 END_STATE();
1205 case 147:
1206 ACCEPT_TOKEN(aux_sym_similarity_token1);
1207- if (('0' <= lookahead && lookahead <= '9')) ADVANCE(147);
1208+ if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(243);
1209+ if (('0' <= lookahead && lookahead <= '9')) ADVANCE(146);
1210 END_STATE();
1211 case 148:
1212- ACCEPT_TOKEN(anon_sym_PERCENT);
1213+ ACCEPT_TOKEN(aux_sym_similarity_token1);
1214+ if (('0' <= lookahead && lookahead <= '9')) ADVANCE(148);
1215 END_STATE();
1216 case 149:
1217- ACCEPT_TOKEN(aux_sym_file_token1);
1218+ ACCEPT_TOKEN(anon_sym_PERCENT);
1219 END_STATE();
1220 case 150:
1221- ACCEPT_TOKEN(anon_sym_AT_AT);
1222+ ACCEPT_TOKEN(anon_sym_DASH_DASH_DASH);
1223 END_STATE();
1224 case 151:
1225- ACCEPT_TOKEN(anon_sym_AT_AT2);
1226+ ACCEPT_TOKEN(anon_sym_PLUS_PLUS_PLUS);
1227 END_STATE();
1228 case 152:
1229+ ACCEPT_TOKEN(anon_sym_AT_AT);
1230+ END_STATE();
1231+ case 153:
1232+ ACCEPT_TOKEN(anon_sym_AT_AT2);
1233+ END_STATE();
1234+ case 154:
1235 ACCEPT_TOKEN(aux_sym_location_token1);
1236 if (lookahead == '\t' ||
1237 lookahead == 11 ||
1238 lookahead == '\f' ||
1239- lookahead == ' ') ADVANCE(152);
1240+ lookahead == ' ') ADVANCE(154);
1241 if (lookahead != 0 &&
1242- (lookahead < '\n' || '\r' < lookahead)) ADVANCE(153);
1243+ (lookahead < '\n' || '\r' < lookahead)) ADVANCE(155);
1244 END_STATE();
1245- case 153:
1246+ case 155:
1247 ACCEPT_TOKEN(aux_sym_location_token1);
1248 if (lookahead != 0 &&
1249 lookahead != '\n' &&
1250- lookahead != '\r') ADVANCE(153);
1251- END_STATE();
1252- case 154:
1253- ACCEPT_TOKEN(anon_sym_PLUS);
1254- if (lookahead == '+' ||
1255- lookahead == '-') ADVANCE(76);
1256- END_STATE();
1257- case 155:
1258- ACCEPT_TOKEN(anon_sym_PLUS);
1259- if (lookahead == '+' ||
1260- lookahead == '-') ADVANCE(192);
1261+ lookahead != '\r') ADVANCE(155);
1262 END_STATE();
1263 case 156:
1264- ACCEPT_TOKEN(anon_sym_DASH);
1265- if (lookahead == '+' ||
1266- lookahead == '-') ADVANCE(76);
1267+ ACCEPT_TOKEN(anon_sym_PLUS);
1268+ if (lookahead == '+') ADVANCE(5);
1269 END_STATE();
1270 case 157:
1271- ACCEPT_TOKEN(anon_sym_DASH);
1272- if (lookahead == '+' ||
1273- lookahead == '-') ADVANCE(192);
1274+ ACCEPT_TOKEN(anon_sym_PLUS);
1275+ if (lookahead == '+') ADVANCE(160);
1276 END_STATE();
1277 case 158:
1278- ACCEPT_TOKEN(sym_context);
1279- if (lookahead == '@') ADVANCE(150);
1280- if (lookahead != 0 &&
1281- lookahead != '\n' &&
1282- lookahead != '\r') ADVANCE(194);
1283+ ACCEPT_TOKEN(anon_sym_DASH);
1284+ if (lookahead == '-') ADVANCE(6);
1285 END_STATE();
1286 case 159:
1287- ACCEPT_TOKEN(sym_context);
1288- if (lookahead == 'a') ADVANCE(184);
1289- if (lookahead != 0 &&
1290- lookahead != '\n' &&
1291- lookahead != '\r') ADVANCE(194);
1292+ ACCEPT_TOKEN(anon_sym_DASH);
1293+ if (lookahead == '-') ADVANCE(161);
1294 END_STATE();
1295 case 160:
1296 ACCEPT_TOKEN(sym_context);
1297- if (lookahead == 'a') ADVANCE(180);
1298+ if (lookahead == '+') ADVANCE(151);
1299 if (lookahead != 0 &&
1300 lookahead != '\n' &&
1301- lookahead != '\r') ADVANCE(194);
1302+ lookahead != '\r') ADVANCE(197);
1303 END_STATE();
1304 case 161:
1305 ACCEPT_TOKEN(sym_context);
1306- if (lookahead == 'a') ADVANCE(185);
1307+ if (lookahead == '-') ADVANCE(150);
1308 if (lookahead != 0 &&
1309 lookahead != '\n' &&
1310- lookahead != '\r') ADVANCE(194);
1311+ lookahead != '\r') ADVANCE(197);
1312 END_STATE();
1313 case 162:
1314 ACCEPT_TOKEN(sym_context);
1315- if (lookahead == 'd') ADVANCE(92);
1316+ if (lookahead == '@') ADVANCE(152);
1317 if (lookahead != 0 &&
1318 lookahead != '\n' &&
1319- lookahead != '\r') ADVANCE(194);
1320+ lookahead != '\r') ADVANCE(197);
1321 END_STATE();
1322 case 163:
1323 ACCEPT_TOKEN(sym_context);
1324- if (lookahead == 'd') ADVANCE(168);
1325+ if (lookahead == 'a') ADVANCE(188);
1326 if (lookahead != 0 &&
1327 lookahead != '\n' &&
1328- lookahead != '\r') ADVANCE(194);
1329+ lookahead != '\r') ADVANCE(197);
1330 END_STATE();
1331 case 164:
1332 ACCEPT_TOKEN(sym_context);
1333- if (lookahead == 'e') ADVANCE(92);
1334+ if (lookahead == 'a') ADVANCE(184);
1335 if (lookahead != 0 &&
1336 lookahead != '\n' &&
1337- lookahead != '\r') ADVANCE(194);
1338+ lookahead != '\r') ADVANCE(197);
1339 END_STATE();
1340 case 165:
1341 ACCEPT_TOKEN(sym_context);
1342- if (lookahead == 'e') ADVANCE(177);
1343- if (lookahead == 'i') ADVANCE(172);
1344+ if (lookahead == 'a') ADVANCE(189);
1345 if (lookahead != 0 &&
1346 lookahead != '\n' &&
1347- lookahead != '\r') ADVANCE(194);
1348+ lookahead != '\r') ADVANCE(197);
1349 END_STATE();
1350 case 166:
1351 ACCEPT_TOKEN(sym_context);
1352- if (lookahead == 'e') ADVANCE(188);
1353+ if (lookahead == 'd') ADVANCE(93);
1354 if (lookahead != 0 &&
1355 lookahead != '\n' &&
1356- lookahead != '\r') ADVANCE(194);
1357+ lookahead != '\r') ADVANCE(197);
1358 END_STATE();
1359 case 167:
1360 ACCEPT_TOKEN(sym_context);
1361- if (lookahead == 'e') ADVANCE(187);
1362+ if (lookahead == 'd') ADVANCE(172);
1363 if (lookahead != 0 &&
1364 lookahead != '\n' &&
1365- lookahead != '\r') ADVANCE(194);
1366+ lookahead != '\r') ADVANCE(197);
1367 END_STATE();
1368 case 168:
1369 ACCEPT_TOKEN(sym_context);
1370- if (lookahead == 'e') ADVANCE(189);
1371+ if (lookahead == 'e') ADVANCE(93);
1372 if (lookahead != 0 &&
1373 lookahead != '\n' &&
1374- lookahead != '\r') ADVANCE(194);
1375+ lookahead != '\r') ADVANCE(197);
1376 END_STATE();
1377 case 169:
1378 ACCEPT_TOKEN(sym_context);
1379- if (lookahead == 'e') ADVANCE(162);
1380+ if (lookahead == 'e') ADVANCE(181);
1381+ if (lookahead == 'i') ADVANCE(176);
1382 if (lookahead != 0 &&
1383 lookahead != '\n' &&
1384- lookahead != '\r') ADVANCE(194);
1385+ lookahead != '\r') ADVANCE(197);
1386 END_STATE();
1387 case 170:
1388 ACCEPT_TOKEN(sym_context);
1389- if (lookahead == 'e') ADVANCE(183);
1390+ if (lookahead == 'e') ADVANCE(192);
1391 if (lookahead != 0 &&
1392 lookahead != '\n' &&
1393- lookahead != '\r') ADVANCE(194);
1394+ lookahead != '\r') ADVANCE(197);
1395 END_STATE();
1396 case 171:
1397 ACCEPT_TOKEN(sym_context);
1398- if (lookahead == 'f') ADVANCE(89);
1399+ if (lookahead == 'e') ADVANCE(191);
1400 if (lookahead != 0 &&
1401 lookahead != '\n' &&
1402- lookahead != '\r') ADVANCE(194);
1403+ lookahead != '\r') ADVANCE(197);
1404 END_STATE();
1405 case 172:
1406 ACCEPT_TOKEN(sym_context);
1407- if (lookahead == 'f') ADVANCE(171);
1408+ if (lookahead == 'e') ADVANCE(193);
1409 if (lookahead != 0 &&
1410 lookahead != '\n' &&
1411- lookahead != '\r') ADVANCE(194);
1412+ lookahead != '\r') ADVANCE(197);
1413 END_STATE();
1414 case 173:
1415 ACCEPT_TOKEN(sym_context);
1416- if (lookahead == 'i') ADVANCE(179);
1417+ if (lookahead == 'e') ADVANCE(166);
1418 if (lookahead != 0 &&
1419 lookahead != '\n' &&
1420- lookahead != '\r') ADVANCE(194);
1421+ lookahead != '\r') ADVANCE(197);
1422 END_STATE();
1423 case 174:
1424 ACCEPT_TOKEN(sym_context);
1425- if (lookahead == 'i') ADVANCE(182);
1426+ if (lookahead == 'e') ADVANCE(187);
1427 if (lookahead != 0 &&
1428 lookahead != '\n' &&
1429- lookahead != '\r') ADVANCE(194);
1430+ lookahead != '\r') ADVANCE(197);
1431 END_STATE();
1432 case 175:
1433 ACCEPT_TOKEN(sym_context);
1434- if (lookahead == 'i') ADVANCE(178);
1435+ if (lookahead == 'f') ADVANCE(90);
1436 if (lookahead != 0 &&
1437 lookahead != '\n' &&
1438- lookahead != '\r') ADVANCE(194);
1439+ lookahead != '\r') ADVANCE(197);
1440 END_STATE();
1441 case 176:
1442 ACCEPT_TOKEN(sym_context);
1443- if (lookahead == 'i') ADVANCE(186);
1444+ if (lookahead == 'f') ADVANCE(175);
1445 if (lookahead != 0 &&
1446 lookahead != '\n' &&
1447- lookahead != '\r') ADVANCE(194);
1448+ lookahead != '\r') ADVANCE(197);
1449 END_STATE();
1450 case 177:
1451 ACCEPT_TOKEN(sym_context);
1452- if (lookahead == 'l') ADVANCE(167);
1453+ if (lookahead == 'i') ADVANCE(183);
1454 if (lookahead != 0 &&
1455 lookahead != '\n' &&
1456- lookahead != '\r') ADVANCE(194);
1457+ lookahead != '\r') ADVANCE(197);
1458 END_STATE();
1459 case 178:
1460 ACCEPT_TOKEN(sym_context);
1461- if (lookahead == 'l') ADVANCE(161);
1462+ if (lookahead == 'i') ADVANCE(186);
1463 if (lookahead != 0 &&
1464 lookahead != '\n' &&
1465- lookahead != '\r') ADVANCE(194);
1466+ lookahead != '\r') ADVANCE(197);
1467 END_STATE();
1468 case 179:
1469 ACCEPT_TOKEN(sym_context);
1470- if (lookahead == 'm') ADVANCE(175);
1471+ if (lookahead == 'i') ADVANCE(182);
1472 if (lookahead != 0 &&
1473 lookahead != '\n' &&
1474- lookahead != '\r') ADVANCE(194);
1475+ lookahead != '\r') ADVANCE(197);
1476 END_STATE();
1477 case 180:
1478 ACCEPT_TOKEN(sym_context);
1479- if (lookahead == 'm') ADVANCE(164);
1480+ if (lookahead == 'i') ADVANCE(190);
1481 if (lookahead != 0 &&
1482 lookahead != '\n' &&
1483- lookahead != '\r') ADVANCE(194);
1484+ lookahead != '\r') ADVANCE(197);
1485 END_STATE();
1486 case 181:
1487 ACCEPT_TOKEN(sym_context);
1488- if (lookahead == 'n') ADVANCE(163);
1489+ if (lookahead == 'l') ADVANCE(171);
1490 if (lookahead != 0 &&
1491 lookahead != '\n' &&
1492- lookahead != '\r') ADVANCE(194);
1493+ lookahead != '\r') ADVANCE(197);
1494 END_STATE();
1495 case 182:
1496 ACCEPT_TOKEN(sym_context);
1497- if (lookahead == 'n') ADVANCE(159);
1498+ if (lookahead == 'l') ADVANCE(165);
1499 if (lookahead != 0 &&
1500 lookahead != '\n' &&
1501- lookahead != '\r') ADVANCE(194);
1502+ lookahead != '\r') ADVANCE(197);
1503 END_STATE();
1504 case 183:
1505 ACCEPT_TOKEN(sym_context);
1506- if (lookahead == 'n') ADVANCE(160);
1507+ if (lookahead == 'm') ADVANCE(179);
1508 if (lookahead != 0 &&
1509 lookahead != '\n' &&
1510- lookahead != '\r') ADVANCE(194);
1511+ lookahead != '\r') ADVANCE(197);
1512 END_STATE();
1513 case 184:
1514 ACCEPT_TOKEN(sym_context);
1515- if (lookahead == 'r') ADVANCE(190);
1516+ if (lookahead == 'm') ADVANCE(168);
1517 if (lookahead != 0 &&
1518 lookahead != '\n' &&
1519- lookahead != '\r') ADVANCE(194);
1520+ lookahead != '\r') ADVANCE(197);
1521 END_STATE();
1522 case 185:
1523 ACCEPT_TOKEN(sym_context);
1524- if (lookahead == 'r') ADVANCE(176);
1525+ if (lookahead == 'n') ADVANCE(167);
1526 if (lookahead != 0 &&
1527 lookahead != '\n' &&
1528- lookahead != '\r') ADVANCE(194);
1529+ lookahead != '\r') ADVANCE(197);
1530 END_STATE();
1531 case 186:
1532 ACCEPT_TOKEN(sym_context);
1533- if (lookahead == 't') ADVANCE(191);
1534+ if (lookahead == 'n') ADVANCE(163);
1535 if (lookahead != 0 &&
1536 lookahead != '\n' &&
1537- lookahead != '\r') ADVANCE(194);
1538+ lookahead != '\r') ADVANCE(197);
1539 END_STATE();
1540 case 187:
1541 ACCEPT_TOKEN(sym_context);
1542- if (lookahead == 't') ADVANCE(169);
1543+ if (lookahead == 'n') ADVANCE(164);
1544 if (lookahead != 0 &&
1545 lookahead != '\n' &&
1546- lookahead != '\r') ADVANCE(194);
1547+ lookahead != '\r') ADVANCE(197);
1548 END_STATE();
1549 case 188:
1550 ACCEPT_TOKEN(sym_context);
1551- if (lookahead == 'w') ADVANCE(92);
1552+ if (lookahead == 'r') ADVANCE(194);
1553 if (lookahead != 0 &&
1554 lookahead != '\n' &&
1555- lookahead != '\r') ADVANCE(194);
1556+ lookahead != '\r') ADVANCE(197);
1557 END_STATE();
1558 case 189:
1559 ACCEPT_TOKEN(sym_context);
1560- if (lookahead == 'x') ADVANCE(104);
1561+ if (lookahead == 'r') ADVANCE(180);
1562 if (lookahead != 0 &&
1563 lookahead != '\n' &&
1564- lookahead != '\r') ADVANCE(194);
1565+ lookahead != '\r') ADVANCE(197);
1566 END_STATE();
1567 case 190:
1568 ACCEPT_TOKEN(sym_context);
1569- if (lookahead == 'y') ADVANCE(98);
1570+ if (lookahead == 't') ADVANCE(195);
1571 if (lookahead != 0 &&
1572 lookahead != '\n' &&
1573- lookahead != '\r') ADVANCE(194);
1574+ lookahead != '\r') ADVANCE(197);
1575 END_STATE();
1576 case 191:
1577 ACCEPT_TOKEN(sym_context);
1578- if (lookahead == 'y') ADVANCE(106);
1579+ if (lookahead == 't') ADVANCE(173);
1580 if (lookahead != 0 &&
1581 lookahead != '\n' &&
1582- lookahead != '\r') ADVANCE(194);
1583+ lookahead != '\r') ADVANCE(197);
1584 END_STATE();
1585 case 192:
1586 ACCEPT_TOKEN(sym_context);
1587- if (lookahead == '+' ||
1588- lookahead == '-') ADVANCE(149);
1589+ if (lookahead == 'w') ADVANCE(93);
1590 if (lookahead != 0 &&
1591 lookahead != '\n' &&
1592- lookahead != '\r') ADVANCE(194);
1593+ lookahead != '\r') ADVANCE(197);
1594 END_STATE();
1595 case 193:
1596 ACCEPT_TOKEN(sym_context);
1597- if (lookahead == '\t' ||
1598- lookahead == 11 ||
1599- lookahead == '\f' ||
1600- lookahead == ' ') ADVANCE(193);
1601+ if (lookahead == 'x') ADVANCE(105);
1602 if (lookahead != 0 &&
1603- (lookahead < '\n' || '\r' < lookahead)) ADVANCE(194);
1604+ lookahead != '\n' &&
1605+ lookahead != '\r') ADVANCE(197);
1606 END_STATE();
1607 case 194:
1608 ACCEPT_TOKEN(sym_context);
1609+ if (lookahead == 'y') ADVANCE(99);
1610 if (lookahead != 0 &&
1611 lookahead != '\n' &&
1612- lookahead != '\r') ADVANCE(194);
1613+ lookahead != '\r') ADVANCE(197);
1614 END_STATE();
1615 case 195:
1616- ACCEPT_TOKEN(sym_linerange);
1617- if (lookahead == ',') ADVANCE(78);
1618- if (('0' <= lookahead && lookahead <= '9')) ADVANCE(195);
1619+ ACCEPT_TOKEN(sym_context);
1620+ if (lookahead == 'y') ADVANCE(107);
1621+ if (lookahead != 0 &&
1622+ lookahead != '\n' &&
1623+ lookahead != '\r') ADVANCE(197);
1624 END_STATE();
1625 case 196:
1626- ACCEPT_TOKEN(sym_linerange);
1627- if (('0' <= lookahead && lookahead <= '9')) ADVANCE(196);
1628+ ACCEPT_TOKEN(sym_context);
1629+ if (lookahead == '\t' ||
1630+ lookahead == 11 ||
1631+ lookahead == '\f' ||
1632+ lookahead == ' ') ADVANCE(196);
1633+ if (lookahead != 0 &&
1634+ (lookahead < '\n' || '\r' < lookahead)) ADVANCE(197);
1635 END_STATE();
1636 case 197:
1637- ACCEPT_TOKEN(aux_sym_filename_token1);
1638- if (lookahead == 'a') ADVANCE(204);
1639- if (lookahead == 11 ||
1640- lookahead == '\f') ADVANCE(197);
1641+ ACCEPT_TOKEN(sym_context);
1642 if (lookahead != 0 &&
1643- (lookahead < '\t' || '\r' < lookahead) &&
1644- lookahead != ' ') ADVANCE(207);
1645+ lookahead != '\n' &&
1646+ lookahead != '\r') ADVANCE(197);
1647 END_STATE();
1648 case 198:
1649- ACCEPT_TOKEN(aux_sym_filename_token1);
1650- if (lookahead == 'd') ADVANCE(101);
1651- if (lookahead != 0 &&
1652- lookahead != '\t' &&
1653- lookahead != '\n' &&
1654- lookahead != '\r' &&
1655- lookahead != ' ') ADVANCE(207);
1656+ ACCEPT_TOKEN(sym_linerange);
1657+ if (lookahead == ',') ADVANCE(79);
1658+ if (('0' <= lookahead && lookahead <= '9')) ADVANCE(198);
1659 END_STATE();
1660 case 199:
1661- ACCEPT_TOKEN(aux_sym_filename_token1);
1662- if (lookahead == 'd') ADVANCE(203);
1663- if (lookahead == 11 ||
1664- lookahead == '\f') ADVANCE(199);
1665- if (lookahead != 0 &&
1666- (lookahead < '\t' || '\r' < lookahead) &&
1667- lookahead != ' ') ADVANCE(207);
1668+ ACCEPT_TOKEN(sym_linerange);
1669+ if (('0' <= lookahead && lookahead <= '9')) ADVANCE(199);
1670 END_STATE();
1671 case 200:
1672 ACCEPT_TOKEN(aux_sym_filename_token1);
1673- if (lookahead == 'e') ADVANCE(205);
1674+ if (lookahead == 'a') ADVANCE(207);
1675+ if (lookahead == 11 ||
1676+ lookahead == '\f') ADVANCE(200);
1677 if (lookahead != 0 &&
1678- lookahead != '\t' &&
1679- lookahead != '\n' &&
1680- lookahead != '\r' &&
1681- lookahead != ' ') ADVANCE(207);
1682+ (lookahead < '\t' || '\r' < lookahead) &&
1683+ lookahead != ' ') ADVANCE(210);
1684 END_STATE();
1685 case 201:
1686 ACCEPT_TOKEN(aux_sym_filename_token1);
1687- if (lookahead == 'f') ADVANCE(200);
1688+ if (lookahead == 'd') ADVANCE(206);
1689+ if (lookahead == 11 ||
1690+ lookahead == '\f') ADVANCE(201);
1691 if (lookahead != 0 &&
1692- lookahead != '\t' &&
1693- lookahead != '\n' &&
1694- lookahead != '\r' &&
1695- lookahead != ' ') ADVANCE(207);
1696+ (lookahead < '\t' || '\r' < lookahead) &&
1697+ lookahead != ' ') ADVANCE(210);
1698 END_STATE();
1699 case 202:
1700 ACCEPT_TOKEN(aux_sym_filename_token1);
1701- if (lookahead == 'f') ADVANCE(201);
1702+ if (lookahead == 'd') ADVANCE(102);
1703 if (lookahead != 0 &&
1704 lookahead != '\t' &&
1705 lookahead != '\n' &&
1706 lookahead != '\r' &&
1707- lookahead != ' ') ADVANCE(207);
1708+ lookahead != ' ') ADVANCE(210);
1709 END_STATE();
1710 case 203:
1711 ACCEPT_TOKEN(aux_sym_filename_token1);
1712- if (lookahead == 'i') ADVANCE(202);
1713+ if (lookahead == 'e') ADVANCE(208);
1714 if (lookahead != 0 &&
1715 lookahead != '\t' &&
1716 lookahead != '\n' &&
1717 lookahead != '\r' &&
1718- lookahead != ' ') ADVANCE(207);
1719+ lookahead != ' ') ADVANCE(210);
1720 END_STATE();
1721 case 204:
1722 ACCEPT_TOKEN(aux_sym_filename_token1);
1723- if (lookahead == 'n') ADVANCE(198);
1724+ if (lookahead == 'f') ADVANCE(203);
1725 if (lookahead != 0 &&
1726 lookahead != '\t' &&
1727 lookahead != '\n' &&
1728 lookahead != '\r' &&
1729- lookahead != ' ') ADVANCE(207);
1730+ lookahead != ' ') ADVANCE(210);
1731 END_STATE();
1732 case 205:
1733 ACCEPT_TOKEN(aux_sym_filename_token1);
1734- if (lookahead == 'r') ADVANCE(103);
1735+ if (lookahead == 'f') ADVANCE(204);
1736 if (lookahead != 0 &&
1737 lookahead != '\t' &&
1738 lookahead != '\n' &&
1739 lookahead != '\r' &&
1740- lookahead != ' ') ADVANCE(207);
1741+ lookahead != ' ') ADVANCE(210);
1742 END_STATE();
1743 case 206:
1744 ACCEPT_TOKEN(aux_sym_filename_token1);
1745- if (lookahead == 11 ||
1746- lookahead == '\f') ADVANCE(206);
1747+ if (lookahead == 'i') ADVANCE(205);
1748 if (lookahead != 0 &&
1749- (lookahead < '\t' || '\r' < lookahead) &&
1750- lookahead != ' ') ADVANCE(207);
1751+ lookahead != '\t' &&
1752+ lookahead != '\n' &&
1753+ lookahead != '\r' &&
1754+ lookahead != ' ') ADVANCE(210);
1755 END_STATE();
1756 case 207:
1757 ACCEPT_TOKEN(aux_sym_filename_token1);
1758+ if (lookahead == 'n') ADVANCE(202);
1759 if (lookahead != 0 &&
1760 lookahead != '\t' &&
1761 lookahead != '\n' &&
1762 lookahead != '\r' &&
1763- lookahead != ' ') ADVANCE(207);
1764+ lookahead != ' ') ADVANCE(210);
1765 END_STATE();
1766 case 208:
1767- ACCEPT_TOKEN(sym_commit);
1768+ ACCEPT_TOKEN(aux_sym_filename_token1);
1769+ if (lookahead == 'r') ADVANCE(104);
1770+ if (lookahead != 0 &&
1771+ lookahead != '\t' &&
1772+ lookahead != '\n' &&
1773+ lookahead != '\r' &&
1774+ lookahead != ' ') ADVANCE(210);
1775 END_STATE();
1776 case 209:
1777- ACCEPT_TOKEN(sym_commit);
1778- if (('0' <= lookahead && lookahead <= '9') ||
1779- ('a' <= lookahead && lookahead <= 'f')) ADVANCE(208);
1780+ ACCEPT_TOKEN(aux_sym_filename_token1);
1781+ if (lookahead == 11 ||
1782+ lookahead == '\f') ADVANCE(209);
1783+ if (lookahead != 0 &&
1784+ (lookahead < '\t' || '\r' < lookahead) &&
1785+ lookahead != ' ') ADVANCE(210);
1786 END_STATE();
1787 case 210:
1788- ACCEPT_TOKEN(sym_commit);
1789- if (('0' <= lookahead && lookahead <= '9') ||
1790- ('a' <= lookahead && lookahead <= 'f')) ADVANCE(209);
1791+ ACCEPT_TOKEN(aux_sym_filename_token1);
1792+ if (lookahead != 0 &&
1793+ lookahead != '\t' &&
1794+ lookahead != '\n' &&
1795+ lookahead != '\r' &&
1796+ lookahead != ' ') ADVANCE(210);
1797 END_STATE();
1798 case 211:
1799 ACCEPT_TOKEN(sym_commit);
1800- if (('0' <= lookahead && lookahead <= '9') ||
1801- ('a' <= lookahead && lookahead <= 'f')) ADVANCE(210);
1802 END_STATE();
1803 case 212:
1804 ACCEPT_TOKEN(sym_commit);
1805 @@ -1596,6 +1602,21 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) {
1806 if (('0' <= lookahead && lookahead <= '9') ||
1807 ('a' <= lookahead && lookahead <= 'f')) ADVANCE(240);
1808 END_STATE();
1809+ case 242:
1810+ ACCEPT_TOKEN(sym_commit);
1811+ if (('0' <= lookahead && lookahead <= '9') ||
1812+ ('a' <= lookahead && lookahead <= 'f')) ADVANCE(241);
1813+ END_STATE();
1814+ case 243:
1815+ ACCEPT_TOKEN(sym_commit);
1816+ if (('0' <= lookahead && lookahead <= '9') ||
1817+ ('a' <= lookahead && lookahead <= 'f')) ADVANCE(242);
1818+ END_STATE();
1819+ case 244:
1820+ ACCEPT_TOKEN(sym_commit);
1821+ if (('0' <= lookahead && lookahead <= '9') ||
1822+ ('a' <= lookahead && lookahead <= 'f')) ADVANCE(243);
1823+ END_STATE();
1824 default:
1825 return false;
1826 }
1827 @@ -1603,54 +1624,56 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) {
1828
1829 static const TSLexMode ts_lex_modes[STATE_COUNT] = {
1830 [0] = {.lex_state = 0},
1831- [1] = {.lex_state = 86},
1832- [2] = {.lex_state = 86},
1833- [3] = {.lex_state = 86},
1834- [4] = {.lex_state = 86},
1835+ [1] = {.lex_state = 87},
1836+ [2] = {.lex_state = 87},
1837+ [3] = {.lex_state = 87},
1838+ [4] = {.lex_state = 87},
1839 [5] = {.lex_state = 3},
1840- [6] = {.lex_state = 10},
1841- [7] = {.lex_state = 3},
1842- [8] = {.lex_state = 2},
1843- [9] = {.lex_state = 3},
1844- [10] = {.lex_state = 15},
1845+ [6] = {.lex_state = 17},
1846+ [7] = {.lex_state = 17},
1847+ [8] = {.lex_state = 12},
1848+ [9] = {.lex_state = 12},
1849+ [10] = {.lex_state = 2},
1850 [11] = {.lex_state = 3},
1851- [12] = {.lex_state = 10},
1852+ [12] = {.lex_state = 2},
1853 [13] = {.lex_state = 3},
1854 [14] = {.lex_state = 3},
1855- [15] = {.lex_state = 15},
1856- [16] = {.lex_state = 2},
1857+ [15] = {.lex_state = 3},
1858+ [16] = {.lex_state = 3},
1859 [17] = {.lex_state = 3},
1860- [18] = {.lex_state = 4},
1861+ [18] = {.lex_state = 3},
1862 [19] = {.lex_state = 4},
1863 [20] = {.lex_state = 4},
1864- [21] = {.lex_state = 2},
1865- [22] = {.lex_state = 0},
1866- [23] = {.lex_state = 0},
1867- [24] = {.lex_state = 0},
1868- [25] = {.lex_state = 2},
1869+ [21] = {.lex_state = 4},
1870+ [22] = {.lex_state = 2},
1871+ [23] = {.lex_state = 2},
1872+ [24] = {.lex_state = 2},
1873+ [25] = {.lex_state = 0},
1874 [26] = {.lex_state = 0},
1875 [27] = {.lex_state = 0},
1876- [28] = {.lex_state = 2},
1877+ [28] = {.lex_state = 0},
1878 [29] = {.lex_state = 0},
1879- [30] = {.lex_state = 0},
1880- [31] = {.lex_state = 34},
1881+ [30] = {.lex_state = 2},
1882+ [31] = {.lex_state = 0},
1883 [32] = {.lex_state = 0},
1884- [33] = {.lex_state = 0},
1885- [34] = {.lex_state = 2},
1886- [35] = {.lex_state = 2},
1887- [36] = {.lex_state = 0},
1888+ [33] = {.lex_state = 36},
1889+ [34] = {.lex_state = 0},
1890+ [35] = {.lex_state = 0},
1891+ [36] = {.lex_state = 2},
1892 [37] = {.lex_state = 0},
1893 [38] = {.lex_state = 0},
1894 [39] = {.lex_state = 0},
1895 [40] = {.lex_state = 0},
1896- [41] = {.lex_state = 2},
1897+ [41] = {.lex_state = 0},
1898 [42] = {.lex_state = 0},
1899- [43] = {.lex_state = 0},
1900+ [43] = {.lex_state = 2},
1901 [44] = {.lex_state = 0},
1902- [45] = {.lex_state = 2},
1903- [46] = {.lex_state = 2},
1904- [47] = {.lex_state = 34},
1905- [48] = {.lex_state = 34},
1906+ [45] = {.lex_state = 0},
1907+ [46] = {.lex_state = 0},
1908+ [47] = {.lex_state = 2},
1909+ [48] = {.lex_state = 2},
1910+ [49] = {.lex_state = 36},
1911+ [50] = {.lex_state = 36},
1912 };
1913
1914 static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = {
1915 @@ -1673,7 +1696,8 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = {
1916 [anon_sym_index2] = ACTIONS(1),
1917 [aux_sym_similarity_token1] = ACTIONS(1),
1918 [anon_sym_PERCENT] = ACTIONS(1),
1919- [aux_sym_file_token1] = ACTIONS(1),
1920+ [anon_sym_DASH_DASH_DASH] = ACTIONS(1),
1921+ [anon_sym_PLUS_PLUS_PLUS] = ACTIONS(1),
1922 [anon_sym_AT_AT] = ACTIONS(1),
1923 [anon_sym_AT_AT2] = ACTIONS(1),
1924 [anon_sym_PLUS] = ACTIONS(1),
1925 @@ -1681,17 +1705,18 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = {
1926 [sym_commit] = ACTIONS(1),
1927 },
1928 [1] = {
1929- [sym_source] = STATE(40),
1930- [sym__line] = STATE(38),
1931- [sym_command] = STATE(38),
1932- [sym_file_change] = STATE(38),
1933- [sym_binary_change] = STATE(38),
1934- [sym_index] = STATE(38),
1935- [sym_similarity] = STATE(38),
1936- [sym_file] = STATE(38),
1937- [sym_location] = STATE(38),
1938- [sym_addition] = STATE(38),
1939- [sym_deletion] = STATE(38),
1940+ [sym_source] = STATE(42),
1941+ [sym__line] = STATE(40),
1942+ [sym_command] = STATE(40),
1943+ [sym_file_change] = STATE(40),
1944+ [sym_binary_change] = STATE(40),
1945+ [sym_index] = STATE(40),
1946+ [sym_similarity] = STATE(40),
1947+ [sym_old_file] = STATE(40),
1948+ [sym_new_file] = STATE(40),
1949+ [sym_location] = STATE(40),
1950+ [sym_addition] = STATE(40),
1951+ [sym_deletion] = STATE(40),
1952 [aux_sym_source_repeat1] = STATE(2),
1953 [ts_builtin_sym_end] = ACTIONS(3),
1954 [anon_sym_diff] = ACTIONS(5),
1955 @@ -1699,419 +1724,414 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = {
1956 [anon_sym_Binary] = ACTIONS(9),
1957 [anon_sym_index] = ACTIONS(11),
1958 [anon_sym_similarity] = ACTIONS(13),
1959- [aux_sym_file_token1] = ACTIONS(15),
1960- [anon_sym_AT_AT] = ACTIONS(17),
1961- [anon_sym_PLUS] = ACTIONS(19),
1962- [anon_sym_DASH] = ACTIONS(21),
1963- [sym_context] = ACTIONS(23),
1964+ [anon_sym_DASH_DASH_DASH] = ACTIONS(15),
1965+ [anon_sym_PLUS_PLUS_PLUS] = ACTIONS(17),
1966+ [anon_sym_AT_AT] = ACTIONS(19),
1967+ [anon_sym_PLUS] = ACTIONS(21),
1968+ [anon_sym_DASH] = ACTIONS(23),
1969+ [sym_context] = ACTIONS(25),
1970+ },
1971+ [2] = {
1972+ [sym__line] = STATE(40),
1973+ [sym_command] = STATE(40),
1974+ [sym_file_change] = STATE(40),
1975+ [sym_binary_change] = STATE(40),
1976+ [sym_index] = STATE(40),
1977+ [sym_similarity] = STATE(40),
1978+ [sym_old_file] = STATE(40),
1979+ [sym_new_file] = STATE(40),
1980+ [sym_location] = STATE(40),
1981+ [sym_addition] = STATE(40),
1982+ [sym_deletion] = STATE(40),
1983+ [aux_sym_source_repeat1] = STATE(3),
1984+ [ts_builtin_sym_end] = ACTIONS(27),
1985+ [anon_sym_diff] = ACTIONS(5),
1986+ [aux_sym_file_change_token1] = ACTIONS(7),
1987+ [anon_sym_Binary] = ACTIONS(9),
1988+ [anon_sym_index] = ACTIONS(11),
1989+ [anon_sym_similarity] = ACTIONS(13),
1990+ [anon_sym_DASH_DASH_DASH] = ACTIONS(15),
1991+ [anon_sym_PLUS_PLUS_PLUS] = ACTIONS(17),
1992+ [anon_sym_AT_AT] = ACTIONS(19),
1993+ [anon_sym_PLUS] = ACTIONS(21),
1994+ [anon_sym_DASH] = ACTIONS(23),
1995+ [sym_context] = ACTIONS(25),
1996+ },
1997+ [3] = {
1998+ [sym__line] = STATE(40),
1999+ [sym_command] = STATE(40),
2000+ [sym_file_change] = STATE(40),
2001+ [sym_binary_change] = STATE(40),
2002+ [sym_index] = STATE(40),
2003+ [sym_similarity] = STATE(40),
2004+ [sym_old_file] = STATE(40),
2005+ [sym_new_file] = STATE(40),
2006+ [sym_location] = STATE(40),
2007+ [sym_addition] = STATE(40),
2008+ [sym_deletion] = STATE(40),
2009+ [aux_sym_source_repeat1] = STATE(3),
2010+ [ts_builtin_sym_end] = ACTIONS(29),
2011+ [anon_sym_diff] = ACTIONS(31),
2012+ [aux_sym_file_change_token1] = ACTIONS(34),
2013+ [anon_sym_Binary] = ACTIONS(37),
2014+ [anon_sym_index] = ACTIONS(40),
2015+ [anon_sym_similarity] = ACTIONS(43),
2016+ [anon_sym_DASH_DASH_DASH] = ACTIONS(46),
2017+ [anon_sym_PLUS_PLUS_PLUS] = ACTIONS(49),
2018+ [anon_sym_AT_AT] = ACTIONS(52),
2019+ [anon_sym_PLUS] = ACTIONS(55),
2020+ [anon_sym_DASH] = ACTIONS(58),
2021+ [sym_context] = ACTIONS(61),
2022 },
2023 };
2024
2025 static const uint16_t ts_small_parse_table[] = {
2026- [0] = 13,
2027- ACTIONS(5), 1,
2028- anon_sym_diff,
2029- ACTIONS(7), 1,
2030- aux_sym_file_change_token1,
2031- ACTIONS(9), 1,
2032- anon_sym_Binary,
2033- ACTIONS(11), 1,
2034- anon_sym_index,
2035- ACTIONS(13), 1,
2036- anon_sym_similarity,
2037- ACTIONS(15), 1,
2038- aux_sym_file_token1,
2039- ACTIONS(17), 1,
2040- anon_sym_AT_AT,
2041- ACTIONS(19), 1,
2042- anon_sym_PLUS,
2043- ACTIONS(21), 1,
2044- anon_sym_DASH,
2045- ACTIONS(23), 1,
2046- sym_context,
2047- ACTIONS(25), 1,
2048- ts_builtin_sym_end,
2049- STATE(3), 1,
2050- aux_sym_source_repeat1,
2051- STATE(38), 10,
2052- sym__line,
2053- sym_command,
2054- sym_file_change,
2055- sym_binary_change,
2056- sym_index,
2057- sym_similarity,
2058- sym_file,
2059- sym_location,
2060- sym_addition,
2061- sym_deletion,
2062- [49] = 13,
2063- ACTIONS(27), 1,
2064- ts_builtin_sym_end,
2065- ACTIONS(29), 1,
2066- anon_sym_diff,
2067- ACTIONS(32), 1,
2068- aux_sym_file_change_token1,
2069- ACTIONS(35), 1,
2070- anon_sym_Binary,
2071- ACTIONS(38), 1,
2072- anon_sym_index,
2073- ACTIONS(41), 1,
2074- anon_sym_similarity,
2075- ACTIONS(44), 1,
2076- aux_sym_file_token1,
2077- ACTIONS(47), 1,
2078- anon_sym_AT_AT,
2079- ACTIONS(50), 1,
2080- anon_sym_PLUS,
2081- ACTIONS(53), 1,
2082- anon_sym_DASH,
2083- ACTIONS(56), 1,
2084- sym_context,
2085- STATE(3), 1,
2086- aux_sym_source_repeat1,
2087- STATE(38), 10,
2088- sym__line,
2089- sym_command,
2090- sym_file_change,
2091- sym_binary_change,
2092- sym_index,
2093- sym_similarity,
2094- sym_file,
2095- sym_location,
2096- sym_addition,
2097- sym_deletion,
2098- [98] = 2,
2099- ACTIONS(59), 3,
2100+ [0] = 2,
2101+ ACTIONS(64), 3,
2102 anon_sym_PLUS,
2103 anon_sym_DASH,
2104 sym_context,
2105- ACTIONS(27), 8,
2106+ ACTIONS(29), 9,
2107 ts_builtin_sym_end,
2108 anon_sym_diff,
2109 aux_sym_file_change_token1,
2110 anon_sym_Binary,
2111 anon_sym_index,
2112 anon_sym_similarity,
2113- aux_sym_file_token1,
2114+ anon_sym_DASH_DASH_DASH,
2115+ anon_sym_PLUS_PLUS_PLUS,
2116 anon_sym_AT_AT,
2117- [114] = 3,
2118- ACTIONS(61), 1,
2119- aux_sym_source_token1,
2120- ACTIONS(63), 1,
2121+ [17] = 3,
2122+ ACTIONS(66), 1,
2123 aux_sym_filename_token1,
2124- STATE(5), 1,
2125+ STATE(18), 1,
2126 aux_sym_filename_repeat1,
2127- [124] = 3,
2128- ACTIONS(66), 1,
2129- anon_sym_and,
2130+ STATE(29), 1,
2131+ sym_filename,
2132+ [27] = 3,
2133 ACTIONS(68), 1,
2134+ anon_sym_differ,
2135+ ACTIONS(70), 1,
2136 aux_sym_filename_token1,
2137- STATE(12), 1,
2138+ STATE(6), 1,
2139 aux_sym_filename_repeat1,
2140- [134] = 3,
2141- ACTIONS(70), 1,
2142+ [37] = 3,
2143+ ACTIONS(73), 1,
2144+ anon_sym_differ,
2145+ ACTIONS(75), 1,
2146 aux_sym_filename_token1,
2147- STATE(17), 1,
2148+ STATE(6), 1,
2149 aux_sym_filename_repeat1,
2150- STATE(26), 1,
2151- sym_filename,
2152- [144] = 3,
2153- ACTIONS(72), 1,
2154+ [47] = 3,
2155+ ACTIONS(68), 1,
2156+ anon_sym_and,
2157+ ACTIONS(77), 1,
2158+ aux_sym_filename_token1,
2159+ STATE(8), 1,
2160+ aux_sym_filename_repeat1,
2161+ [57] = 3,
2162+ ACTIONS(73), 1,
2163+ anon_sym_and,
2164+ ACTIONS(80), 1,
2165+ aux_sym_filename_token1,
2166+ STATE(8), 1,
2167+ aux_sym_filename_repeat1,
2168+ [67] = 3,
2169+ ACTIONS(82), 1,
2170 aux_sym_source_token1,
2171- ACTIONS(74), 1,
2172+ ACTIONS(84), 1,
2173 aux_sym_similarity_token1,
2174- STATE(42), 1,
2175+ STATE(44), 1,
2176 sym_mode,
2177- [154] = 3,
2178- ACTIONS(76), 1,
2179+ [77] = 3,
2180+ ACTIONS(86), 1,
2181 aux_sym_filename_token1,
2182- STATE(15), 1,
2183+ STATE(7), 1,
2184 aux_sym_filename_repeat1,
2185- STATE(41), 1,
2186+ STATE(43), 1,
2187 sym_filename,
2188- [164] = 3,
2189- ACTIONS(61), 1,
2190- anon_sym_differ,
2191- ACTIONS(78), 1,
2192+ [87] = 2,
2193+ ACTIONS(88), 1,
2194+ anon_sym_file,
2195+ ACTIONS(90), 2,
2196+ anon_sym_from,
2197+ anon_sym_to,
2198+ [95] = 3,
2199+ ACTIONS(68), 1,
2200+ aux_sym_source_token1,
2201+ ACTIONS(92), 1,
2202 aux_sym_filename_token1,
2203- STATE(10), 1,
2204+ STATE(13), 1,
2205 aux_sym_filename_repeat1,
2206- [174] = 3,
2207- ACTIONS(70), 1,
2208+ [105] = 3,
2209+ ACTIONS(66), 1,
2210 aux_sym_filename_token1,
2211- STATE(17), 1,
2212+ STATE(18), 1,
2213 aux_sym_filename_repeat1,
2214- STATE(27), 1,
2215+ STATE(31), 1,
2216 sym_filename,
2217- [184] = 3,
2218- ACTIONS(61), 1,
2219- anon_sym_and,
2220- ACTIONS(81), 1,
2221- aux_sym_filename_token1,
2222- STATE(12), 1,
2223- aux_sym_filename_repeat1,
2224- [194] = 3,
2225- ACTIONS(70), 1,
2226+ [115] = 3,
2227+ ACTIONS(95), 1,
2228 aux_sym_filename_token1,
2229- STATE(17), 1,
2230+ STATE(9), 1,
2231 aux_sym_filename_repeat1,
2232- STATE(29), 1,
2233+ STATE(32), 1,
2234 sym_filename,
2235- [204] = 3,
2236- ACTIONS(84), 1,
2237+ [125] = 3,
2238+ ACTIONS(66), 1,
2239 aux_sym_filename_token1,
2240- STATE(6), 1,
2241+ STATE(18), 1,
2242 aux_sym_filename_repeat1,
2243- STATE(30), 1,
2244+ STATE(26), 1,
2245 sym_filename,
2246- [214] = 3,
2247+ [135] = 3,
2248 ACTIONS(66), 1,
2249- anon_sym_differ,
2250- ACTIONS(86), 1,
2251 aux_sym_filename_token1,
2252- STATE(10), 1,
2253+ STATE(18), 1,
2254 aux_sym_filename_repeat1,
2255- [224] = 2,
2256- ACTIONS(88), 1,
2257- anon_sym_file,
2258- ACTIONS(90), 2,
2259- anon_sym_from,
2260- anon_sym_to,
2261- [232] = 3,
2262- ACTIONS(66), 1,
2263+ STATE(25), 1,
2264+ sym_filename,
2265+ [145] = 3,
2266+ ACTIONS(73), 1,
2267 aux_sym_source_token1,
2268- ACTIONS(92), 1,
2269+ ACTIONS(97), 1,
2270 aux_sym_filename_token1,
2271- STATE(5), 1,
2272+ STATE(13), 1,
2273 aux_sym_filename_repeat1,
2274- [242] = 2,
2275- ACTIONS(94), 1,
2276+ [155] = 2,
2277+ ACTIONS(99), 1,
2278 aux_sym_source_token1,
2279- ACTIONS(96), 1,
2280+ ACTIONS(101), 1,
2281 aux_sym_location_token1,
2282- [249] = 2,
2283- ACTIONS(98), 1,
2284+ [162] = 2,
2285+ ACTIONS(103), 1,
2286 aux_sym_source_token1,
2287- ACTIONS(100), 1,
2288+ ACTIONS(105), 1,
2289 aux_sym_location_token1,
2290- [256] = 2,
2291- ACTIONS(102), 1,
2292+ [169] = 2,
2293+ ACTIONS(107), 1,
2294 aux_sym_source_token1,
2295- ACTIONS(104), 1,
2296+ ACTIONS(109), 1,
2297 aux_sym_location_token1,
2298- [263] = 2,
2299- ACTIONS(74), 1,
2300+ [176] = 2,
2301+ ACTIONS(84), 1,
2302 aux_sym_similarity_token1,
2303- STATE(36), 1,
2304+ STATE(38), 1,
2305 sym_mode,
2306- [270] = 1,
2307- ACTIONS(106), 1,
2308+ [183] = 1,
2309+ ACTIONS(111), 1,
2310+ sym_linerange,
2311+ [187] = 1,
2312+ ACTIONS(113), 1,
2313+ anon_sym_AT_AT2,
2314+ [191] = 1,
2315+ ACTIONS(115), 1,
2316 aux_sym_source_token1,
2317- [274] = 1,
2318- ACTIONS(108), 1,
2319+ [195] = 1,
2320+ ACTIONS(117), 1,
2321 aux_sym_source_token1,
2322- [278] = 1,
2323- ACTIONS(110), 1,
2324+ [199] = 1,
2325+ ACTIONS(119), 1,
2326 aux_sym_source_token1,
2327- [282] = 1,
2328- ACTIONS(112), 1,
2329- anon_sym_DASH_DASHgit,
2330- [286] = 1,
2331- ACTIONS(114), 1,
2332+ [203] = 1,
2333+ ACTIONS(121), 1,
2334 aux_sym_source_token1,
2335- [290] = 1,
2336- ACTIONS(116), 1,
2337+ [207] = 1,
2338+ ACTIONS(123), 1,
2339 aux_sym_source_token1,
2340- [294] = 1,
2341- ACTIONS(118), 1,
2342- aux_sym_similarity_token1,
2343- [298] = 1,
2344- ACTIONS(120), 1,
2345+ [211] = 1,
2346+ ACTIONS(125), 1,
2347+ anon_sym_DASH_DASHgit,
2348+ [215] = 1,
2349+ ACTIONS(127), 1,
2350 aux_sym_source_token1,
2351- [302] = 1,
2352- ACTIONS(122), 1,
2353+ [219] = 1,
2354+ ACTIONS(129), 1,
2355 anon_sym_and,
2356- [306] = 1,
2357- ACTIONS(124), 1,
2358+ [223] = 1,
2359+ ACTIONS(131), 1,
2360 sym_commit,
2361- [310] = 1,
2362- ACTIONS(126), 1,
2363+ [227] = 1,
2364+ ACTIONS(133), 1,
2365 anon_sym_PERCENT,
2366- [314] = 1,
2367- ACTIONS(128), 1,
2368+ [231] = 1,
2369+ ACTIONS(135), 1,
2370 anon_sym_DOT_DOT,
2371- [318] = 1,
2372- ACTIONS(130), 1,
2373- anon_sym_AT_AT2,
2374- [322] = 1,
2375- ACTIONS(132), 1,
2376- sym_linerange,
2377- [326] = 1,
2378- ACTIONS(134), 1,
2379+ [235] = 1,
2380+ ACTIONS(137), 1,
2381+ aux_sym_similarity_token1,
2382+ [239] = 1,
2383+ ACTIONS(139), 1,
2384+ aux_sym_source_token1,
2385+ [243] = 1,
2386+ ACTIONS(141), 1,
2387 aux_sym_source_token1,
2388- [330] = 1,
2389- ACTIONS(136), 1,
2390+ [247] = 1,
2391+ ACTIONS(143), 1,
2392 anon_sym_mode,
2393- [334] = 1,
2394- ACTIONS(138), 1,
2395+ [251] = 1,
2396+ ACTIONS(145), 1,
2397 aux_sym_source_token1,
2398- [338] = 1,
2399- ACTIONS(140), 1,
2400+ [255] = 1,
2401+ ACTIONS(147), 1,
2402 aux_sym_source_token1,
2403- [342] = 1,
2404- ACTIONS(142), 1,
2405+ [259] = 1,
2406+ ACTIONS(149), 1,
2407 ts_builtin_sym_end,
2408- [346] = 1,
2409- ACTIONS(144), 1,
2410+ [263] = 1,
2411+ ACTIONS(151), 1,
2412 anon_sym_differ,
2413- [350] = 1,
2414- ACTIONS(146), 1,
2415+ [267] = 1,
2416+ ACTIONS(153), 1,
2417 aux_sym_source_token1,
2418- [354] = 1,
2419- ACTIONS(148), 1,
2420+ [271] = 1,
2421+ ACTIONS(155), 1,
2422 aux_sym_source_token1,
2423- [358] = 1,
2424- ACTIONS(150), 1,
2425+ [275] = 1,
2426+ ACTIONS(157), 1,
2427 aux_sym_source_token1,
2428- [362] = 1,
2429- ACTIONS(152), 1,
2430+ [279] = 1,
2431+ ACTIONS(159), 1,
2432 sym_linerange,
2433- [366] = 1,
2434- ACTIONS(154), 1,
2435+ [283] = 1,
2436+ ACTIONS(161), 1,
2437 anon_sym_index2,
2438- [370] = 1,
2439- ACTIONS(156), 1,
2440+ [287] = 1,
2441+ ACTIONS(163), 1,
2442 sym_commit,
2443- [374] = 1,
2444- ACTIONS(158), 1,
2445+ [291] = 1,
2446+ ACTIONS(165), 1,
2447 anon_sym_files,
2448 };
2449
2450 static const uint32_t ts_small_parse_table_map[] = {
2451- [SMALL_STATE(2)] = 0,
2452- [SMALL_STATE(3)] = 49,
2453- [SMALL_STATE(4)] = 98,
2454- [SMALL_STATE(5)] = 114,
2455- [SMALL_STATE(6)] = 124,
2456- [SMALL_STATE(7)] = 134,
2457- [SMALL_STATE(8)] = 144,
2458- [SMALL_STATE(9)] = 154,
2459- [SMALL_STATE(10)] = 164,
2460- [SMALL_STATE(11)] = 174,
2461- [SMALL_STATE(12)] = 184,
2462- [SMALL_STATE(13)] = 194,
2463- [SMALL_STATE(14)] = 204,
2464- [SMALL_STATE(15)] = 214,
2465- [SMALL_STATE(16)] = 224,
2466- [SMALL_STATE(17)] = 232,
2467- [SMALL_STATE(18)] = 242,
2468- [SMALL_STATE(19)] = 249,
2469- [SMALL_STATE(20)] = 256,
2470- [SMALL_STATE(21)] = 263,
2471- [SMALL_STATE(22)] = 270,
2472- [SMALL_STATE(23)] = 274,
2473- [SMALL_STATE(24)] = 278,
2474- [SMALL_STATE(25)] = 282,
2475- [SMALL_STATE(26)] = 286,
2476- [SMALL_STATE(27)] = 290,
2477- [SMALL_STATE(28)] = 294,
2478- [SMALL_STATE(29)] = 298,
2479- [SMALL_STATE(30)] = 302,
2480- [SMALL_STATE(31)] = 306,
2481- [SMALL_STATE(32)] = 310,
2482- [SMALL_STATE(33)] = 314,
2483- [SMALL_STATE(34)] = 318,
2484- [SMALL_STATE(35)] = 322,
2485- [SMALL_STATE(36)] = 326,
2486- [SMALL_STATE(37)] = 330,
2487- [SMALL_STATE(38)] = 334,
2488- [SMALL_STATE(39)] = 338,
2489- [SMALL_STATE(40)] = 342,
2490- [SMALL_STATE(41)] = 346,
2491- [SMALL_STATE(42)] = 350,
2492- [SMALL_STATE(43)] = 354,
2493- [SMALL_STATE(44)] = 358,
2494- [SMALL_STATE(45)] = 362,
2495- [SMALL_STATE(46)] = 366,
2496- [SMALL_STATE(47)] = 370,
2497- [SMALL_STATE(48)] = 374,
2498+ [SMALL_STATE(4)] = 0,
2499+ [SMALL_STATE(5)] = 17,
2500+ [SMALL_STATE(6)] = 27,
2501+ [SMALL_STATE(7)] = 37,
2502+ [SMALL_STATE(8)] = 47,
2503+ [SMALL_STATE(9)] = 57,
2504+ [SMALL_STATE(10)] = 67,
2505+ [SMALL_STATE(11)] = 77,
2506+ [SMALL_STATE(12)] = 87,
2507+ [SMALL_STATE(13)] = 95,
2508+ [SMALL_STATE(14)] = 105,
2509+ [SMALL_STATE(15)] = 115,
2510+ [SMALL_STATE(16)] = 125,
2511+ [SMALL_STATE(17)] = 135,
2512+ [SMALL_STATE(18)] = 145,
2513+ [SMALL_STATE(19)] = 155,
2514+ [SMALL_STATE(20)] = 162,
2515+ [SMALL_STATE(21)] = 169,
2516+ [SMALL_STATE(22)] = 176,
2517+ [SMALL_STATE(23)] = 183,
2518+ [SMALL_STATE(24)] = 187,
2519+ [SMALL_STATE(25)] = 191,
2520+ [SMALL_STATE(26)] = 195,
2521+ [SMALL_STATE(27)] = 199,
2522+ [SMALL_STATE(28)] = 203,
2523+ [SMALL_STATE(29)] = 207,
2524+ [SMALL_STATE(30)] = 211,
2525+ [SMALL_STATE(31)] = 215,
2526+ [SMALL_STATE(32)] = 219,
2527+ [SMALL_STATE(33)] = 223,
2528+ [SMALL_STATE(34)] = 227,
2529+ [SMALL_STATE(35)] = 231,
2530+ [SMALL_STATE(36)] = 235,
2531+ [SMALL_STATE(37)] = 239,
2532+ [SMALL_STATE(38)] = 243,
2533+ [SMALL_STATE(39)] = 247,
2534+ [SMALL_STATE(40)] = 251,
2535+ [SMALL_STATE(41)] = 255,
2536+ [SMALL_STATE(42)] = 259,
2537+ [SMALL_STATE(43)] = 263,
2538+ [SMALL_STATE(44)] = 267,
2539+ [SMALL_STATE(45)] = 271,
2540+ [SMALL_STATE(46)] = 275,
2541+ [SMALL_STATE(47)] = 279,
2542+ [SMALL_STATE(48)] = 283,
2543+ [SMALL_STATE(49)] = 287,
2544+ [SMALL_STATE(50)] = 291,
2545 };
2546
2547 static const TSParseActionEntry ts_parse_actions[] = {
2548 [0] = {.entry = {.count = 0, .reusable = false}},
2549 [1] = {.entry = {.count = 1, .reusable = false}}, RECOVER(),
2550 [3] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_source, 0),
2551- [5] = {.entry = {.count = 1, .reusable = true}}, SHIFT(25),
2552- [7] = {.entry = {.count = 1, .reusable = true}}, SHIFT(16),
2553- [9] = {.entry = {.count = 1, .reusable = true}}, SHIFT(48),
2554- [11] = {.entry = {.count = 1, .reusable = true}}, SHIFT(47),
2555- [13] = {.entry = {.count = 1, .reusable = true}}, SHIFT(46),
2556- [15] = {.entry = {.count = 1, .reusable = true}}, SHIFT(7),
2557- [17] = {.entry = {.count = 1, .reusable = true}}, SHIFT(45),
2558- [19] = {.entry = {.count = 1, .reusable = false}}, SHIFT(19),
2559- [21] = {.entry = {.count = 1, .reusable = false}}, SHIFT(20),
2560- [23] = {.entry = {.count = 1, .reusable = false}}, SHIFT(38),
2561- [25] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_source, 1),
2562- [27] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_source_repeat1, 2),
2563- [29] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_repeat1, 2), SHIFT_REPEAT(25),
2564- [32] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_repeat1, 2), SHIFT_REPEAT(16),
2565- [35] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_repeat1, 2), SHIFT_REPEAT(48),
2566- [38] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_repeat1, 2), SHIFT_REPEAT(47),
2567- [41] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_repeat1, 2), SHIFT_REPEAT(46),
2568- [44] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_repeat1, 2), SHIFT_REPEAT(7),
2569- [47] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_repeat1, 2), SHIFT_REPEAT(45),
2570- [50] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_source_repeat1, 2), SHIFT_REPEAT(19),
2571- [53] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_source_repeat1, 2), SHIFT_REPEAT(20),
2572- [56] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_source_repeat1, 2), SHIFT_REPEAT(38),
2573- [59] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_source_repeat1, 2),
2574- [61] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_filename_repeat1, 2),
2575- [63] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_filename_repeat1, 2), SHIFT_REPEAT(5),
2576- [66] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_filename, 1),
2577- [68] = {.entry = {.count = 1, .reusable = false}}, SHIFT(12),
2578- [70] = {.entry = {.count = 1, .reusable = true}}, SHIFT(17),
2579- [72] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_index, 4),
2580- [74] = {.entry = {.count = 1, .reusable = true}}, SHIFT(23),
2581- [76] = {.entry = {.count = 1, .reusable = true}}, SHIFT(15),
2582- [78] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_filename_repeat1, 2), SHIFT_REPEAT(10),
2583- [81] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_filename_repeat1, 2), SHIFT_REPEAT(12),
2584- [84] = {.entry = {.count = 1, .reusable = true}}, SHIFT(6),
2585- [86] = {.entry = {.count = 1, .reusable = false}}, SHIFT(10),
2586- [88] = {.entry = {.count = 1, .reusable = true}}, SHIFT(37),
2587- [90] = {.entry = {.count = 1, .reusable = true}}, SHIFT(13),
2588- [92] = {.entry = {.count = 1, .reusable = true}}, SHIFT(5),
2589- [94] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_location, 4),
2590- [96] = {.entry = {.count = 1, .reusable = true}}, SHIFT(43),
2591- [98] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_addition, 1),
2592- [100] = {.entry = {.count = 1, .reusable = true}}, SHIFT(24),
2593- [102] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_deletion, 1),
2594- [104] = {.entry = {.count = 1, .reusable = true}}, SHIFT(22),
2595- [106] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_deletion, 2),
2596- [108] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_mode, 1),
2597- [110] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_addition, 2),
2598- [112] = {.entry = {.count = 1, .reusable = true}}, SHIFT(11),
2599- [114] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_file, 2),
2600- [116] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_command, 3),
2601- [118] = {.entry = {.count = 1, .reusable = true}}, SHIFT(32),
2602- [120] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_file_change, 3),
2603- [122] = {.entry = {.count = 1, .reusable = true}}, SHIFT(9),
2604- [124] = {.entry = {.count = 1, .reusable = true}}, SHIFT(8),
2605- [126] = {.entry = {.count = 1, .reusable = true}}, SHIFT(39),
2606- [128] = {.entry = {.count = 1, .reusable = true}}, SHIFT(31),
2607- [130] = {.entry = {.count = 1, .reusable = true}}, SHIFT(18),
2608- [132] = {.entry = {.count = 1, .reusable = true}}, SHIFT(34),
2609- [134] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_file_change, 4),
2610- [136] = {.entry = {.count = 1, .reusable = true}}, SHIFT(21),
2611- [138] = {.entry = {.count = 1, .reusable = true}}, SHIFT(4),
2612- [140] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_similarity, 4, .production_id = 1),
2613- [142] = {.entry = {.count = 1, .reusable = true}}, ACCEPT_INPUT(),
2614- [144] = {.entry = {.count = 1, .reusable = true}}, SHIFT(44),
2615- [146] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_index, 5),
2616- [148] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_location, 5),
2617- [150] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_binary_change, 6),
2618- [152] = {.entry = {.count = 1, .reusable = true}}, SHIFT(35),
2619- [154] = {.entry = {.count = 1, .reusable = true}}, SHIFT(28),
2620- [156] = {.entry = {.count = 1, .reusable = true}}, SHIFT(33),
2621- [158] = {.entry = {.count = 1, .reusable = true}}, SHIFT(14),
2622+ [5] = {.entry = {.count = 1, .reusable = true}}, SHIFT(30),
2623+ [7] = {.entry = {.count = 1, .reusable = true}}, SHIFT(12),
2624+ [9] = {.entry = {.count = 1, .reusable = true}}, SHIFT(50),
2625+ [11] = {.entry = {.count = 1, .reusable = true}}, SHIFT(49),
2626+ [13] = {.entry = {.count = 1, .reusable = true}}, SHIFT(48),
2627+ [15] = {.entry = {.count = 1, .reusable = true}}, SHIFT(17),
2628+ [17] = {.entry = {.count = 1, .reusable = true}}, SHIFT(16),
2629+ [19] = {.entry = {.count = 1, .reusable = true}}, SHIFT(47),
2630+ [21] = {.entry = {.count = 1, .reusable = false}}, SHIFT(21),
2631+ [23] = {.entry = {.count = 1, .reusable = false}}, SHIFT(19),
2632+ [25] = {.entry = {.count = 1, .reusable = false}}, SHIFT(40),
2633+ [27] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_source, 1),
2634+ [29] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_source_repeat1, 2),
2635+ [31] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_repeat1, 2), SHIFT_REPEAT(30),
2636+ [34] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_repeat1, 2), SHIFT_REPEAT(12),
2637+ [37] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_repeat1, 2), SHIFT_REPEAT(50),
2638+ [40] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_repeat1, 2), SHIFT_REPEAT(49),
2639+ [43] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_repeat1, 2), SHIFT_REPEAT(48),
2640+ [46] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_repeat1, 2), SHIFT_REPEAT(17),
2641+ [49] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_repeat1, 2), SHIFT_REPEAT(16),
2642+ [52] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_repeat1, 2), SHIFT_REPEAT(47),
2643+ [55] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_source_repeat1, 2), SHIFT_REPEAT(21),
2644+ [58] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_source_repeat1, 2), SHIFT_REPEAT(19),
2645+ [61] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_source_repeat1, 2), SHIFT_REPEAT(40),
2646+ [64] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_source_repeat1, 2),
2647+ [66] = {.entry = {.count = 1, .reusable = true}}, SHIFT(18),
2648+ [68] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_filename_repeat1, 2),
2649+ [70] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_filename_repeat1, 2), SHIFT_REPEAT(6),
2650+ [73] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_filename, 1),
2651+ [75] = {.entry = {.count = 1, .reusable = false}}, SHIFT(6),
2652+ [77] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_filename_repeat1, 2), SHIFT_REPEAT(8),
2653+ [80] = {.entry = {.count = 1, .reusable = false}}, SHIFT(8),
2654+ [82] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_index, 4),
2655+ [84] = {.entry = {.count = 1, .reusable = true}}, SHIFT(37),
2656+ [86] = {.entry = {.count = 1, .reusable = true}}, SHIFT(7),
2657+ [88] = {.entry = {.count = 1, .reusable = true}}, SHIFT(39),
2658+ [90] = {.entry = {.count = 1, .reusable = true}}, SHIFT(14),
2659+ [92] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_filename_repeat1, 2), SHIFT_REPEAT(13),
2660+ [95] = {.entry = {.count = 1, .reusable = true}}, SHIFT(9),
2661+ [97] = {.entry = {.count = 1, .reusable = true}}, SHIFT(13),
2662+ [99] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_deletion, 1),
2663+ [101] = {.entry = {.count = 1, .reusable = true}}, SHIFT(28),
2664+ [103] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_location, 4),
2665+ [105] = {.entry = {.count = 1, .reusable = true}}, SHIFT(45),
2666+ [107] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_addition, 1),
2667+ [109] = {.entry = {.count = 1, .reusable = true}}, SHIFT(27),
2668+ [111] = {.entry = {.count = 1, .reusable = true}}, SHIFT(24),
2669+ [113] = {.entry = {.count = 1, .reusable = true}}, SHIFT(20),
2670+ [115] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_old_file, 2),
2671+ [117] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_new_file, 2),
2672+ [119] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_addition, 2),
2673+ [121] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_deletion, 2),
2674+ [123] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_command, 3),
2675+ [125] = {.entry = {.count = 1, .reusable = true}}, SHIFT(5),
2676+ [127] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_file_change, 3),
2677+ [129] = {.entry = {.count = 1, .reusable = true}}, SHIFT(11),
2678+ [131] = {.entry = {.count = 1, .reusable = true}}, SHIFT(10),
2679+ [133] = {.entry = {.count = 1, .reusable = true}}, SHIFT(41),
2680+ [135] = {.entry = {.count = 1, .reusable = true}}, SHIFT(33),
2681+ [137] = {.entry = {.count = 1, .reusable = true}}, SHIFT(34),
2682+ [139] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_mode, 1),
2683+ [141] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_file_change, 4),
2684+ [143] = {.entry = {.count = 1, .reusable = true}}, SHIFT(22),
2685+ [145] = {.entry = {.count = 1, .reusable = true}}, SHIFT(4),
2686+ [147] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_similarity, 4, .production_id = 1),
2687+ [149] = {.entry = {.count = 1, .reusable = true}}, ACCEPT_INPUT(),
2688+ [151] = {.entry = {.count = 1, .reusable = true}}, SHIFT(46),
2689+ [153] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_index, 5),
2690+ [155] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_location, 5),
2691+ [157] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_binary_change, 6),
2692+ [159] = {.entry = {.count = 1, .reusable = true}}, SHIFT(23),
2693+ [161] = {.entry = {.count = 1, .reusable = true}}, SHIFT(36),
2694+ [163] = {.entry = {.count = 1, .reusable = true}}, SHIFT(35),
2695+ [165] = {.entry = {.count = 1, .reusable = true}}, SHIFT(15),
2696 };
2697
2698 #ifdef __cplusplus
2699 diff --git a/test/corpus/text.txt b/test/corpus/text.txt
2700index 2ab4cd7..29f34c2 100644
2701--- a/test/corpus/text.txt
2702+++ b/test/corpus/text.txt
2703 @@ -25,9 +25,9 @@ index dc36969..f37fde0 100644
2704 (commit)
2705 (commit)
2706 (mode))
2707- (file
2708+ (old_file
2709 (filename))
2710- (file
2711+ (new_file
2712 (filename))
2713 (location
2714 (linerange)
2715 @@ -131,9 +131,9 @@ index 00000000..ee9808dc
2716 (index
2717 (commit)
2718 (commit))
2719- (file
2720+ (old_file
2721 (filename))
2722- (file
2723+ (new_file
2724 (filename))
2725 (location
2726 (linerange)
2727 @@ -149,5 +149,5 @@ Just a file declaration
2728 --------------------------------------------------------------------------------
2729
2730 (source
2731- (file
2732+ (old_file
2733 (filename)))