Commit
Author: Danilo Spinella [oss@danyspin97.org]
Hash: d5480bec42b1e1b7cbd8942a46b56904ed092a14
Timestamp: Fri, 09 Dec 2022 11:55:32 +0000 (2 years ago)

+590 -552 +/-4 browse
Fix highlighting diff of diffs
Fix highlighting diff of diffs

The symbol ++ is valid when the diff is showing another diff,
e.g. when committing a diff file to a repository.
1diff --git a/grammar.js b/grammar.js
2index 6ec3106..4751d38 100644
3--- a/grammar.js
4+++ b/grammar.js
5 @@ -51,7 +51,10 @@ module.exports = grammar({
6 location: ($) =>
7 iseq("@@", $.linerange, $.linerange, "@@", optional(ANYTHING)),
8
9- addition: ($) => iseq("+", optional(ANYTHING)),
10+ addition: ($) => choice(
11+ iseq("+", optional(ANYTHING)),
12+ iseq("++", optional(ANYTHING)),
13+ ),
14 deletion: ($) =>
15 choice(
16 iseq("-", optional(ANYTHING)),
17 diff --git a/src/grammar.json b/src/grammar.json
18index 0f654c6..a106dcd 100644
19--- a/src/grammar.json
20+++ b/src/grammar.json
21 @@ -349,24 +349,53 @@
22 ]
23 },
24 "addition": {
25- "type": "SEQ",
26+ "type": "CHOICE",
27 "members": [
28 {
29- "type": "IMMEDIATE_TOKEN",
30- "content": {
31- "type": "STRING",
32- "value": "+"
33- }
34+ "type": "SEQ",
35+ "members": [
36+ {
37+ "type": "IMMEDIATE_TOKEN",
38+ "content": {
39+ "type": "STRING",
40+ "value": "+"
41+ }
42+ },
43+ {
44+ "type": "CHOICE",
45+ "members": [
46+ {
47+ "type": "PATTERN",
48+ "value": "[^\\r\\n]+"
49+ },
50+ {
51+ "type": "BLANK"
52+ }
53+ ]
54+ }
55+ ]
56 },
57 {
58- "type": "CHOICE",
59+ "type": "SEQ",
60 "members": [
61 {
62- "type": "PATTERN",
63- "value": "[^\\r\\n]+"
64+ "type": "IMMEDIATE_TOKEN",
65+ "content": {
66+ "type": "STRING",
67+ "value": "++"
68+ }
69 },
70 {
71- "type": "BLANK"
72+ "type": "CHOICE",
73+ "members": [
74+ {
75+ "type": "PATTERN",
76+ "value": "[^\\r\\n]+"
77+ },
78+ {
79+ "type": "BLANK"
80+ }
81+ ]
82 }
83 ]
84 }
85 diff --git a/src/node-types.json b/src/node-types.json
86index 25cc8e5..f321d2e 100644
87--- a/src/node-types.json
88+++ b/src/node-types.json
89 @@ -201,6 +201,10 @@
90 "named": false
91 },
92 {
93+ "type": "++",
94+ "named": false
95+ },
96+ {
97 "type": "+++",
98 "named": false
99 },
100 diff --git a/src/parser.c b/src/parser.c
101index f1bf1f0..26adfb0 100644
102--- a/src/parser.c
103+++ b/src/parser.c
104 @@ -8,9 +8,9 @@
105 #define LANGUAGE_VERSION 14
106 #define STATE_COUNT 53
107 #define LARGE_STATE_COUNT 4
108- #define SYMBOL_COUNT 48
109+ #define SYMBOL_COUNT 49
110 #define ALIAS_COUNT 0
111- #define TOKEN_COUNT 32
112+ #define TOKEN_COUNT 33
113 #define EXTERNAL_TOKEN_COUNT 0
114 #define FIELD_COUNT 1
115 #define MAX_ALIAS_SEQUENCE_LENGTH 6
116 @@ -41,29 +41,30 @@ enum {
117 anon_sym_AT_AT2 = 22,
118 aux_sym_location_token1 = 23,
119 anon_sym_PLUS = 24,
120- anon_sym_DASH = 25,
121- anon_sym_DASH_DASH = 26,
122- anon_sym_DASH_DASH_DASH_DASH = 27,
123- sym_context = 28,
124- sym_linerange = 29,
125- aux_sym_filename_token1 = 30,
126- sym_commit = 31,
127- sym_source = 32,
128- sym__line = 33,
129- sym_command = 34,
130- sym_file_change = 35,
131- sym_binary_change = 36,
132- sym_index = 37,
133- sym_similarity = 38,
134- sym_old_file = 39,
135- sym_new_file = 40,
136- sym_location = 41,
137- sym_addition = 42,
138- sym_deletion = 43,
139- sym_filename = 44,
140- sym_mode = 45,
141- aux_sym_source_repeat1 = 46,
142- aux_sym_filename_repeat1 = 47,
143+ anon_sym_PLUS_PLUS = 25,
144+ anon_sym_DASH = 26,
145+ anon_sym_DASH_DASH = 27,
146+ anon_sym_DASH_DASH_DASH_DASH = 28,
147+ sym_context = 29,
148+ sym_linerange = 30,
149+ aux_sym_filename_token1 = 31,
150+ sym_commit = 32,
151+ sym_source = 33,
152+ sym__line = 34,
153+ sym_command = 35,
154+ sym_file_change = 36,
155+ sym_binary_change = 37,
156+ sym_index = 38,
157+ sym_similarity = 39,
158+ sym_old_file = 40,
159+ sym_new_file = 41,
160+ sym_location = 42,
161+ sym_addition = 43,
162+ sym_deletion = 44,
163+ sym_filename = 45,
164+ sym_mode = 46,
165+ aux_sym_source_repeat1 = 47,
166+ aux_sym_filename_repeat1 = 48,
167 };
168
169 static const char * const ts_symbol_names[] = {
170 @@ -92,6 +93,7 @@ static const char * const ts_symbol_names[] = {
171 [anon_sym_AT_AT2] = "@@",
172 [aux_sym_location_token1] = "location_token1",
173 [anon_sym_PLUS] = "+",
174+ [anon_sym_PLUS_PLUS] = "++",
175 [anon_sym_DASH] = "-",
176 [anon_sym_DASH_DASH] = "--",
177 [anon_sym_DASH_DASH_DASH_DASH] = "----",
178 @@ -143,6 +145,7 @@ static const TSSymbol ts_symbol_map[] = {
179 [anon_sym_AT_AT2] = anon_sym_AT_AT,
180 [aux_sym_location_token1] = aux_sym_location_token1,
181 [anon_sym_PLUS] = anon_sym_PLUS,
182+ [anon_sym_PLUS_PLUS] = anon_sym_PLUS_PLUS,
183 [anon_sym_DASH] = anon_sym_DASH,
184 [anon_sym_DASH_DASH] = anon_sym_DASH_DASH,
185 [anon_sym_DASH_DASH_DASH_DASH] = anon_sym_DASH_DASH_DASH_DASH,
186 @@ -269,6 +272,10 @@ static const TSSymbolMetadata ts_symbol_metadata[] = {
187 .visible = true,
188 .named = false,
189 },
190+ [anon_sym_PLUS_PLUS] = {
191+ .visible = true,
192+ .named = false,
193+ },
194 [anon_sym_DASH] = {
195 .visible = true,
196 .named = false,
197 @@ -450,291 +457,292 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) {
198 eof = lexer->eof(lexer);
199 switch (state) {
200 case 0:
201- if (eof) ADVANCE(87);
202- if (lookahead == '\n') ADVANCE(88);
203+ if (eof) ADVANCE(86);
204+ if (lookahead == '\n') ADVANCE(87);
205 if (lookahead == '\r') ADVANCE(1);
206- if (lookahead == '%') ADVANCE(148);
207- if (lookahead == '+') ADVANCE(155);
208- if (lookahead == '-') ADVANCE(157);
209- if (lookahead == '.') ADVANCE(4);
210- if (lookahead == '@') ADVANCE(5);
211- if (lookahead == 'B') ADVANCE(38);
212- if (lookahead == 'a') ADVANCE(54);
213- if (lookahead == 'd') ADVANCE(17);
214- if (lookahead == 'f') ADVANCE(36);
215- if (lookahead == 'i') ADVANCE(56);
216- if (lookahead == 'm') ADVANCE(61);
217- if (lookahead == 'n') ADVANCE(18);
218- if (lookahead == 'r') ADVANCE(28);
219- if (lookahead == 's') ADVANCE(37);
220- if (lookahead == 't') ADVANCE(59);
221- if (('b' <= lookahead && lookahead <= 'e')) ADVANCE(81);
222+ if (lookahead == '%') ADVANCE(147);
223+ if (lookahead == '+') ADVANCE(154);
224+ if (lookahead == '-') ADVANCE(156);
225+ if (lookahead == '.') ADVANCE(3);
226+ if (lookahead == '@') ADVANCE(4);
227+ if (lookahead == 'B') ADVANCE(37);
228+ if (lookahead == 'a') ADVANCE(53);
229+ if (lookahead == 'd') ADVANCE(16);
230+ if (lookahead == 'f') ADVANCE(35);
231+ if (lookahead == 'i') ADVANCE(55);
232+ if (lookahead == 'm') ADVANCE(60);
233+ if (lookahead == 'n') ADVANCE(17);
234+ if (lookahead == 'r') ADVANCE(27);
235+ if (lookahead == 's') ADVANCE(36);
236+ if (lookahead == 't') ADVANCE(58);
237+ if (('b' <= lookahead && lookahead <= 'e')) ADVANCE(80);
238 if (('\t' <= lookahead && lookahead <= '\f') ||
239- lookahead == ' ') SKIP(82)
240- if (('0' <= lookahead && lookahead <= '9')) ADVANCE(118);
241+ lookahead == ' ') SKIP(81)
242+ if (('0' <= lookahead && lookahead <= '9')) ADVANCE(117);
243 END_STATE();
244 case 1:
245- if (lookahead == '\n') ADVANCE(88);
246+ if (lookahead == '\n') ADVANCE(87);
247 END_STATE();
248 case 2:
249- if (lookahead == '+') ADVANCE(150);
250+ if (lookahead == '-') ADVANCE(34);
251+ if (('0' <= lookahead && lookahead <= '9')) ADVANCE(195);
252 END_STATE();
253 case 3:
254- if (lookahead == '-') ADVANCE(35);
255- if (('0' <= lookahead && lookahead <= '9')) ADVANCE(197);
256+ if (lookahead == '.') ADVANCE(104);
257 END_STATE();
258 case 4:
259- if (lookahead == '.') ADVANCE(105);
260+ if (lookahead == '@') ADVANCE(150);
261 END_STATE();
262 case 5:
263 if (lookahead == '@') ADVANCE(151);
264 END_STATE();
265 case 6:
266- if (lookahead == '@') ADVANCE(152);
267+ if (lookahead == 'a') ADVANCE(61);
268 END_STATE();
269 case 7:
270- if (lookahead == 'a') ADVANCE(62);
271- END_STATE();
272- case 8:
273- if (lookahead == 'a') ADVANCE(206);
274+ if (lookahead == 'a') ADVANCE(204);
275 if (lookahead == '\t' ||
276- lookahead == ' ') SKIP(8)
277+ lookahead == ' ') SKIP(7)
278 if (lookahead == 11 ||
279- lookahead == '\f') ADVANCE(199);
280+ lookahead == '\f') ADVANCE(197);
281 if (lookahead != 0 &&
282- (lookahead < '\n' || '\r' < lookahead)) ADVANCE(209);
283+ (lookahead < '\n' || '\r' < lookahead)) ADVANCE(207);
284+ END_STATE();
285+ case 8:
286+ if (lookahead == 'a') ADVANCE(52);
287 END_STATE();
288 case 9:
289- if (lookahead == 'a') ADVANCE(53);
290+ if (lookahead == 'a') ADVANCE(63);
291 END_STATE();
292 case 10:
293- if (lookahead == 'a') ADVANCE(64);
294+ if (lookahead == 'd') ADVANCE(99);
295 END_STATE();
296 case 11:
297- if (lookahead == 'd') ADVANCE(100);
298+ if (lookahead == 'd') ADVANCE(91);
299 END_STATE();
300 case 12:
301- if (lookahead == 'd') ADVANCE(92);
302- END_STATE();
303- case 13:
304- if (lookahead == 'd') ADVANCE(205);
305+ if (lookahead == 'd') ADVANCE(203);
306 if (lookahead == '\t' ||
307- lookahead == ' ') SKIP(13)
308+ lookahead == ' ') SKIP(12)
309 if (lookahead == 11 ||
310- lookahead == '\f') ADVANCE(200);
311+ lookahead == '\f') ADVANCE(198);
312 if (lookahead != 0 &&
313- (lookahead < '\n' || '\r' < lookahead)) ADVANCE(209);
314+ (lookahead < '\n' || '\r' < lookahead)) ADVANCE(207);
315+ END_STATE();
316+ case 13:
317+ if (lookahead == 'd') ADVANCE(21);
318 END_STATE();
319 case 14:
320 if (lookahead == 'd') ADVANCE(22);
321 END_STATE();
322 case 15:
323- if (lookahead == 'd') ADVANCE(23);
324+ if (lookahead == 'd') ADVANCE(26);
325 END_STATE();
326 case 16:
327- if (lookahead == 'd') ADVANCE(27);
328+ if (lookahead == 'e') ADVANCE(45);
329+ if (lookahead == 'i') ADVANCE(30);
330+ if (('0' <= lookahead && lookahead <= '9') ||
331+ ('a' <= lookahead && lookahead <= 'f')) ADVANCE(79);
332 END_STATE();
333 case 17:
334- if (lookahead == 'e') ADVANCE(46);
335- if (lookahead == 'i') ADVANCE(31);
336- if (('0' <= lookahead && lookahead <= '9') ||
337- ('a' <= lookahead && lookahead <= 'f')) ADVANCE(80);
338+ if (lookahead == 'e') ADVANCE(68);
339 END_STATE();
340 case 18:
341- if (lookahead == 'e') ADVANCE(69);
342+ if (lookahead == 'e') ADVANCE(91);
343 END_STATE();
344 case 19:
345- if (lookahead == 'e') ADVANCE(92);
346+ if (lookahead == 'e') ADVANCE(67);
347 END_STATE();
348 case 20:
349- if (lookahead == 'e') ADVANCE(68);
350+ if (lookahead == 'e') ADVANCE(93);
351 END_STATE();
352 case 21:
353- if (lookahead == 'e') ADVANCE(94);
354+ if (lookahead == 'e') ADVANCE(69);
355 END_STATE();
356 case 22:
357- if (lookahead == 'e') ADVANCE(70);
358+ if (lookahead == 'e') ADVANCE(94);
359 END_STATE();
360 case 23:
361- if (lookahead == 'e') ADVANCE(95);
362+ if (lookahead == 'e') ADVANCE(92);
363 END_STATE();
364 case 24:
365- if (lookahead == 'e') ADVANCE(93);
366+ if (lookahead == 'e') ADVANCE(64);
367 END_STATE();
368 case 25:
369- if (lookahead == 'e') ADVANCE(65);
370+ if (lookahead == 'e') ADVANCE(62);
371 END_STATE();
372 case 26:
373- if (lookahead == 'e') ADVANCE(63);
374+ if (lookahead == 'e') ADVANCE(70);
375 END_STATE();
376 case 27:
377- if (lookahead == 'e') ADVANCE(71);
378+ if (lookahead == 'e') ADVANCE(56);
379 END_STATE();
380 case 28:
381- if (lookahead == 'e') ADVANCE(57);
382+ if (lookahead == 'e') ADVANCE(11);
383 END_STATE();
384 case 29:
385- if (lookahead == 'e') ADVANCE(12);
386+ if (lookahead == 'f') ADVANCE(89);
387 END_STATE();
388 case 30:
389- if (lookahead == 'f') ADVANCE(90);
390+ if (lookahead == 'f') ADVANCE(29);
391 END_STATE();
392 case 31:
393- if (lookahead == 'f') ADVANCE(30);
394- END_STATE();
395- case 32:
396- if (lookahead == 'f') ADVANCE(45);
397+ if (lookahead == 'f') ADVANCE(44);
398 if (lookahead == '\t' ||
399 lookahead == 11 ||
400 lookahead == '\f' ||
401- lookahead == ' ') SKIP(32)
402+ lookahead == ' ') SKIP(31)
403 if (('0' <= lookahead && lookahead <= '9') ||
404- ('a' <= lookahead && lookahead <= 'e')) ADVANCE(81);
405+ ('a' <= lookahead && lookahead <= 'e')) ADVANCE(80);
406+ END_STATE();
407+ case 32:
408+ if (lookahead == 'f') ADVANCE(33);
409 END_STATE();
410 case 33:
411- if (lookahead == 'f') ADVANCE(34);
412+ if (lookahead == 'f') ADVANCE(25);
413 END_STATE();
414 case 34:
415- if (lookahead == 'f') ADVANCE(26);
416+ if (lookahead == 'g') ADVANCE(40);
417 END_STATE();
418 case 35:
419- if (lookahead == 'g') ADVANCE(41);
420+ if (lookahead == 'i') ADVANCE(46);
421+ if (lookahead == 'r') ADVANCE(59);
422+ if (('0' <= lookahead && lookahead <= '9') ||
423+ ('a' <= lookahead && lookahead <= 'f')) ADVANCE(79);
424 END_STATE();
425 case 36:
426- if (lookahead == 'i') ADVANCE(47);
427- if (lookahead == 'r') ADVANCE(60);
428- if (('0' <= lookahead && lookahead <= '9') ||
429- ('a' <= lookahead && lookahead <= 'f')) ADVANCE(80);
430+ if (lookahead == 'i') ADVANCE(51);
431 END_STATE();
432 case 37:
433- if (lookahead == 'i') ADVANCE(52);
434+ if (lookahead == 'i') ADVANCE(54);
435 END_STATE();
436 case 38:
437- if (lookahead == 'i') ADVANCE(55);
438+ if (lookahead == 'i') ADVANCE(49);
439 END_STATE();
440 case 39:
441- if (lookahead == 'i') ADVANCE(50);
442+ if (lookahead == 'i') ADVANCE(66);
443 END_STATE();
444 case 40:
445- if (lookahead == 'i') ADVANCE(67);
446+ if (lookahead == 'i') ADVANCE(65);
447 END_STATE();
448 case 41:
449- if (lookahead == 'i') ADVANCE(66);
450+ if (lookahead == 'i') ADVANCE(32);
451 END_STATE();
452 case 42:
453- if (lookahead == 'i') ADVANCE(33);
454+ if (lookahead == 'i') ADVANCE(32);
455+ if (('0' <= lookahead && lookahead <= '9') ||
456+ ('a' <= lookahead && lookahead <= 'f')) ADVANCE(79);
457 END_STATE();
458 case 43:
459- if (lookahead == 'i') ADVANCE(33);
460- if (('0' <= lookahead && lookahead <= '9') ||
461- ('a' <= lookahead && lookahead <= 'f')) ADVANCE(80);
462+ if (lookahead == 'i') ADVANCE(47);
463+ if (lookahead == 'r') ADVANCE(59);
464 END_STATE();
465 case 44:
466 if (lookahead == 'i') ADVANCE(48);
467- if (lookahead == 'r') ADVANCE(60);
468+ if (('0' <= lookahead && lookahead <= '9') ||
469+ ('a' <= lookahead && lookahead <= 'f')) ADVANCE(79);
470 END_STATE();
471 case 45:
472- if (lookahead == 'i') ADVANCE(49);
473+ if (lookahead == 'l') ADVANCE(19);
474 if (('0' <= lookahead && lookahead <= '9') ||
475- ('a' <= lookahead && lookahead <= 'f')) ADVANCE(80);
476+ ('a' <= lookahead && lookahead <= 'f')) ADVANCE(78);
477 END_STATE();
478 case 46:
479 if (lookahead == 'l') ADVANCE(20);
480- if (('0' <= lookahead && lookahead <= '9') ||
481- ('a' <= lookahead && lookahead <= 'f')) ADVANCE(79);
482 END_STATE();
483 case 47:
484- if (lookahead == 'l') ADVANCE(21);
485+ if (lookahead == 'l') ADVANCE(23);
486 END_STATE();
487 case 48:
488 if (lookahead == 'l') ADVANCE(24);
489 END_STATE();
490 case 49:
491- if (lookahead == 'l') ADVANCE(25);
492+ if (lookahead == 'l') ADVANCE(9);
493 END_STATE();
494 case 50:
495- if (lookahead == 'l') ADVANCE(10);
496+ if (lookahead == 'm') ADVANCE(95);
497 END_STATE();
498 case 51:
499- if (lookahead == 'm') ADVANCE(96);
500+ if (lookahead == 'm') ADVANCE(38);
501 END_STATE();
502 case 52:
503- if (lookahead == 'm') ADVANCE(39);
504+ if (lookahead == 'm') ADVANCE(18);
505 END_STATE();
506 case 53:
507- if (lookahead == 'm') ADVANCE(19);
508+ if (lookahead == 'n') ADVANCE(10);
509+ if (('0' <= lookahead && lookahead <= '9') ||
510+ ('a' <= lookahead && lookahead <= 'f')) ADVANCE(79);
511 END_STATE();
512 case 54:
513- if (lookahead == 'n') ADVANCE(11);
514- if (('0' <= lookahead && lookahead <= '9') ||
515- ('a' <= lookahead && lookahead <= 'f')) ADVANCE(80);
516+ if (lookahead == 'n') ADVANCE(6);
517 END_STATE();
518 case 55:
519- if (lookahead == 'n') ADVANCE(7);
520+ if (lookahead == 'n') ADVANCE(13);
521 END_STATE();
522 case 56:
523- if (lookahead == 'n') ADVANCE(14);
524+ if (lookahead == 'n') ADVANCE(8);
525 END_STATE();
526 case 57:
527- if (lookahead == 'n') ADVANCE(9);
528+ if (lookahead == 'n') ADVANCE(15);
529 END_STATE();
530 case 58:
531- if (lookahead == 'n') ADVANCE(16);
532+ if (lookahead == 'o') ADVANCE(96);
533 END_STATE();
534 case 59:
535- if (lookahead == 'o') ADVANCE(97);
536+ if (lookahead == 'o') ADVANCE(50);
537 END_STATE();
538 case 60:
539- if (lookahead == 'o') ADVANCE(51);
540+ if (lookahead == 'o') ADVANCE(14);
541 END_STATE();
542 case 61:
543- if (lookahead == 'o') ADVANCE(15);
544+ if (lookahead == 'r') ADVANCE(71);
545 END_STATE();
546 case 62:
547- if (lookahead == 'r') ADVANCE(72);
548+ if (lookahead == 'r') ADVANCE(101);
549 END_STATE();
550 case 63:
551- if (lookahead == 'r') ADVANCE(102);
552+ if (lookahead == 'r') ADVANCE(39);
553 END_STATE();
554 case 64:
555- if (lookahead == 'r') ADVANCE(40);
556+ if (lookahead == 's') ADVANCE(98);
557 END_STATE();
558 case 65:
559- if (lookahead == 's') ADVANCE(99);
560+ if (lookahead == 't') ADVANCE(90);
561 END_STATE();
562 case 66:
563- if (lookahead == 't') ADVANCE(91);
564+ if (lookahead == 't') ADVANCE(72);
565 END_STATE();
566 case 67:
567- if (lookahead == 't') ADVANCE(73);
568+ if (lookahead == 't') ADVANCE(28);
569 END_STATE();
570 case 68:
571- if (lookahead == 't') ADVANCE(29);
572+ if (lookahead == 'w') ADVANCE(91);
573 END_STATE();
574 case 69:
575- if (lookahead == 'w') ADVANCE(92);
576+ if (lookahead == 'x') ADVANCE(103);
577 END_STATE();
578 case 70:
579- if (lookahead == 'x') ADVANCE(104);
580+ if (lookahead == 'x') ADVANCE(106);
581 END_STATE();
582 case 71:
583- if (lookahead == 'x') ADVANCE(107);
584+ if (lookahead == 'y') ADVANCE(97);
585 END_STATE();
586 case 72:
587- if (lookahead == 'y') ADVANCE(98);
588+ if (lookahead == 'y') ADVANCE(105);
589 END_STATE();
590 case 73:
591- if (lookahead == 'y') ADVANCE(106);
592+ if (('0' <= lookahead && lookahead <= '9')) ADVANCE(195);
593 END_STATE();
594 case 74:
595- if (('0' <= lookahead && lookahead <= '9')) ADVANCE(197);
596+ if (('0' <= lookahead && lookahead <= '9')) ADVANCE(196);
597 END_STATE();
598 case 75:
599- if (('0' <= lookahead && lookahead <= '9')) ADVANCE(198);
600+ if (('0' <= lookahead && lookahead <= '9') ||
601+ ('a' <= lookahead && lookahead <= 'f')) ADVANCE(241);
602 END_STATE();
603 case 76:
604 if (('0' <= lookahead && lookahead <= '9') ||
605- ('a' <= lookahead && lookahead <= 'f')) ADVANCE(243);
606+ ('a' <= lookahead && lookahead <= 'f')) ADVANCE(75);
607 END_STATE();
608 case 77:
609 if (('0' <= lookahead && lookahead <= '9') ||
610 @@ -753,769 +761,768 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) {
611 ('a' <= lookahead && lookahead <= 'f')) ADVANCE(79);
612 END_STATE();
613 case 81:
614- if (('0' <= lookahead && lookahead <= '9') ||
615- ('a' <= lookahead && lookahead <= 'f')) ADVANCE(80);
616+ if (eof) ADVANCE(86);
617+ if (lookahead == '\n') ADVANCE(87);
618+ if (lookahead == '\r') ADVANCE(1);
619+ if (lookahead == '%') ADVANCE(147);
620+ if (lookahead == '.') ADVANCE(3);
621+ if (lookahead == '@') ADVANCE(5);
622+ if (lookahead == 'a') ADVANCE(53);
623+ if (lookahead == 'd') ADVANCE(42);
624+ if (lookahead == 'f') ADVANCE(35);
625+ if (lookahead == 'i') ADVANCE(57);
626+ if (lookahead == 'm') ADVANCE(60);
627+ if (lookahead == 't') ADVANCE(58);
628+ if (('b' <= lookahead && lookahead <= 'e')) ADVANCE(80);
629+ if (('\t' <= lookahead && lookahead <= '\f') ||
630+ lookahead == ' ') SKIP(81)
631+ if (('0' <= lookahead && lookahead <= '9')) ADVANCE(117);
632 END_STATE();
633 case 82:
634- if (eof) ADVANCE(87);
635- if (lookahead == '\n') ADVANCE(88);
636+ if (eof) ADVANCE(86);
637+ if (lookahead == '\n') ADVANCE(87);
638 if (lookahead == '\r') ADVANCE(1);
639- if (lookahead == '%') ADVANCE(148);
640- if (lookahead == '.') ADVANCE(4);
641- if (lookahead == '@') ADVANCE(6);
642- if (lookahead == 'a') ADVANCE(54);
643- if (lookahead == 'd') ADVANCE(43);
644- if (lookahead == 'f') ADVANCE(36);
645- if (lookahead == 'i') ADVANCE(58);
646- if (lookahead == 'm') ADVANCE(61);
647- if (lookahead == 't') ADVANCE(59);
648- if (('b' <= lookahead && lookahead <= 'e')) ADVANCE(81);
649+ if (lookahead == '+') ADVANCE(154);
650+ if (lookahead == '-') ADVANCE(156);
651+ if (lookahead == '@') ADVANCE(160);
652+ if (lookahead == 'B') ADVANCE(176);
653+ if (lookahead == 'd') ADVANCE(167);
654+ if (lookahead == 'i') ADVANCE(183);
655+ if (lookahead == 'n') ADVANCE(168);
656+ if (lookahead == 'r') ADVANCE(172);
657+ if (lookahead == 's') ADVANCE(175);
658 if (('\t' <= lookahead && lookahead <= '\f') ||
659- lookahead == ' ') SKIP(82)
660- if (('0' <= lookahead && lookahead <= '9')) ADVANCE(118);
661+ lookahead == ' ') ADVANCE(159);
662+ if (lookahead != 0) ADVANCE(194);
663 END_STATE();
664 case 83:
665- if (eof) ADVANCE(87);
666- if (lookahead == '\n') ADVANCE(88);
667+ if (eof) ADVANCE(86);
668+ if (lookahead == '\n') ADVANCE(87);
669 if (lookahead == '\r') ADVANCE(1);
670- if (lookahead == '+') ADVANCE(74);
671- if (lookahead == '-') ADVANCE(3);
672- if (lookahead == '@') ADVANCE(6);
673- if (lookahead == 'd') ADVANCE(42);
674- if (lookahead == 'f') ADVANCE(44);
675- if (lookahead == 'i') ADVANCE(58);
676- if (lookahead == 't') ADVANCE(59);
677+ if (lookahead == '+') ADVANCE(73);
678+ if (lookahead == '-') ADVANCE(2);
679+ if (lookahead == '@') ADVANCE(5);
680+ if (lookahead == 'd') ADVANCE(41);
681+ if (lookahead == 'f') ADVANCE(43);
682+ if (lookahead == 'i') ADVANCE(57);
683+ if (lookahead == 't') ADVANCE(58);
684 if (('\t' <= lookahead && lookahead <= '\f') ||
685 lookahead == ' ') SKIP(83)
686- if (('0' <= lookahead && lookahead <= '9')) ADVANCE(147);
687+ if (('0' <= lookahead && lookahead <= '9')) ADVANCE(146);
688 END_STATE();
689 case 84:
690- if (eof) ADVANCE(87);
691- if (lookahead == '\n') ADVANCE(88);
692- if (lookahead == '\r') ADVANCE(1);
693- if (lookahead == '+') ADVANCE(156);
694- if (lookahead == '-') ADVANCE(157);
695- if (lookahead == '@') ADVANCE(162);
696- if (lookahead == 'B') ADVANCE(178);
697- if (lookahead == 'd') ADVANCE(169);
698- if (lookahead == 'i') ADVANCE(185);
699- if (lookahead == 'n') ADVANCE(170);
700- if (lookahead == 'r') ADVANCE(174);
701- if (lookahead == 's') ADVANCE(177);
702- if (('\t' <= lookahead && lookahead <= '\f') ||
703- lookahead == ' ') ADVANCE(160);
704- if (lookahead != 0) ADVANCE(196);
705- END_STATE();
706- case 85:
707- if (eof) ADVANCE(87);
708- if (lookahead == '\n') ADVANCE(88);
709+ if (eof) ADVANCE(86);
710+ if (lookahead == '\n') ADVANCE(87);
711 if (lookahead == '\r') ADVANCE(1);
712 if (lookahead == '\t' ||
713- lookahead == ' ') SKIP(85)
714+ lookahead == ' ') SKIP(84)
715 if (lookahead == 11 ||
716- lookahead == '\f') ADVANCE(208);
717- if (lookahead != 0) ADVANCE(209);
718+ lookahead == '\f') ADVANCE(206);
719+ if (lookahead != 0) ADVANCE(207);
720 END_STATE();
721- case 86:
722- if (eof) ADVANCE(87);
723- if (lookahead == '\n') ADVANCE(88);
724+ case 85:
725+ if (eof) ADVANCE(86);
726+ if (lookahead == '\n') ADVANCE(87);
727 if (lookahead == '\r') ADVANCE(1);
728 if (('\t' <= lookahead && lookahead <= '\f') ||
729- lookahead == ' ') ADVANCE(153);
730- if (lookahead != 0) ADVANCE(154);
731+ lookahead == ' ') ADVANCE(152);
732+ if (lookahead != 0) ADVANCE(153);
733 END_STATE();
734- case 87:
735+ case 86:
736 ACCEPT_TOKEN(ts_builtin_sym_end);
737 END_STATE();
738- case 88:
739+ case 87:
740 ACCEPT_TOKEN(aux_sym_source_token1);
741 END_STATE();
742+ case 88:
743+ ACCEPT_TOKEN(anon_sym_diff);
744+ END_STATE();
745 case 89:
746 ACCEPT_TOKEN(anon_sym_diff);
747+ if (lookahead == 'e') ADVANCE(62);
748 END_STATE();
749 case 90:
750- ACCEPT_TOKEN(anon_sym_diff);
751- if (lookahead == 'e') ADVANCE(63);
752+ ACCEPT_TOKEN(anon_sym_DASH_DASHgit);
753 END_STATE();
754 case 91:
755- ACCEPT_TOKEN(anon_sym_DASH_DASHgit);
756+ ACCEPT_TOKEN(aux_sym_file_change_token1);
757 END_STATE();
758 case 92:
759- ACCEPT_TOKEN(aux_sym_file_change_token1);
760+ ACCEPT_TOKEN(anon_sym_file);
761 END_STATE();
762 case 93:
763 ACCEPT_TOKEN(anon_sym_file);
764+ if (lookahead == 's') ADVANCE(98);
765 END_STATE();
766 case 94:
767- ACCEPT_TOKEN(anon_sym_file);
768- if (lookahead == 's') ADVANCE(99);
769- END_STATE();
770- case 95:
771 ACCEPT_TOKEN(anon_sym_mode);
772 END_STATE();
773- case 96:
774+ case 95:
775 ACCEPT_TOKEN(anon_sym_from);
776 END_STATE();
777- case 97:
778+ case 96:
779 ACCEPT_TOKEN(anon_sym_to);
780 END_STATE();
781- case 98:
782+ case 97:
783 ACCEPT_TOKEN(anon_sym_Binary);
784 END_STATE();
785- case 99:
786+ case 98:
787 ACCEPT_TOKEN(anon_sym_files);
788 END_STATE();
789- case 100:
790+ case 99:
791 ACCEPT_TOKEN(anon_sym_and);
792 END_STATE();
793- case 101:
794+ case 100:
795 ACCEPT_TOKEN(anon_sym_and);
796 if (lookahead != 0 &&
797 lookahead != '\t' &&
798 lookahead != '\n' &&
799 lookahead != '\r' &&
800- lookahead != ' ') ADVANCE(209);
801+ lookahead != ' ') ADVANCE(207);
802 END_STATE();
803- case 102:
804+ case 101:
805 ACCEPT_TOKEN(anon_sym_differ);
806 END_STATE();
807- case 103:
808+ case 102:
809 ACCEPT_TOKEN(anon_sym_differ);
810 if (lookahead != 0 &&
811 lookahead != '\t' &&
812 lookahead != '\n' &&
813 lookahead != '\r' &&
814- lookahead != ' ') ADVANCE(209);
815+ lookahead != ' ') ADVANCE(207);
816 END_STATE();
817- case 104:
818+ case 103:
819 ACCEPT_TOKEN(anon_sym_index);
820 END_STATE();
821- case 105:
822+ case 104:
823 ACCEPT_TOKEN(anon_sym_DOT_DOT);
824 END_STATE();
825- case 106:
826+ case 105:
827 ACCEPT_TOKEN(anon_sym_similarity);
828 END_STATE();
829- case 107:
830+ case 106:
831 ACCEPT_TOKEN(anon_sym_index2);
832 END_STATE();
833+ case 107:
834+ ACCEPT_TOKEN(aux_sym_similarity_token1);
835+ if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(241);
836+ if (('0' <= lookahead && lookahead <= '9')) ADVANCE(145);
837+ END_STATE();
838 case 108:
839 ACCEPT_TOKEN(aux_sym_similarity_token1);
840- if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(243);
841+ if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(208);
842 if (('0' <= lookahead && lookahead <= '9')) ADVANCE(146);
843 END_STATE();
844 case 109:
845 ACCEPT_TOKEN(aux_sym_similarity_token1);
846- if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(210);
847- if (('0' <= lookahead && lookahead <= '9')) ADVANCE(147);
848+ if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(75);
849+ if (('0' <= lookahead && lookahead <= '9')) ADVANCE(107);
850 END_STATE();
851 case 110:
852 ACCEPT_TOKEN(aux_sym_similarity_token1);
853- if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(76);
854+ if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(209);
855 if (('0' <= lookahead && lookahead <= '9')) ADVANCE(108);
856 END_STATE();
857 case 111:
858 ACCEPT_TOKEN(aux_sym_similarity_token1);
859- if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(211);
860+ if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(76);
861 if (('0' <= lookahead && lookahead <= '9')) ADVANCE(109);
862 END_STATE();
863 case 112:
864 ACCEPT_TOKEN(aux_sym_similarity_token1);
865- if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(77);
866+ if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(210);
867 if (('0' <= lookahead && lookahead <= '9')) ADVANCE(110);
868 END_STATE();
869 case 113:
870 ACCEPT_TOKEN(aux_sym_similarity_token1);
871- if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(212);
872+ if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(77);
873 if (('0' <= lookahead && lookahead <= '9')) ADVANCE(111);
874 END_STATE();
875 case 114:
876 ACCEPT_TOKEN(aux_sym_similarity_token1);
877- if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(78);
878+ if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(211);
879 if (('0' <= lookahead && lookahead <= '9')) ADVANCE(112);
880 END_STATE();
881 case 115:
882 ACCEPT_TOKEN(aux_sym_similarity_token1);
883- if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(213);
884+ if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(78);
885 if (('0' <= lookahead && lookahead <= '9')) ADVANCE(113);
886 END_STATE();
887 case 116:
888 ACCEPT_TOKEN(aux_sym_similarity_token1);
889- if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(79);
890+ if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(212);
891 if (('0' <= lookahead && lookahead <= '9')) ADVANCE(114);
892 END_STATE();
893 case 117:
894 ACCEPT_TOKEN(aux_sym_similarity_token1);
895- if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(214);
896+ if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(79);
897 if (('0' <= lookahead && lookahead <= '9')) ADVANCE(115);
898 END_STATE();
899 case 118:
900 ACCEPT_TOKEN(aux_sym_similarity_token1);
901- if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(80);
902+ if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(213);
903 if (('0' <= lookahead && lookahead <= '9')) ADVANCE(116);
904 END_STATE();
905 case 119:
906 ACCEPT_TOKEN(aux_sym_similarity_token1);
907- if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(215);
908- if (('0' <= lookahead && lookahead <= '9')) ADVANCE(117);
909+ if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(214);
910+ if (('0' <= lookahead && lookahead <= '9')) ADVANCE(118);
911 END_STATE();
912 case 120:
913 ACCEPT_TOKEN(aux_sym_similarity_token1);
914- if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(216);
915+ if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(215);
916 if (('0' <= lookahead && lookahead <= '9')) ADVANCE(119);
917 END_STATE();
918 case 121:
919 ACCEPT_TOKEN(aux_sym_similarity_token1);
920- if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(217);
921+ if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(216);
922 if (('0' <= lookahead && lookahead <= '9')) ADVANCE(120);
923 END_STATE();
924 case 122:
925 ACCEPT_TOKEN(aux_sym_similarity_token1);
926- if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(218);
927+ if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(217);
928 if (('0' <= lookahead && lookahead <= '9')) ADVANCE(121);
929 END_STATE();
930 case 123:
931 ACCEPT_TOKEN(aux_sym_similarity_token1);
932- if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(219);
933+ if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(218);
934 if (('0' <= lookahead && lookahead <= '9')) ADVANCE(122);
935 END_STATE();
936 case 124:
937 ACCEPT_TOKEN(aux_sym_similarity_token1);
938- if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(220);
939+ if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(219);
940 if (('0' <= lookahead && lookahead <= '9')) ADVANCE(123);
941 END_STATE();
942 case 125:
943 ACCEPT_TOKEN(aux_sym_similarity_token1);
944- if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(221);
945+ if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(220);
946 if (('0' <= lookahead && lookahead <= '9')) ADVANCE(124);
947 END_STATE();
948 case 126:
949 ACCEPT_TOKEN(aux_sym_similarity_token1);
950- if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(222);
951+ if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(221);
952 if (('0' <= lookahead && lookahead <= '9')) ADVANCE(125);
953 END_STATE();
954 case 127:
955 ACCEPT_TOKEN(aux_sym_similarity_token1);
956- if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(223);
957+ if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(222);
958 if (('0' <= lookahead && lookahead <= '9')) ADVANCE(126);
959 END_STATE();
960 case 128:
961 ACCEPT_TOKEN(aux_sym_similarity_token1);
962- if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(224);
963+ if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(223);
964 if (('0' <= lookahead && lookahead <= '9')) ADVANCE(127);
965 END_STATE();
966 case 129:
967 ACCEPT_TOKEN(aux_sym_similarity_token1);
968- if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(225);
969+ if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(224);
970 if (('0' <= lookahead && lookahead <= '9')) ADVANCE(128);
971 END_STATE();
972 case 130:
973 ACCEPT_TOKEN(aux_sym_similarity_token1);
974- if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(226);
975+ if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(225);
976 if (('0' <= lookahead && lookahead <= '9')) ADVANCE(129);
977 END_STATE();
978 case 131:
979 ACCEPT_TOKEN(aux_sym_similarity_token1);
980- if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(227);
981+ if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(226);
982 if (('0' <= lookahead && lookahead <= '9')) ADVANCE(130);
983 END_STATE();
984 case 132:
985 ACCEPT_TOKEN(aux_sym_similarity_token1);
986- if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(228);
987+ if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(227);
988 if (('0' <= lookahead && lookahead <= '9')) ADVANCE(131);
989 END_STATE();
990 case 133:
991 ACCEPT_TOKEN(aux_sym_similarity_token1);
992- if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(229);
993+ if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(228);
994 if (('0' <= lookahead && lookahead <= '9')) ADVANCE(132);
995 END_STATE();
996 case 134:
997 ACCEPT_TOKEN(aux_sym_similarity_token1);
998- if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(230);
999+ if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(229);
1000 if (('0' <= lookahead && lookahead <= '9')) ADVANCE(133);
1001 END_STATE();
1002 case 135:
1003 ACCEPT_TOKEN(aux_sym_similarity_token1);
1004- if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(231);
1005+ if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(230);
1006 if (('0' <= lookahead && lookahead <= '9')) ADVANCE(134);
1007 END_STATE();
1008 case 136:
1009 ACCEPT_TOKEN(aux_sym_similarity_token1);
1010- if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(232);
1011+ if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(231);
1012 if (('0' <= lookahead && lookahead <= '9')) ADVANCE(135);
1013 END_STATE();
1014 case 137:
1015 ACCEPT_TOKEN(aux_sym_similarity_token1);
1016- if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(233);
1017+ if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(232);
1018 if (('0' <= lookahead && lookahead <= '9')) ADVANCE(136);
1019 END_STATE();
1020 case 138:
1021 ACCEPT_TOKEN(aux_sym_similarity_token1);
1022- if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(234);
1023+ if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(233);
1024 if (('0' <= lookahead && lookahead <= '9')) ADVANCE(137);
1025 END_STATE();
1026 case 139:
1027 ACCEPT_TOKEN(aux_sym_similarity_token1);
1028- if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(235);
1029+ if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(234);
1030 if (('0' <= lookahead && lookahead <= '9')) ADVANCE(138);
1031 END_STATE();
1032 case 140:
1033 ACCEPT_TOKEN(aux_sym_similarity_token1);
1034- if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(236);
1035+ if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(235);
1036 if (('0' <= lookahead && lookahead <= '9')) ADVANCE(139);
1037 END_STATE();
1038 case 141:
1039 ACCEPT_TOKEN(aux_sym_similarity_token1);
1040- if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(237);
1041+ if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(236);
1042 if (('0' <= lookahead && lookahead <= '9')) ADVANCE(140);
1043 END_STATE();
1044 case 142:
1045 ACCEPT_TOKEN(aux_sym_similarity_token1);
1046- if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(238);
1047+ if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(237);
1048 if (('0' <= lookahead && lookahead <= '9')) ADVANCE(141);
1049 END_STATE();
1050 case 143:
1051 ACCEPT_TOKEN(aux_sym_similarity_token1);
1052- if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(239);
1053+ if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(238);
1054 if (('0' <= lookahead && lookahead <= '9')) ADVANCE(142);
1055 END_STATE();
1056 case 144:
1057 ACCEPT_TOKEN(aux_sym_similarity_token1);
1058- if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(240);
1059+ if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(239);
1060 if (('0' <= lookahead && lookahead <= '9')) ADVANCE(143);
1061 END_STATE();
1062 case 145:
1063 ACCEPT_TOKEN(aux_sym_similarity_token1);
1064- if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(241);
1065+ if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(240);
1066 if (('0' <= lookahead && lookahead <= '9')) ADVANCE(144);
1067 END_STATE();
1068 case 146:
1069 ACCEPT_TOKEN(aux_sym_similarity_token1);
1070- if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(242);
1071- if (('0' <= lookahead && lookahead <= '9')) ADVANCE(145);
1072+ if (('0' <= lookahead && lookahead <= '9')) ADVANCE(146);
1073 END_STATE();
1074 case 147:
1075- ACCEPT_TOKEN(aux_sym_similarity_token1);
1076- if (('0' <= lookahead && lookahead <= '9')) ADVANCE(147);
1077- END_STATE();
1078- case 148:
1079 ACCEPT_TOKEN(anon_sym_PERCENT);
1080 END_STATE();
1081- case 149:
1082+ case 148:
1083 ACCEPT_TOKEN(anon_sym_DASH_DASH_DASH);
1084- if (lookahead == '-') ADVANCE(159);
1085+ if (lookahead == '-') ADVANCE(158);
1086 END_STATE();
1087- case 150:
1088+ case 149:
1089 ACCEPT_TOKEN(anon_sym_PLUS_PLUS_PLUS);
1090 END_STATE();
1091- case 151:
1092+ case 150:
1093 ACCEPT_TOKEN(anon_sym_AT_AT);
1094 END_STATE();
1095- case 152:
1096+ case 151:
1097 ACCEPT_TOKEN(anon_sym_AT_AT2);
1098 END_STATE();
1099- case 153:
1100+ case 152:
1101 ACCEPT_TOKEN(aux_sym_location_token1);
1102 if (lookahead == '\t' ||
1103 lookahead == 11 ||
1104 lookahead == '\f' ||
1105- lookahead == ' ') ADVANCE(153);
1106+ lookahead == ' ') ADVANCE(152);
1107 if (lookahead != 0 &&
1108- (lookahead < '\n' || '\r' < lookahead)) ADVANCE(154);
1109+ (lookahead < '\n' || '\r' < lookahead)) ADVANCE(153);
1110 END_STATE();
1111- case 154:
1112+ case 153:
1113 ACCEPT_TOKEN(aux_sym_location_token1);
1114 if (lookahead != 0 &&
1115 lookahead != '\n' &&
1116- lookahead != '\r') ADVANCE(154);
1117+ lookahead != '\r') ADVANCE(153);
1118 END_STATE();
1119- case 155:
1120+ case 154:
1121 ACCEPT_TOKEN(anon_sym_PLUS);
1122- if (lookahead == '+') ADVANCE(2);
1123+ if (lookahead == '+') ADVANCE(155);
1124 END_STATE();
1125- case 156:
1126- ACCEPT_TOKEN(anon_sym_PLUS);
1127- if (lookahead == '+') ADVANCE(161);
1128+ case 155:
1129+ ACCEPT_TOKEN(anon_sym_PLUS_PLUS);
1130+ if (lookahead == '+') ADVANCE(149);
1131 END_STATE();
1132- case 157:
1133+ case 156:
1134 ACCEPT_TOKEN(anon_sym_DASH);
1135- if (lookahead == '-') ADVANCE(158);
1136+ if (lookahead == '-') ADVANCE(157);
1137 END_STATE();
1138- case 158:
1139+ case 157:
1140 ACCEPT_TOKEN(anon_sym_DASH_DASH);
1141- if (lookahead == '-') ADVANCE(149);
1142+ if (lookahead == '-') ADVANCE(148);
1143 END_STATE();
1144- case 159:
1145+ case 158:
1146 ACCEPT_TOKEN(anon_sym_DASH_DASH_DASH_DASH);
1147 END_STATE();
1148- case 160:
1149+ case 159:
1150 ACCEPT_TOKEN(sym_context);
1151- if (lookahead == '\n') ADVANCE(88);
1152+ if (lookahead == '\n') ADVANCE(87);
1153 if (lookahead == '\r') ADVANCE(1);
1154 if (('\t' <= lookahead && lookahead <= '\f') ||
1155- lookahead == ' ') ADVANCE(160);
1156- if (lookahead != 0) ADVANCE(196);
1157+ lookahead == ' ') ADVANCE(159);
1158+ if (lookahead != 0) ADVANCE(194);
1159+ END_STATE();
1160+ case 160:
1161+ ACCEPT_TOKEN(sym_context);
1162+ if (lookahead == '@') ADVANCE(150);
1163+ if (lookahead != 0 &&
1164+ lookahead != '\n' &&
1165+ lookahead != '\r') ADVANCE(194);
1166 END_STATE();
1167 case 161:
1168 ACCEPT_TOKEN(sym_context);
1169- if (lookahead == '+') ADVANCE(150);
1170+ if (lookahead == 'a') ADVANCE(186);
1171 if (lookahead != 0 &&
1172 lookahead != '\n' &&
1173- lookahead != '\r') ADVANCE(196);
1174+ lookahead != '\r') ADVANCE(194);
1175 END_STATE();
1176 case 162:
1177 ACCEPT_TOKEN(sym_context);
1178- if (lookahead == '@') ADVANCE(151);
1179+ if (lookahead == 'a') ADVANCE(182);
1180 if (lookahead != 0 &&
1181 lookahead != '\n' &&
1182- lookahead != '\r') ADVANCE(196);
1183+ lookahead != '\r') ADVANCE(194);
1184 END_STATE();
1185 case 163:
1186 ACCEPT_TOKEN(sym_context);
1187- if (lookahead == 'a') ADVANCE(188);
1188+ if (lookahead == 'a') ADVANCE(187);
1189 if (lookahead != 0 &&
1190 lookahead != '\n' &&
1191- lookahead != '\r') ADVANCE(196);
1192+ lookahead != '\r') ADVANCE(194);
1193 END_STATE();
1194 case 164:
1195 ACCEPT_TOKEN(sym_context);
1196- if (lookahead == 'a') ADVANCE(184);
1197+ if (lookahead == 'd') ADVANCE(91);
1198 if (lookahead != 0 &&
1199 lookahead != '\n' &&
1200- lookahead != '\r') ADVANCE(196);
1201+ lookahead != '\r') ADVANCE(194);
1202 END_STATE();
1203 case 165:
1204 ACCEPT_TOKEN(sym_context);
1205- if (lookahead == 'a') ADVANCE(189);
1206+ if (lookahead == 'd') ADVANCE(170);
1207 if (lookahead != 0 &&
1208 lookahead != '\n' &&
1209- lookahead != '\r') ADVANCE(196);
1210+ lookahead != '\r') ADVANCE(194);
1211 END_STATE();
1212 case 166:
1213 ACCEPT_TOKEN(sym_context);
1214- if (lookahead == 'd') ADVANCE(92);
1215+ if (lookahead == 'e') ADVANCE(91);
1216 if (lookahead != 0 &&
1217 lookahead != '\n' &&
1218- lookahead != '\r') ADVANCE(196);
1219+ lookahead != '\r') ADVANCE(194);
1220 END_STATE();
1221 case 167:
1222 ACCEPT_TOKEN(sym_context);
1223- if (lookahead == 'd') ADVANCE(172);
1224+ if (lookahead == 'e') ADVANCE(179);
1225+ if (lookahead == 'i') ADVANCE(174);
1226 if (lookahead != 0 &&
1227 lookahead != '\n' &&
1228- lookahead != '\r') ADVANCE(196);
1229+ lookahead != '\r') ADVANCE(194);
1230 END_STATE();
1231 case 168:
1232 ACCEPT_TOKEN(sym_context);
1233- if (lookahead == 'e') ADVANCE(92);
1234+ if (lookahead == 'e') ADVANCE(190);
1235 if (lookahead != 0 &&
1236 lookahead != '\n' &&
1237- lookahead != '\r') ADVANCE(196);
1238+ lookahead != '\r') ADVANCE(194);
1239 END_STATE();
1240 case 169:
1241 ACCEPT_TOKEN(sym_context);
1242- if (lookahead == 'e') ADVANCE(181);
1243- if (lookahead == 'i') ADVANCE(176);
1244+ if (lookahead == 'e') ADVANCE(189);
1245 if (lookahead != 0 &&
1246 lookahead != '\n' &&
1247- lookahead != '\r') ADVANCE(196);
1248+ lookahead != '\r') ADVANCE(194);
1249 END_STATE();
1250 case 170:
1251 ACCEPT_TOKEN(sym_context);
1252- if (lookahead == 'e') ADVANCE(192);
1253+ if (lookahead == 'e') ADVANCE(191);
1254 if (lookahead != 0 &&
1255 lookahead != '\n' &&
1256- lookahead != '\r') ADVANCE(196);
1257+ lookahead != '\r') ADVANCE(194);
1258 END_STATE();
1259 case 171:
1260 ACCEPT_TOKEN(sym_context);
1261- if (lookahead == 'e') ADVANCE(191);
1262+ if (lookahead == 'e') ADVANCE(164);
1263 if (lookahead != 0 &&
1264 lookahead != '\n' &&
1265- lookahead != '\r') ADVANCE(196);
1266+ lookahead != '\r') ADVANCE(194);
1267 END_STATE();
1268 case 172:
1269 ACCEPT_TOKEN(sym_context);
1270- if (lookahead == 'e') ADVANCE(193);
1271+ if (lookahead == 'e') ADVANCE(185);
1272 if (lookahead != 0 &&
1273 lookahead != '\n' &&
1274- lookahead != '\r') ADVANCE(196);
1275+ lookahead != '\r') ADVANCE(194);
1276 END_STATE();
1277 case 173:
1278 ACCEPT_TOKEN(sym_context);
1279- if (lookahead == 'e') ADVANCE(166);
1280+ if (lookahead == 'f') ADVANCE(88);
1281 if (lookahead != 0 &&
1282 lookahead != '\n' &&
1283- lookahead != '\r') ADVANCE(196);
1284+ lookahead != '\r') ADVANCE(194);
1285 END_STATE();
1286 case 174:
1287 ACCEPT_TOKEN(sym_context);
1288- if (lookahead == 'e') ADVANCE(187);
1289+ if (lookahead == 'f') ADVANCE(173);
1290 if (lookahead != 0 &&
1291 lookahead != '\n' &&
1292- lookahead != '\r') ADVANCE(196);
1293+ lookahead != '\r') ADVANCE(194);
1294 END_STATE();
1295 case 175:
1296 ACCEPT_TOKEN(sym_context);
1297- if (lookahead == 'f') ADVANCE(89);
1298+ if (lookahead == 'i') ADVANCE(181);
1299 if (lookahead != 0 &&
1300 lookahead != '\n' &&
1301- lookahead != '\r') ADVANCE(196);
1302+ lookahead != '\r') ADVANCE(194);
1303 END_STATE();
1304 case 176:
1305 ACCEPT_TOKEN(sym_context);
1306- if (lookahead == 'f') ADVANCE(175);
1307+ if (lookahead == 'i') ADVANCE(184);
1308 if (lookahead != 0 &&
1309 lookahead != '\n' &&
1310- lookahead != '\r') ADVANCE(196);
1311+ lookahead != '\r') ADVANCE(194);
1312 END_STATE();
1313 case 177:
1314 ACCEPT_TOKEN(sym_context);
1315- if (lookahead == 'i') ADVANCE(183);
1316+ if (lookahead == 'i') ADVANCE(180);
1317 if (lookahead != 0 &&
1318 lookahead != '\n' &&
1319- lookahead != '\r') ADVANCE(196);
1320+ lookahead != '\r') ADVANCE(194);
1321 END_STATE();
1322 case 178:
1323 ACCEPT_TOKEN(sym_context);
1324- if (lookahead == 'i') ADVANCE(186);
1325+ if (lookahead == 'i') ADVANCE(188);
1326 if (lookahead != 0 &&
1327 lookahead != '\n' &&
1328- lookahead != '\r') ADVANCE(196);
1329+ lookahead != '\r') ADVANCE(194);
1330 END_STATE();
1331 case 179:
1332 ACCEPT_TOKEN(sym_context);
1333- if (lookahead == 'i') ADVANCE(182);
1334+ if (lookahead == 'l') ADVANCE(169);
1335 if (lookahead != 0 &&
1336 lookahead != '\n' &&
1337- lookahead != '\r') ADVANCE(196);
1338+ lookahead != '\r') ADVANCE(194);
1339 END_STATE();
1340 case 180:
1341 ACCEPT_TOKEN(sym_context);
1342- if (lookahead == 'i') ADVANCE(190);
1343+ if (lookahead == 'l') ADVANCE(163);
1344 if (lookahead != 0 &&
1345 lookahead != '\n' &&
1346- lookahead != '\r') ADVANCE(196);
1347+ lookahead != '\r') ADVANCE(194);
1348 END_STATE();
1349 case 181:
1350 ACCEPT_TOKEN(sym_context);
1351- if (lookahead == 'l') ADVANCE(171);
1352+ if (lookahead == 'm') ADVANCE(177);
1353 if (lookahead != 0 &&
1354 lookahead != '\n' &&
1355- lookahead != '\r') ADVANCE(196);
1356+ lookahead != '\r') ADVANCE(194);
1357 END_STATE();
1358 case 182:
1359 ACCEPT_TOKEN(sym_context);
1360- if (lookahead == 'l') ADVANCE(165);
1361+ if (lookahead == 'm') ADVANCE(166);
1362 if (lookahead != 0 &&
1363 lookahead != '\n' &&
1364- lookahead != '\r') ADVANCE(196);
1365+ lookahead != '\r') ADVANCE(194);
1366 END_STATE();
1367 case 183:
1368 ACCEPT_TOKEN(sym_context);
1369- if (lookahead == 'm') ADVANCE(179);
1370+ if (lookahead == 'n') ADVANCE(165);
1371 if (lookahead != 0 &&
1372 lookahead != '\n' &&
1373- lookahead != '\r') ADVANCE(196);
1374+ lookahead != '\r') ADVANCE(194);
1375 END_STATE();
1376 case 184:
1377 ACCEPT_TOKEN(sym_context);
1378- if (lookahead == 'm') ADVANCE(168);
1379+ if (lookahead == 'n') ADVANCE(161);
1380 if (lookahead != 0 &&
1381 lookahead != '\n' &&
1382- lookahead != '\r') ADVANCE(196);
1383+ lookahead != '\r') ADVANCE(194);
1384 END_STATE();
1385 case 185:
1386 ACCEPT_TOKEN(sym_context);
1387- if (lookahead == 'n') ADVANCE(167);
1388+ if (lookahead == 'n') ADVANCE(162);
1389 if (lookahead != 0 &&
1390 lookahead != '\n' &&
1391- lookahead != '\r') ADVANCE(196);
1392+ lookahead != '\r') ADVANCE(194);
1393 END_STATE();
1394 case 186:
1395 ACCEPT_TOKEN(sym_context);
1396- if (lookahead == 'n') ADVANCE(163);
1397+ if (lookahead == 'r') ADVANCE(192);
1398 if (lookahead != 0 &&
1399 lookahead != '\n' &&
1400- lookahead != '\r') ADVANCE(196);
1401+ lookahead != '\r') ADVANCE(194);
1402 END_STATE();
1403 case 187:
1404 ACCEPT_TOKEN(sym_context);
1405- if (lookahead == 'n') ADVANCE(164);
1406+ if (lookahead == 'r') ADVANCE(178);
1407 if (lookahead != 0 &&
1408 lookahead != '\n' &&
1409- lookahead != '\r') ADVANCE(196);
1410+ lookahead != '\r') ADVANCE(194);
1411 END_STATE();
1412 case 188:
1413 ACCEPT_TOKEN(sym_context);
1414- if (lookahead == 'r') ADVANCE(194);
1415+ if (lookahead == 't') ADVANCE(193);
1416 if (lookahead != 0 &&
1417 lookahead != '\n' &&
1418- lookahead != '\r') ADVANCE(196);
1419+ lookahead != '\r') ADVANCE(194);
1420 END_STATE();
1421 case 189:
1422 ACCEPT_TOKEN(sym_context);
1423- if (lookahead == 'r') ADVANCE(180);
1424+ if (lookahead == 't') ADVANCE(171);
1425 if (lookahead != 0 &&
1426 lookahead != '\n' &&
1427- lookahead != '\r') ADVANCE(196);
1428+ lookahead != '\r') ADVANCE(194);
1429 END_STATE();
1430 case 190:
1431 ACCEPT_TOKEN(sym_context);
1432- if (lookahead == 't') ADVANCE(195);
1433+ if (lookahead == 'w') ADVANCE(91);
1434 if (lookahead != 0 &&
1435 lookahead != '\n' &&
1436- lookahead != '\r') ADVANCE(196);
1437+ lookahead != '\r') ADVANCE(194);
1438 END_STATE();
1439 case 191:
1440 ACCEPT_TOKEN(sym_context);
1441- if (lookahead == 't') ADVANCE(173);
1442+ if (lookahead == 'x') ADVANCE(103);
1443 if (lookahead != 0 &&
1444 lookahead != '\n' &&
1445- lookahead != '\r') ADVANCE(196);
1446+ lookahead != '\r') ADVANCE(194);
1447 END_STATE();
1448 case 192:
1449 ACCEPT_TOKEN(sym_context);
1450- if (lookahead == 'w') ADVANCE(92);
1451+ if (lookahead == 'y') ADVANCE(97);
1452 if (lookahead != 0 &&
1453 lookahead != '\n' &&
1454- lookahead != '\r') ADVANCE(196);
1455+ lookahead != '\r') ADVANCE(194);
1456 END_STATE();
1457 case 193:
1458 ACCEPT_TOKEN(sym_context);
1459- if (lookahead == 'x') ADVANCE(104);
1460+ if (lookahead == 'y') ADVANCE(105);
1461 if (lookahead != 0 &&
1462 lookahead != '\n' &&
1463- lookahead != '\r') ADVANCE(196);
1464+ lookahead != '\r') ADVANCE(194);
1465 END_STATE();
1466 case 194:
1467 ACCEPT_TOKEN(sym_context);
1468- if (lookahead == 'y') ADVANCE(98);
1469 if (lookahead != 0 &&
1470 lookahead != '\n' &&
1471- lookahead != '\r') ADVANCE(196);
1472+ lookahead != '\r') ADVANCE(194);
1473 END_STATE();
1474 case 195:
1475- ACCEPT_TOKEN(sym_context);
1476- if (lookahead == 'y') ADVANCE(106);
1477- if (lookahead != 0 &&
1478- lookahead != '\n' &&
1479- lookahead != '\r') ADVANCE(196);
1480- END_STATE();
1481- case 196:
1482- ACCEPT_TOKEN(sym_context);
1483- if (lookahead != 0 &&
1484- lookahead != '\n' &&
1485- lookahead != '\r') ADVANCE(196);
1486- END_STATE();
1487- case 197:
1488 ACCEPT_TOKEN(sym_linerange);
1489- if (lookahead == ',') ADVANCE(75);
1490- if (('0' <= lookahead && lookahead <= '9')) ADVANCE(197);
1491+ if (lookahead == ',') ADVANCE(74);
1492+ if (('0' <= lookahead && lookahead <= '9')) ADVANCE(195);
1493 END_STATE();
1494- case 198:
1495+ case 196:
1496 ACCEPT_TOKEN(sym_linerange);
1497- if (('0' <= lookahead && lookahead <= '9')) ADVANCE(198);
1498+ if (('0' <= lookahead && lookahead <= '9')) ADVANCE(196);
1499 END_STATE();
1500- case 199:
1501+ case 197:
1502 ACCEPT_TOKEN(aux_sym_filename_token1);
1503- if (lookahead == 'a') ADVANCE(206);
1504+ if (lookahead == 'a') ADVANCE(204);
1505 if (lookahead == 11 ||
1506- lookahead == '\f') ADVANCE(199);
1507+ lookahead == '\f') ADVANCE(197);
1508 if (lookahead != 0 &&
1509 (lookahead < '\t' || '\r' < lookahead) &&
1510- lookahead != ' ') ADVANCE(209);
1511+ lookahead != ' ') ADVANCE(207);
1512 END_STATE();
1513- case 200:
1514+ case 198:
1515 ACCEPT_TOKEN(aux_sym_filename_token1);
1516- if (lookahead == 'd') ADVANCE(205);
1517+ if (lookahead == 'd') ADVANCE(203);
1518 if (lookahead == 11 ||
1519- lookahead == '\f') ADVANCE(200);
1520+ lookahead == '\f') ADVANCE(198);
1521 if (lookahead != 0 &&
1522 (lookahead < '\t' || '\r' < lookahead) &&
1523- lookahead != ' ') ADVANCE(209);
1524+ lookahead != ' ') ADVANCE(207);
1525 END_STATE();
1526- case 201:
1527+ case 199:
1528 ACCEPT_TOKEN(aux_sym_filename_token1);
1529- if (lookahead == 'd') ADVANCE(101);
1530+ if (lookahead == 'd') ADVANCE(100);
1531 if (lookahead != 0 &&
1532 lookahead != '\t' &&
1533 lookahead != '\n' &&
1534 lookahead != '\r' &&
1535- lookahead != ' ') ADVANCE(209);
1536+ lookahead != ' ') ADVANCE(207);
1537 END_STATE();
1538- case 202:
1539+ case 200:
1540 ACCEPT_TOKEN(aux_sym_filename_token1);
1541- if (lookahead == 'e') ADVANCE(207);
1542+ if (lookahead == 'e') ADVANCE(205);
1543 if (lookahead != 0 &&
1544 lookahead != '\t' &&
1545 lookahead != '\n' &&
1546 lookahead != '\r' &&
1547- lookahead != ' ') ADVANCE(209);
1548+ lookahead != ' ') ADVANCE(207);
1549 END_STATE();
1550- case 203:
1551+ case 201:
1552 ACCEPT_TOKEN(aux_sym_filename_token1);
1553- if (lookahead == 'f') ADVANCE(202);
1554+ if (lookahead == 'f') ADVANCE(200);
1555 if (lookahead != 0 &&
1556 lookahead != '\t' &&
1557 lookahead != '\n' &&
1558 lookahead != '\r' &&
1559- lookahead != ' ') ADVANCE(209);
1560+ lookahead != ' ') ADVANCE(207);
1561 END_STATE();
1562- case 204:
1563+ case 202:
1564 ACCEPT_TOKEN(aux_sym_filename_token1);
1565- if (lookahead == 'f') ADVANCE(203);
1566+ if (lookahead == 'f') ADVANCE(201);
1567 if (lookahead != 0 &&
1568 lookahead != '\t' &&
1569 lookahead != '\n' &&
1570 lookahead != '\r' &&
1571- lookahead != ' ') ADVANCE(209);
1572+ lookahead != ' ') ADVANCE(207);
1573 END_STATE();
1574- case 205:
1575+ case 203:
1576 ACCEPT_TOKEN(aux_sym_filename_token1);
1577- if (lookahead == 'i') ADVANCE(204);
1578+ if (lookahead == 'i') ADVANCE(202);
1579 if (lookahead != 0 &&
1580 lookahead != '\t' &&
1581 lookahead != '\n' &&
1582 lookahead != '\r' &&
1583- lookahead != ' ') ADVANCE(209);
1584+ lookahead != ' ') ADVANCE(207);
1585 END_STATE();
1586- case 206:
1587+ case 204:
1588 ACCEPT_TOKEN(aux_sym_filename_token1);
1589- if (lookahead == 'n') ADVANCE(201);
1590+ if (lookahead == 'n') ADVANCE(199);
1591 if (lookahead != 0 &&
1592 lookahead != '\t' &&
1593 lookahead != '\n' &&
1594 lookahead != '\r' &&
1595- lookahead != ' ') ADVANCE(209);
1596+ lookahead != ' ') ADVANCE(207);
1597 END_STATE();
1598- case 207:
1599+ case 205:
1600 ACCEPT_TOKEN(aux_sym_filename_token1);
1601- if (lookahead == 'r') ADVANCE(103);
1602+ if (lookahead == 'r') ADVANCE(102);
1603 if (lookahead != 0 &&
1604 lookahead != '\t' &&
1605 lookahead != '\n' &&
1606 lookahead != '\r' &&
1607- lookahead != ' ') ADVANCE(209);
1608+ lookahead != ' ') ADVANCE(207);
1609 END_STATE();
1610- case 208:
1611+ case 206:
1612 ACCEPT_TOKEN(aux_sym_filename_token1);
1613 if (lookahead == 11 ||
1614- lookahead == '\f') ADVANCE(208);
1615+ lookahead == '\f') ADVANCE(206);
1616 if (lookahead != 0 &&
1617 (lookahead < '\t' || '\r' < lookahead) &&
1618- lookahead != ' ') ADVANCE(209);
1619+ lookahead != ' ') ADVANCE(207);
1620 END_STATE();
1621- case 209:
1622+ case 207:
1623 ACCEPT_TOKEN(aux_sym_filename_token1);
1624 if (lookahead != 0 &&
1625 lookahead != '\t' &&
1626 lookahead != '\n' &&
1627 lookahead != '\r' &&
1628- lookahead != ' ') ADVANCE(209);
1629+ lookahead != ' ') ADVANCE(207);
1630+ END_STATE();
1631+ case 208:
1632+ ACCEPT_TOKEN(sym_commit);
1633+ END_STATE();
1634+ case 209:
1635+ ACCEPT_TOKEN(sym_commit);
1636+ if (('0' <= lookahead && lookahead <= '9') ||
1637+ ('a' <= lookahead && lookahead <= 'f')) ADVANCE(208);
1638 END_STATE();
1639 case 210:
1640 ACCEPT_TOKEN(sym_commit);
1641+ if (('0' <= lookahead && lookahead <= '9') ||
1642+ ('a' <= lookahead && lookahead <= 'f')) ADVANCE(209);
1643 END_STATE();
1644 case 211:
1645 ACCEPT_TOKEN(sym_commit);
1646 @@ -1672,16 +1679,6 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) {
1647 if (('0' <= lookahead && lookahead <= '9') ||
1648 ('a' <= lookahead && lookahead <= 'f')) ADVANCE(240);
1649 END_STATE();
1650- case 242:
1651- ACCEPT_TOKEN(sym_commit);
1652- if (('0' <= lookahead && lookahead <= '9') ||
1653- ('a' <= lookahead && lookahead <= 'f')) ADVANCE(241);
1654- END_STATE();
1655- case 243:
1656- ACCEPT_TOKEN(sym_commit);
1657- if (('0' <= lookahead && lookahead <= '9') ||
1658- ('a' <= lookahead && lookahead <= 'f')) ADVANCE(242);
1659- END_STATE();
1660 default:
1661 return false;
1662 }
1663 @@ -1689,26 +1686,26 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) {
1664
1665 static const TSLexMode ts_lex_modes[STATE_COUNT] = {
1666 [0] = {.lex_state = 0},
1667- [1] = {.lex_state = 84},
1668- [2] = {.lex_state = 84},
1669- [3] = {.lex_state = 84},
1670- [4] = {.lex_state = 84},
1671- [5] = {.lex_state = 85},
1672- [6] = {.lex_state = 85},
1673- [7] = {.lex_state = 85},
1674+ [1] = {.lex_state = 82},
1675+ [2] = {.lex_state = 82},
1676+ [3] = {.lex_state = 82},
1677+ [4] = {.lex_state = 82},
1678+ [5] = {.lex_state = 84},
1679+ [6] = {.lex_state = 84},
1680+ [7] = {.lex_state = 84},
1681 [8] = {.lex_state = 83},
1682- [9] = {.lex_state = 86},
1683- [10] = {.lex_state = 86},
1684- [11] = {.lex_state = 86},
1685- [12] = {.lex_state = 13},
1686- [13] = {.lex_state = 85},
1687- [14] = {.lex_state = 85},
1688- [15] = {.lex_state = 85},
1689- [16] = {.lex_state = 8},
1690- [17] = {.lex_state = 85},
1691- [18] = {.lex_state = 85},
1692- [19] = {.lex_state = 8},
1693- [20] = {.lex_state = 13},
1694+ [9] = {.lex_state = 85},
1695+ [10] = {.lex_state = 85},
1696+ [11] = {.lex_state = 85},
1697+ [12] = {.lex_state = 12},
1698+ [13] = {.lex_state = 84},
1699+ [14] = {.lex_state = 84},
1700+ [15] = {.lex_state = 84},
1701+ [16] = {.lex_state = 7},
1702+ [17] = {.lex_state = 84},
1703+ [18] = {.lex_state = 84},
1704+ [19] = {.lex_state = 7},
1705+ [20] = {.lex_state = 12},
1706 [21] = {.lex_state = 83},
1707 [22] = {.lex_state = 0},
1708 [23] = {.lex_state = 0},
1709 @@ -1731,7 +1728,7 @@ static const TSLexMode ts_lex_modes[STATE_COUNT] = {
1710 [40] = {.lex_state = 0},
1711 [41] = {.lex_state = 0},
1712 [42] = {.lex_state = 0},
1713- [43] = {.lex_state = 32},
1714+ [43] = {.lex_state = 31},
1715 [44] = {.lex_state = 0},
1716 [45] = {.lex_state = 83},
1717 [46] = {.lex_state = 0},
1718 @@ -1739,8 +1736,8 @@ static const TSLexMode ts_lex_modes[STATE_COUNT] = {
1719 [48] = {.lex_state = 83},
1720 [49] = {.lex_state = 83},
1721 [50] = {.lex_state = 83},
1722- [51] = {.lex_state = 32},
1723- [52] = {.lex_state = 32},
1724+ [51] = {.lex_state = 31},
1725+ [52] = {.lex_state = 31},
1726 };
1727
1728 static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = {
1729 @@ -1768,6 +1765,7 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = {
1730 [anon_sym_AT_AT] = ACTIONS(1),
1731 [anon_sym_AT_AT2] = ACTIONS(1),
1732 [anon_sym_PLUS] = ACTIONS(1),
1733+ [anon_sym_PLUS_PLUS] = ACTIONS(1),
1734 [anon_sym_DASH] = ACTIONS(1),
1735 [anon_sym_DASH_DASH] = ACTIONS(1),
1736 [anon_sym_DASH_DASH_DASH_DASH] = ACTIONS(1),
1737 @@ -1798,6 +1796,7 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = {
1738 [anon_sym_PLUS_PLUS_PLUS] = ACTIONS(19),
1739 [anon_sym_AT_AT] = ACTIONS(21),
1740 [anon_sym_PLUS] = ACTIONS(23),
1741+ [anon_sym_PLUS_PLUS] = ACTIONS(23),
1742 [anon_sym_DASH] = ACTIONS(25),
1743 [anon_sym_DASH_DASH] = ACTIONS(25),
1744 [anon_sym_DASH_DASH_DASH_DASH] = ACTIONS(27),
1745 @@ -1827,6 +1826,7 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = {
1746 [anon_sym_PLUS_PLUS_PLUS] = ACTIONS(54),
1747 [anon_sym_AT_AT] = ACTIONS(57),
1748 [anon_sym_PLUS] = ACTIONS(60),
1749+ [anon_sym_PLUS_PLUS] = ACTIONS(60),
1750 [anon_sym_DASH] = ACTIONS(63),
1751 [anon_sym_DASH_DASH] = ACTIONS(63),
1752 [anon_sym_DASH_DASH_DASH_DASH] = ACTIONS(66),
1753 @@ -1856,6 +1856,7 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = {
1754 [anon_sym_PLUS_PLUS_PLUS] = ACTIONS(19),
1755 [anon_sym_AT_AT] = ACTIONS(21),
1756 [anon_sym_PLUS] = ACTIONS(23),
1757+ [anon_sym_PLUS_PLUS] = ACTIONS(23),
1758 [anon_sym_DASH] = ACTIONS(25),
1759 [anon_sym_DASH_DASH] = ACTIONS(25),
1760 [anon_sym_DASH_DASH_DASH_DASH] = ACTIONS(27),
1761 @@ -1865,10 +1866,11 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = {
1762
1763 static const uint16_t ts_small_parse_table[] = {
1764 [0] = 2,
1765- ACTIONS(78), 6,
1766+ ACTIONS(78), 7,
1767 aux_sym_source_token1,
1768 anon_sym_DASH_DASH_DASH,
1769 anon_sym_PLUS,
1770+ anon_sym_PLUS_PLUS,
1771 anon_sym_DASH,
1772 anon_sym_DASH_DASH,
1773 sym_context,
1774 @@ -1882,7 +1884,7 @@ static const uint16_t ts_small_parse_table[] = {
1775 anon_sym_PLUS_PLUS_PLUS,
1776 anon_sym_AT_AT,
1777 anon_sym_DASH_DASH_DASH_DASH,
1778- [20] = 5,
1779+ [21] = 5,
1780 ACTIONS(80), 1,
1781 ts_builtin_sym_end,
1782 ACTIONS(82), 1,
1783 @@ -1893,7 +1895,7 @@ static const uint16_t ts_small_parse_table[] = {
1784 aux_sym_filename_repeat1,
1785 STATE(23), 1,
1786 sym_filename,
1787- [36] = 4,
1788+ [37] = 4,
1789 ACTIONS(86), 1,
1790 ts_builtin_sym_end,
1791 ACTIONS(88), 1,
1792 @@ -1902,7 +1904,7 @@ static const uint16_t ts_small_parse_table[] = {
1793 aux_sym_filename_token1,
1794 STATE(7), 1,
1795 aux_sym_filename_repeat1,
1796- [49] = 4,
1797+ [50] = 4,
1798 ACTIONS(92), 1,
1799 ts_builtin_sym_end,
1800 ACTIONS(94), 1,
1801 @@ -1911,7 +1913,7 @@ static const uint16_t ts_small_parse_table[] = {
1802 aux_sym_filename_token1,
1803 STATE(7), 1,
1804 aux_sym_filename_repeat1,
1805- [62] = 3,
1806+ [63] = 3,
1807 ACTIONS(101), 1,
1808 aux_sym_similarity_token1,
1809 STATE(29), 1,
1810 @@ -1919,259 +1921,259 @@ static const uint16_t ts_small_parse_table[] = {
1811 ACTIONS(99), 2,
1812 ts_builtin_sym_end,
1813 aux_sym_source_token1,
1814- [73] = 3,
1815+ [74] = 3,
1816 ACTIONS(103), 1,
1817 ts_builtin_sym_end,
1818 ACTIONS(105), 1,
1819 aux_sym_source_token1,
1820 ACTIONS(107), 1,
1821 aux_sym_location_token1,
1822- [83] = 3,
1823+ [84] = 3,
1824 ACTIONS(109), 1,
1825 ts_builtin_sym_end,
1826 ACTIONS(111), 1,
1827 aux_sym_source_token1,
1828 ACTIONS(113), 1,
1829 aux_sym_location_token1,
1830- [93] = 3,
1831+ [94] = 3,
1832 ACTIONS(80), 1,
1833 ts_builtin_sym_end,
1834 ACTIONS(82), 1,
1835 aux_sym_source_token1,
1836 ACTIONS(115), 1,
1837 aux_sym_location_token1,
1838- [103] = 3,
1839+ [104] = 3,
1840 ACTIONS(94), 1,
1841 anon_sym_differ,
1842 ACTIONS(117), 1,
1843 aux_sym_filename_token1,
1844 STATE(12), 1,
1845 aux_sym_filename_repeat1,
1846- [113] = 3,
1847+ [114] = 3,
1848 ACTIONS(120), 1,
1849 aux_sym_filename_token1,
1850 STATE(20), 1,
1851 aux_sym_filename_repeat1,
1852 STATE(45), 1,
1853 sym_filename,
1854- [123] = 3,
1855+ [124] = 3,
1856 ACTIONS(84), 1,
1857 aux_sym_filename_token1,
1858 STATE(6), 1,
1859 aux_sym_filename_repeat1,
1860 STATE(24), 1,
1861 sym_filename,
1862- [133] = 3,
1863+ [134] = 3,
1864 ACTIONS(84), 1,
1865 aux_sym_filename_token1,
1866 STATE(6), 1,
1867 aux_sym_filename_repeat1,
1868 STATE(30), 1,
1869 sym_filename,
1870- [143] = 3,
1871+ [144] = 3,
1872 ACTIONS(88), 1,
1873 anon_sym_and,
1874 ACTIONS(122), 1,
1875 aux_sym_filename_token1,
1876 STATE(19), 1,
1877 aux_sym_filename_repeat1,
1878- [153] = 3,
1879+ [154] = 3,
1880 ACTIONS(84), 1,
1881 aux_sym_filename_token1,
1882 STATE(6), 1,
1883 aux_sym_filename_repeat1,
1884 STATE(32), 1,
1885 sym_filename,
1886- [163] = 3,
1887+ [164] = 3,
1888 ACTIONS(124), 1,
1889 aux_sym_filename_token1,
1890 STATE(16), 1,
1891 aux_sym_filename_repeat1,
1892 STATE(46), 1,
1893 sym_filename,
1894- [173] = 3,
1895+ [174] = 3,
1896 ACTIONS(94), 1,
1897 anon_sym_and,
1898 ACTIONS(126), 1,
1899 aux_sym_filename_token1,
1900 STATE(19), 1,
1901 aux_sym_filename_repeat1,
1902- [183] = 3,
1903+ [184] = 3,
1904 ACTIONS(88), 1,
1905 anon_sym_differ,
1906 ACTIONS(129), 1,
1907 aux_sym_filename_token1,
1908 STATE(12), 1,
1909 aux_sym_filename_repeat1,
1910- [193] = 2,
1911+ [194] = 2,
1912 ACTIONS(131), 1,
1913 anon_sym_file,
1914 ACTIONS(133), 2,
1915 anon_sym_from,
1916 anon_sym_to,
1917- [201] = 1,
1918+ [202] = 1,
1919 ACTIONS(135), 2,
1920 ts_builtin_sym_end,
1921 aux_sym_source_token1,
1922- [206] = 1,
1923+ [207] = 1,
1924 ACTIONS(137), 2,
1925 ts_builtin_sym_end,
1926 aux_sym_source_token1,
1927- [211] = 1,
1928+ [212] = 1,
1929 ACTIONS(139), 2,
1930 ts_builtin_sym_end,
1931 aux_sym_source_token1,
1932- [216] = 1,
1933+ [217] = 1,
1934 ACTIONS(141), 2,
1935 ts_builtin_sym_end,
1936 aux_sym_source_token1,
1937- [221] = 1,
1938+ [222] = 1,
1939 ACTIONS(143), 2,
1940 ts_builtin_sym_end,
1941 aux_sym_source_token1,
1942- [226] = 1,
1943+ [227] = 1,
1944 ACTIONS(145), 2,
1945 ts_builtin_sym_end,
1946 aux_sym_source_token1,
1947- [231] = 2,
1948+ [232] = 2,
1949 ACTIONS(147), 1,
1950 ts_builtin_sym_end,
1951 ACTIONS(149), 1,
1952 aux_sym_source_token1,
1953- [238] = 1,
1954+ [239] = 1,
1955 ACTIONS(151), 2,
1956 ts_builtin_sym_end,
1957 aux_sym_source_token1,
1958- [243] = 1,
1959+ [244] = 1,
1960 ACTIONS(153), 2,
1961 ts_builtin_sym_end,
1962 aux_sym_source_token1,
1963- [248] = 2,
1964+ [249] = 2,
1965 ACTIONS(101), 1,
1966 aux_sym_similarity_token1,
1967 STATE(35), 1,
1968 sym_mode,
1969- [255] = 1,
1970+ [256] = 1,
1971 ACTIONS(155), 2,
1972 ts_builtin_sym_end,
1973 aux_sym_source_token1,
1974- [260] = 1,
1975+ [261] = 1,
1976 ACTIONS(157), 2,
1977 ts_builtin_sym_end,
1978 aux_sym_source_token1,
1979- [265] = 2,
1980+ [266] = 2,
1981 ACTIONS(72), 1,
1982 ts_builtin_sym_end,
1983 ACTIONS(149), 1,
1984 aux_sym_source_token1,
1985- [272] = 1,
1986+ [273] = 1,
1987 ACTIONS(159), 2,
1988 ts_builtin_sym_end,
1989 aux_sym_source_token1,
1990- [277] = 1,
1991+ [278] = 1,
1992 ACTIONS(161), 2,
1993 ts_builtin_sym_end,
1994 aux_sym_source_token1,
1995- [282] = 1,
1996+ [283] = 1,
1997 ACTIONS(163), 1,
1998 anon_sym_AT_AT2,
1999- [286] = 1,
2000+ [287] = 1,
2001 ACTIONS(149), 1,
2002 aux_sym_source_token1,
2003- [290] = 1,
2004+ [291] = 1,
2005 ACTIONS(165), 1,
2006 sym_linerange,
2007- [294] = 1,
2008+ [295] = 1,
2009 ACTIONS(167), 1,
2010 anon_sym_DOT_DOT,
2011- [298] = 1,
2012+ [299] = 1,
2013 ACTIONS(169), 1,
2014 anon_sym_mode,
2015- [302] = 1,
2016+ [303] = 1,
2017 ACTIONS(171), 1,
2018 anon_sym_PERCENT,
2019- [306] = 1,
2020+ [307] = 1,
2021 ACTIONS(173), 1,
2022 sym_commit,
2023- [310] = 1,
2024+ [311] = 1,
2025 ACTIONS(175), 1,
2026 ts_builtin_sym_end,
2027- [314] = 1,
2028+ [315] = 1,
2029 ACTIONS(177), 1,
2030 anon_sym_differ,
2031- [318] = 1,
2032+ [319] = 1,
2033 ACTIONS(179), 1,
2034 anon_sym_and,
2035- [322] = 1,
2036+ [323] = 1,
2037 ACTIONS(181), 1,
2038 aux_sym_similarity_token1,
2039- [326] = 1,
2040+ [327] = 1,
2041 ACTIONS(183), 1,
2042 anon_sym_DASH_DASHgit,
2043- [330] = 1,
2044+ [331] = 1,
2045 ACTIONS(185), 1,
2046 sym_linerange,
2047- [334] = 1,
2048+ [335] = 1,
2049 ACTIONS(187), 1,
2050 anon_sym_index2,
2051- [338] = 1,
2052+ [339] = 1,
2053 ACTIONS(189), 1,
2054 sym_commit,
2055- [342] = 1,
2056+ [343] = 1,
2057 ACTIONS(191), 1,
2058 anon_sym_files,
2059 };
2060
2061 static const uint32_t ts_small_parse_table_map[] = {
2062 [SMALL_STATE(4)] = 0,
2063- [SMALL_STATE(5)] = 20,
2064- [SMALL_STATE(6)] = 36,
2065- [SMALL_STATE(7)] = 49,
2066- [SMALL_STATE(8)] = 62,
2067- [SMALL_STATE(9)] = 73,
2068- [SMALL_STATE(10)] = 83,
2069- [SMALL_STATE(11)] = 93,
2070- [SMALL_STATE(12)] = 103,
2071- [SMALL_STATE(13)] = 113,
2072- [SMALL_STATE(14)] = 123,
2073- [SMALL_STATE(15)] = 133,
2074- [SMALL_STATE(16)] = 143,
2075- [SMALL_STATE(17)] = 153,
2076- [SMALL_STATE(18)] = 163,
2077- [SMALL_STATE(19)] = 173,
2078- [SMALL_STATE(20)] = 183,
2079- [SMALL_STATE(21)] = 193,
2080- [SMALL_STATE(22)] = 201,
2081- [SMALL_STATE(23)] = 206,
2082- [SMALL_STATE(24)] = 211,
2083- [SMALL_STATE(25)] = 216,
2084- [SMALL_STATE(26)] = 221,
2085- [SMALL_STATE(27)] = 226,
2086- [SMALL_STATE(28)] = 231,
2087- [SMALL_STATE(29)] = 238,
2088- [SMALL_STATE(30)] = 243,
2089- [SMALL_STATE(31)] = 248,
2090- [SMALL_STATE(32)] = 255,
2091- [SMALL_STATE(33)] = 260,
2092- [SMALL_STATE(34)] = 265,
2093- [SMALL_STATE(35)] = 272,
2094- [SMALL_STATE(36)] = 277,
2095- [SMALL_STATE(37)] = 282,
2096- [SMALL_STATE(38)] = 286,
2097- [SMALL_STATE(39)] = 290,
2098- [SMALL_STATE(40)] = 294,
2099- [SMALL_STATE(41)] = 298,
2100- [SMALL_STATE(42)] = 302,
2101- [SMALL_STATE(43)] = 306,
2102- [SMALL_STATE(44)] = 310,
2103- [SMALL_STATE(45)] = 314,
2104- [SMALL_STATE(46)] = 318,
2105- [SMALL_STATE(47)] = 322,
2106- [SMALL_STATE(48)] = 326,
2107- [SMALL_STATE(49)] = 330,
2108- [SMALL_STATE(50)] = 334,
2109- [SMALL_STATE(51)] = 338,
2110- [SMALL_STATE(52)] = 342,
2111+ [SMALL_STATE(5)] = 21,
2112+ [SMALL_STATE(6)] = 37,
2113+ [SMALL_STATE(7)] = 50,
2114+ [SMALL_STATE(8)] = 63,
2115+ [SMALL_STATE(9)] = 74,
2116+ [SMALL_STATE(10)] = 84,
2117+ [SMALL_STATE(11)] = 94,
2118+ [SMALL_STATE(12)] = 104,
2119+ [SMALL_STATE(13)] = 114,
2120+ [SMALL_STATE(14)] = 124,
2121+ [SMALL_STATE(15)] = 134,
2122+ [SMALL_STATE(16)] = 144,
2123+ [SMALL_STATE(17)] = 154,
2124+ [SMALL_STATE(18)] = 164,
2125+ [SMALL_STATE(19)] = 174,
2126+ [SMALL_STATE(20)] = 184,
2127+ [SMALL_STATE(21)] = 194,
2128+ [SMALL_STATE(22)] = 202,
2129+ [SMALL_STATE(23)] = 207,
2130+ [SMALL_STATE(24)] = 212,
2131+ [SMALL_STATE(25)] = 217,
2132+ [SMALL_STATE(26)] = 222,
2133+ [SMALL_STATE(27)] = 227,
2134+ [SMALL_STATE(28)] = 232,
2135+ [SMALL_STATE(29)] = 239,
2136+ [SMALL_STATE(30)] = 244,
2137+ [SMALL_STATE(31)] = 249,
2138+ [SMALL_STATE(32)] = 256,
2139+ [SMALL_STATE(33)] = 261,
2140+ [SMALL_STATE(34)] = 266,
2141+ [SMALL_STATE(35)] = 273,
2142+ [SMALL_STATE(36)] = 278,
2143+ [SMALL_STATE(37)] = 283,
2144+ [SMALL_STATE(38)] = 287,
2145+ [SMALL_STATE(39)] = 291,
2146+ [SMALL_STATE(40)] = 295,
2147+ [SMALL_STATE(41)] = 299,
2148+ [SMALL_STATE(42)] = 303,
2149+ [SMALL_STATE(43)] = 307,
2150+ [SMALL_STATE(44)] = 311,
2151+ [SMALL_STATE(45)] = 315,
2152+ [SMALL_STATE(46)] = 319,
2153+ [SMALL_STATE(47)] = 323,
2154+ [SMALL_STATE(48)] = 327,
2155+ [SMALL_STATE(49)] = 331,
2156+ [SMALL_STATE(50)] = 335,
2157+ [SMALL_STATE(51)] = 339,
2158+ [SMALL_STATE(52)] = 343,
2159 };
2160
2161 static const TSParseActionEntry ts_parse_actions[] = {