Commit
+2116 -1113 +/-4 browse
1 | diff --git a/grammar.js b/grammar.js |
2 | index 3e9b438..c80117a 100644 |
3 | --- a/grammar.js |
4 | +++ b/grammar.js |
5 | @@ -8,7 +8,8 @@ module.exports = grammar({ |
6 | extras: ($) => [WHITE_SPACE], |
7 | |
8 | rules: { |
9 | - source: ($) => repeat(seq($._line, NEWLINE)), |
10 | + source: ($) => |
11 | + seq(repeat(NEWLINE), repeat(seq($._line, optional(NEWLINE)))), |
12 | |
13 | _line: ($) => |
14 | choice( |
15 | diff --git a/src/grammar.json b/src/grammar.json |
16 | index fedaf09..b6ccafd 100644 |
17 | --- a/src/grammar.json |
18 | +++ b/src/grammar.json |
19 | @@ -2,20 +2,40 @@ |
20 | "name": "git_diff", |
21 | "rules": { |
22 | "source": { |
23 | - "type": "REPEAT", |
24 | - "content": { |
25 | - "type": "SEQ", |
26 | - "members": [ |
27 | - { |
28 | - "type": "SYMBOL", |
29 | - "name": "_line" |
30 | - }, |
31 | - { |
32 | + "type": "SEQ", |
33 | + "members": [ |
34 | + { |
35 | + "type": "REPEAT", |
36 | + "content": { |
37 | "type": "PATTERN", |
38 | "value": "\\r?\\n" |
39 | } |
40 | - ] |
41 | - } |
42 | + }, |
43 | + { |
44 | + "type": "REPEAT", |
45 | + "content": { |
46 | + "type": "SEQ", |
47 | + "members": [ |
48 | + { |
49 | + "type": "SYMBOL", |
50 | + "name": "_line" |
51 | + }, |
52 | + { |
53 | + "type": "CHOICE", |
54 | + "members": [ |
55 | + { |
56 | + "type": "PATTERN", |
57 | + "value": "\\r?\\n" |
58 | + }, |
59 | + { |
60 | + "type": "BLANK" |
61 | + } |
62 | + ] |
63 | + } |
64 | + ] |
65 | + } |
66 | + } |
67 | + ] |
68 | }, |
69 | "_line": { |
70 | "type": "CHOICE", |
71 | diff --git a/src/parser.c b/src/parser.c |
72 | index 34ebb54..3d7bf93 100644 |
73 | --- a/src/parser.c |
74 | +++ b/src/parser.c |
75 | @@ -5,10 +5,18 @@ |
76 | #pragma GCC diagnostic ignored "-Wmissing-field-initializers" |
77 | #endif |
78 | |
79 | + #ifdef _MSC_VER |
80 | + #pragma optimize("", off) |
81 | + #elif defined(__clang__) |
82 | + #pragma clang optimize off |
83 | + #elif defined(__GNUC__) |
84 | + #pragma GCC optimize ("O0") |
85 | + #endif |
86 | + |
87 | #define LANGUAGE_VERSION 13 |
88 | - #define STATE_COUNT 51 |
89 | - #define LARGE_STATE_COUNT 4 |
90 | - #define SYMBOL_COUNT 46 |
91 | + #define STATE_COUNT 54 |
92 | + #define LARGE_STATE_COUNT 6 |
93 | + #define SYMBOL_COUNT 47 |
94 | #define ALIAS_COUNT 0 |
95 | #define TOKEN_COUNT 30 |
96 | #define EXTERNAL_TOKEN_COUNT 0 |
97 | @@ -61,7 +69,8 @@ enum { |
98 | sym_filename = 42, |
99 | sym_mode = 43, |
100 | aux_sym_source_repeat1 = 44, |
101 | - aux_sym_filename_repeat1 = 45, |
102 | + aux_sym_source_repeat2 = 45, |
103 | + aux_sym_filename_repeat1 = 46, |
104 | }; |
105 | |
106 | static const char * const ts_symbol_names[] = { |
107 | @@ -110,6 +119,7 @@ static const char * const ts_symbol_names[] = { |
108 | [sym_filename] = "filename", |
109 | [sym_mode] = "mode", |
110 | [aux_sym_source_repeat1] = "source_repeat1", |
111 | + [aux_sym_source_repeat2] = "source_repeat2", |
112 | [aux_sym_filename_repeat1] = "filename_repeat1", |
113 | }; |
114 | |
115 | @@ -159,6 +169,7 @@ static const TSSymbol ts_symbol_map[] = { |
116 | [sym_filename] = sym_filename, |
117 | [sym_mode] = sym_mode, |
118 | [aux_sym_source_repeat1] = aux_sym_source_repeat1, |
119 | + [aux_sym_source_repeat2] = aux_sym_source_repeat2, |
120 | [aux_sym_filename_repeat1] = aux_sym_filename_repeat1, |
121 | }; |
122 | |
123 | @@ -343,6 +354,10 @@ static const TSSymbolMetadata ts_symbol_metadata[] = { |
124 | .visible = false, |
125 | .named = false, |
126 | }, |
127 | + [aux_sym_source_repeat2] = { |
128 | + .visible = false, |
129 | + .named = false, |
130 | + }, |
131 | [aux_sym_filename_repeat1] = { |
132 | .visible = false, |
133 | .named = false, |
134 | @@ -380,324 +395,310 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { |
135 | eof = lexer->eof(lexer); |
136 | switch (state) { |
137 | case 0: |
138 | - if (eof) ADVANCE(88); |
139 | - if (lookahead == '\n') ADVANCE(89); |
140 | + if (eof) ADVANCE(91); |
141 | + if (lookahead == '\n') ADVANCE(92); |
142 | if (lookahead == '\r') ADVANCE(1); |
143 | - if (lookahead == '%') ADVANCE(149); |
144 | - if (lookahead == '+') ADVANCE(156); |
145 | - if (lookahead == '-') ADVANCE(158); |
146 | - if (lookahead == '.') ADVANCE(8); |
147 | - if (lookahead == '@') ADVANCE(9); |
148 | - if (lookahead == 'B') ADVANCE(42); |
149 | - if (lookahead == 'a') ADVANCE(58); |
150 | - if (lookahead == 'd') ADVANCE(21); |
151 | - if (lookahead == 'f') ADVANCE(40); |
152 | - if (lookahead == 'i') ADVANCE(60); |
153 | - if (lookahead == 'm') ADVANCE(65); |
154 | - if (lookahead == 'n') ADVANCE(22); |
155 | - if (lookahead == 'r') ADVANCE(32); |
156 | - if (lookahead == 's') ADVANCE(41); |
157 | - if (lookahead == 't') ADVANCE(63); |
158 | - if (('b' <= lookahead && lookahead <= 'e')) ADVANCE(85); |
159 | + if (lookahead == '%') ADVANCE(123); |
160 | + if (lookahead == '+') ADVANCE(172); |
161 | + if (lookahead == '-') ADVANCE(176); |
162 | + if (lookahead == '.') ADVANCE(6); |
163 | + if (lookahead == '@') ADVANCE(7); |
164 | + if (lookahead == 'B') ADVANCE(39); |
165 | + if (lookahead == 'a') ADVANCE(56); |
166 | + if (lookahead == 'd') ADVANCE(19); |
167 | + if (lookahead == 'f') ADVANCE(43); |
168 | + if (lookahead == 'i') ADVANCE(58); |
169 | + if (lookahead == 'm') ADVANCE(63); |
170 | + if (lookahead == 'n') ADVANCE(20); |
171 | + if (lookahead == 'r') ADVANCE(30); |
172 | + if (lookahead == 's') ADVANCE(38); |
173 | + if (lookahead == 't') ADVANCE(61); |
174 | if (('\t' <= lookahead && lookahead <= '\f') || |
175 | - lookahead == ' ') SKIP(86) |
176 | - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(119); |
177 | + lookahead == ' ') SKIP(85) |
178 | + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(122); |
179 | END_STATE(); |
180 | case 1: |
181 | - if (lookahead == '\n') ADVANCE(89); |
182 | + if (lookahead == '\n') ADVANCE(92); |
183 | END_STATE(); |
184 | case 2: |
185 | - if (lookahead == '\n') ADVANCE(89); |
186 | - if (lookahead == '\r') ADVANCE(1); |
187 | - if (lookahead == '+') ADVANCE(78); |
188 | - if (lookahead == '-') ADVANCE(7); |
189 | - if (lookahead == '@') ADVANCE(10); |
190 | - if (lookahead == 'd') ADVANCE(46); |
191 | - if (lookahead == 'f') ADVANCE(48); |
192 | - if (lookahead == 'i') ADVANCE(62); |
193 | - if (lookahead == 't') ADVANCE(63); |
194 | - if (('\t' <= lookahead && lookahead <= '\f') || |
195 | - lookahead == ' ') SKIP(2) |
196 | - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(148); |
197 | + if (lookahead == '+') ADVANCE(127); |
198 | END_STATE(); |
199 | case 3: |
200 | - if (lookahead == '\n') ADVANCE(89); |
201 | - if (lookahead == '\r') ADVANCE(1); |
202 | + if (lookahead == '+') ADVANCE(77); |
203 | + if (lookahead == '-') ADVANCE(5); |
204 | + if (lookahead == '@') ADVANCE(8); |
205 | + if (lookahead == 'd') ADVANCE(45); |
206 | + if (lookahead == 'f') ADVANCE(46); |
207 | + if (lookahead == 'i') ADVANCE(60); |
208 | + if (lookahead == 't') ADVANCE(61); |
209 | if (lookahead == '\t' || |
210 | + lookahead == 11 || |
211 | + lookahead == '\f' || |
212 | lookahead == ' ') SKIP(3) |
213 | - if (lookahead == 11 || |
214 | - lookahead == '\f') ADVANCE(209); |
215 | - if (lookahead != 0) ADVANCE(210); |
216 | + if (('0' <= lookahead && lookahead <= '9') || |
217 | + ('a' <= lookahead && lookahead <= 'e')) ADVANCE(84); |
218 | END_STATE(); |
219 | case 4: |
220 | - if (lookahead == '\n') ADVANCE(89); |
221 | - if (lookahead == '\r') ADVANCE(1); |
222 | - if (('\t' <= lookahead && lookahead <= '\f') || |
223 | - lookahead == ' ') ADVANCE(154); |
224 | - if (lookahead != 0) ADVANCE(155); |
225 | + if (lookahead == '-') ADVANCE(124); |
226 | END_STATE(); |
227 | case 5: |
228 | - if (lookahead == '+') ADVANCE(151); |
229 | + if (lookahead == '-') ADVANCE(37); |
230 | + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(221); |
231 | END_STATE(); |
232 | case 6: |
233 | - if (lookahead == '-') ADVANCE(150); |
234 | + if (lookahead == '.') ADVANCE(117); |
235 | END_STATE(); |
236 | case 7: |
237 | - if (lookahead == '-') ADVANCE(39); |
238 | - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(198); |
239 | + if (lookahead == '@') ADVANCE(130); |
240 | END_STATE(); |
241 | case 8: |
242 | - if (lookahead == '.') ADVANCE(106); |
243 | + if (lookahead == '@') ADVANCE(133); |
244 | END_STATE(); |
245 | case 9: |
246 | - if (lookahead == '@') ADVANCE(152); |
247 | + if (lookahead == 'a') ADVANCE(64); |
248 | END_STATE(); |
249 | case 10: |
250 | - if (lookahead == '@') ADVANCE(153); |
251 | + if (lookahead == 'a') ADVANCE(55); |
252 | END_STATE(); |
253 | case 11: |
254 | if (lookahead == 'a') ADVANCE(66); |
255 | END_STATE(); |
256 | case 12: |
257 | - if (lookahead == 'a') ADVANCE(207); |
258 | + if (lookahead == 'a') ADVANCE(258); |
259 | if (lookahead == '\t' || |
260 | lookahead == ' ') SKIP(12) |
261 | if (lookahead == 11 || |
262 | - lookahead == '\f') ADVANCE(200); |
263 | + lookahead == '\f') ADVANCE(229); |
264 | if (lookahead != 0 && |
265 | - (lookahead < '\n' || '\r' < lookahead)) ADVANCE(210); |
266 | + (lookahead < '\n' || '\r' < lookahead)) ADVANCE(270); |
267 | END_STATE(); |
268 | case 13: |
269 | - if (lookahead == 'a') ADVANCE(57); |
270 | + if (lookahead == 'd') ADVANCE(110); |
271 | END_STATE(); |
272 | case 14: |
273 | - if (lookahead == 'a') ADVANCE(68); |
274 | + if (lookahead == 'd') ADVANCE(98); |
275 | END_STATE(); |
276 | case 15: |
277 | - if (lookahead == 'd') ADVANCE(101); |
278 | + if (lookahead == 'd') ADVANCE(24); |
279 | END_STATE(); |
280 | case 16: |
281 | - if (lookahead == 'd') ADVANCE(93); |
282 | - END_STATE(); |
283 | - case 17: |
284 | - if (lookahead == 'd') ADVANCE(206); |
285 | + if (lookahead == 'd') ADVANCE(250); |
286 | if (lookahead == '\t' || |
287 | - lookahead == ' ') SKIP(17) |
288 | + lookahead == ' ') SKIP(16) |
289 | if (lookahead == 11 || |
290 | - lookahead == '\f') ADVANCE(201); |
291 | + lookahead == '\f') ADVANCE(233); |
292 | if (lookahead != 0 && |
293 | - (lookahead < '\n' || '\r' < lookahead)) ADVANCE(210); |
294 | + (lookahead < '\n' || '\r' < lookahead)) ADVANCE(270); |
295 | + END_STATE(); |
296 | + case 17: |
297 | + if (lookahead == 'd') ADVANCE(25); |
298 | END_STATE(); |
299 | case 18: |
300 | - if (lookahead == 'd') ADVANCE(26); |
301 | + if (lookahead == 'd') ADVANCE(29); |
302 | END_STATE(); |
303 | case 19: |
304 | - if (lookahead == 'd') ADVANCE(27); |
305 | + if (lookahead == 'e') ADVANCE(48); |
306 | + if (lookahead == 'i') ADVANCE(33); |
307 | END_STATE(); |
308 | case 20: |
309 | - if (lookahead == 'd') ADVANCE(31); |
310 | + if (lookahead == 'e') ADVANCE(71); |
311 | END_STATE(); |
312 | case 21: |
313 | - if (lookahead == 'e') ADVANCE(50); |
314 | - if (lookahead == 'i') ADVANCE(35); |
315 | - if (('0' <= lookahead && lookahead <= '9') || |
316 | - ('a' <= lookahead && lookahead <= 'f')) ADVANCE(84); |
317 | + if (lookahead == 'e') ADVANCE(98); |
318 | END_STATE(); |
319 | case 22: |
320 | - if (lookahead == 'e') ADVANCE(73); |
321 | + if (lookahead == 'e') ADVANCE(70); |
322 | END_STATE(); |
323 | case 23: |
324 | - if (lookahead == 'e') ADVANCE(93); |
325 | + if (lookahead == 'e') ADVANCE(102); |
326 | END_STATE(); |
327 | case 24: |
328 | if (lookahead == 'e') ADVANCE(72); |
329 | END_STATE(); |
330 | case 25: |
331 | - if (lookahead == 'e') ADVANCE(95); |
332 | + if (lookahead == 'e') ADVANCE(103); |
333 | END_STATE(); |
334 | case 26: |
335 | - if (lookahead == 'e') ADVANCE(74); |
336 | + if (lookahead == 'e') ADVANCE(101); |
337 | END_STATE(); |
338 | case 27: |
339 | - if (lookahead == 'e') ADVANCE(96); |
340 | + if (lookahead == 'e') ADVANCE(67); |
341 | END_STATE(); |
342 | case 28: |
343 | - if (lookahead == 'e') ADVANCE(94); |
344 | + if (lookahead == 'e') ADVANCE(65); |
345 | END_STATE(); |
346 | case 29: |
347 | - if (lookahead == 'e') ADVANCE(69); |
348 | + if (lookahead == 'e') ADVANCE(73); |
349 | END_STATE(); |
350 | case 30: |
351 | - if (lookahead == 'e') ADVANCE(67); |
352 | + if (lookahead == 'e') ADVANCE(59); |
353 | END_STATE(); |
354 | case 31: |
355 | - if (lookahead == 'e') ADVANCE(75); |
356 | + if (lookahead == 'e') ADVANCE(14); |
357 | END_STATE(); |
358 | case 32: |
359 | - if (lookahead == 'e') ADVANCE(61); |
360 | + if (lookahead == 'f') ADVANCE(94); |
361 | END_STATE(); |
362 | case 33: |
363 | - if (lookahead == 'e') ADVANCE(16); |
364 | + if (lookahead == 'f') ADVANCE(32); |
365 | END_STATE(); |
366 | case 34: |
367 | - if (lookahead == 'f') ADVANCE(91); |
368 | + if (lookahead == 'f') ADVANCE(36); |
369 | END_STATE(); |
370 | case 35: |
371 | - if (lookahead == 'f') ADVANCE(34); |
372 | - END_STATE(); |
373 | - case 36: |
374 | - if (lookahead == 'f') ADVANCE(49); |
375 | + if (lookahead == 'f') ADVANCE(47); |
376 | if (lookahead == '\t' || |
377 | lookahead == 11 || |
378 | lookahead == '\f' || |
379 | - lookahead == ' ') SKIP(36) |
380 | - if (('0' <= lookahead && lookahead <= '9') || |
381 | - ('a' <= lookahead && lookahead <= 'e')) ADVANCE(85); |
382 | + lookahead == ' ') SKIP(35) |
383 | + END_STATE(); |
384 | + case 36: |
385 | + if (lookahead == 'f') ADVANCE(28); |
386 | END_STATE(); |
387 | case 37: |
388 | - if (lookahead == 'f') ADVANCE(38); |
389 | + if (lookahead == 'g') ADVANCE(42); |
390 | END_STATE(); |
391 | case 38: |
392 | - if (lookahead == 'f') ADVANCE(30); |
393 | + if (lookahead == 'i') ADVANCE(54); |
394 | END_STATE(); |
395 | case 39: |
396 | - if (lookahead == 'g') ADVANCE(45); |
397 | + if (lookahead == 'i') ADVANCE(57); |
398 | END_STATE(); |
399 | case 40: |
400 | - if (lookahead == 'i') ADVANCE(51); |
401 | - if (lookahead == 'r') ADVANCE(64); |
402 | - if (('0' <= lookahead && lookahead <= '9') || |
403 | - ('a' <= lookahead && lookahead <= 'f')) ADVANCE(84); |
404 | + if (lookahead == 'i') ADVANCE(52); |
405 | END_STATE(); |
406 | case 41: |
407 | - if (lookahead == 'i') ADVANCE(56); |
408 | + if (lookahead == 'i') ADVANCE(69); |
409 | END_STATE(); |
410 | case 42: |
411 | - if (lookahead == 'i') ADVANCE(59); |
412 | + if (lookahead == 'i') ADVANCE(68); |
413 | END_STATE(); |
414 | case 43: |
415 | - if (lookahead == 'i') ADVANCE(54); |
416 | + if (lookahead == 'i') ADVANCE(49); |
417 | + if (lookahead == 'r') ADVANCE(62); |
418 | END_STATE(); |
419 | case 44: |
420 | - if (lookahead == 'i') ADVANCE(71); |
421 | + if (lookahead == 'i') ADVANCE(34); |
422 | END_STATE(); |
423 | case 45: |
424 | - if (lookahead == 'i') ADVANCE(70); |
425 | + if (lookahead == 'i') ADVANCE(34); |
426 | + if (('0' <= lookahead && lookahead <= '9') || |
427 | + ('a' <= lookahead && lookahead <= 'f')) ADVANCE(83); |
428 | END_STATE(); |
429 | case 46: |
430 | - if (lookahead == 'i') ADVANCE(37); |
431 | + if (lookahead == 'i') ADVANCE(50); |
432 | + if (lookahead == 'r') ADVANCE(62); |
433 | + if (('0' <= lookahead && lookahead <= '9') || |
434 | + ('a' <= lookahead && lookahead <= 'f')) ADVANCE(83); |
435 | END_STATE(); |
436 | case 47: |
437 | - if (lookahead == 'i') ADVANCE(37); |
438 | - if (('0' <= lookahead && lookahead <= '9') || |
439 | - ('a' <= lookahead && lookahead <= 'f')) ADVANCE(84); |
440 | + if (lookahead == 'i') ADVANCE(51); |
441 | END_STATE(); |
442 | case 48: |
443 | - if (lookahead == 'i') ADVANCE(52); |
444 | - if (lookahead == 'r') ADVANCE(64); |
445 | + if (lookahead == 'l') ADVANCE(22); |
446 | END_STATE(); |
447 | case 49: |
448 | - if (lookahead == 'i') ADVANCE(53); |
449 | - if (('0' <= lookahead && lookahead <= '9') || |
450 | - ('a' <= lookahead && lookahead <= 'f')) ADVANCE(84); |
451 | + if (lookahead == 'l') ADVANCE(23); |
452 | END_STATE(); |
453 | case 50: |
454 | - if (lookahead == 'l') ADVANCE(24); |
455 | - if (('0' <= lookahead && lookahead <= '9') || |
456 | - ('a' <= lookahead && lookahead <= 'f')) ADVANCE(83); |
457 | + if (lookahead == 'l') ADVANCE(26); |
458 | END_STATE(); |
459 | case 51: |
460 | - if (lookahead == 'l') ADVANCE(25); |
461 | + if (lookahead == 'l') ADVANCE(27); |
462 | END_STATE(); |
463 | case 52: |
464 | - if (lookahead == 'l') ADVANCE(28); |
465 | + if (lookahead == 'l') ADVANCE(11); |
466 | END_STATE(); |
467 | case 53: |
468 | - if (lookahead == 'l') ADVANCE(29); |
469 | + if (lookahead == 'm') ADVANCE(104); |
470 | END_STATE(); |
471 | case 54: |
472 | - if (lookahead == 'l') ADVANCE(14); |
473 | + if (lookahead == 'm') ADVANCE(40); |
474 | END_STATE(); |
475 | case 55: |
476 | - if (lookahead == 'm') ADVANCE(97); |
477 | + if (lookahead == 'm') ADVANCE(21); |
478 | END_STATE(); |
479 | case 56: |
480 | - if (lookahead == 'm') ADVANCE(43); |
481 | + if (lookahead == 'n') ADVANCE(13); |
482 | END_STATE(); |
483 | case 57: |
484 | - if (lookahead == 'm') ADVANCE(23); |
485 | + if (lookahead == 'n') ADVANCE(9); |
486 | END_STATE(); |
487 | case 58: |
488 | if (lookahead == 'n') ADVANCE(15); |
489 | - if (('0' <= lookahead && lookahead <= '9') || |
490 | - ('a' <= lookahead && lookahead <= 'f')) ADVANCE(84); |
491 | END_STATE(); |
492 | case 59: |
493 | - if (lookahead == 'n') ADVANCE(11); |
494 | + if (lookahead == 'n') ADVANCE(10); |
495 | END_STATE(); |
496 | case 60: |
497 | if (lookahead == 'n') ADVANCE(18); |
498 | END_STATE(); |
499 | case 61: |
500 | - if (lookahead == 'n') ADVANCE(13); |
501 | + if (lookahead == 'o') ADVANCE(105); |
502 | END_STATE(); |
503 | case 62: |
504 | - if (lookahead == 'n') ADVANCE(20); |
505 | + if (lookahead == 'o') ADVANCE(53); |
506 | END_STATE(); |
507 | case 63: |
508 | - if (lookahead == 'o') ADVANCE(98); |
509 | + if (lookahead == 'o') ADVANCE(17); |
510 | END_STATE(); |
511 | case 64: |
512 | - if (lookahead == 'o') ADVANCE(55); |
513 | + if (lookahead == 'r') ADVANCE(74); |
514 | END_STATE(); |
515 | case 65: |
516 | - if (lookahead == 'o') ADVANCE(19); |
517 | + if (lookahead == 'r') ADVANCE(112); |
518 | END_STATE(); |
519 | case 66: |
520 | - if (lookahead == 'r') ADVANCE(76); |
521 | + if (lookahead == 'r') ADVANCE(41); |
522 | END_STATE(); |
523 | case 67: |
524 | - if (lookahead == 'r') ADVANCE(103); |
525 | + if (lookahead == 's') ADVANCE(109); |
526 | END_STATE(); |
527 | case 68: |
528 | - if (lookahead == 'r') ADVANCE(44); |
529 | + if (lookahead == 't') ADVANCE(97); |
530 | END_STATE(); |
531 | case 69: |
532 | - if (lookahead == 's') ADVANCE(100); |
533 | + if (lookahead == 't') ADVANCE(75); |
534 | END_STATE(); |
535 | case 70: |
536 | - if (lookahead == 't') ADVANCE(92); |
537 | + if (lookahead == 't') ADVANCE(31); |
538 | END_STATE(); |
539 | case 71: |
540 | - if (lookahead == 't') ADVANCE(77); |
541 | + if (lookahead == 'w') ADVANCE(98); |
542 | END_STATE(); |
543 | case 72: |
544 | - if (lookahead == 't') ADVANCE(33); |
545 | + if (lookahead == 'x') ADVANCE(114); |
546 | END_STATE(); |
547 | case 73: |
548 | - if (lookahead == 'w') ADVANCE(93); |
549 | + if (lookahead == 'x') ADVANCE(121); |
550 | END_STATE(); |
551 | case 74: |
552 | - if (lookahead == 'x') ADVANCE(105); |
553 | + if (lookahead == 'y') ADVANCE(106); |
554 | END_STATE(); |
555 | case 75: |
556 | - if (lookahead == 'x') ADVANCE(108); |
557 | + if (lookahead == 'y') ADVANCE(118); |
558 | END_STATE(); |
559 | case 76: |
560 | - if (lookahead == 'y') ADVANCE(99); |
561 | + if (lookahead == '\t' || |
562 | + lookahead == ' ') SKIP(76) |
563 | + if (lookahead == 11 || |
564 | + lookahead == '\f') ADVANCE(269); |
565 | + if (lookahead != 0 && |
566 | + (lookahead < '\n' || '\r' < lookahead)) ADVANCE(270); |
567 | END_STATE(); |
568 | case 77: |
569 | - if (lookahead == 'y') ADVANCE(107); |
570 | + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(221); |
571 | END_STATE(); |
572 | case 78: |
573 | - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(198); |
574 | + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(222); |
575 | END_STATE(); |
576 | case 79: |
577 | - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(199); |
578 | + if (('0' <= lookahead && lookahead <= '9') || |
579 | + ('a' <= lookahead && lookahead <= 'f')) ADVANCE(304); |
580 | END_STATE(); |
581 | case 80: |
582 | if (('0' <= lookahead && lookahead <= '9') || |
583 | - ('a' <= lookahead && lookahead <= 'f')) ADVANCE(244); |
584 | + ('a' <= lookahead && lookahead <= 'f')) ADVANCE(79); |
585 | END_STATE(); |
586 | case 81: |
587 | if (('0' <= lookahead && lookahead <= '9') || |
588 | @@ -716,1422 +717,2404 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { |
589 | ('a' <= lookahead && lookahead <= 'f')) ADVANCE(83); |
590 | END_STATE(); |
591 | case 85: |
592 | - if (('0' <= lookahead && lookahead <= '9') || |
593 | - ('a' <= lookahead && lookahead <= 'f')) ADVANCE(84); |
594 | + if (eof) ADVANCE(91); |
595 | + if (lookahead == '\n') ADVANCE(92); |
596 | + if (lookahead == '\r') ADVANCE(1); |
597 | + if (lookahead == '%') ADVANCE(123); |
598 | + if (lookahead == '.') ADVANCE(6); |
599 | + if (lookahead == '@') ADVANCE(8); |
600 | + if (lookahead == 'a') ADVANCE(56); |
601 | + if (lookahead == 'd') ADVANCE(44); |
602 | + if (lookahead == 'f') ADVANCE(43); |
603 | + if (lookahead == 'i') ADVANCE(60); |
604 | + if (lookahead == 'm') ADVANCE(63); |
605 | + if (lookahead == 't') ADVANCE(61); |
606 | + if (('\t' <= lookahead && lookahead <= '\f') || |
607 | + lookahead == ' ') SKIP(85) |
608 | + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(122); |
609 | END_STATE(); |
610 | case 86: |
611 | - if (eof) ADVANCE(88); |
612 | - if (lookahead == '\n') ADVANCE(89); |
613 | + if (eof) ADVANCE(91); |
614 | + if (lookahead == '\n') ADVANCE(92); |
615 | if (lookahead == '\r') ADVANCE(1); |
616 | - if (lookahead == '%') ADVANCE(149); |
617 | - if (lookahead == '.') ADVANCE(8); |
618 | - if (lookahead == '@') ADVANCE(10); |
619 | - if (lookahead == 'a') ADVANCE(58); |
620 | - if (lookahead == 'd') ADVANCE(47); |
621 | - if (lookahead == 'f') ADVANCE(40); |
622 | - if (lookahead == 'i') ADVANCE(62); |
623 | - if (lookahead == 'm') ADVANCE(65); |
624 | - if (lookahead == 't') ADVANCE(63); |
625 | - if (('b' <= lookahead && lookahead <= 'e')) ADVANCE(85); |
626 | - if (('\t' <= lookahead && lookahead <= '\f') || |
627 | - lookahead == ' ') SKIP(86) |
628 | - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(119); |
629 | + if (lookahead == '+') ADVANCE(174); |
630 | + if (lookahead == '-') ADVANCE(178); |
631 | + if (lookahead == '@') ADVANCE(225); |
632 | + if (lookahead == 'B') ADVANCE(247); |
633 | + if (lookahead == 'd') ADVANCE(234); |
634 | + if (lookahead == 'i') ADVANCE(255); |
635 | + if (lookahead == 'n') ADVANCE(235); |
636 | + if (lookahead == 'r') ADVANCE(240); |
637 | + if (lookahead == 's') ADVANCE(246); |
638 | + if (lookahead == '\t' || |
639 | + lookahead == ' ') ADVANCE(180); |
640 | + if (lookahead == 11 || |
641 | + lookahead == '\f') ADVANCE(268); |
642 | + if (lookahead != 0) ADVANCE(270); |
643 | END_STATE(); |
644 | case 87: |
645 | - if (eof) ADVANCE(88); |
646 | - if (lookahead == '+') ADVANCE(157); |
647 | - if (lookahead == '-') ADVANCE(159); |
648 | - if (lookahead == '@') ADVANCE(162); |
649 | - if (lookahead == 'B') ADVANCE(178); |
650 | - if (lookahead == 'd') ADVANCE(169); |
651 | - if (lookahead == 'i') ADVANCE(185); |
652 | - if (lookahead == 'n') ADVANCE(170); |
653 | - if (lookahead == 'r') ADVANCE(174); |
654 | - if (lookahead == 's') ADVANCE(177); |
655 | - if (lookahead == '\t' || |
656 | - lookahead == 11 || |
657 | - lookahead == '\f' || |
658 | - lookahead == ' ') ADVANCE(196); |
659 | - if (lookahead != 0 && |
660 | - (lookahead < '\n' || '\r' < lookahead)) ADVANCE(197); |
661 | + if (eof) ADVANCE(91); |
662 | + if (lookahead == '\n') ADVANCE(92); |
663 | + if (lookahead == '\r') ADVANCE(1); |
664 | + if (lookahead == '+') ADVANCE(175); |
665 | + if (lookahead == '-') ADVANCE(179); |
666 | + if (lookahead == '@') ADVANCE(136); |
667 | + if (lookahead == 'B') ADVANCE(152); |
668 | + if (lookahead == 'd') ADVANCE(142); |
669 | + if (lookahead == 'i') ADVANCE(159); |
670 | + if (lookahead == 'n') ADVANCE(143); |
671 | + if (lookahead == 'r') ADVANCE(148); |
672 | + if (lookahead == 's') ADVANCE(151); |
673 | + if (('\t' <= lookahead && lookahead <= '\f') || |
674 | + lookahead == ' ') ADVANCE(170); |
675 | + if (lookahead != 0) ADVANCE(171); |
676 | END_STATE(); |
677 | case 88: |
678 | - ACCEPT_TOKEN(ts_builtin_sym_end); |
679 | + if (eof) ADVANCE(91); |
680 | + if (lookahead == '\n') ADVANCE(92); |
681 | + if (lookahead == '\r') ADVANCE(1); |
682 | + if (lookahead == '+') ADVANCE(173); |
683 | + if (lookahead == '-') ADVANCE(177); |
684 | + if (lookahead == '@') ADVANCE(185); |
685 | + if (lookahead == 'B') ADVANCE(201); |
686 | + if (lookahead == 'd') ADVANCE(192); |
687 | + if (lookahead == 'i') ADVANCE(208); |
688 | + if (lookahead == 'n') ADVANCE(193); |
689 | + if (lookahead == 'r') ADVANCE(197); |
690 | + if (lookahead == 's') ADVANCE(200); |
691 | + if (('\t' <= lookahead && lookahead <= '\f') || |
692 | + lookahead == ' ') ADVANCE(181); |
693 | + if (lookahead != 0) ADVANCE(220); |
694 | END_STATE(); |
695 | case 89: |
696 | - ACCEPT_TOKEN(aux_sym_source_token1); |
697 | + if (eof) ADVANCE(91); |
698 | + if (lookahead == '\n') ADVANCE(92); |
699 | + if (lookahead == '\r') ADVANCE(1); |
700 | + if (lookahead == '+') ADVANCE(173); |
701 | + if (lookahead == '-') ADVANCE(177); |
702 | + if (lookahead == '@') ADVANCE(185); |
703 | + if (lookahead == 'B') ADVANCE(201); |
704 | + if (lookahead == 'd') ADVANCE(192); |
705 | + if (lookahead == 'i') ADVANCE(208); |
706 | + if (lookahead == 'n') ADVANCE(193); |
707 | + if (lookahead == 'r') ADVANCE(197); |
708 | + if (lookahead == 's') ADVANCE(200); |
709 | + if (('\t' <= lookahead && lookahead <= '\f') || |
710 | + lookahead == ' ') ADVANCE(182); |
711 | + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(122); |
712 | + if (lookahead != 0) ADVANCE(220); |
713 | END_STATE(); |
714 | case 90: |
715 | - ACCEPT_TOKEN(anon_sym_diff); |
716 | + if (eof) ADVANCE(91); |
717 | + if (lookahead == '+') ADVANCE(173); |
718 | + if (lookahead == '-') ADVANCE(177); |
719 | + if (lookahead == '@') ADVANCE(185); |
720 | + if (lookahead == 'B') ADVANCE(201); |
721 | + if (lookahead == 'd') ADVANCE(192); |
722 | + if (lookahead == 'i') ADVANCE(208); |
723 | + if (lookahead == 'n') ADVANCE(193); |
724 | + if (lookahead == 'r') ADVANCE(197); |
725 | + if (lookahead == 's') ADVANCE(200); |
726 | + if (lookahead == '\t' || |
727 | + lookahead == 11 || |
728 | + lookahead == '\f' || |
729 | + lookahead == ' ') ADVANCE(219); |
730 | + if (lookahead != 0 && |
731 | + (lookahead < '\n' || '\r' < lookahead)) ADVANCE(220); |
732 | END_STATE(); |
733 | case 91: |
734 | - ACCEPT_TOKEN(anon_sym_diff); |
735 | - if (lookahead == 'e') ADVANCE(67); |
736 | + ACCEPT_TOKEN(ts_builtin_sym_end); |
737 | END_STATE(); |
738 | case 92: |
739 | - ACCEPT_TOKEN(anon_sym_DASH_DASHgit); |
740 | + ACCEPT_TOKEN(aux_sym_source_token1); |
741 | END_STATE(); |
742 | case 93: |
743 | - ACCEPT_TOKEN(aux_sym_file_change_token1); |
744 | + ACCEPT_TOKEN(anon_sym_diff); |
745 | END_STATE(); |
746 | case 94: |
747 | - ACCEPT_TOKEN(anon_sym_file); |
748 | + ACCEPT_TOKEN(anon_sym_diff); |
749 | + if (lookahead == 'e') ADVANCE(65); |
750 | END_STATE(); |
751 | case 95: |
752 | - ACCEPT_TOKEN(anon_sym_file); |
753 | - if (lookahead == 's') ADVANCE(100); |
754 | + ACCEPT_TOKEN(anon_sym_diff); |
755 | + if (lookahead != 0 && |
756 | + lookahead != '\t' && |
757 | + lookahead != '\n' && |
758 | + lookahead != '\r' && |
759 | + lookahead != ' ') ADVANCE(270); |
760 | END_STATE(); |
761 | case 96: |
762 | - ACCEPT_TOKEN(anon_sym_mode); |
763 | + ACCEPT_TOKEN(anon_sym_diff); |
764 | + if (lookahead != 0 && |
765 | + lookahead != '\n' && |
766 | + lookahead != '\r') ADVANCE(171); |
767 | END_STATE(); |
768 | case 97: |
769 | - ACCEPT_TOKEN(anon_sym_from); |
770 | + ACCEPT_TOKEN(anon_sym_DASH_DASHgit); |
771 | END_STATE(); |
772 | case 98: |
773 | - ACCEPT_TOKEN(anon_sym_to); |
774 | + ACCEPT_TOKEN(aux_sym_file_change_token1); |
775 | END_STATE(); |
776 | case 99: |
777 | - ACCEPT_TOKEN(anon_sym_Binary); |
778 | + ACCEPT_TOKEN(aux_sym_file_change_token1); |
779 | + if (lookahead != 0 && |
780 | + lookahead != '\t' && |
781 | + lookahead != '\n' && |
782 | + lookahead != '\r' && |
783 | + lookahead != ' ') ADVANCE(270); |
784 | END_STATE(); |
785 | case 100: |
786 | - ACCEPT_TOKEN(anon_sym_files); |
787 | + ACCEPT_TOKEN(aux_sym_file_change_token1); |
788 | + if (lookahead != 0 && |
789 | + lookahead != '\n' && |
790 | + lookahead != '\r') ADVANCE(171); |
791 | END_STATE(); |
792 | case 101: |
793 | - ACCEPT_TOKEN(anon_sym_and); |
794 | + ACCEPT_TOKEN(anon_sym_file); |
795 | END_STATE(); |
796 | case 102: |
797 | - ACCEPT_TOKEN(anon_sym_and); |
798 | - if (lookahead != 0 && |
799 | - lookahead != '\t' && |
800 | - lookahead != '\n' && |
801 | - lookahead != '\r' && |
802 | - lookahead != ' ') ADVANCE(210); |
803 | + ACCEPT_TOKEN(anon_sym_file); |
804 | + if (lookahead == 's') ADVANCE(109); |
805 | END_STATE(); |
806 | case 103: |
807 | - ACCEPT_TOKEN(anon_sym_differ); |
808 | + ACCEPT_TOKEN(anon_sym_mode); |
809 | END_STATE(); |
810 | case 104: |
811 | - ACCEPT_TOKEN(anon_sym_differ); |
812 | - if (lookahead != 0 && |
813 | - lookahead != '\t' && |
814 | - lookahead != '\n' && |
815 | - lookahead != '\r' && |
816 | - lookahead != ' ') ADVANCE(210); |
817 | + ACCEPT_TOKEN(anon_sym_from); |
818 | END_STATE(); |
819 | case 105: |
820 | - ACCEPT_TOKEN(anon_sym_index); |
821 | + ACCEPT_TOKEN(anon_sym_to); |
822 | END_STATE(); |
823 | case 106: |
824 | - ACCEPT_TOKEN(anon_sym_DOT_DOT); |
825 | + ACCEPT_TOKEN(anon_sym_Binary); |
826 | END_STATE(); |
827 | case 107: |
828 | - ACCEPT_TOKEN(anon_sym_similarity); |
829 | + ACCEPT_TOKEN(anon_sym_Binary); |
830 | + if (lookahead != 0 && |
831 | + lookahead != '\t' && |
832 | + lookahead != '\n' && |
833 | + lookahead != '\r' && |
834 | + lookahead != ' ') ADVANCE(270); |
835 | END_STATE(); |
836 | case 108: |
837 | - ACCEPT_TOKEN(anon_sym_index2); |
838 | + ACCEPT_TOKEN(anon_sym_Binary); |
839 | + if (lookahead != 0 && |
840 | + lookahead != '\n' && |
841 | + lookahead != '\r') ADVANCE(171); |
842 | END_STATE(); |
843 | case 109: |
844 | - ACCEPT_TOKEN(aux_sym_similarity_token1); |
845 | - if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(244); |
846 | - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(147); |
847 | + ACCEPT_TOKEN(anon_sym_files); |
848 | END_STATE(); |
849 | case 110: |
850 | - ACCEPT_TOKEN(aux_sym_similarity_token1); |
851 | - if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(211); |
852 | - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(148); |
853 | + ACCEPT_TOKEN(anon_sym_and); |
854 | END_STATE(); |
855 | case 111: |
856 | - ACCEPT_TOKEN(aux_sym_similarity_token1); |
857 | - if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(80); |
858 | - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(109); |
859 | + ACCEPT_TOKEN(anon_sym_and); |
860 | + if (lookahead != 0 && |
861 | + lookahead != '\t' && |
862 | + lookahead != '\n' && |
863 | + lookahead != '\r' && |
864 | + lookahead != ' ') ADVANCE(270); |
865 | END_STATE(); |
866 | case 112: |
867 | - ACCEPT_TOKEN(aux_sym_similarity_token1); |
868 | - if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(212); |
869 | - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(110); |
870 | + ACCEPT_TOKEN(anon_sym_differ); |
871 | END_STATE(); |
872 | case 113: |
873 | - ACCEPT_TOKEN(aux_sym_similarity_token1); |
874 | - if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(81); |
875 | - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(111); |
876 | + ACCEPT_TOKEN(anon_sym_differ); |
877 | + if (lookahead != 0 && |
878 | + lookahead != '\t' && |
879 | + lookahead != '\n' && |
880 | + lookahead != '\r' && |
881 | + lookahead != ' ') ADVANCE(270); |
882 | END_STATE(); |
883 | case 114: |
884 | - ACCEPT_TOKEN(aux_sym_similarity_token1); |
885 | - if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(213); |
886 | - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(112); |
887 | + ACCEPT_TOKEN(anon_sym_index); |
888 | END_STATE(); |
889 | case 115: |
890 | - ACCEPT_TOKEN(aux_sym_similarity_token1); |
891 | - if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(82); |
892 | - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(113); |
893 | + ACCEPT_TOKEN(anon_sym_index); |
894 | + if (lookahead != 0 && |
895 | + lookahead != '\t' && |
896 | + lookahead != '\n' && |
897 | + lookahead != '\r' && |
898 | + lookahead != ' ') ADVANCE(270); |
899 | END_STATE(); |
900 | case 116: |
901 | - ACCEPT_TOKEN(aux_sym_similarity_token1); |
902 | - if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(214); |
903 | - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(114); |
904 | + ACCEPT_TOKEN(anon_sym_index); |
905 | + if (lookahead != 0 && |
906 | + lookahead != '\n' && |
907 | + lookahead != '\r') ADVANCE(171); |
908 | END_STATE(); |
909 | case 117: |
910 | - ACCEPT_TOKEN(aux_sym_similarity_token1); |
911 | - if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(83); |
912 | - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(115); |
913 | + ACCEPT_TOKEN(anon_sym_DOT_DOT); |
914 | END_STATE(); |
915 | case 118: |
916 | - ACCEPT_TOKEN(aux_sym_similarity_token1); |
917 | - if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(215); |
918 | - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(116); |
919 | + ACCEPT_TOKEN(anon_sym_similarity); |
920 | END_STATE(); |
921 | case 119: |
922 | - ACCEPT_TOKEN(aux_sym_similarity_token1); |
923 | - if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(84); |
924 | - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(117); |
925 | + ACCEPT_TOKEN(anon_sym_similarity); |
926 | + if (lookahead != 0 && |
927 | + lookahead != '\t' && |
928 | + lookahead != '\n' && |
929 | + lookahead != '\r' && |
930 | + lookahead != ' ') ADVANCE(270); |
931 | END_STATE(); |
932 | case 120: |
933 | - ACCEPT_TOKEN(aux_sym_similarity_token1); |
934 | - if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(216); |
935 | - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(118); |
936 | + ACCEPT_TOKEN(anon_sym_similarity); |
937 | + if (lookahead != 0 && |
938 | + lookahead != '\n' && |
939 | + lookahead != '\r') ADVANCE(171); |
940 | END_STATE(); |
941 | case 121: |
942 | - ACCEPT_TOKEN(aux_sym_similarity_token1); |
943 | - if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(217); |
944 | - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(120); |
945 | + ACCEPT_TOKEN(anon_sym_index2); |
946 | END_STATE(); |
947 | case 122: |
948 | ACCEPT_TOKEN(aux_sym_similarity_token1); |
949 | - if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(218); |
950 | - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(121); |
951 | + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(122); |
952 | END_STATE(); |
953 | case 123: |
954 | - ACCEPT_TOKEN(aux_sym_similarity_token1); |
955 | - if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(219); |
956 | - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(122); |
957 | + ACCEPT_TOKEN(anon_sym_PERCENT); |
958 | END_STATE(); |
959 | case 124: |
960 | - ACCEPT_TOKEN(aux_sym_similarity_token1); |
961 | - if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(220); |
962 | - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(123); |
963 | + ACCEPT_TOKEN(anon_sym_DASH_DASH_DASH); |
964 | END_STATE(); |
965 | case 125: |
966 | - ACCEPT_TOKEN(aux_sym_similarity_token1); |
967 | - if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(221); |
968 | - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(124); |
969 | + ACCEPT_TOKEN(anon_sym_DASH_DASH_DASH); |
970 | + if (lookahead != 0 && |
971 | + lookahead != '\t' && |
972 | + lookahead != '\n' && |
973 | + lookahead != '\r' && |
974 | + lookahead != ' ') ADVANCE(270); |
975 | END_STATE(); |
976 | case 126: |
977 | - ACCEPT_TOKEN(aux_sym_similarity_token1); |
978 | - if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(222); |
979 | - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(125); |
980 | + ACCEPT_TOKEN(anon_sym_DASH_DASH_DASH); |
981 | + if (lookahead != 0 && |
982 | + lookahead != '\n' && |
983 | + lookahead != '\r') ADVANCE(171); |
984 | END_STATE(); |
985 | case 127: |
986 | - ACCEPT_TOKEN(aux_sym_similarity_token1); |
987 | - if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(223); |
988 | - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(126); |
989 | + ACCEPT_TOKEN(anon_sym_PLUS_PLUS_PLUS); |
990 | END_STATE(); |
991 | case 128: |
992 | - ACCEPT_TOKEN(aux_sym_similarity_token1); |
993 | - if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(224); |
994 | - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(127); |
995 | + ACCEPT_TOKEN(anon_sym_PLUS_PLUS_PLUS); |
996 | + if (lookahead != 0 && |
997 | + lookahead != '\t' && |
998 | + lookahead != '\n' && |
999 | + lookahead != '\r' && |
1000 | + lookahead != ' ') ADVANCE(270); |
1001 | END_STATE(); |
1002 | case 129: |
1003 | - ACCEPT_TOKEN(aux_sym_similarity_token1); |
1004 | - if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(225); |
1005 | - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(128); |
1006 | + ACCEPT_TOKEN(anon_sym_PLUS_PLUS_PLUS); |
1007 | + if (lookahead != 0 && |
1008 | + lookahead != '\n' && |
1009 | + lookahead != '\r') ADVANCE(171); |
1010 | END_STATE(); |
1011 | case 130: |
1012 | - ACCEPT_TOKEN(aux_sym_similarity_token1); |
1013 | - if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(226); |
1014 | - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(129); |
1015 | + ACCEPT_TOKEN(anon_sym_AT_AT); |
1016 | END_STATE(); |
1017 | case 131: |
1018 | - ACCEPT_TOKEN(aux_sym_similarity_token1); |
1019 | - if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(227); |
1020 | - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(130); |
1021 | + ACCEPT_TOKEN(anon_sym_AT_AT); |
1022 | + if (lookahead != 0 && |
1023 | + lookahead != '\t' && |
1024 | + lookahead != '\n' && |
1025 | + lookahead != '\r' && |
1026 | + lookahead != ' ') ADVANCE(270); |
1027 | END_STATE(); |
1028 | case 132: |
1029 | - ACCEPT_TOKEN(aux_sym_similarity_token1); |
1030 | - if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(228); |
1031 | - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(131); |
1032 | + ACCEPT_TOKEN(anon_sym_AT_AT); |
1033 | + if (lookahead != 0 && |
1034 | + lookahead != '\n' && |
1035 | + lookahead != '\r') ADVANCE(171); |
1036 | END_STATE(); |
1037 | case 133: |
1038 | - ACCEPT_TOKEN(aux_sym_similarity_token1); |
1039 | - if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(229); |
1040 | - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(132); |
1041 | + ACCEPT_TOKEN(anon_sym_AT_AT2); |
1042 | END_STATE(); |
1043 | case 134: |
1044 | - ACCEPT_TOKEN(aux_sym_similarity_token1); |
1045 | - if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(230); |
1046 | - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(133); |
1047 | + ACCEPT_TOKEN(aux_sym_location_token1); |
1048 | + if (lookahead == '+') ADVANCE(129); |
1049 | + if (lookahead != 0 && |
1050 | + lookahead != '\n' && |
1051 | + lookahead != '\r') ADVANCE(171); |
1052 | END_STATE(); |
1053 | case 135: |
1054 | - ACCEPT_TOKEN(aux_sym_similarity_token1); |
1055 | - if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(231); |
1056 | - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(134); |
1057 | + ACCEPT_TOKEN(aux_sym_location_token1); |
1058 | + if (lookahead == '-') ADVANCE(126); |
1059 | + if (lookahead != 0 && |
1060 | + lookahead != '\n' && |
1061 | + lookahead != '\r') ADVANCE(171); |
1062 | END_STATE(); |
1063 | case 136: |
1064 | - ACCEPT_TOKEN(aux_sym_similarity_token1); |
1065 | - if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(232); |
1066 | - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(135); |
1067 | + ACCEPT_TOKEN(aux_sym_location_token1); |
1068 | + if (lookahead == '@') ADVANCE(132); |
1069 | + if (lookahead != 0 && |
1070 | + lookahead != '\n' && |
1071 | + lookahead != '\r') ADVANCE(171); |
1072 | END_STATE(); |
1073 | case 137: |
1074 | - ACCEPT_TOKEN(aux_sym_similarity_token1); |
1075 | - if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(233); |
1076 | - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(136); |
1077 | + ACCEPT_TOKEN(aux_sym_location_token1); |
1078 | + if (lookahead == 'a') ADVANCE(162); |
1079 | + if (lookahead != 0 && |
1080 | + lookahead != '\n' && |
1081 | + lookahead != '\r') ADVANCE(171); |
1082 | END_STATE(); |
1083 | case 138: |
1084 | - ACCEPT_TOKEN(aux_sym_similarity_token1); |
1085 | - if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(234); |
1086 | - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(137); |
1087 | + ACCEPT_TOKEN(aux_sym_location_token1); |
1088 | + if (lookahead == 'a') ADVANCE(158); |
1089 | + if (lookahead != 0 && |
1090 | + lookahead != '\n' && |
1091 | + lookahead != '\r') ADVANCE(171); |
1092 | END_STATE(); |
1093 | case 139: |
1094 | - ACCEPT_TOKEN(aux_sym_similarity_token1); |
1095 | - if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(235); |
1096 | - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(138); |
1097 | - END_STATE(); |
1098 | + ACCEPT_TOKEN(aux_sym_location_token1); |
1099 | + if (lookahead == 'a') ADVANCE(163); |
1100 | + if (lookahead != 0 && |
1101 | + lookahead != '\n' && |
1102 | + lookahead != '\r') ADVANCE(171); |
1103 | + END_STATE(); |
1104 | case 140: |
1105 | - ACCEPT_TOKEN(aux_sym_similarity_token1); |
1106 | - if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(236); |
1107 | - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(139); |
1108 | + ACCEPT_TOKEN(aux_sym_location_token1); |
1109 | + if (lookahead == 'd') ADVANCE(100); |
1110 | + if (lookahead != 0 && |
1111 | + lookahead != '\n' && |
1112 | + lookahead != '\r') ADVANCE(171); |
1113 | END_STATE(); |
1114 | case 141: |
1115 | - ACCEPT_TOKEN(aux_sym_similarity_token1); |
1116 | - if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(237); |
1117 | - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(140); |
1118 | + ACCEPT_TOKEN(aux_sym_location_token1); |
1119 | + if (lookahead == 'd') ADVANCE(146); |
1120 | + if (lookahead != 0 && |
1121 | + lookahead != '\n' && |
1122 | + lookahead != '\r') ADVANCE(171); |
1123 | END_STATE(); |
1124 | case 142: |
1125 | - ACCEPT_TOKEN(aux_sym_similarity_token1); |
1126 | - if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(238); |
1127 | - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(141); |
1128 | + ACCEPT_TOKEN(aux_sym_location_token1); |
1129 | + if (lookahead == 'e') ADVANCE(155); |
1130 | + if (lookahead == 'i') ADVANCE(150); |
1131 | + if (lookahead != 0 && |
1132 | + lookahead != '\n' && |
1133 | + lookahead != '\r') ADVANCE(171); |
1134 | END_STATE(); |
1135 | case 143: |
1136 | - ACCEPT_TOKEN(aux_sym_similarity_token1); |
1137 | - if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(239); |
1138 | - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(142); |
1139 | + ACCEPT_TOKEN(aux_sym_location_token1); |
1140 | + if (lookahead == 'e') ADVANCE(166); |
1141 | + if (lookahead != 0 && |
1142 | + lookahead != '\n' && |
1143 | + lookahead != '\r') ADVANCE(171); |
1144 | END_STATE(); |
1145 | case 144: |
1146 | - ACCEPT_TOKEN(aux_sym_similarity_token1); |
1147 | - if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(240); |
1148 | - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(143); |
1149 | + ACCEPT_TOKEN(aux_sym_location_token1); |
1150 | + if (lookahead == 'e') ADVANCE(100); |
1151 | + if (lookahead != 0 && |
1152 | + lookahead != '\n' && |
1153 | + lookahead != '\r') ADVANCE(171); |
1154 | END_STATE(); |
1155 | case 145: |
1156 | - ACCEPT_TOKEN(aux_sym_similarity_token1); |
1157 | - if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(241); |
1158 | - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(144); |
1159 | + ACCEPT_TOKEN(aux_sym_location_token1); |
1160 | + if (lookahead == 'e') ADVANCE(165); |
1161 | + if (lookahead != 0 && |
1162 | + lookahead != '\n' && |
1163 | + lookahead != '\r') ADVANCE(171); |
1164 | END_STATE(); |
1165 | case 146: |
1166 | - ACCEPT_TOKEN(aux_sym_similarity_token1); |
1167 | - if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(242); |
1168 | - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(145); |
1169 | + ACCEPT_TOKEN(aux_sym_location_token1); |
1170 | + if (lookahead == 'e') ADVANCE(167); |
1171 | + if (lookahead != 0 && |
1172 | + lookahead != '\n' && |
1173 | + lookahead != '\r') ADVANCE(171); |
1174 | END_STATE(); |
1175 | case 147: |
1176 | - ACCEPT_TOKEN(aux_sym_similarity_token1); |
1177 | - if (('a' <= lookahead && lookahead <= 'f')) ADVANCE(243); |
1178 | - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(146); |
1179 | + ACCEPT_TOKEN(aux_sym_location_token1); |
1180 | + if (lookahead == 'e') ADVANCE(140); |
1181 | + if (lookahead != 0 && |
1182 | + lookahead != '\n' && |
1183 | + lookahead != '\r') ADVANCE(171); |
1184 | END_STATE(); |
1185 | case 148: |
1186 | - ACCEPT_TOKEN(aux_sym_similarity_token1); |
1187 | - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(148); |
1188 | + ACCEPT_TOKEN(aux_sym_location_token1); |
1189 | + if (lookahead == 'e') ADVANCE(161); |
1190 | + if (lookahead != 0 && |
1191 | + lookahead != '\n' && |
1192 | + lookahead != '\r') ADVANCE(171); |
1193 | END_STATE(); |
1194 | case 149: |
1195 | - ACCEPT_TOKEN(anon_sym_PERCENT); |
1196 | + ACCEPT_TOKEN(aux_sym_location_token1); |
1197 | + if (lookahead == 'f') ADVANCE(96); |
1198 | + if (lookahead != 0 && |
1199 | + lookahead != '\n' && |
1200 | + lookahead != '\r') ADVANCE(171); |
1201 | END_STATE(); |
1202 | case 150: |
1203 | - ACCEPT_TOKEN(anon_sym_DASH_DASH_DASH); |
1204 | + ACCEPT_TOKEN(aux_sym_location_token1); |
1205 | + if (lookahead == 'f') ADVANCE(149); |
1206 | + if (lookahead != 0 && |
1207 | + lookahead != '\n' && |
1208 | + lookahead != '\r') ADVANCE(171); |
1209 | END_STATE(); |
1210 | case 151: |
1211 | - ACCEPT_TOKEN(anon_sym_PLUS_PLUS_PLUS); |
1212 | + ACCEPT_TOKEN(aux_sym_location_token1); |
1213 | + if (lookahead == 'i') ADVANCE(157); |
1214 | + if (lookahead != 0 && |
1215 | + lookahead != '\n' && |
1216 | + lookahead != '\r') ADVANCE(171); |
1217 | END_STATE(); |
1218 | case 152: |
1219 | - ACCEPT_TOKEN(anon_sym_AT_AT); |
1220 | + ACCEPT_TOKEN(aux_sym_location_token1); |
1221 | + if (lookahead == 'i') ADVANCE(160); |
1222 | + if (lookahead != 0 && |
1223 | + lookahead != '\n' && |
1224 | + lookahead != '\r') ADVANCE(171); |
1225 | END_STATE(); |
1226 | case 153: |
1227 | - ACCEPT_TOKEN(anon_sym_AT_AT2); |
1228 | + ACCEPT_TOKEN(aux_sym_location_token1); |
1229 | + if (lookahead == 'i') ADVANCE(156); |
1230 | + if (lookahead != 0 && |
1231 | + lookahead != '\n' && |
1232 | + lookahead != '\r') ADVANCE(171); |
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(154); |
1240 | + if (lookahead == 'i') ADVANCE(164); |
1241 | if (lookahead != 0 && |
1242 | - (lookahead < '\n' || '\r' < lookahead)) ADVANCE(155); |
1243 | + lookahead != '\n' && |
1244 | + lookahead != '\r') ADVANCE(171); |
1245 | END_STATE(); |
1246 | case 155: |
1247 | ACCEPT_TOKEN(aux_sym_location_token1); |
1248 | + if (lookahead == 'l') ADVANCE(145); |
1249 | if (lookahead != 0 && |
1250 | lookahead != '\n' && |
1251 | - lookahead != '\r') ADVANCE(155); |
1252 | + lookahead != '\r') ADVANCE(171); |
1253 | END_STATE(); |
1254 | case 156: |
1255 | - ACCEPT_TOKEN(anon_sym_PLUS); |
1256 | - if (lookahead == '+') ADVANCE(5); |
1257 | + ACCEPT_TOKEN(aux_sym_location_token1); |
1258 | + if (lookahead == 'l') ADVANCE(139); |
1259 | + if (lookahead != 0 && |
1260 | + lookahead != '\n' && |
1261 | + lookahead != '\r') ADVANCE(171); |
1262 | END_STATE(); |
1263 | case 157: |
1264 | - ACCEPT_TOKEN(anon_sym_PLUS); |
1265 | - if (lookahead == '+') ADVANCE(160); |
1266 | + ACCEPT_TOKEN(aux_sym_location_token1); |
1267 | + if (lookahead == 'm') ADVANCE(153); |
1268 | + if (lookahead != 0 && |
1269 | + lookahead != '\n' && |
1270 | + lookahead != '\r') ADVANCE(171); |
1271 | END_STATE(); |
1272 | case 158: |
1273 | - ACCEPT_TOKEN(anon_sym_DASH); |
1274 | - if (lookahead == '-') ADVANCE(6); |
1275 | + ACCEPT_TOKEN(aux_sym_location_token1); |
1276 | + if (lookahead == 'm') ADVANCE(144); |
1277 | + if (lookahead != 0 && |
1278 | + lookahead != '\n' && |
1279 | + lookahead != '\r') ADVANCE(171); |
1280 | END_STATE(); |
1281 | case 159: |
1282 | - ACCEPT_TOKEN(anon_sym_DASH); |
1283 | - if (lookahead == '-') ADVANCE(161); |
1284 | + ACCEPT_TOKEN(aux_sym_location_token1); |
1285 | + if (lookahead == 'n') ADVANCE(141); |
1286 | + if (lookahead != 0 && |
1287 | + lookahead != '\n' && |
1288 | + lookahead != '\r') ADVANCE(171); |
1289 | END_STATE(); |
1290 | case 160: |
1291 | - ACCEPT_TOKEN(sym_context); |
1292 | - if (lookahead == '+') ADVANCE(151); |
1293 | + ACCEPT_TOKEN(aux_sym_location_token1); |
1294 | + if (lookahead == 'n') ADVANCE(137); |
1295 | if (lookahead != 0 && |
1296 | lookahead != '\n' && |
1297 | - lookahead != '\r') ADVANCE(197); |
1298 | + lookahead != '\r') ADVANCE(171); |
1299 | END_STATE(); |
1300 | case 161: |
1301 | - ACCEPT_TOKEN(sym_context); |
1302 | - if (lookahead == '-') ADVANCE(150); |
1303 | + ACCEPT_TOKEN(aux_sym_location_token1); |
1304 | + if (lookahead == 'n') ADVANCE(138); |
1305 | if (lookahead != 0 && |
1306 | lookahead != '\n' && |
1307 | - lookahead != '\r') ADVANCE(197); |
1308 | + lookahead != '\r') ADVANCE(171); |
1309 | END_STATE(); |
1310 | case 162: |
1311 | - ACCEPT_TOKEN(sym_context); |
1312 | - if (lookahead == '@') ADVANCE(152); |
1313 | + ACCEPT_TOKEN(aux_sym_location_token1); |
1314 | + if (lookahead == 'r') ADVANCE(168); |
1315 | if (lookahead != 0 && |
1316 | lookahead != '\n' && |
1317 | - lookahead != '\r') ADVANCE(197); |
1318 | + lookahead != '\r') ADVANCE(171); |
1319 | END_STATE(); |
1320 | case 163: |
1321 | - ACCEPT_TOKEN(sym_context); |
1322 | - if (lookahead == 'a') ADVANCE(188); |
1323 | + ACCEPT_TOKEN(aux_sym_location_token1); |
1324 | + if (lookahead == 'r') ADVANCE(154); |
1325 | if (lookahead != 0 && |
1326 | lookahead != '\n' && |
1327 | - lookahead != '\r') ADVANCE(197); |
1328 | + lookahead != '\r') ADVANCE(171); |
1329 | END_STATE(); |
1330 | case 164: |
1331 | - ACCEPT_TOKEN(sym_context); |
1332 | - if (lookahead == 'a') ADVANCE(184); |
1333 | + ACCEPT_TOKEN(aux_sym_location_token1); |
1334 | + if (lookahead == 't') ADVANCE(169); |
1335 | if (lookahead != 0 && |
1336 | lookahead != '\n' && |
1337 | - lookahead != '\r') ADVANCE(197); |
1338 | + lookahead != '\r') ADVANCE(171); |
1339 | END_STATE(); |
1340 | case 165: |
1341 | - ACCEPT_TOKEN(sym_context); |
1342 | - if (lookahead == 'a') ADVANCE(189); |
1343 | + ACCEPT_TOKEN(aux_sym_location_token1); |
1344 | + if (lookahead == 't') ADVANCE(147); |
1345 | if (lookahead != 0 && |
1346 | lookahead != '\n' && |
1347 | - lookahead != '\r') ADVANCE(197); |
1348 | + lookahead != '\r') ADVANCE(171); |
1349 | END_STATE(); |
1350 | case 166: |
1351 | - ACCEPT_TOKEN(sym_context); |
1352 | - if (lookahead == 'd') ADVANCE(93); |
1353 | + ACCEPT_TOKEN(aux_sym_location_token1); |
1354 | + if (lookahead == 'w') ADVANCE(100); |
1355 | if (lookahead != 0 && |
1356 | lookahead != '\n' && |
1357 | - lookahead != '\r') ADVANCE(197); |
1358 | + lookahead != '\r') ADVANCE(171); |
1359 | END_STATE(); |
1360 | case 167: |
1361 | - ACCEPT_TOKEN(sym_context); |
1362 | - if (lookahead == 'd') ADVANCE(172); |
1363 | + ACCEPT_TOKEN(aux_sym_location_token1); |
1364 | + if (lookahead == 'x') ADVANCE(116); |
1365 | if (lookahead != 0 && |
1366 | lookahead != '\n' && |
1367 | - lookahead != '\r') ADVANCE(197); |
1368 | + lookahead != '\r') ADVANCE(171); |
1369 | END_STATE(); |
1370 | case 168: |
1371 | - ACCEPT_TOKEN(sym_context); |
1372 | - if (lookahead == 'e') ADVANCE(93); |
1373 | + ACCEPT_TOKEN(aux_sym_location_token1); |
1374 | + if (lookahead == 'y') ADVANCE(108); |
1375 | if (lookahead != 0 && |
1376 | lookahead != '\n' && |
1377 | - lookahead != '\r') ADVANCE(197); |
1378 | + lookahead != '\r') ADVANCE(171); |
1379 | END_STATE(); |
1380 | case 169: |
1381 | - ACCEPT_TOKEN(sym_context); |
1382 | - if (lookahead == 'e') ADVANCE(181); |
1383 | - if (lookahead == 'i') ADVANCE(176); |
1384 | + ACCEPT_TOKEN(aux_sym_location_token1); |
1385 | + if (lookahead == 'y') ADVANCE(120); |
1386 | if (lookahead != 0 && |
1387 | lookahead != '\n' && |
1388 | - lookahead != '\r') ADVANCE(197); |
1389 | + lookahead != '\r') ADVANCE(171); |
1390 | END_STATE(); |
1391 | case 170: |
1392 | - ACCEPT_TOKEN(sym_context); |
1393 | - if (lookahead == 'e') ADVANCE(192); |
1394 | + ACCEPT_TOKEN(aux_sym_location_token1); |
1395 | + if (lookahead == '\t' || |
1396 | + lookahead == 11 || |
1397 | + lookahead == '\f' || |
1398 | + lookahead == ' ') ADVANCE(170); |
1399 | if (lookahead != 0 && |
1400 | - lookahead != '\n' && |
1401 | - lookahead != '\r') ADVANCE(197); |
1402 | + (lookahead < '\n' || '\r' < lookahead)) ADVANCE(171); |
1403 | END_STATE(); |
1404 | case 171: |
1405 | - ACCEPT_TOKEN(sym_context); |
1406 | - if (lookahead == 'e') ADVANCE(191); |
1407 | + ACCEPT_TOKEN(aux_sym_location_token1); |
1408 | if (lookahead != 0 && |
1409 | lookahead != '\n' && |
1410 | - lookahead != '\r') ADVANCE(197); |
1411 | + lookahead != '\r') ADVANCE(171); |
1412 | END_STATE(); |
1413 | case 172: |
1414 | - ACCEPT_TOKEN(sym_context); |
1415 | - if (lookahead == 'e') ADVANCE(193); |
1416 | - if (lookahead != 0 && |
1417 | - lookahead != '\n' && |
1418 | - lookahead != '\r') ADVANCE(197); |
1419 | + ACCEPT_TOKEN(anon_sym_PLUS); |
1420 | + if (lookahead == '+') ADVANCE(2); |
1421 | END_STATE(); |
1422 | case 173: |
1423 | - ACCEPT_TOKEN(sym_context); |
1424 | - if (lookahead == 'e') ADVANCE(166); |
1425 | - if (lookahead != 0 && |
1426 | - lookahead != '\n' && |
1427 | - lookahead != '\r') ADVANCE(197); |
1428 | + ACCEPT_TOKEN(anon_sym_PLUS); |
1429 | + if (lookahead == '+') ADVANCE(183); |
1430 | END_STATE(); |
1431 | case 174: |
1432 | - ACCEPT_TOKEN(sym_context); |
1433 | - if (lookahead == 'e') ADVANCE(187); |
1434 | + ACCEPT_TOKEN(anon_sym_PLUS); |
1435 | + if (lookahead == '+') ADVANCE(223); |
1436 | if (lookahead != 0 && |
1437 | + lookahead != '\t' && |
1438 | lookahead != '\n' && |
1439 | - lookahead != '\r') ADVANCE(197); |
1440 | + lookahead != '\r' && |
1441 | + lookahead != ' ') ADVANCE(270); |
1442 | END_STATE(); |
1443 | case 175: |
1444 | - ACCEPT_TOKEN(sym_context); |
1445 | - if (lookahead == 'f') ADVANCE(90); |
1446 | + ACCEPT_TOKEN(anon_sym_PLUS); |
1447 | + if (lookahead == '+') ADVANCE(134); |
1448 | if (lookahead != 0 && |
1449 | lookahead != '\n' && |
1450 | - lookahead != '\r') ADVANCE(197); |
1451 | + lookahead != '\r') ADVANCE(171); |
1452 | END_STATE(); |
1453 | case 176: |
1454 | - ACCEPT_TOKEN(sym_context); |
1455 | - if (lookahead == 'f') ADVANCE(175); |
1456 | - if (lookahead != 0 && |
1457 | - lookahead != '\n' && |
1458 | - lookahead != '\r') ADVANCE(197); |
1459 | + ACCEPT_TOKEN(anon_sym_DASH); |
1460 | + if (lookahead == '-') ADVANCE(4); |
1461 | END_STATE(); |
1462 | case 177: |
1463 | - ACCEPT_TOKEN(sym_context); |
1464 | - if (lookahead == 'i') ADVANCE(183); |
1465 | - if (lookahead != 0 && |
1466 | - lookahead != '\n' && |
1467 | - lookahead != '\r') ADVANCE(197); |
1468 | + ACCEPT_TOKEN(anon_sym_DASH); |
1469 | + if (lookahead == '-') ADVANCE(184); |
1470 | END_STATE(); |
1471 | case 178: |
1472 | - ACCEPT_TOKEN(sym_context); |
1473 | - if (lookahead == 'i') ADVANCE(186); |
1474 | + ACCEPT_TOKEN(anon_sym_DASH); |
1475 | + if (lookahead == '-') ADVANCE(224); |
1476 | if (lookahead != 0 && |
1477 | + lookahead != '\t' && |
1478 | lookahead != '\n' && |
1479 | - lookahead != '\r') ADVANCE(197); |
1480 | + lookahead != '\r' && |
1481 | + lookahead != ' ') ADVANCE(270); |
1482 | END_STATE(); |
1483 | case 179: |
1484 | - ACCEPT_TOKEN(sym_context); |
1485 | - if (lookahead == 'i') ADVANCE(182); |
1486 | + ACCEPT_TOKEN(anon_sym_DASH); |
1487 | + if (lookahead == '-') ADVANCE(135); |
1488 | if (lookahead != 0 && |
1489 | lookahead != '\n' && |
1490 | - lookahead != '\r') ADVANCE(197); |
1491 | + lookahead != '\r') ADVANCE(171); |
1492 | END_STATE(); |
1493 | case 180: |
1494 | ACCEPT_TOKEN(sym_context); |
1495 | - if (lookahead == 'i') ADVANCE(190); |
1496 | - if (lookahead != 0 && |
1497 | - lookahead != '\n' && |
1498 | - lookahead != '\r') ADVANCE(197); |
1499 | + if (lookahead == '\n') ADVANCE(92); |
1500 | + if (lookahead == '\r') ADVANCE(1); |
1501 | + if (lookahead == '\t' || |
1502 | + lookahead == ' ') ADVANCE(180); |
1503 | + if (lookahead == 11 || |
1504 | + lookahead == '\f') ADVANCE(268); |
1505 | + if (lookahead != 0) ADVANCE(270); |
1506 | END_STATE(); |
1507 | case 181: |
1508 | ACCEPT_TOKEN(sym_context); |
1509 | - if (lookahead == 'l') ADVANCE(171); |
1510 | - if (lookahead != 0 && |
1511 | - lookahead != '\n' && |
1512 | - lookahead != '\r') ADVANCE(197); |
1513 | + if (lookahead == '\n') ADVANCE(92); |
1514 | + if (lookahead == '\r') ADVANCE(1); |
1515 | + if (('\t' <= lookahead && lookahead <= '\f') || |
1516 | + lookahead == ' ') ADVANCE(181); |
1517 | + if (lookahead != 0) ADVANCE(220); |
1518 | END_STATE(); |
1519 | case 182: |
1520 | ACCEPT_TOKEN(sym_context); |
1521 | - if (lookahead == 'l') ADVANCE(165); |
1522 | - if (lookahead != 0 && |
1523 | - lookahead != '\n' && |
1524 | - lookahead != '\r') ADVANCE(197); |
1525 | + if (lookahead == '\n') ADVANCE(92); |
1526 | + if (lookahead == '\r') ADVANCE(1); |
1527 | + if (('\t' <= lookahead && lookahead <= '\f') || |
1528 | + lookahead == ' ') ADVANCE(182); |
1529 | + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(122); |
1530 | + if (lookahead != 0) ADVANCE(220); |
1531 | END_STATE(); |
1532 | case 183: |
1533 | ACCEPT_TOKEN(sym_context); |
1534 | - if (lookahead == 'm') ADVANCE(179); |
1535 | + if (lookahead == '+') ADVANCE(127); |
1536 | if (lookahead != 0 && |
1537 | lookahead != '\n' && |
1538 | - lookahead != '\r') ADVANCE(197); |
1539 | + lookahead != '\r') ADVANCE(220); |
1540 | END_STATE(); |
1541 | case 184: |
1542 | ACCEPT_TOKEN(sym_context); |
1543 | - if (lookahead == 'm') ADVANCE(168); |
1544 | + if (lookahead == '-') ADVANCE(124); |
1545 | if (lookahead != 0 && |
1546 | lookahead != '\n' && |
1547 | - lookahead != '\r') ADVANCE(197); |
1548 | + lookahead != '\r') ADVANCE(220); |
1549 | END_STATE(); |
1550 | case 185: |
1551 | ACCEPT_TOKEN(sym_context); |
1552 | - if (lookahead == 'n') ADVANCE(167); |
1553 | + if (lookahead == '@') ADVANCE(130); |
1554 | if (lookahead != 0 && |
1555 | lookahead != '\n' && |
1556 | - lookahead != '\r') ADVANCE(197); |
1557 | + lookahead != '\r') ADVANCE(220); |
1558 | END_STATE(); |
1559 | case 186: |
1560 | ACCEPT_TOKEN(sym_context); |
1561 | - if (lookahead == 'n') ADVANCE(163); |
1562 | + if (lookahead == 'a') ADVANCE(211); |
1563 | if (lookahead != 0 && |
1564 | lookahead != '\n' && |
1565 | - lookahead != '\r') ADVANCE(197); |
1566 | + lookahead != '\r') ADVANCE(220); |
1567 | END_STATE(); |
1568 | case 187: |
1569 | ACCEPT_TOKEN(sym_context); |
1570 | - if (lookahead == 'n') ADVANCE(164); |
1571 | + if (lookahead == 'a') ADVANCE(207); |
1572 | if (lookahead != 0 && |
1573 | lookahead != '\n' && |
1574 | - lookahead != '\r') ADVANCE(197); |
1575 | + lookahead != '\r') ADVANCE(220); |
1576 | END_STATE(); |
1577 | case 188: |
1578 | ACCEPT_TOKEN(sym_context); |
1579 | - if (lookahead == 'r') ADVANCE(194); |
1580 | + if (lookahead == 'a') ADVANCE(212); |
1581 | if (lookahead != 0 && |
1582 | lookahead != '\n' && |
1583 | - lookahead != '\r') ADVANCE(197); |
1584 | + lookahead != '\r') ADVANCE(220); |
1585 | END_STATE(); |
1586 | case 189: |
1587 | ACCEPT_TOKEN(sym_context); |
1588 | - if (lookahead == 'r') ADVANCE(180); |
1589 | + if (lookahead == 'd') ADVANCE(98); |
1590 | if (lookahead != 0 && |
1591 | lookahead != '\n' && |
1592 | - lookahead != '\r') ADVANCE(197); |
1593 | + lookahead != '\r') ADVANCE(220); |
1594 | END_STATE(); |
1595 | case 190: |
1596 | ACCEPT_TOKEN(sym_context); |
1597 | - if (lookahead == 't') ADVANCE(195); |
1598 | + if (lookahead == 'd') ADVANCE(195); |
1599 | if (lookahead != 0 && |
1600 | lookahead != '\n' && |
1601 | - lookahead != '\r') ADVANCE(197); |
1602 | + lookahead != '\r') ADVANCE(220); |
1603 | END_STATE(); |
1604 | case 191: |
1605 | ACCEPT_TOKEN(sym_context); |
1606 | - if (lookahead == 't') ADVANCE(173); |
1607 | + if (lookahead == 'e') ADVANCE(98); |
1608 | if (lookahead != 0 && |
1609 | lookahead != '\n' && |
1610 | - lookahead != '\r') ADVANCE(197); |
1611 | + lookahead != '\r') ADVANCE(220); |
1612 | END_STATE(); |
1613 | case 192: |
1614 | ACCEPT_TOKEN(sym_context); |
1615 | - if (lookahead == 'w') ADVANCE(93); |
1616 | + if (lookahead == 'e') ADVANCE(204); |
1617 | + if (lookahead == 'i') ADVANCE(199); |
1618 | if (lookahead != 0 && |
1619 | lookahead != '\n' && |
1620 | - lookahead != '\r') ADVANCE(197); |
1621 | + lookahead != '\r') ADVANCE(220); |
1622 | END_STATE(); |
1623 | case 193: |
1624 | ACCEPT_TOKEN(sym_context); |
1625 | - if (lookahead == 'x') ADVANCE(105); |
1626 | + if (lookahead == 'e') ADVANCE(215); |
1627 | if (lookahead != 0 && |
1628 | lookahead != '\n' && |
1629 | - lookahead != '\r') ADVANCE(197); |
1630 | + lookahead != '\r') ADVANCE(220); |
1631 | END_STATE(); |
1632 | case 194: |
1633 | ACCEPT_TOKEN(sym_context); |
1634 | - if (lookahead == 'y') ADVANCE(99); |
1635 | + if (lookahead == 'e') ADVANCE(214); |
1636 | if (lookahead != 0 && |
1637 | lookahead != '\n' && |
1638 | - lookahead != '\r') ADVANCE(197); |
1639 | + lookahead != '\r') ADVANCE(220); |
1640 | END_STATE(); |
1641 | case 195: |
1642 | ACCEPT_TOKEN(sym_context); |
1643 | - if (lookahead == 'y') ADVANCE(107); |
1644 | + if (lookahead == 'e') ADVANCE(216); |
1645 | if (lookahead != 0 && |
1646 | lookahead != '\n' && |
1647 | - lookahead != '\r') ADVANCE(197); |
1648 | + lookahead != '\r') ADVANCE(220); |
1649 | END_STATE(); |
1650 | case 196: |
1651 | ACCEPT_TOKEN(sym_context); |
1652 | - if (lookahead == '\t' || |
1653 | - lookahead == 11 || |
1654 | - lookahead == '\f' || |
1655 | - lookahead == ' ') ADVANCE(196); |
1656 | + if (lookahead == 'e') ADVANCE(189); |
1657 | if (lookahead != 0 && |
1658 | - (lookahead < '\n' || '\r' < lookahead)) ADVANCE(197); |
1659 | + lookahead != '\n' && |
1660 | + lookahead != '\r') ADVANCE(220); |
1661 | END_STATE(); |
1662 | case 197: |
1663 | ACCEPT_TOKEN(sym_context); |
1664 | + if (lookahead == 'e') ADVANCE(210); |
1665 | if (lookahead != 0 && |
1666 | lookahead != '\n' && |
1667 | - lookahead != '\r') ADVANCE(197); |
1668 | + lookahead != '\r') ADVANCE(220); |
1669 | END_STATE(); |
1670 | case 198: |
1671 | - ACCEPT_TOKEN(sym_linerange); |
1672 | - if (lookahead == ',') ADVANCE(79); |
1673 | - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(198); |
1674 | + ACCEPT_TOKEN(sym_context); |
1675 | + if (lookahead == 'f') ADVANCE(93); |
1676 | + if (lookahead != 0 && |
1677 | + lookahead != '\n' && |
1678 | + lookahead != '\r') ADVANCE(220); |
1679 | END_STATE(); |
1680 | case 199: |
1681 | - ACCEPT_TOKEN(sym_linerange); |
1682 | - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(199); |
1683 | + ACCEPT_TOKEN(sym_context); |
1684 | + if (lookahead == 'f') ADVANCE(198); |
1685 | + if (lookahead != 0 && |
1686 | + lookahead != '\n' && |
1687 | + lookahead != '\r') ADVANCE(220); |
1688 | END_STATE(); |
1689 | case 200: |
1690 | - ACCEPT_TOKEN(aux_sym_filename_token1); |
1691 | - if (lookahead == 'a') ADVANCE(207); |
1692 | - if (lookahead == 11 || |
1693 | - lookahead == '\f') ADVANCE(200); |
1694 | + ACCEPT_TOKEN(sym_context); |
1695 | + if (lookahead == 'i') ADVANCE(206); |
1696 | if (lookahead != 0 && |
1697 | - (lookahead < '\t' || '\r' < lookahead) && |
1698 | - lookahead != ' ') ADVANCE(210); |
1699 | + lookahead != '\n' && |
1700 | + lookahead != '\r') ADVANCE(220); |
1701 | END_STATE(); |
1702 | case 201: |
1703 | - ACCEPT_TOKEN(aux_sym_filename_token1); |
1704 | - if (lookahead == 'd') ADVANCE(206); |
1705 | - if (lookahead == 11 || |
1706 | - lookahead == '\f') ADVANCE(201); |
1707 | + ACCEPT_TOKEN(sym_context); |
1708 | + if (lookahead == 'i') ADVANCE(209); |
1709 | if (lookahead != 0 && |
1710 | - (lookahead < '\t' || '\r' < lookahead) && |
1711 | - lookahead != ' ') ADVANCE(210); |
1712 | + lookahead != '\n' && |
1713 | + lookahead != '\r') ADVANCE(220); |
1714 | END_STATE(); |
1715 | case 202: |
1716 | - ACCEPT_TOKEN(aux_sym_filename_token1); |
1717 | - if (lookahead == 'd') ADVANCE(102); |
1718 | + ACCEPT_TOKEN(sym_context); |
1719 | + if (lookahead == 'i') ADVANCE(205); |
1720 | if (lookahead != 0 && |
1721 | - lookahead != '\t' && |
1722 | lookahead != '\n' && |
1723 | - lookahead != '\r' && |
1724 | - lookahead != ' ') ADVANCE(210); |
1725 | + lookahead != '\r') ADVANCE(220); |
1726 | END_STATE(); |
1727 | case 203: |
1728 | - ACCEPT_TOKEN(aux_sym_filename_token1); |
1729 | - if (lookahead == 'e') ADVANCE(208); |
1730 | + ACCEPT_TOKEN(sym_context); |
1731 | + if (lookahead == 'i') ADVANCE(213); |
1732 | if (lookahead != 0 && |
1733 | - lookahead != '\t' && |
1734 | lookahead != '\n' && |
1735 | - lookahead != '\r' && |
1736 | - lookahead != ' ') ADVANCE(210); |
1737 | + lookahead != '\r') ADVANCE(220); |
1738 | END_STATE(); |
1739 | case 204: |
1740 | - ACCEPT_TOKEN(aux_sym_filename_token1); |
1741 | - if (lookahead == 'f') ADVANCE(203); |
1742 | + ACCEPT_TOKEN(sym_context); |
1743 | + if (lookahead == 'l') ADVANCE(194); |
1744 | if (lookahead != 0 && |
1745 | - lookahead != '\t' && |
1746 | lookahead != '\n' && |
1747 | - lookahead != '\r' && |
1748 | - lookahead != ' ') ADVANCE(210); |
1749 | + lookahead != '\r') ADVANCE(220); |
1750 | END_STATE(); |
1751 | case 205: |
1752 | - ACCEPT_TOKEN(aux_sym_filename_token1); |
1753 | - if (lookahead == 'f') ADVANCE(204); |
1754 | + ACCEPT_TOKEN(sym_context); |
1755 | + if (lookahead == 'l') ADVANCE(188); |
1756 | if (lookahead != 0 && |
1757 | - lookahead != '\t' && |
1758 | lookahead != '\n' && |
1759 | - lookahead != '\r' && |
1760 | - lookahead != ' ') ADVANCE(210); |
1761 | + lookahead != '\r') ADVANCE(220); |
1762 | END_STATE(); |
1763 | case 206: |
1764 | - ACCEPT_TOKEN(aux_sym_filename_token1); |
1765 | - if (lookahead == 'i') ADVANCE(205); |
1766 | + ACCEPT_TOKEN(sym_context); |
1767 | + if (lookahead == 'm') ADVANCE(202); |
1768 | if (lookahead != 0 && |
1769 | - lookahead != '\t' && |
1770 | lookahead != '\n' && |
1771 | - lookahead != '\r' && |
1772 | - lookahead != ' ') ADVANCE(210); |
1773 | + lookahead != '\r') ADVANCE(220); |
1774 | END_STATE(); |
1775 | case 207: |
1776 | - ACCEPT_TOKEN(aux_sym_filename_token1); |
1777 | - if (lookahead == 'n') ADVANCE(202); |
1778 | + ACCEPT_TOKEN(sym_context); |
1779 | + if (lookahead == 'm') ADVANCE(191); |
1780 | if (lookahead != 0 && |
1781 | - lookahead != '\t' && |
1782 | lookahead != '\n' && |
1783 | - lookahead != '\r' && |
1784 | - lookahead != ' ') ADVANCE(210); |
1785 | + lookahead != '\r') ADVANCE(220); |
1786 | END_STATE(); |
1787 | case 208: |
1788 | - ACCEPT_TOKEN(aux_sym_filename_token1); |
1789 | - if (lookahead == 'r') ADVANCE(104); |
1790 | + ACCEPT_TOKEN(sym_context); |
1791 | + if (lookahead == 'n') ADVANCE(190); |
1792 | if (lookahead != 0 && |
1793 | - lookahead != '\t' && |
1794 | lookahead != '\n' && |
1795 | - lookahead != '\r' && |
1796 | - lookahead != ' ') ADVANCE(210); |
1797 | + lookahead != '\r') ADVANCE(220); |
1798 | END_STATE(); |
1799 | case 209: |
1800 | - ACCEPT_TOKEN(aux_sym_filename_token1); |
1801 | - if (lookahead == 11 || |
1802 | - lookahead == '\f') ADVANCE(209); |
1803 | + ACCEPT_TOKEN(sym_context); |
1804 | + if (lookahead == 'n') ADVANCE(186); |
1805 | if (lookahead != 0 && |
1806 | - (lookahead < '\t' || '\r' < lookahead) && |
1807 | - lookahead != ' ') ADVANCE(210); |
1808 | + lookahead != '\n' && |
1809 | + lookahead != '\r') ADVANCE(220); |
1810 | END_STATE(); |
1811 | case 210: |
1812 | - ACCEPT_TOKEN(aux_sym_filename_token1); |
1813 | + ACCEPT_TOKEN(sym_context); |
1814 | + if (lookahead == 'n') ADVANCE(187); |
1815 | if (lookahead != 0 && |
1816 | - lookahead != '\t' && |
1817 | lookahead != '\n' && |
1818 | - lookahead != '\r' && |
1819 | - lookahead != ' ') ADVANCE(210); |
1820 | + lookahead != '\r') ADVANCE(220); |
1821 | END_STATE(); |
1822 | case 211: |
1823 | - ACCEPT_TOKEN(sym_commit); |
1824 | + ACCEPT_TOKEN(sym_context); |
1825 | + if (lookahead == 'r') ADVANCE(217); |
1826 | + if (lookahead != 0 && |
1827 | + lookahead != '\n' && |
1828 | + lookahead != '\r') ADVANCE(220); |
1829 | END_STATE(); |
1830 | case 212: |
1831 | - ACCEPT_TOKEN(sym_commit); |
1832 | - if (('0' <= lookahead && lookahead <= '9') || |
1833 | - ('a' <= lookahead && lookahead <= 'f')) ADVANCE(211); |
1834 | + ACCEPT_TOKEN(sym_context); |
1835 | + if (lookahead == 'r') ADVANCE(203); |
1836 | + if (lookahead != 0 && |
1837 | + lookahead != '\n' && |
1838 | + lookahead != '\r') ADVANCE(220); |
1839 | END_STATE(); |
1840 | case 213: |
1841 | - ACCEPT_TOKEN(sym_commit); |
1842 | - if (('0' <= lookahead && lookahead <= '9') || |
1843 | - ('a' <= lookahead && lookahead <= 'f')) ADVANCE(212); |
1844 | + ACCEPT_TOKEN(sym_context); |
1845 | + if (lookahead == 't') ADVANCE(218); |
1846 | + if (lookahead != 0 && |
1847 | + lookahead != '\n' && |
1848 | + lookahead != '\r') ADVANCE(220); |
1849 | END_STATE(); |
1850 | case 214: |
1851 | - ACCEPT_TOKEN(sym_commit); |
1852 | - if (('0' <= lookahead && lookahead <= '9') || |
1853 | - ('a' <= lookahead && lookahead <= 'f')) ADVANCE(213); |
1854 | + ACCEPT_TOKEN(sym_context); |
1855 | + if (lookahead == 't') ADVANCE(196); |
1856 | + if (lookahead != 0 && |
1857 | + lookahead != '\n' && |
1858 | + lookahead != '\r') ADVANCE(220); |
1859 | END_STATE(); |
1860 | case 215: |
1861 | - ACCEPT_TOKEN(sym_commit); |
1862 | - if (('0' <= lookahead && lookahead <= '9') || |
1863 | - ('a' <= lookahead && lookahead <= 'f')) ADVANCE(214); |
1864 | + ACCEPT_TOKEN(sym_context); |
1865 | + if (lookahead == 'w') ADVANCE(98); |
1866 | + if (lookahead != 0 && |
1867 | + lookahead != '\n' && |
1868 | + lookahead != '\r') ADVANCE(220); |
1869 | END_STATE(); |
1870 | case 216: |
1871 | - ACCEPT_TOKEN(sym_commit); |
1872 | - if (('0' <= lookahead && lookahead <= '9') || |
1873 | - ('a' <= lookahead && lookahead <= 'f')) ADVANCE(215); |
1874 | + ACCEPT_TOKEN(sym_context); |
1875 | + if (lookahead == 'x') ADVANCE(114); |
1876 | + if (lookahead != 0 && |
1877 | + lookahead != '\n' && |
1878 | + lookahead != '\r') ADVANCE(220); |
1879 | END_STATE(); |
1880 | case 217: |
1881 | - ACCEPT_TOKEN(sym_commit); |
1882 | - if (('0' <= lookahead && lookahead <= '9') || |
1883 | - ('a' <= lookahead && lookahead <= 'f')) ADVANCE(216); |
1884 | + ACCEPT_TOKEN(sym_context); |
1885 | + if (lookahead == 'y') ADVANCE(106); |
1886 | + if (lookahead != 0 && |
1887 | + lookahead != '\n' && |
1888 | + lookahead != '\r') ADVANCE(220); |
1889 | END_STATE(); |
1890 | case 218: |
1891 | - ACCEPT_TOKEN(sym_commit); |
1892 | - if (('0' <= lookahead && lookahead <= '9') || |
1893 | - ('a' <= lookahead && lookahead <= 'f')) ADVANCE(217); |
1894 | + ACCEPT_TOKEN(sym_context); |
1895 | + if (lookahead == 'y') ADVANCE(118); |
1896 | + if (lookahead != 0 && |
1897 | + lookahead != '\n' && |
1898 | + lookahead != '\r') ADVANCE(220); |
1899 | END_STATE(); |
1900 | case 219: |
1901 | - ACCEPT_TOKEN(sym_commit); |
1902 | - if (('0' <= lookahead && lookahead <= '9') || |
1903 | - ('a' <= lookahead && lookahead <= 'f')) ADVANCE(218); |
1904 | + ACCEPT_TOKEN(sym_context); |
1905 | + if (lookahead == '\t' || |
1906 | + lookahead == 11 || |
1907 | + lookahead == '\f' || |
1908 | + lookahead == ' ') ADVANCE(219); |
1909 | + if (lookahead != 0 && |
1910 | + (lookahead < '\n' || '\r' < lookahead)) ADVANCE(220); |
1911 | END_STATE(); |
1912 | case 220: |
1913 | - ACCEPT_TOKEN(sym_commit); |
1914 | - if (('0' <= lookahead && lookahead <= '9') || |
1915 | - ('a' <= lookahead && lookahead <= 'f')) ADVANCE(219); |
1916 | + ACCEPT_TOKEN(sym_context); |
1917 | + if (lookahead != 0 && |
1918 | + lookahead != '\n' && |
1919 | + lookahead != '\r') ADVANCE(220); |
1920 | END_STATE(); |
1921 | case 221: |
1922 | - ACCEPT_TOKEN(sym_commit); |
1923 | - if (('0' <= lookahead && lookahead <= '9') || |
1924 | - ('a' <= lookahead && lookahead <= 'f')) ADVANCE(220); |
1925 | + ACCEPT_TOKEN(sym_linerange); |
1926 | + if (lookahead == ',') ADVANCE(78); |
1927 | + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(221); |
1928 | END_STATE(); |
1929 | case 222: |
1930 | - ACCEPT_TOKEN(sym_commit); |
1931 | - if (('0' <= lookahead && lookahead <= '9') || |
1932 | - ('a' <= lookahead && lookahead <= 'f')) ADVANCE(221); |
1933 | + ACCEPT_TOKEN(sym_linerange); |
1934 | + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(222); |
1935 | END_STATE(); |
1936 | case 223: |
1937 | - ACCEPT_TOKEN(sym_commit); |
1938 | - if (('0' <= lookahead && lookahead <= '9') || |
1939 | - ('a' <= lookahead && lookahead <= 'f')) ADVANCE(222); |
1940 | + ACCEPT_TOKEN(aux_sym_filename_token1); |
1941 | + if (lookahead == '+') ADVANCE(128); |
1942 | + if (lookahead != 0 && |
1943 | + lookahead != '\t' && |
1944 | + lookahead != '\n' && |
1945 | + lookahead != '\r' && |
1946 | + lookahead != ' ') ADVANCE(270); |
1947 | END_STATE(); |
1948 | case 224: |
1949 | - ACCEPT_TOKEN(sym_commit); |
1950 | - if (('0' <= lookahead && lookahead <= '9') || |
1951 | - ('a' <= lookahead && lookahead <= 'f')) ADVANCE(223); |
1952 | + ACCEPT_TOKEN(aux_sym_filename_token1); |
1953 | + if (lookahead == '-') ADVANCE(125); |
1954 | + if (lookahead != 0 && |
1955 | + lookahead != '\t' && |
1956 | + lookahead != '\n' && |
1957 | + lookahead != '\r' && |
1958 | + lookahead != ' ') ADVANCE(270); |
1959 | END_STATE(); |
1960 | case 225: |
1961 | - ACCEPT_TOKEN(sym_commit); |
1962 | - if (('0' <= lookahead && lookahead <= '9') || |
1963 | - ('a' <= lookahead && lookahead <= 'f')) ADVANCE(224); |
1964 | + ACCEPT_TOKEN(aux_sym_filename_token1); |
1965 | + if (lookahead == '@') ADVANCE(131); |
1966 | + if (lookahead != 0 && |
1967 | + lookahead != '\t' && |
1968 | + lookahead != '\n' && |
1969 | + lookahead != '\r' && |
1970 | + lookahead != ' ') ADVANCE(270); |
1971 | END_STATE(); |
1972 | case 226: |
1973 | - ACCEPT_TOKEN(sym_commit); |
1974 | - if (('0' <= lookahead && lookahead <= '9') || |
1975 | - ('a' <= lookahead && lookahead <= 'f')) ADVANCE(225); |
1976 | + ACCEPT_TOKEN(aux_sym_filename_token1); |
1977 | + if (lookahead == 'a') ADVANCE(259); |
1978 | + if (lookahead != 0 && |
1979 | + lookahead != '\t' && |
1980 | + lookahead != '\n' && |
1981 | + lookahead != '\r' && |
1982 | + lookahead != ' ') ADVANCE(270); |
1983 | END_STATE(); |
1984 | case 227: |
1985 | - ACCEPT_TOKEN(sym_commit); |
1986 | - if (('0' <= lookahead && lookahead <= '9') || |
1987 | - ('a' <= lookahead && lookahead <= 'f')) ADVANCE(226); |
1988 | + ACCEPT_TOKEN(aux_sym_filename_token1); |
1989 | + if (lookahead == 'a') ADVANCE(254); |
1990 | + if (lookahead != 0 && |
1991 | + lookahead != '\t' && |
1992 | + lookahead != '\n' && |
1993 | + lookahead != '\r' && |
1994 | + lookahead != ' ') ADVANCE(270); |
1995 | END_STATE(); |
1996 | case 228: |
1997 | - ACCEPT_TOKEN(sym_commit); |
1998 | - if (('0' <= lookahead && lookahead <= '9') || |
1999 | - ('a' <= lookahead && lookahead <= 'f')) ADVANCE(227); |
2000 | + ACCEPT_TOKEN(aux_sym_filename_token1); |
2001 | + if (lookahead == 'a') ADVANCE(261); |
2002 | + if (lookahead != 0 && |
2003 | + lookahead != '\t' && |
2004 | + lookahead != '\n' && |
2005 | + lookahead != '\r' && |
2006 | + lookahead != ' ') ADVANCE(270); |
2007 | END_STATE(); |
2008 | case 229: |
2009 | - ACCEPT_TOKEN(sym_commit); |
2010 | - if (('0' <= lookahead && lookahead <= '9') || |
2011 | - ('a' <= lookahead && lookahead <= 'f')) ADVANCE(228); |
2012 | + ACCEPT_TOKEN(aux_sym_filename_token1); |
2013 | + if (lookahead == 'a') ADVANCE(258); |
2014 | + if (lookahead == 11 || |
2015 | + lookahead == '\f') ADVANCE(229); |
2016 | + if (lookahead != 0 && |
2017 | + (lookahead < '\t' || '\r' < lookahead) && |
2018 | + lookahead != ' ') ADVANCE(270); |
2019 | END_STATE(); |
2020 | case 230: |
2021 | - ACCEPT_TOKEN(sym_commit); |
2022 | - if (('0' <= lookahead && lookahead <= '9') || |
2023 | - ('a' <= lookahead && lookahead <= 'f')) ADVANCE(229); |
2024 | + ACCEPT_TOKEN(aux_sym_filename_token1); |
2025 | + if (lookahead == 'd') ADVANCE(99); |
2026 | + if (lookahead != 0 && |
2027 | + lookahead != '\t' && |
2028 | + lookahead != '\n' && |
2029 | + lookahead != '\r' && |
2030 | + lookahead != ' ') ADVANCE(270); |
2031 | END_STATE(); |
2032 | case 231: |
2033 | - ACCEPT_TOKEN(sym_commit); |
2034 | - if (('0' <= lookahead && lookahead <= '9') || |
2035 | - ('a' <= lookahead && lookahead <= 'f')) ADVANCE(230); |
2036 | + ACCEPT_TOKEN(aux_sym_filename_token1); |
2037 | + if (lookahead == 'd') ADVANCE(111); |
2038 | + if (lookahead != 0 && |
2039 | + lookahead != '\t' && |
2040 | + lookahead != '\n' && |
2041 | + lookahead != '\r' && |
2042 | + lookahead != ' ') ADVANCE(270); |
2043 | END_STATE(); |
2044 | case 232: |
2045 | - ACCEPT_TOKEN(sym_commit); |
2046 | - if (('0' <= lookahead && lookahead <= '9') || |
2047 | - ('a' <= lookahead && lookahead <= 'f')) ADVANCE(231); |
2048 | + ACCEPT_TOKEN(aux_sym_filename_token1); |
2049 | + if (lookahead == 'd') ADVANCE(238); |
2050 | + if (lookahead != 0 && |
2051 | + lookahead != '\t' && |
2052 | + lookahead != '\n' && |
2053 | + lookahead != '\r' && |
2054 | + lookahead != ' ') ADVANCE(270); |
2055 | END_STATE(); |
2056 | case 233: |
2057 | - ACCEPT_TOKEN(sym_commit); |
2058 | - if (('0' <= lookahead && lookahead <= '9') || |
2059 | - ('a' <= lookahead && lookahead <= 'f')) ADVANCE(232); |
2060 | + ACCEPT_TOKEN(aux_sym_filename_token1); |
2061 | + if (lookahead == 'd') ADVANCE(250); |
2062 | + if (lookahead == 11 || |
2063 | + lookahead == '\f') ADVANCE(233); |
2064 | + if (lookahead != 0 && |
2065 | + (lookahead < '\t' || '\r' < lookahead) && |
2066 | + lookahead != ' ') ADVANCE(270); |
2067 | END_STATE(); |
2068 | case 234: |
2069 | - ACCEPT_TOKEN(sym_commit); |
2070 | - if (('0' <= lookahead && lookahead <= '9') || |
2071 | - ('a' <= lookahead && lookahead <= 'f')) ADVANCE(233); |
2072 | + ACCEPT_TOKEN(aux_sym_filename_token1); |
2073 | + if (lookahead == 'e') ADVANCE(251); |
2074 | + if (lookahead == 'i') ADVANCE(243); |
2075 | + if (lookahead != 0 && |
2076 | + lookahead != '\t' && |
2077 | + lookahead != '\n' && |
2078 | + lookahead != '\r' && |
2079 | + lookahead != ' ') ADVANCE(270); |
2080 | END_STATE(); |
2081 | case 235: |
2082 | - ACCEPT_TOKEN(sym_commit); |
2083 | - if (('0' <= lookahead && lookahead <= '9') || |
2084 | - ('a' <= lookahead && lookahead <= 'f')) ADVANCE(234); |
2085 | + ACCEPT_TOKEN(aux_sym_filename_token1); |
2086 | + if (lookahead == 'e') ADVANCE(264); |
2087 | + if (lookahead != 0 && |
2088 | + lookahead != '\t' && |
2089 | + lookahead != '\n' && |
2090 | + lookahead != '\r' && |
2091 | + lookahead != ' ') ADVANCE(270); |
2092 | END_STATE(); |
2093 | case 236: |
2094 | - ACCEPT_TOKEN(sym_commit); |
2095 | - if (('0' <= lookahead && lookahead <= '9') || |
2096 | - ('a' <= lookahead && lookahead <= 'f')) ADVANCE(235); |
2097 | + ACCEPT_TOKEN(aux_sym_filename_token1); |
2098 | + if (lookahead == 'e') ADVANCE(99); |
2099 | + if (lookahead != 0 && |
2100 | + lookahead != '\t' && |
2101 | + lookahead != '\n' && |
2102 | + lookahead != '\r' && |
2103 | + lookahead != ' ') ADVANCE(270); |
2104 | END_STATE(); |
2105 | case 237: |
2106 | - ACCEPT_TOKEN(sym_commit); |
2107 | - if (('0' <= lookahead && lookahead <= '9') || |
2108 | - ('a' <= lookahead && lookahead <= 'f')) ADVANCE(236); |
2109 | + ACCEPT_TOKEN(aux_sym_filename_token1); |
2110 | + if (lookahead == 'e') ADVANCE(263); |
2111 | + if (lookahead != 0 && |
2112 | + lookahead != '\t' && |
2113 | + lookahead != '\n' && |
2114 | + lookahead != '\r' && |
2115 | + lookahead != ' ') ADVANCE(270); |
2116 | END_STATE(); |
2117 | case 238: |
2118 | - ACCEPT_TOKEN(sym_commit); |
2119 | - if (('0' <= lookahead && lookahead <= '9') || |
2120 | - ('a' <= lookahead && lookahead <= 'f')) ADVANCE(237); |
2121 | + ACCEPT_TOKEN(aux_sym_filename_token1); |
2122 | + if (lookahead == 'e') ADVANCE(265); |
2123 | + if (lookahead != 0 && |
2124 | + lookahead != '\t' && |
2125 | + lookahead != '\n' && |
2126 | + lookahead != '\r' && |
2127 | + lookahead != ' ') ADVANCE(270); |
2128 | END_STATE(); |
2129 | case 239: |
2130 | - ACCEPT_TOKEN(sym_commit); |
2131 | - if (('0' <= lookahead && lookahead <= '9') || |
2132 | - ('a' <= lookahead && lookahead <= 'f')) ADVANCE(238); |
2133 | + ACCEPT_TOKEN(aux_sym_filename_token1); |
2134 | + if (lookahead == 'e') ADVANCE(230); |
2135 | + if (lookahead != 0 && |
2136 | + lookahead != '\t' && |
2137 | + lookahead != '\n' && |
2138 | + lookahead != '\r' && |
2139 | + lookahead != ' ') ADVANCE(270); |
2140 | END_STATE(); |
2141 | case 240: |
2142 | - ACCEPT_TOKEN(sym_commit); |
2143 | - if (('0' <= lookahead && lookahead <= '9') || |
2144 | - ('a' <= lookahead && lookahead <= 'f')) ADVANCE(239); |
2145 | + ACCEPT_TOKEN(aux_sym_filename_token1); |
2146 | + if (lookahead == 'e') ADVANCE(257); |
2147 | + if (lookahead != 0 && |
2148 | + lookahead != '\t' && |
2149 | + lookahead != '\n' && |
2150 | + lookahead != '\r' && |
2151 | + lookahead != ' ') ADVANCE(270); |
2152 | END_STATE(); |
2153 | case 241: |
2154 | - ACCEPT_TOKEN(sym_commit); |
2155 | - if (('0' <= lookahead && lookahead <= '9') || |
2156 | - ('a' <= lookahead && lookahead <= 'f')) ADVANCE(240); |
2157 | + ACCEPT_TOKEN(aux_sym_filename_token1); |
2158 | + if (lookahead == 'e') ADVANCE(260); |
2159 | + if (lookahead != 0 && |
2160 | + lookahead != '\t' && |
2161 | + lookahead != '\n' && |
2162 | + lookahead != '\r' && |
2163 | + lookahead != ' ') ADVANCE(270); |
2164 | END_STATE(); |
2165 | case 242: |
2166 | - ACCEPT_TOKEN(sym_commit); |
2167 | - if (('0' <= lookahead && lookahead <= '9') || |
2168 | - ('a' <= lookahead && lookahead <= 'f')) ADVANCE(241); |
2169 | + ACCEPT_TOKEN(aux_sym_filename_token1); |
2170 | + if (lookahead == 'f') ADVANCE(95); |
2171 | + if (lookahead != 0 && |
2172 | + lookahead != '\t' && |
2173 | + lookahead != '\n' && |
2174 | + lookahead != '\r' && |
2175 | + lookahead != ' ') ADVANCE(270); |
2176 | END_STATE(); |
2177 | case 243: |
2178 | - ACCEPT_TOKEN(sym_commit); |
2179 | - if (('0' <= lookahead && lookahead <= '9') || |
2180 | - ('a' <= lookahead && lookahead <= 'f')) ADVANCE(242); |
2181 | + ACCEPT_TOKEN(aux_sym_filename_token1); |
2182 | + if (lookahead == 'f') ADVANCE(242); |
2183 | + if (lookahead != 0 && |
2184 | + lookahead != '\t' && |
2185 | + lookahead != '\n' && |
2186 | + lookahead != '\r' && |
2187 | + lookahead != ' ') ADVANCE(270); |
2188 | END_STATE(); |
2189 | case 244: |
2190 | - ACCEPT_TOKEN(sym_commit); |
2191 | - if (('0' <= lookahead && lookahead <= '9') || |
2192 | - ('a' <= lookahead && lookahead <= 'f')) ADVANCE(243); |
2193 | + ACCEPT_TOKEN(aux_sym_filename_token1); |
2194 | + if (lookahead == 'f') ADVANCE(245); |
2195 | + if (lookahead != 0 && |
2196 | + lookahead != '\t' && |
2197 | + lookahead != '\n' && |
2198 | + lookahead != '\r' && |
2199 | + lookahead != ' ') ADVANCE(270); |
2200 | END_STATE(); |
2201 | - default: |
2202 | - return false; |
2203 | - } |
2204 | - } |
2205 | - |
2206 | - static const TSLexMode ts_lex_modes[STATE_COUNT] = { |
2207 | - [0] = {.lex_state = 0}, |
2208 | - [1] = {.lex_state = 87}, |
2209 | - [2] = {.lex_state = 87}, |
2210 | - [3] = {.lex_state = 87}, |
2211 | - [4] = {.lex_state = 87}, |
2212 | - [5] = {.lex_state = 3}, |
2213 | - [6] = {.lex_state = 17}, |
2214 | - [7] = {.lex_state = 17}, |
2215 | - [8] = {.lex_state = 12}, |
2216 | - [9] = {.lex_state = 12}, |
2217 | - [10] = {.lex_state = 2}, |
2218 | - [11] = {.lex_state = 3}, |
2219 | - [12] = {.lex_state = 2}, |
2220 | - [13] = {.lex_state = 3}, |
2221 | - [14] = {.lex_state = 3}, |
2222 | - [15] = {.lex_state = 3}, |
2223 | - [16] = {.lex_state = 3}, |
2224 | - [17] = {.lex_state = 3}, |
2225 | - [18] = {.lex_state = 3}, |
2226 | - [19] = {.lex_state = 4}, |
2227 | - [20] = {.lex_state = 4}, |
2228 | - [21] = {.lex_state = 4}, |
2229 | - [22] = {.lex_state = 2}, |
2230 | - [23] = {.lex_state = 2}, |
2231 | - [24] = {.lex_state = 2}, |
2232 | - [25] = {.lex_state = 0}, |
2233 | - [26] = {.lex_state = 0}, |
2234 | - [27] = {.lex_state = 0}, |
2235 | - [28] = {.lex_state = 0}, |
2236 | - [29] = {.lex_state = 0}, |
2237 | - [30] = {.lex_state = 2}, |
2238 | - [31] = {.lex_state = 0}, |
2239 | - [32] = {.lex_state = 0}, |
2240 | - [33] = {.lex_state = 36}, |
2241 | - [34] = {.lex_state = 0}, |
2242 | - [35] = {.lex_state = 0}, |
2243 | - [36] = {.lex_state = 2}, |
2244 | - [37] = {.lex_state = 0}, |
2245 | - [38] = {.lex_state = 0}, |
2246 | - [39] = {.lex_state = 0}, |
2247 | - [40] = {.lex_state = 0}, |
2248 | - [41] = {.lex_state = 0}, |
2249 | - [42] = {.lex_state = 0}, |
2250 | - [43] = {.lex_state = 2}, |
2251 | - [44] = {.lex_state = 0}, |
2252 | - [45] = {.lex_state = 0}, |
2253 | - [46] = {.lex_state = 0}, |
2254 | - [47] = {.lex_state = 2}, |
2255 | - [48] = {.lex_state = 2}, |
2256 | - [49] = {.lex_state = 36}, |
2257 | - [50] = {.lex_state = 36}, |
2258 | - }; |
2259 | - |
2260 | - static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { |
2261 | - [0] = { |
2262 | - [ts_builtin_sym_end] = ACTIONS(1), |
2263 | - [aux_sym_source_token1] = ACTIONS(1), |
2264 | - [anon_sym_diff] = ACTIONS(1), |
2265 | - [aux_sym_file_change_token1] = ACTIONS(1), |
2266 | - [anon_sym_file] = ACTIONS(1), |
2267 | - [anon_sym_mode] = ACTIONS(1), |
2268 | - [anon_sym_from] = ACTIONS(1), |
2269 | - [anon_sym_to] = ACTIONS(1), |
2270 | - [anon_sym_Binary] = ACTIONS(1), |
2271 | - [anon_sym_files] = ACTIONS(1), |
2272 | - [anon_sym_and] = ACTIONS(1), |
2273 | - [anon_sym_differ] = ACTIONS(1), |
2274 | - [anon_sym_index] = ACTIONS(1), |
2275 | - [anon_sym_DOT_DOT] = ACTIONS(1), |
2276 | - [anon_sym_similarity] = ACTIONS(1), |
2277 | - [anon_sym_index2] = ACTIONS(1), |
2278 | - [aux_sym_similarity_token1] = ACTIONS(1), |
2279 | - [anon_sym_PERCENT] = ACTIONS(1), |
2280 | - [anon_sym_DASH_DASH_DASH] = ACTIONS(1), |
2281 | - [anon_sym_PLUS_PLUS_PLUS] = ACTIONS(1), |
2282 | - [anon_sym_AT_AT] = ACTIONS(1), |
2283 | - [anon_sym_AT_AT2] = ACTIONS(1), |
2284 | - [anon_sym_PLUS] = ACTIONS(1), |
2285 | - [anon_sym_DASH] = ACTIONS(1), |
2286 | - [sym_commit] = ACTIONS(1), |
2287 | - }, |
2288 | - [1] = { |
2289 | - [sym_source] = STATE(42), |
2290 | - [sym__line] = STATE(40), |
2291 | - [sym_command] = STATE(40), |
2292 | - [sym_file_change] = STATE(40), |
2293 | - [sym_binary_change] = STATE(40), |
2294 | - [sym_index] = STATE(40), |
2295 | - [sym_similarity] = STATE(40), |
2296 | - [sym_old_file] = STATE(40), |
2297 | - [sym_new_file] = STATE(40), |
2298 | - [sym_location] = STATE(40), |
2299 | - [sym_addition] = STATE(40), |
2300 | - [sym_deletion] = STATE(40), |
2301 | - [aux_sym_source_repeat1] = STATE(2), |
2302 | - [ts_builtin_sym_end] = ACTIONS(3), |
2303 | - [anon_sym_diff] = ACTIONS(5), |
2304 | - [aux_sym_file_change_token1] = ACTIONS(7), |
2305 | - [anon_sym_Binary] = ACTIONS(9), |
2306 | - [anon_sym_index] = ACTIONS(11), |
2307 | - [anon_sym_similarity] = ACTIONS(13), |
2308 | - [anon_sym_DASH_DASH_DASH] = ACTIONS(15), |
2309 | - [anon_sym_PLUS_PLUS_PLUS] = ACTIONS(17), |
2310 | - [anon_sym_AT_AT] = ACTIONS(19), |
2311 | - [anon_sym_PLUS] = ACTIONS(21), |
2312 | - [anon_sym_DASH] = ACTIONS(23), |
2313 | - [sym_context] = ACTIONS(25), |
2314 | - }, |
2315 | - [2] = { |
2316 | - [sym__line] = STATE(40), |
2317 | - [sym_command] = STATE(40), |
2318 | - [sym_file_change] = STATE(40), |
2319 | - [sym_binary_change] = STATE(40), |
2320 | - [sym_index] = STATE(40), |
2321 | - [sym_similarity] = STATE(40), |
2322 | - [sym_old_file] = STATE(40), |
2323 | - [sym_new_file] = STATE(40), |
2324 | - [sym_location] = STATE(40), |
2325 | - [sym_addition] = STATE(40), |
2326 | - [sym_deletion] = STATE(40), |
2327 | - [aux_sym_source_repeat1] = STATE(3), |
2328 | - [ts_builtin_sym_end] = ACTIONS(27), |
2329 | - [anon_sym_diff] = ACTIONS(5), |
2330 | - [aux_sym_file_change_token1] = ACTIONS(7), |
2331 | - [anon_sym_Binary] = ACTIONS(9), |
2332 | - [anon_sym_index] = ACTIONS(11), |
2333 | - [anon_sym_similarity] = ACTIONS(13), |
2334 | - [anon_sym_DASH_DASH_DASH] = ACTIONS(15), |
2335 | - [anon_sym_PLUS_PLUS_PLUS] = ACTIONS(17), |
2336 | - [anon_sym_AT_AT] = ACTIONS(19), |
2337 | - [anon_sym_PLUS] = ACTIONS(21), |
2338 | - [anon_sym_DASH] = ACTIONS(23), |
2339 | - [sym_context] = ACTIONS(25), |
2340 | - }, |
2341 | - [3] = { |
2342 | - [sym__line] = STATE(40), |
2343 | - [sym_command] = STATE(40), |
2344 | - [sym_file_change] = STATE(40), |
2345 | - [sym_binary_change] = STATE(40), |
2346 | - [sym_index] = STATE(40), |
2347 | - [sym_similarity] = STATE(40), |
2348 | - [sym_old_file] = STATE(40), |
2349 | - [sym_new_file] = STATE(40), |
2350 | - [sym_location] = STATE(40), |
2351 | - [sym_addition] = STATE(40), |
2352 | - [sym_deletion] = STATE(40), |
2353 | - [aux_sym_source_repeat1] = STATE(3), |
2354 | - [ts_builtin_sym_end] = ACTIONS(29), |
2355 | - [anon_sym_diff] = ACTIONS(31), |
2356 | - [aux_sym_file_change_token1] = ACTIONS(34), |
2357 | - [anon_sym_Binary] = ACTIONS(37), |
2358 | - [anon_sym_index] = ACTIONS(40), |
2359 | - [anon_sym_similarity] = ACTIONS(43), |
2360 | - [anon_sym_DASH_DASH_DASH] = ACTIONS(46), |
2361 | - [anon_sym_PLUS_PLUS_PLUS] = ACTIONS(49), |
2362 | - [anon_sym_AT_AT] = ACTIONS(52), |
2363 | - [anon_sym_PLUS] = ACTIONS(55), |
2364 | - [anon_sym_DASH] = ACTIONS(58), |
2365 | - [sym_context] = ACTIONS(61), |
2366 | - }, |
2367 | - }; |
2368 | - |
2369 | - static const uint16_t ts_small_parse_table[] = { |
2370 | - [0] = 2, |
2371 | - ACTIONS(64), 3, |
2372 | - anon_sym_PLUS, |
2373 | - anon_sym_DASH, |
2374 | - sym_context, |
2375 | - ACTIONS(29), 9, |
2376 | - ts_builtin_sym_end, |
2377 | - anon_sym_diff, |
2378 | - aux_sym_file_change_token1, |
2379 | - anon_sym_Binary, |
2380 | - anon_sym_index, |
2381 | - anon_sym_similarity, |
2382 | - anon_sym_DASH_DASH_DASH, |
2383 | - anon_sym_PLUS_PLUS_PLUS, |
2384 | - anon_sym_AT_AT, |
2385 | - [17] = 3, |
2386 | - ACTIONS(66), 1, |
2387 | - aux_sym_filename_token1, |
2388 | - STATE(18), 1, |
2389 | - aux_sym_filename_repeat1, |
2390 | - STATE(29), 1, |
2391 | - sym_filename, |
2392 | - [27] = 3, |
2393 | - ACTIONS(68), 1, |
2394 | - anon_sym_differ, |
2395 | - ACTIONS(70), 1, |
2396 | - aux_sym_filename_token1, |
2397 | - STATE(6), 1, |
2398 | - aux_sym_filename_repeat1, |
2399 | - [37] = 3, |
2400 | - ACTIONS(73), 1, |
2401 | - anon_sym_differ, |
2402 | - ACTIONS(75), 1, |
2403 | - aux_sym_filename_token1, |
2404 | - STATE(6), 1, |
2405 | - aux_sym_filename_repeat1, |
2406 | - [47] = 3, |
2407 | - ACTIONS(68), 1, |
2408 | - anon_sym_and, |
2409 | - ACTIONS(77), 1, |
2410 | - aux_sym_filename_token1, |
2411 | - STATE(8), 1, |
2412 | - aux_sym_filename_repeat1, |
2413 | - [57] = 3, |
2414 | - ACTIONS(73), 1, |
2415 | - anon_sym_and, |
2416 | - ACTIONS(80), 1, |
2417 | - aux_sym_filename_token1, |
2418 | - STATE(8), 1, |
2419 | - aux_sym_filename_repeat1, |
2420 | - [67] = 3, |
2421 | - ACTIONS(82), 1, |
2422 | - aux_sym_source_token1, |
2423 | - ACTIONS(84), 1, |
2424 | + case 245: |
2425 | + ACCEPT_TOKEN(aux_sym_filename_token1); |
2426 | + if (lookahead == 'f') ADVANCE(241); |
2427 | + if (lookahead != 0 && |
2428 | + lookahead != '\t' && |
2429 | + lookahead != '\n' && |
2430 | + lookahead != '\r' && |
2431 | + lookahead != ' ') ADVANCE(270); |
2432 | + END_STATE(); |
2433 | + case 246: |
2434 | + ACCEPT_TOKEN(aux_sym_filename_token1); |
2435 | + if (lookahead == 'i') ADVANCE(253); |
2436 | + if (lookahead != 0 && |
2437 | + lookahead != '\t' && |
2438 | + lookahead != '\n' && |
2439 | + lookahead != '\r' && |
2440 | + lookahead != ' ') ADVANCE(270); |
2441 | + END_STATE(); |
2442 | + case 247: |
2443 | + ACCEPT_TOKEN(aux_sym_filename_token1); |
2444 | + if (lookahead == 'i') ADVANCE(256); |
2445 | + if (lookahead != 0 && |
2446 | + lookahead != '\t' && |
2447 | + lookahead != '\n' && |
2448 | + lookahead != '\r' && |
2449 | + lookahead != ' ') ADVANCE(270); |
2450 | + END_STATE(); |
2451 | + case 248: |
2452 | + ACCEPT_TOKEN(aux_sym_filename_token1); |
2453 | + if (lookahead == 'i') ADVANCE(252); |
2454 | + if (lookahead != 0 && |
2455 | + lookahead != '\t' && |
2456 | + lookahead != '\n' && |
2457 | + lookahead != '\r' && |
2458 | + lookahead != ' ') ADVANCE(270); |
2459 | + END_STATE(); |
2460 | + case 249: |
2461 | + ACCEPT_TOKEN(aux_sym_filename_token1); |
2462 | + if (lookahead == 'i') ADVANCE(262); |
2463 | + if (lookahead != 0 && |
2464 | + lookahead != '\t' && |
2465 | + lookahead != '\n' && |
2466 | + lookahead != '\r' && |
2467 | + lookahead != ' ') ADVANCE(270); |
2468 | + END_STATE(); |
2469 | + case 250: |
2470 | + ACCEPT_TOKEN(aux_sym_filename_token1); |
2471 | + if (lookahead == 'i') ADVANCE(244); |
2472 | + if (lookahead != 0 && |
2473 | + lookahead != '\t' && |
2474 | + lookahead != '\n' && |
2475 | + lookahead != '\r' && |
2476 | + lookahead != ' ') ADVANCE(270); |
2477 | + END_STATE(); |
2478 | + case 251: |
2479 | + ACCEPT_TOKEN(aux_sym_filename_token1); |
2480 | + if (lookahead == 'l') ADVANCE(237); |
2481 | + if (lookahead != 0 && |
2482 | + lookahead != '\t' && |
2483 | + lookahead != '\n' && |
2484 | + lookahead != '\r' && |
2485 | + lookahead != ' ') ADVANCE(270); |
2486 | + END_STATE(); |
2487 | + case 252: |
2488 | + ACCEPT_TOKEN(aux_sym_filename_token1); |
2489 | + if (lookahead == 'l') ADVANCE(228); |
2490 | + if (lookahead != 0 && |
2491 | + lookahead != '\t' && |
2492 | + lookahead != '\n' && |
2493 | + lookahead != '\r' && |
2494 | + lookahead != ' ') ADVANCE(270); |
2495 | + END_STATE(); |
2496 | + case 253: |
2497 | + ACCEPT_TOKEN(aux_sym_filename_token1); |
2498 | + if (lookahead == 'm') ADVANCE(248); |
2499 | + if (lookahead != 0 && |
2500 | + lookahead != '\t' && |
2501 | + lookahead != '\n' && |
2502 | + lookahead != '\r' && |
2503 | + lookahead != ' ') ADVANCE(270); |
2504 | + END_STATE(); |
2505 | + case 254: |
2506 | + ACCEPT_TOKEN(aux_sym_filename_token1); |
2507 | + if (lookahead == 'm') ADVANCE(236); |
2508 | + if (lookahead != 0 && |
2509 | + lookahead != '\t' && |
2510 | + lookahead != '\n' && |
2511 | + lookahead != '\r' && |
2512 | + lookahead != ' ') ADVANCE(270); |
2513 | + END_STATE(); |
2514 | + case 255: |
2515 | + ACCEPT_TOKEN(aux_sym_filename_token1); |
2516 | + if (lookahead == 'n') ADVANCE(232); |
2517 | + if (lookahead != 0 && |
2518 | + lookahead != '\t' && |
2519 | + lookahead != '\n' && |
2520 | + lookahead != '\r' && |
2521 | + lookahead != ' ') ADVANCE(270); |
2522 | + END_STATE(); |
2523 | + case 256: |
2524 | + ACCEPT_TOKEN(aux_sym_filename_token1); |
2525 | + if (lookahead == 'n') ADVANCE(226); |
2526 | + if (lookahead != 0 && |
2527 | + lookahead != '\t' && |
2528 | + lookahead != '\n' && |
2529 | + lookahead != '\r' && |
2530 | + lookahead != ' ') ADVANCE(270); |
2531 | + END_STATE(); |
2532 | + case 257: |
2533 | + ACCEPT_TOKEN(aux_sym_filename_token1); |
2534 | + if (lookahead == 'n') ADVANCE(227); |
2535 | + if (lookahead != 0 && |
2536 | + lookahead != '\t' && |
2537 | + lookahead != '\n' && |
2538 | + lookahead != '\r' && |
2539 | + lookahead != ' ') ADVANCE(270); |
2540 | + END_STATE(); |
2541 | + case 258: |
2542 | + ACCEPT_TOKEN(aux_sym_filename_token1); |
2543 | + if (lookahead == 'n') ADVANCE(231); |
2544 | + if (lookahead != 0 && |
2545 | + lookahead != '\t' && |
2546 | + lookahead != '\n' && |
2547 | + lookahead != '\r' && |
2548 | + lookahead != ' ') ADVANCE(270); |
2549 | + END_STATE(); |
2550 | + case 259: |
2551 | + ACCEPT_TOKEN(aux_sym_filename_token1); |
2552 | + if (lookahead == 'r') ADVANCE(266); |
2553 | + if (lookahead != 0 && |
2554 | + lookahead != '\t' && |
2555 | + lookahead != '\n' && |
2556 | + lookahead != '\r' && |
2557 | + lookahead != ' ') ADVANCE(270); |
2558 | + END_STATE(); |
2559 | + case 260: |
2560 | + ACCEPT_TOKEN(aux_sym_filename_token1); |
2561 | + if (lookahead == 'r') ADVANCE(113); |
2562 | + if (lookahead != 0 && |
2563 | + lookahead != '\t' && |
2564 | + lookahead != '\n' && |
2565 | + lookahead != '\r' && |
2566 | + lookahead != ' ') ADVANCE(270); |
2567 | + END_STATE(); |
2568 | + case 261: |
2569 | + ACCEPT_TOKEN(aux_sym_filename_token1); |
2570 | + if (lookahead == 'r') ADVANCE(249); |
2571 | + if (lookahead != 0 && |
2572 | + lookahead != '\t' && |
2573 | + lookahead != '\n' && |
2574 | + lookahead != '\r' && |
2575 | + lookahead != ' ') ADVANCE(270); |
2576 | + END_STATE(); |
2577 | + case 262: |
2578 | + ACCEPT_TOKEN(aux_sym_filename_token1); |
2579 | + if (lookahead == 't') ADVANCE(267); |
2580 | + if (lookahead != 0 && |
2581 | + lookahead != '\t' && |
2582 | + lookahead != '\n' && |
2583 | + lookahead != '\r' && |
2584 | + lookahead != ' ') ADVANCE(270); |
2585 | + END_STATE(); |
2586 | + case 263: |
2587 | + ACCEPT_TOKEN(aux_sym_filename_token1); |
2588 | + if (lookahead == 't') ADVANCE(239); |
2589 | + if (lookahead != 0 && |
2590 | + lookahead != '\t' && |
2591 | + lookahead != '\n' && |
2592 | + lookahead != '\r' && |
2593 | + lookahead != ' ') ADVANCE(270); |
2594 | + END_STATE(); |
2595 | + case 264: |
2596 | + ACCEPT_TOKEN(aux_sym_filename_token1); |
2597 | + if (lookahead == 'w') ADVANCE(99); |
2598 | + if (lookahead != 0 && |
2599 | + lookahead != '\t' && |
2600 | + lookahead != '\n' && |
2601 | + lookahead != '\r' && |
2602 | + lookahead != ' ') ADVANCE(270); |
2603 | + END_STATE(); |
2604 | + case 265: |
2605 | + ACCEPT_TOKEN(aux_sym_filename_token1); |
2606 | + if (lookahead == 'x') ADVANCE(115); |
2607 | + if (lookahead != 0 && |
2608 | + lookahead != '\t' && |
2609 | + lookahead != '\n' && |
2610 | + lookahead != '\r' && |
2611 | + lookahead != ' ') ADVANCE(270); |
2612 | + END_STATE(); |
2613 | + case 266: |
2614 | + ACCEPT_TOKEN(aux_sym_filename_token1); |
2615 | + if (lookahead == 'y') ADVANCE(107); |
2616 | + if (lookahead != 0 && |
2617 | + lookahead != '\t' && |
2618 | + lookahead != '\n' && |
2619 | + lookahead != '\r' && |
2620 | + lookahead != ' ') ADVANCE(270); |
2621 | + END_STATE(); |
2622 | + case 267: |
2623 | + ACCEPT_TOKEN(aux_sym_filename_token1); |
2624 | + if (lookahead == 'y') ADVANCE(119); |
2625 | + if (lookahead != 0 && |
2626 | + lookahead != '\t' && |
2627 | + lookahead != '\n' && |
2628 | + lookahead != '\r' && |
2629 | + lookahead != ' ') ADVANCE(270); |
2630 | + END_STATE(); |
2631 | + case 268: |
2632 | + ACCEPT_TOKEN(aux_sym_filename_token1); |
2633 | + if (lookahead == '\t' || |
2634 | + lookahead == ' ') ADVANCE(180); |
2635 | + if (lookahead == 11 || |
2636 | + lookahead == '\f') ADVANCE(268); |
2637 | + if (lookahead != 0 && |
2638 | + (lookahead < '\n' || '\r' < lookahead)) ADVANCE(270); |
2639 | + END_STATE(); |
2640 | + case 269: |
2641 | + ACCEPT_TOKEN(aux_sym_filename_token1); |
2642 | + if (lookahead == 11 || |
2643 | + lookahead == '\f') ADVANCE(269); |
2644 | + if (lookahead != 0 && |
2645 | + (lookahead < '\t' || '\r' < lookahead) && |
2646 | + lookahead != ' ') ADVANCE(270); |
2647 | + END_STATE(); |
2648 | + case 270: |
2649 | + ACCEPT_TOKEN(aux_sym_filename_token1); |
2650 | + if (lookahead != 0 && |
2651 | + lookahead != '\t' && |
2652 | + lookahead != '\n' && |
2653 | + lookahead != '\r' && |
2654 | + lookahead != ' ') ADVANCE(270); |
2655 | + END_STATE(); |
2656 | + case 271: |
2657 | + ACCEPT_TOKEN(sym_commit); |
2658 | + END_STATE(); |
2659 | + case 272: |
2660 | + ACCEPT_TOKEN(sym_commit); |
2661 | + if (('0' <= lookahead && lookahead <= '9') || |
2662 | + ('a' <= lookahead && lookahead <= 'f')) ADVANCE(271); |
2663 | + END_STATE(); |
2664 | + case 273: |
2665 | + ACCEPT_TOKEN(sym_commit); |
2666 | + if (('0' <= lookahead && lookahead <= '9') || |
2667 | + ('a' <= lookahead && lookahead <= 'f')) ADVANCE(272); |
2668 | + END_STATE(); |
2669 | + case 274: |
2670 | + ACCEPT_TOKEN(sym_commit); |
2671 | + if (('0' <= lookahead && lookahead <= '9') || |
2672 | + ('a' <= lookahead && lookahead <= 'f')) ADVANCE(273); |
2673 | + END_STATE(); |
2674 | + case 275: |
2675 | + ACCEPT_TOKEN(sym_commit); |
2676 | + if (('0' <= lookahead && lookahead <= '9') || |
2677 | + ('a' <= lookahead && lookahead <= 'f')) ADVANCE(274); |
2678 | + END_STATE(); |
2679 | + case 276: |
2680 | + ACCEPT_TOKEN(sym_commit); |
2681 | + if (('0' <= lookahead && lookahead <= '9') || |
2682 | + ('a' <= lookahead && lookahead <= 'f')) ADVANCE(275); |
2683 | + END_STATE(); |
2684 | + case 277: |
2685 | + ACCEPT_TOKEN(sym_commit); |
2686 | + if (('0' <= lookahead && lookahead <= '9') || |
2687 | + ('a' <= lookahead && lookahead <= 'f')) ADVANCE(276); |
2688 | + END_STATE(); |
2689 | + case 278: |
2690 | + ACCEPT_TOKEN(sym_commit); |
2691 | + if (('0' <= lookahead && lookahead <= '9') || |
2692 | + ('a' <= lookahead && lookahead <= 'f')) ADVANCE(277); |
2693 | + END_STATE(); |
2694 | + case 279: |
2695 | + ACCEPT_TOKEN(sym_commit); |
2696 | + if (('0' <= lookahead && lookahead <= '9') || |
2697 | + ('a' <= lookahead && lookahead <= 'f')) ADVANCE(278); |
2698 | + END_STATE(); |
2699 | + case 280: |
2700 | + ACCEPT_TOKEN(sym_commit); |
2701 | + if (('0' <= lookahead && lookahead <= '9') || |
2702 | + ('a' <= lookahead && lookahead <= 'f')) ADVANCE(279); |
2703 | + END_STATE(); |
2704 | + case 281: |
2705 | + ACCEPT_TOKEN(sym_commit); |
2706 | + if (('0' <= lookahead && lookahead <= '9') || |
2707 | + ('a' <= lookahead && lookahead <= 'f')) ADVANCE(280); |
2708 | + END_STATE(); |
2709 | + case 282: |
2710 | + ACCEPT_TOKEN(sym_commit); |
2711 | + if (('0' <= lookahead && lookahead <= '9') || |
2712 | + ('a' <= lookahead && lookahead <= 'f')) ADVANCE(281); |
2713 | + END_STATE(); |
2714 | + case 283: |
2715 | + ACCEPT_TOKEN(sym_commit); |
2716 | + if (('0' <= lookahead && lookahead <= '9') || |
2717 | + ('a' <= lookahead && lookahead <= 'f')) ADVANCE(282); |
2718 | + END_STATE(); |
2719 | + case 284: |
2720 | + ACCEPT_TOKEN(sym_commit); |
2721 | + if (('0' <= lookahead && lookahead <= '9') || |
2722 | + ('a' <= lookahead && lookahead <= 'f')) ADVANCE(283); |
2723 | + END_STATE(); |
2724 | + case 285: |
2725 | + ACCEPT_TOKEN(sym_commit); |
2726 | + if (('0' <= lookahead && lookahead <= '9') || |
2727 | + ('a' <= lookahead && lookahead <= 'f')) ADVANCE(284); |
2728 | + END_STATE(); |
2729 | + case 286: |
2730 | + ACCEPT_TOKEN(sym_commit); |
2731 | + if (('0' <= lookahead && lookahead <= '9') || |
2732 | + ('a' <= lookahead && lookahead <= 'f')) ADVANCE(285); |
2733 | + END_STATE(); |
2734 | + case 287: |
2735 | + ACCEPT_TOKEN(sym_commit); |
2736 | + if (('0' <= lookahead && lookahead <= '9') || |
2737 | + ('a' <= lookahead && lookahead <= 'f')) ADVANCE(286); |
2738 | + END_STATE(); |
2739 | + case 288: |
2740 | + ACCEPT_TOKEN(sym_commit); |
2741 | + if (('0' <= lookahead && lookahead <= '9') || |
2742 | + ('a' <= lookahead && lookahead <= 'f')) ADVANCE(287); |
2743 | + END_STATE(); |
2744 | + case 289: |
2745 | + ACCEPT_TOKEN(sym_commit); |
2746 | + if (('0' <= lookahead && lookahead <= '9') || |
2747 | + ('a' <= lookahead && lookahead <= 'f')) ADVANCE(288); |
2748 | + END_STATE(); |
2749 | + case 290: |
2750 | + ACCEPT_TOKEN(sym_commit); |
2751 | + if (('0' <= lookahead && lookahead <= '9') || |
2752 | + ('a' <= lookahead && lookahead <= 'f')) ADVANCE(289); |
2753 | + END_STATE(); |
2754 | + case 291: |
2755 | + ACCEPT_TOKEN(sym_commit); |
2756 | + if (('0' <= lookahead && lookahead <= '9') || |
2757 | + ('a' <= lookahead && lookahead <= 'f')) ADVANCE(290); |
2758 | + END_STATE(); |
2759 | + case 292: |
2760 | + ACCEPT_TOKEN(sym_commit); |
2761 | + if (('0' <= lookahead && lookahead <= '9') || |
2762 | + ('a' <= lookahead && lookahead <= 'f')) ADVANCE(291); |
2763 | + END_STATE(); |
2764 | + case 293: |
2765 | + ACCEPT_TOKEN(sym_commit); |
2766 | + if (('0' <= lookahead && lookahead <= '9') || |
2767 | + ('a' <= lookahead && lookahead <= 'f')) ADVANCE(292); |
2768 | + END_STATE(); |
2769 | + case 294: |
2770 | + ACCEPT_TOKEN(sym_commit); |
2771 | + if (('0' <= lookahead && lookahead <= '9') || |
2772 | + ('a' <= lookahead && lookahead <= 'f')) ADVANCE(293); |
2773 | + END_STATE(); |
2774 | + case 295: |
2775 | + ACCEPT_TOKEN(sym_commit); |
2776 | + if (('0' <= lookahead && lookahead <= '9') || |
2777 | + ('a' <= lookahead && lookahead <= 'f')) ADVANCE(294); |
2778 | + END_STATE(); |
2779 | + case 296: |
2780 | + ACCEPT_TOKEN(sym_commit); |
2781 | + if (('0' <= lookahead && lookahead <= '9') || |
2782 | + ('a' <= lookahead && lookahead <= 'f')) ADVANCE(295); |
2783 | + END_STATE(); |
2784 | + case 297: |
2785 | + ACCEPT_TOKEN(sym_commit); |
2786 | + if (('0' <= lookahead && lookahead <= '9') || |
2787 | + ('a' <= lookahead && lookahead <= 'f')) ADVANCE(296); |
2788 | + END_STATE(); |
2789 | + case 298: |
2790 | + ACCEPT_TOKEN(sym_commit); |
2791 | + if (('0' <= lookahead && lookahead <= '9') || |
2792 | + ('a' <= lookahead && lookahead <= 'f')) ADVANCE(297); |
2793 | + END_STATE(); |
2794 | + case 299: |
2795 | + ACCEPT_TOKEN(sym_commit); |
2796 | + if (('0' <= lookahead && lookahead <= '9') || |
2797 | + ('a' <= lookahead && lookahead <= 'f')) ADVANCE(298); |
2798 | + END_STATE(); |
2799 | + case 300: |
2800 | + ACCEPT_TOKEN(sym_commit); |
2801 | + if (('0' <= lookahead && lookahead <= '9') || |
2802 | + ('a' <= lookahead && lookahead <= 'f')) ADVANCE(299); |
2803 | + END_STATE(); |
2804 | + case 301: |
2805 | + ACCEPT_TOKEN(sym_commit); |
2806 | + if (('0' <= lookahead && lookahead <= '9') || |
2807 | + ('a' <= lookahead && lookahead <= 'f')) ADVANCE(300); |
2808 | + END_STATE(); |
2809 | + case 302: |
2810 | + ACCEPT_TOKEN(sym_commit); |
2811 | + if (('0' <= lookahead && lookahead <= '9') || |
2812 | + ('a' <= lookahead && lookahead <= 'f')) ADVANCE(301); |
2813 | + END_STATE(); |
2814 | + case 303: |
2815 | + ACCEPT_TOKEN(sym_commit); |
2816 | + if (('0' <= lookahead && lookahead <= '9') || |
2817 | + ('a' <= lookahead && lookahead <= 'f')) ADVANCE(302); |
2818 | + END_STATE(); |
2819 | + case 304: |
2820 | + ACCEPT_TOKEN(sym_commit); |
2821 | + if (('0' <= lookahead && lookahead <= '9') || |
2822 | + ('a' <= lookahead && lookahead <= 'f')) ADVANCE(303); |
2823 | + END_STATE(); |
2824 | + default: |
2825 | + return false; |
2826 | + } |
2827 | + } |
2828 | + |
2829 | + static const TSLexMode ts_lex_modes[STATE_COUNT] = { |
2830 | + [0] = {.lex_state = 0}, |
2831 | + [1] = {.lex_state = 88}, |
2832 | + [2] = {.lex_state = 88}, |
2833 | + [3] = {.lex_state = 90}, |
2834 | + [4] = {.lex_state = 90}, |
2835 | + [5] = {.lex_state = 90}, |
2836 | + [6] = {.lex_state = 86}, |
2837 | + [7] = {.lex_state = 89}, |
2838 | + [8] = {.lex_state = 86}, |
2839 | + [9] = {.lex_state = 87}, |
2840 | + [10] = {.lex_state = 88}, |
2841 | + [11] = {.lex_state = 87}, |
2842 | + [12] = {.lex_state = 87}, |
2843 | + [13] = {.lex_state = 88}, |
2844 | + [14] = {.lex_state = 88}, |
2845 | + [15] = {.lex_state = 88}, |
2846 | + [16] = {.lex_state = 88}, |
2847 | + [17] = {.lex_state = 88}, |
2848 | + [18] = {.lex_state = 88}, |
2849 | + [19] = {.lex_state = 88}, |
2850 | + [20] = {.lex_state = 88}, |
2851 | + [21] = {.lex_state = 88}, |
2852 | + [22] = {.lex_state = 88}, |
2853 | + [23] = {.lex_state = 88}, |
2854 | + [24] = {.lex_state = 88}, |
2855 | + [25] = {.lex_state = 88}, |
2856 | + [26] = {.lex_state = 90}, |
2857 | + [27] = {.lex_state = 76}, |
2858 | + [28] = {.lex_state = 16}, |
2859 | + [29] = {.lex_state = 76}, |
2860 | + [30] = {.lex_state = 76}, |
2861 | + [31] = {.lex_state = 16}, |
2862 | + [32] = {.lex_state = 12}, |
2863 | + [33] = {.lex_state = 12}, |
2864 | + [34] = {.lex_state = 76}, |
2865 | + [35] = {.lex_state = 3}, |
2866 | + [36] = {.lex_state = 76}, |
2867 | + [37] = {.lex_state = 76}, |
2868 | + [38] = {.lex_state = 0}, |
2869 | + [39] = {.lex_state = 0}, |
2870 | + [40] = {.lex_state = 3}, |
2871 | + [41] = {.lex_state = 3}, |
2872 | + [42] = {.lex_state = 3}, |
2873 | + [43] = {.lex_state = 35}, |
2874 | + [44] = {.lex_state = 3}, |
2875 | + [45] = {.lex_state = 0}, |
2876 | + [46] = {.lex_state = 3}, |
2877 | + [47] = {.lex_state = 0}, |
2878 | + [48] = {.lex_state = 3}, |
2879 | + [49] = {.lex_state = 0}, |
2880 | + [50] = {.lex_state = 0}, |
2881 | + [51] = {.lex_state = 3}, |
2882 | + [52] = {.lex_state = 0}, |
2883 | + [53] = {.lex_state = 3}, |
2884 | + }; |
2885 | + |
2886 | + static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { |
2887 | + [0] = { |
2888 | + [ts_builtin_sym_end] = ACTIONS(1), |
2889 | + [aux_sym_source_token1] = ACTIONS(1), |
2890 | + [anon_sym_diff] = ACTIONS(1), |
2891 | + [aux_sym_file_change_token1] = ACTIONS(1), |
2892 | + [anon_sym_file] = ACTIONS(1), |
2893 | + [anon_sym_mode] = ACTIONS(1), |
2894 | + [anon_sym_from] = ACTIONS(1), |
2895 | + [anon_sym_to] = ACTIONS(1), |
2896 | + [anon_sym_Binary] = ACTIONS(1), |
2897 | + [anon_sym_files] = ACTIONS(1), |
2898 | + [anon_sym_and] = ACTIONS(1), |
2899 | + [anon_sym_differ] = ACTIONS(1), |
2900 | + [anon_sym_index] = ACTIONS(1), |
2901 | + [anon_sym_DOT_DOT] = ACTIONS(1), |
2902 | + [anon_sym_similarity] = ACTIONS(1), |
2903 | + [anon_sym_index2] = ACTIONS(1), |
2904 | + [aux_sym_similarity_token1] = ACTIONS(1), |
2905 | + [anon_sym_PERCENT] = ACTIONS(1), |
2906 | + [anon_sym_DASH_DASH_DASH] = ACTIONS(1), |
2907 | + [anon_sym_PLUS_PLUS_PLUS] = ACTIONS(1), |
2908 | + [anon_sym_AT_AT] = ACTIONS(1), |
2909 | + [anon_sym_AT_AT2] = ACTIONS(1), |
2910 | + [anon_sym_PLUS] = ACTIONS(1), |
2911 | + [anon_sym_DASH] = ACTIONS(1), |
2912 | + }, |
2913 | + [1] = { |
2914 | + [sym_source] = STATE(49), |
2915 | + [sym__line] = STATE(16), |
2916 | + [sym_command] = STATE(16), |
2917 | + [sym_file_change] = STATE(16), |
2918 | + [sym_binary_change] = STATE(16), |
2919 | + [sym_index] = STATE(16), |
2920 | + [sym_similarity] = STATE(16), |
2921 | + [sym_old_file] = STATE(16), |
2922 | + [sym_new_file] = STATE(16), |
2923 | + [sym_location] = STATE(16), |
2924 | + [sym_addition] = STATE(16), |
2925 | + [sym_deletion] = STATE(16), |
2926 | + [aux_sym_source_repeat1] = STATE(2), |
2927 | + [aux_sym_source_repeat2] = STATE(5), |
2928 | + [ts_builtin_sym_end] = ACTIONS(3), |
2929 | + [aux_sym_source_token1] = ACTIONS(5), |
2930 | + [anon_sym_diff] = ACTIONS(7), |
2931 | + [aux_sym_file_change_token1] = ACTIONS(9), |
2932 | + [anon_sym_Binary] = ACTIONS(11), |
2933 | + [anon_sym_index] = ACTIONS(13), |
2934 | + [anon_sym_similarity] = ACTIONS(15), |
2935 | + [anon_sym_DASH_DASH_DASH] = ACTIONS(17), |
2936 | + [anon_sym_PLUS_PLUS_PLUS] = ACTIONS(19), |
2937 | + [anon_sym_AT_AT] = ACTIONS(21), |
2938 | + [anon_sym_PLUS] = ACTIONS(23), |
2939 | + [anon_sym_DASH] = ACTIONS(25), |
2940 | + [sym_context] = ACTIONS(27), |
2941 | + }, |
2942 | + [2] = { |
2943 | + [sym__line] = STATE(16), |
2944 | + [sym_command] = STATE(16), |
2945 | + [sym_file_change] = STATE(16), |
2946 | + [sym_binary_change] = STATE(16), |
2947 | + [sym_index] = STATE(16), |
2948 | + [sym_similarity] = STATE(16), |
2949 | + [sym_old_file] = STATE(16), |
2950 | + [sym_new_file] = STATE(16), |
2951 | + [sym_location] = STATE(16), |
2952 | + [sym_addition] = STATE(16), |
2953 | + [sym_deletion] = STATE(16), |
2954 | + [aux_sym_source_repeat1] = STATE(10), |
2955 | + [aux_sym_source_repeat2] = STATE(4), |
2956 | + [ts_builtin_sym_end] = ACTIONS(29), |
2957 | + [aux_sym_source_token1] = ACTIONS(31), |
2958 | + [anon_sym_diff] = ACTIONS(7), |
2959 | + [aux_sym_file_change_token1] = ACTIONS(9), |
2960 | + [anon_sym_Binary] = ACTIONS(11), |
2961 | + [anon_sym_index] = ACTIONS(13), |
2962 | + [anon_sym_similarity] = ACTIONS(15), |
2963 | + [anon_sym_DASH_DASH_DASH] = ACTIONS(17), |
2964 | + [anon_sym_PLUS_PLUS_PLUS] = ACTIONS(19), |
2965 | + [anon_sym_AT_AT] = ACTIONS(21), |
2966 | + [anon_sym_PLUS] = ACTIONS(23), |
2967 | + [anon_sym_DASH] = ACTIONS(25), |
2968 | + [sym_context] = ACTIONS(27), |
2969 | + }, |
2970 | + [3] = { |
2971 | + [sym__line] = STATE(16), |
2972 | + [sym_command] = STATE(16), |
2973 | + [sym_file_change] = STATE(16), |
2974 | + [sym_binary_change] = STATE(16), |
2975 | + [sym_index] = STATE(16), |
2976 | + [sym_similarity] = STATE(16), |
2977 | + [sym_old_file] = STATE(16), |
2978 | + [sym_new_file] = STATE(16), |
2979 | + [sym_location] = STATE(16), |
2980 | + [sym_addition] = STATE(16), |
2981 | + [sym_deletion] = STATE(16), |
2982 | + [aux_sym_source_repeat2] = STATE(3), |
2983 | + [ts_builtin_sym_end] = ACTIONS(33), |
2984 | + [anon_sym_diff] = ACTIONS(35), |
2985 | + [aux_sym_file_change_token1] = ACTIONS(38), |
2986 | + [anon_sym_Binary] = ACTIONS(41), |
2987 | + [anon_sym_index] = ACTIONS(44), |
2988 | + [anon_sym_similarity] = ACTIONS(47), |
2989 | + [anon_sym_DASH_DASH_DASH] = ACTIONS(50), |
2990 | + [anon_sym_PLUS_PLUS_PLUS] = ACTIONS(53), |
2991 | + [anon_sym_AT_AT] = ACTIONS(56), |
2992 | + [anon_sym_PLUS] = ACTIONS(59), |
2993 | + [anon_sym_DASH] = ACTIONS(62), |
2994 | + [sym_context] = ACTIONS(65), |
2995 | + }, |
2996 | + [4] = { |
2997 | + [sym__line] = STATE(16), |
2998 | + [sym_command] = STATE(16), |
2999 | + [sym_file_change] = STATE(16), |
3000 | + [sym_binary_change] = STATE(16), |
3001 | + [sym_index] = STATE(16), |
3002 | + [sym_similarity] = STATE(16), |
3003 | + [sym_old_file] = STATE(16), |
3004 | + [sym_new_file] = STATE(16), |
3005 | + [sym_location] = STATE(16), |
3006 | + [sym_addition] = STATE(16), |
3007 | + [sym_deletion] = STATE(16), |
3008 | + [aux_sym_source_repeat2] = STATE(3), |
3009 | + [ts_builtin_sym_end] = ACTIONS(68), |
3010 | + [anon_sym_diff] = ACTIONS(7), |
3011 | + [aux_sym_file_change_token1] = ACTIONS(9), |
3012 | + [anon_sym_Binary] = ACTIONS(11), |
3013 | + [anon_sym_index] = ACTIONS(13), |
3014 | + [anon_sym_similarity] = ACTIONS(15), |
3015 | + [anon_sym_DASH_DASH_DASH] = ACTIONS(17), |
3016 | + [anon_sym_PLUS_PLUS_PLUS] = ACTIONS(19), |
3017 | + [anon_sym_AT_AT] = ACTIONS(21), |
3018 | + [anon_sym_PLUS] = ACTIONS(23), |
3019 | + [anon_sym_DASH] = ACTIONS(25), |
3020 | + [sym_context] = ACTIONS(27), |
3021 | + }, |
3022 | + [5] = { |
3023 | + [sym__line] = STATE(16), |
3024 | + [sym_command] = STATE(16), |
3025 | + [sym_file_change] = STATE(16), |
3026 | + [sym_binary_change] = STATE(16), |
3027 | + [sym_index] = STATE(16), |
3028 | + [sym_similarity] = STATE(16), |
3029 | + [sym_old_file] = STATE(16), |
3030 | + [sym_new_file] = STATE(16), |
3031 | + [sym_location] = STATE(16), |
3032 | + [sym_addition] = STATE(16), |
3033 | + [sym_deletion] = STATE(16), |
3034 | + [aux_sym_source_repeat2] = STATE(3), |
3035 | + [ts_builtin_sym_end] = ACTIONS(29), |
3036 | + [anon_sym_diff] = ACTIONS(7), |
3037 | + [aux_sym_file_change_token1] = ACTIONS(9), |
3038 | + [anon_sym_Binary] = ACTIONS(11), |
3039 | + [anon_sym_index] = ACTIONS(13), |
3040 | + [anon_sym_similarity] = ACTIONS(15), |
3041 | + [anon_sym_DASH_DASH_DASH] = ACTIONS(17), |
3042 | + [anon_sym_PLUS_PLUS_PLUS] = ACTIONS(19), |
3043 | + [anon_sym_AT_AT] = ACTIONS(21), |
3044 | + [anon_sym_PLUS] = ACTIONS(23), |
3045 | + [anon_sym_DASH] = ACTIONS(25), |
3046 | + [sym_context] = ACTIONS(27), |
3047 | + }, |
3048 | + }; |
3049 | + |
3050 | + static const uint16_t ts_small_parse_table[] = { |
3051 | + [0] = 4, |
3052 | + ACTIONS(70), 1, |
3053 | + ts_builtin_sym_end, |
3054 | + ACTIONS(74), 1, |
3055 | + aux_sym_filename_token1, |
3056 | + STATE(8), 1, |
3057 | + aux_sym_filename_repeat1, |
3058 | + ACTIONS(72), 12, |
3059 | + aux_sym_source_token1, |
3060 | + anon_sym_diff, |
3061 | + aux_sym_file_change_token1, |
3062 | + anon_sym_Binary, |
3063 | + anon_sym_index, |
3064 | + anon_sym_similarity, |
3065 | + anon_sym_DASH_DASH_DASH, |
3066 | + anon_sym_PLUS_PLUS_PLUS, |
3067 | + anon_sym_AT_AT, |
3068 | + anon_sym_PLUS, |
3069 | + anon_sym_DASH, |
3070 | + sym_context, |
3071 | + [24] = 4, |
3072 | + ACTIONS(80), 1, |
3073 | aux_sym_similarity_token1, |
3074 | - STATE(44), 1, |
3075 | + STATE(18), 1, |
3076 | sym_mode, |
3077 | - [77] = 3, |
3078 | + ACTIONS(78), 4, |
3079 | + aux_sym_source_token1, |
3080 | + anon_sym_PLUS, |
3081 | + anon_sym_DASH, |
3082 | + sym_context, |
3083 | + ACTIONS(76), 9, |
3084 | + ts_builtin_sym_end, |
3085 | + anon_sym_diff, |
3086 | + aux_sym_file_change_token1, |
3087 | + anon_sym_Binary, |
3088 | + anon_sym_index, |
3089 | + anon_sym_similarity, |
3090 | + anon_sym_DASH_DASH_DASH, |
3091 | + anon_sym_PLUS_PLUS_PLUS, |
3092 | + anon_sym_AT_AT, |
3093 | + [48] = 4, |
3094 | + ACTIONS(82), 1, |
3095 | + ts_builtin_sym_end, |
3096 | ACTIONS(86), 1, |
3097 | aux_sym_filename_token1, |
3098 | - STATE(7), 1, |
3099 | + STATE(8), 1, |
3100 | + aux_sym_filename_repeat1, |
3101 | + ACTIONS(84), 12, |
3102 | + aux_sym_source_token1, |
3103 | + anon_sym_diff, |
3104 | + aux_sym_file_change_token1, |
3105 | + anon_sym_Binary, |
3106 | + anon_sym_index, |
3107 | + anon_sym_similarity, |
3108 | + anon_sym_DASH_DASH_DASH, |
3109 | + anon_sym_PLUS_PLUS_PLUS, |
3110 | + anon_sym_AT_AT, |
3111 | + anon_sym_PLUS, |
3112 | + anon_sym_DASH, |
3113 | + sym_context, |
3114 | + [72] = 3, |
3115 | + ACTIONS(89), 1, |
3116 | + ts_builtin_sym_end, |
3117 | + ACTIONS(93), 1, |
3118 | + aux_sym_location_token1, |
3119 | + ACTIONS(91), 12, |
3120 | + aux_sym_source_token1, |
3121 | + anon_sym_diff, |
3122 | + aux_sym_file_change_token1, |
3123 | + anon_sym_Binary, |
3124 | + anon_sym_index, |
3125 | + anon_sym_similarity, |
3126 | + anon_sym_DASH_DASH_DASH, |
3127 | + anon_sym_PLUS_PLUS_PLUS, |
3128 | + anon_sym_AT_AT, |
3129 | + anon_sym_PLUS, |
3130 | + anon_sym_DASH, |
3131 | + sym_context, |
3132 | + [93] = 4, |
3133 | + ACTIONS(97), 1, |
3134 | + aux_sym_source_token1, |
3135 | + STATE(10), 1, |
3136 | + aux_sym_source_repeat1, |
3137 | + ACTIONS(100), 3, |
3138 | + anon_sym_PLUS, |
3139 | + anon_sym_DASH, |
3140 | + sym_context, |
3141 | + ACTIONS(95), 9, |
3142 | + ts_builtin_sym_end, |
3143 | + anon_sym_diff, |
3144 | + aux_sym_file_change_token1, |
3145 | + anon_sym_Binary, |
3146 | + anon_sym_index, |
3147 | + anon_sym_similarity, |
3148 | + anon_sym_DASH_DASH_DASH, |
3149 | + anon_sym_PLUS_PLUS_PLUS, |
3150 | + anon_sym_AT_AT, |
3151 | + [116] = 3, |
3152 | + ACTIONS(102), 1, |
3153 | + ts_builtin_sym_end, |
3154 | + ACTIONS(106), 1, |
3155 | + aux_sym_location_token1, |
3156 | + ACTIONS(104), 12, |
3157 | + aux_sym_source_token1, |
3158 | + anon_sym_diff, |
3159 | + aux_sym_file_change_token1, |
3160 | + anon_sym_Binary, |
3161 | + anon_sym_index, |
3162 | + anon_sym_similarity, |
3163 | + anon_sym_DASH_DASH_DASH, |
3164 | + anon_sym_PLUS_PLUS_PLUS, |
3165 | + anon_sym_AT_AT, |
3166 | + anon_sym_PLUS, |
3167 | + anon_sym_DASH, |
3168 | + sym_context, |
3169 | + [137] = 3, |
3170 | + ACTIONS(108), 1, |
3171 | + ts_builtin_sym_end, |
3172 | + ACTIONS(112), 1, |
3173 | + aux_sym_location_token1, |
3174 | + ACTIONS(110), 12, |
3175 | + aux_sym_source_token1, |
3176 | + anon_sym_diff, |
3177 | + aux_sym_file_change_token1, |
3178 | + anon_sym_Binary, |
3179 | + anon_sym_index, |
3180 | + anon_sym_similarity, |
3181 | + anon_sym_DASH_DASH_DASH, |
3182 | + anon_sym_PLUS_PLUS_PLUS, |
3183 | + anon_sym_AT_AT, |
3184 | + anon_sym_PLUS, |
3185 | + anon_sym_DASH, |
3186 | + sym_context, |
3187 | + [158] = 2, |
3188 | + ACTIONS(116), 4, |
3189 | + aux_sym_source_token1, |
3190 | + anon_sym_PLUS, |
3191 | + anon_sym_DASH, |
3192 | + sym_context, |
3193 | + ACTIONS(114), 9, |
3194 | + ts_builtin_sym_end, |
3195 | + anon_sym_diff, |
3196 | + aux_sym_file_change_token1, |
3197 | + anon_sym_Binary, |
3198 | + anon_sym_index, |
3199 | + anon_sym_similarity, |
3200 | + anon_sym_DASH_DASH_DASH, |
3201 | + anon_sym_PLUS_PLUS_PLUS, |
3202 | + anon_sym_AT_AT, |
3203 | + [176] = 2, |
3204 | + ACTIONS(120), 4, |
3205 | + aux_sym_source_token1, |
3206 | + anon_sym_PLUS, |
3207 | + anon_sym_DASH, |
3208 | + sym_context, |
3209 | + ACTIONS(118), 9, |
3210 | + ts_builtin_sym_end, |
3211 | + anon_sym_diff, |
3212 | + aux_sym_file_change_token1, |
3213 | + anon_sym_Binary, |
3214 | + anon_sym_index, |
3215 | + anon_sym_similarity, |
3216 | + anon_sym_DASH_DASH_DASH, |
3217 | + anon_sym_PLUS_PLUS_PLUS, |
3218 | + anon_sym_AT_AT, |
3219 | + [194] = 2, |
3220 | + ACTIONS(124), 4, |
3221 | + aux_sym_source_token1, |
3222 | + anon_sym_PLUS, |
3223 | + anon_sym_DASH, |
3224 | + sym_context, |
3225 | + ACTIONS(122), 9, |
3226 | + ts_builtin_sym_end, |
3227 | + anon_sym_diff, |
3228 | + aux_sym_file_change_token1, |
3229 | + anon_sym_Binary, |
3230 | + anon_sym_index, |
3231 | + anon_sym_similarity, |
3232 | + anon_sym_DASH_DASH_DASH, |
3233 | + anon_sym_PLUS_PLUS_PLUS, |
3234 | + anon_sym_AT_AT, |
3235 | + [212] = 3, |
3236 | + ACTIONS(128), 1, |
3237 | + aux_sym_source_token1, |
3238 | + ACTIONS(130), 3, |
3239 | + anon_sym_PLUS, |
3240 | + anon_sym_DASH, |
3241 | + sym_context, |
3242 | + ACTIONS(126), 9, |
3243 | + ts_builtin_sym_end, |
3244 | + anon_sym_diff, |
3245 | + aux_sym_file_change_token1, |
3246 | + anon_sym_Binary, |
3247 | + anon_sym_index, |
3248 | + anon_sym_similarity, |
3249 | + anon_sym_DASH_DASH_DASH, |
3250 | + anon_sym_PLUS_PLUS_PLUS, |
3251 | + anon_sym_AT_AT, |
3252 | + [232] = 2, |
3253 | + ACTIONS(134), 4, |
3254 | + aux_sym_source_token1, |
3255 | + anon_sym_PLUS, |
3256 | + anon_sym_DASH, |
3257 | + sym_context, |
3258 | + ACTIONS(132), 9, |
3259 | + ts_builtin_sym_end, |
3260 | + anon_sym_diff, |
3261 | + aux_sym_file_change_token1, |
3262 | + anon_sym_Binary, |
3263 | + anon_sym_index, |
3264 | + anon_sym_similarity, |
3265 | + anon_sym_DASH_DASH_DASH, |
3266 | + anon_sym_PLUS_PLUS_PLUS, |
3267 | + anon_sym_AT_AT, |
3268 | + [250] = 2, |
3269 | + ACTIONS(138), 4, |
3270 | + aux_sym_source_token1, |
3271 | + anon_sym_PLUS, |
3272 | + anon_sym_DASH, |
3273 | + sym_context, |
3274 | + ACTIONS(136), 9, |
3275 | + ts_builtin_sym_end, |
3276 | + anon_sym_diff, |
3277 | + aux_sym_file_change_token1, |
3278 | + anon_sym_Binary, |
3279 | + anon_sym_index, |
3280 | + anon_sym_similarity, |
3281 | + anon_sym_DASH_DASH_DASH, |
3282 | + anon_sym_PLUS_PLUS_PLUS, |
3283 | + anon_sym_AT_AT, |
3284 | + [268] = 2, |
3285 | + ACTIONS(142), 4, |
3286 | + aux_sym_source_token1, |
3287 | + anon_sym_PLUS, |
3288 | + anon_sym_DASH, |
3289 | + sym_context, |
3290 | + ACTIONS(140), 9, |
3291 | + ts_builtin_sym_end, |
3292 | + anon_sym_diff, |
3293 | + aux_sym_file_change_token1, |
3294 | + anon_sym_Binary, |
3295 | + anon_sym_index, |
3296 | + anon_sym_similarity, |
3297 | + anon_sym_DASH_DASH_DASH, |
3298 | + anon_sym_PLUS_PLUS_PLUS, |
3299 | + anon_sym_AT_AT, |
3300 | + [286] = 2, |
3301 | + ACTIONS(146), 4, |
3302 | + aux_sym_source_token1, |
3303 | + anon_sym_PLUS, |
3304 | + anon_sym_DASH, |
3305 | + sym_context, |
3306 | + ACTIONS(144), 9, |
3307 | + ts_builtin_sym_end, |
3308 | + anon_sym_diff, |
3309 | + aux_sym_file_change_token1, |
3310 | + anon_sym_Binary, |
3311 | + anon_sym_index, |
3312 | + anon_sym_similarity, |
3313 | + anon_sym_DASH_DASH_DASH, |
3314 | + anon_sym_PLUS_PLUS_PLUS, |
3315 | + anon_sym_AT_AT, |
3316 | + [304] = 2, |
3317 | + ACTIONS(150), 4, |
3318 | + aux_sym_source_token1, |
3319 | + anon_sym_PLUS, |
3320 | + anon_sym_DASH, |
3321 | + sym_context, |
3322 | + ACTIONS(148), 9, |
3323 | + ts_builtin_sym_end, |
3324 | + anon_sym_diff, |
3325 | + aux_sym_file_change_token1, |
3326 | + anon_sym_Binary, |
3327 | + anon_sym_index, |
3328 | + anon_sym_similarity, |
3329 | + anon_sym_DASH_DASH_DASH, |
3330 | + anon_sym_PLUS_PLUS_PLUS, |
3331 | + anon_sym_AT_AT, |
3332 | + [322] = 2, |
3333 | + ACTIONS(154), 4, |
3334 | + aux_sym_source_token1, |
3335 | + anon_sym_PLUS, |
3336 | + anon_sym_DASH, |
3337 | + sym_context, |
3338 | + ACTIONS(152), 9, |
3339 | + ts_builtin_sym_end, |
3340 | + anon_sym_diff, |
3341 | + aux_sym_file_change_token1, |
3342 | + anon_sym_Binary, |
3343 | + anon_sym_index, |
3344 | + anon_sym_similarity, |
3345 | + anon_sym_DASH_DASH_DASH, |
3346 | + anon_sym_PLUS_PLUS_PLUS, |
3347 | + anon_sym_AT_AT, |
3348 | + [340] = 2, |
3349 | + ACTIONS(158), 4, |
3350 | + aux_sym_source_token1, |
3351 | + anon_sym_PLUS, |
3352 | + anon_sym_DASH, |
3353 | + sym_context, |
3354 | + ACTIONS(156), 9, |
3355 | + ts_builtin_sym_end, |
3356 | + anon_sym_diff, |
3357 | + aux_sym_file_change_token1, |
3358 | + anon_sym_Binary, |
3359 | + anon_sym_index, |
3360 | + anon_sym_similarity, |
3361 | + anon_sym_DASH_DASH_DASH, |
3362 | + anon_sym_PLUS_PLUS_PLUS, |
3363 | + anon_sym_AT_AT, |
3364 | + [358] = 2, |
3365 | + ACTIONS(162), 4, |
3366 | + aux_sym_source_token1, |
3367 | + anon_sym_PLUS, |
3368 | + anon_sym_DASH, |
3369 | + sym_context, |
3370 | + ACTIONS(160), 9, |
3371 | + ts_builtin_sym_end, |
3372 | + anon_sym_diff, |
3373 | + aux_sym_file_change_token1, |
3374 | + anon_sym_Binary, |
3375 | + anon_sym_index, |
3376 | + anon_sym_similarity, |
3377 | + anon_sym_DASH_DASH_DASH, |
3378 | + anon_sym_PLUS_PLUS_PLUS, |
3379 | + anon_sym_AT_AT, |
3380 | + [376] = 2, |
3381 | + ACTIONS(166), 4, |
3382 | + aux_sym_source_token1, |
3383 | + anon_sym_PLUS, |
3384 | + anon_sym_DASH, |
3385 | + sym_context, |
3386 | + ACTIONS(164), 9, |
3387 | + ts_builtin_sym_end, |
3388 | + anon_sym_diff, |
3389 | + aux_sym_file_change_token1, |
3390 | + anon_sym_Binary, |
3391 | + anon_sym_index, |
3392 | + anon_sym_similarity, |
3393 | + anon_sym_DASH_DASH_DASH, |
3394 | + anon_sym_PLUS_PLUS_PLUS, |
3395 | + anon_sym_AT_AT, |
3396 | + [394] = 2, |
3397 | + ACTIONS(168), 3, |
3398 | + anon_sym_PLUS, |
3399 | + anon_sym_DASH, |
3400 | + sym_context, |
3401 | + ACTIONS(33), 9, |
3402 | + ts_builtin_sym_end, |
3403 | + anon_sym_diff, |
3404 | + aux_sym_file_change_token1, |
3405 | + anon_sym_Binary, |
3406 | + anon_sym_index, |
3407 | + anon_sym_similarity, |
3408 | + anon_sym_DASH_DASH_DASH, |
3409 | + anon_sym_PLUS_PLUS_PLUS, |
3410 | + anon_sym_AT_AT, |
3411 | + [411] = 3, |
3412 | + ACTIONS(170), 1, |
3413 | + aux_sym_filename_token1, |
3414 | + STATE(33), 1, |
3415 | aux_sym_filename_repeat1, |
3416 | - STATE(43), 1, |
3417 | + STATE(50), 1, |
3418 | sym_filename, |
3419 | - [87] = 2, |
3420 | - ACTIONS(88), 1, |
3421 | - anon_sym_file, |
3422 | - ACTIONS(90), 2, |
3423 | - anon_sym_from, |
3424 | - anon_sym_to, |
3425 | - [95] = 3, |
3426 | - ACTIONS(68), 1, |
3427 | - aux_sym_source_token1, |
3428 | - ACTIONS(92), 1, |
3429 | + [421] = 3, |
3430 | + ACTIONS(84), 1, |
3431 | + anon_sym_differ, |
3432 | + ACTIONS(172), 1, |
3433 | aux_sym_filename_token1, |
3434 | - STATE(13), 1, |
3435 | + STATE(28), 1, |
3436 | aux_sym_filename_repeat1, |
3437 | - [105] = 3, |
3438 | - ACTIONS(66), 1, |
3439 | + [431] = 3, |
3440 | + ACTIONS(175), 1, |
3441 | aux_sym_filename_token1, |
3442 | - STATE(18), 1, |
3443 | + STATE(6), 1, |
3444 | aux_sym_filename_repeat1, |
3445 | - STATE(31), 1, |
3446 | + STATE(24), 1, |
3447 | sym_filename, |
3448 | - [115] = 3, |
3449 | - ACTIONS(95), 1, |
3450 | + [441] = 3, |
3451 | + ACTIONS(175), 1, |
3452 | aux_sym_filename_token1, |
3453 | - STATE(9), 1, |
3454 | + STATE(6), 1, |
3455 | aux_sym_filename_repeat1, |
3456 | - STATE(32), 1, |
3457 | + STATE(23), 1, |
3458 | sym_filename, |
3459 | - [125] = 3, |
3460 | - ACTIONS(66), 1, |
3461 | + [451] = 3, |
3462 | + ACTIONS(72), 1, |
3463 | + anon_sym_differ, |
3464 | + ACTIONS(177), 1, |
3465 | aux_sym_filename_token1, |
3466 | - STATE(18), 1, |
3467 | + STATE(28), 1, |
3468 | + aux_sym_filename_repeat1, |
3469 | + [461] = 3, |
3470 | + ACTIONS(84), 1, |
3471 | + anon_sym_and, |
3472 | + ACTIONS(179), 1, |
3473 | + aux_sym_filename_token1, |
3474 | + STATE(32), 1, |
3475 | + aux_sym_filename_repeat1, |
3476 | + [471] = 3, |
3477 | + ACTIONS(72), 1, |
3478 | + anon_sym_and, |
3479 | + ACTIONS(182), 1, |
3480 | + aux_sym_filename_token1, |
3481 | + STATE(32), 1, |
3482 | + aux_sym_filename_repeat1, |
3483 | + [481] = 3, |
3484 | + ACTIONS(175), 1, |
3485 | + aux_sym_filename_token1, |
3486 | + STATE(6), 1, |
3487 | aux_sym_filename_repeat1, |
3488 | - STATE(26), 1, |
3489 | + STATE(22), 1, |
3490 | sym_filename, |
3491 | - [135] = 3, |
3492 | - ACTIONS(66), 1, |
3493 | + [491] = 2, |
3494 | + ACTIONS(184), 1, |
3495 | + anon_sym_file, |
3496 | + ACTIONS(186), 2, |
3497 | + anon_sym_from, |
3498 | + anon_sym_to, |
3499 | + [499] = 3, |
3500 | + ACTIONS(175), 1, |
3501 | aux_sym_filename_token1, |
3502 | - STATE(18), 1, |
3503 | + STATE(6), 1, |
3504 | aux_sym_filename_repeat1, |
3505 | - STATE(25), 1, |
3506 | + STATE(14), 1, |
3507 | sym_filename, |
3508 | - [145] = 3, |
3509 | - ACTIONS(73), 1, |
3510 | - aux_sym_source_token1, |
3511 | - ACTIONS(97), 1, |
3512 | + [509] = 3, |
3513 | + ACTIONS(188), 1, |
3514 | aux_sym_filename_token1, |
3515 | - STATE(13), 1, |
3516 | + STATE(31), 1, |
3517 | aux_sym_filename_repeat1, |
3518 | - [155] = 2, |
3519 | - ACTIONS(99), 1, |
3520 | - aux_sym_source_token1, |
3521 | - ACTIONS(101), 1, |
3522 | - aux_sym_location_token1, |
3523 | - [162] = 2, |
3524 | - ACTIONS(103), 1, |
3525 | - aux_sym_source_token1, |
3526 | - ACTIONS(105), 1, |
3527 | - aux_sym_location_token1, |
3528 | - [169] = 2, |
3529 | - ACTIONS(107), 1, |
3530 | - aux_sym_source_token1, |
3531 | - ACTIONS(109), 1, |
3532 | - aux_sym_location_token1, |
3533 | - [176] = 2, |
3534 | - ACTIONS(84), 1, |
3535 | + STATE(46), 1, |
3536 | + sym_filename, |
3537 | + [519] = 2, |
3538 | + ACTIONS(190), 1, |
3539 | aux_sym_similarity_token1, |
3540 | - STATE(38), 1, |
3541 | + STATE(20), 1, |
3542 | sym_mode, |
3543 | - [183] = 1, |
3544 | - ACTIONS(111), 1, |
3545 | + [526] = 1, |
3546 | + ACTIONS(192), 1, |
3547 | + anon_sym_DOT_DOT, |
3548 | + [530] = 1, |
3549 | + ACTIONS(194), 1, |
3550 | sym_linerange, |
3551 | - [187] = 1, |
3552 | - ACTIONS(113), 1, |
3553 | - anon_sym_AT_AT2, |
3554 | - [191] = 1, |
3555 | - ACTIONS(115), 1, |
3556 | - aux_sym_source_token1, |
3557 | - [195] = 1, |
3558 | - ACTIONS(117), 1, |
3559 | - aux_sym_source_token1, |
3560 | - [199] = 1, |
3561 | - ACTIONS(119), 1, |
3562 | - aux_sym_source_token1, |
3563 | - [203] = 1, |
3564 | - ACTIONS(121), 1, |
3565 | - aux_sym_source_token1, |
3566 | - [207] = 1, |
3567 | - ACTIONS(123), 1, |
3568 | - aux_sym_source_token1, |
3569 | - [211] = 1, |
3570 | - ACTIONS(125), 1, |
3571 | + [534] = 1, |
3572 | + ACTIONS(196), 1, |
3573 | anon_sym_DASH_DASHgit, |
3574 | - [215] = 1, |
3575 | - ACTIONS(127), 1, |
3576 | - aux_sym_source_token1, |
3577 | - [219] = 1, |
3578 | - ACTIONS(129), 1, |
3579 | - anon_sym_and, |
3580 | - [223] = 1, |
3581 | - ACTIONS(131), 1, |
3582 | + [538] = 1, |
3583 | + ACTIONS(198), 1, |
3584 | + anon_sym_AT_AT2, |
3585 | + [542] = 1, |
3586 | + ACTIONS(200), 1, |
3587 | + anon_sym_files, |
3588 | + [546] = 1, |
3589 | + ACTIONS(202), 1, |
3590 | sym_commit, |
3591 | - [227] = 1, |
3592 | - ACTIONS(133), 1, |
3593 | + [550] = 1, |
3594 | + ACTIONS(204), 1, |
3595 | anon_sym_PERCENT, |
3596 | - [231] = 1, |
3597 | - ACTIONS(135), 1, |
3598 | - anon_sym_DOT_DOT, |
3599 | - [235] = 1, |
3600 | - ACTIONS(137), 1, |
3601 | - aux_sym_similarity_token1, |
3602 | - [239] = 1, |
3603 | - ACTIONS(139), 1, |
3604 | - aux_sym_source_token1, |
3605 | - [243] = 1, |
3606 | - ACTIONS(141), 1, |
3607 | - aux_sym_source_token1, |
3608 | - [247] = 1, |
3609 | - ACTIONS(143), 1, |
3610 | + [554] = 1, |
3611 | + ACTIONS(206), 1, |
3612 | + anon_sym_differ, |
3613 | + [558] = 1, |
3614 | + ACTIONS(208), 1, |
3615 | anon_sym_mode, |
3616 | - [251] = 1, |
3617 | - ACTIONS(145), 1, |
3618 | - aux_sym_source_token1, |
3619 | - [255] = 1, |
3620 | - ACTIONS(147), 1, |
3621 | - aux_sym_source_token1, |
3622 | - [259] = 1, |
3623 | - ACTIONS(149), 1, |
3624 | + [562] = 1, |
3625 | + ACTIONS(210), 1, |
3626 | + sym_commit, |
3627 | + [566] = 1, |
3628 | + ACTIONS(212), 1, |
3629 | ts_builtin_sym_end, |
3630 | - [263] = 1, |
3631 | - ACTIONS(151), 1, |
3632 | - anon_sym_differ, |
3633 | - [267] = 1, |
3634 | - ACTIONS(153), 1, |
3635 | - aux_sym_source_token1, |
3636 | - [271] = 1, |
3637 | - ACTIONS(155), 1, |
3638 | - aux_sym_source_token1, |
3639 | - [275] = 1, |
3640 | - ACTIONS(157), 1, |
3641 | - aux_sym_source_token1, |
3642 | - [279] = 1, |
3643 | - ACTIONS(159), 1, |
3644 | + [570] = 1, |
3645 | + ACTIONS(214), 1, |
3646 | + anon_sym_and, |
3647 | + [574] = 1, |
3648 | + ACTIONS(216), 1, |
3649 | sym_linerange, |
3650 | - [283] = 1, |
3651 | - ACTIONS(161), 1, |
3652 | + [578] = 1, |
3653 | + ACTIONS(218), 1, |
3654 | + aux_sym_similarity_token1, |
3655 | + [582] = 1, |
3656 | + ACTIONS(220), 1, |
3657 | anon_sym_index2, |
3658 | - [287] = 1, |
3659 | - ACTIONS(163), 1, |
3660 | - sym_commit, |
3661 | - [291] = 1, |
3662 | - ACTIONS(165), 1, |
3663 | - anon_sym_files, |
3664 | }; |
3665 | |
3666 | static const uint32_t ts_small_parse_table_map[] = { |
3667 | - [SMALL_STATE(4)] = 0, |
3668 | - [SMALL_STATE(5)] = 17, |
3669 | - [SMALL_STATE(6)] = 27, |
3670 | - [SMALL_STATE(7)] = 37, |
3671 | - [SMALL_STATE(8)] = 47, |
3672 | - [SMALL_STATE(9)] = 57, |
3673 | - [SMALL_STATE(10)] = 67, |
3674 | - [SMALL_STATE(11)] = 77, |
3675 | - [SMALL_STATE(12)] = 87, |
3676 | - [SMALL_STATE(13)] = 95, |
3677 | - [SMALL_STATE(14)] = 105, |
3678 | - [SMALL_STATE(15)] = 115, |
3679 | - [SMALL_STATE(16)] = 125, |
3680 | - [SMALL_STATE(17)] = 135, |
3681 | - [SMALL_STATE(18)] = 145, |
3682 | - [SMALL_STATE(19)] = 155, |
3683 | - [SMALL_STATE(20)] = 162, |
3684 | - [SMALL_STATE(21)] = 169, |
3685 | - [SMALL_STATE(22)] = 176, |
3686 | - [SMALL_STATE(23)] = 183, |
3687 | - [SMALL_STATE(24)] = 187, |
3688 | - [SMALL_STATE(25)] = 191, |
3689 | - [SMALL_STATE(26)] = 195, |
3690 | - [SMALL_STATE(27)] = 199, |
3691 | - [SMALL_STATE(28)] = 203, |
3692 | - [SMALL_STATE(29)] = 207, |
3693 | - [SMALL_STATE(30)] = 211, |
3694 | - [SMALL_STATE(31)] = 215, |
3695 | - [SMALL_STATE(32)] = 219, |
3696 | - [SMALL_STATE(33)] = 223, |
3697 | - [SMALL_STATE(34)] = 227, |
3698 | - [SMALL_STATE(35)] = 231, |
3699 | - [SMALL_STATE(36)] = 235, |
3700 | - [SMALL_STATE(37)] = 239, |
3701 | - [SMALL_STATE(38)] = 243, |
3702 | - [SMALL_STATE(39)] = 247, |
3703 | - [SMALL_STATE(40)] = 251, |
3704 | - [SMALL_STATE(41)] = 255, |
3705 | - [SMALL_STATE(42)] = 259, |
3706 | - [SMALL_STATE(43)] = 263, |
3707 | - [SMALL_STATE(44)] = 267, |
3708 | - [SMALL_STATE(45)] = 271, |
3709 | - [SMALL_STATE(46)] = 275, |
3710 | - [SMALL_STATE(47)] = 279, |
3711 | - [SMALL_STATE(48)] = 283, |
3712 | - [SMALL_STATE(49)] = 287, |
3713 | - [SMALL_STATE(50)] = 291, |
3714 | + [SMALL_STATE(6)] = 0, |
3715 | + [SMALL_STATE(7)] = 24, |
3716 | + [SMALL_STATE(8)] = 48, |
3717 | + [SMALL_STATE(9)] = 72, |
3718 | + [SMALL_STATE(10)] = 93, |
3719 | + [SMALL_STATE(11)] = 116, |
3720 | + [SMALL_STATE(12)] = 137, |
3721 | + [SMALL_STATE(13)] = 158, |
3722 | + [SMALL_STATE(14)] = 176, |
3723 | + [SMALL_STATE(15)] = 194, |
3724 | + [SMALL_STATE(16)] = 212, |
3725 | + [SMALL_STATE(17)] = 232, |
3726 | + [SMALL_STATE(18)] = 250, |
3727 | + [SMALL_STATE(19)] = 268, |
3728 | + [SMALL_STATE(20)] = 286, |
3729 | + [SMALL_STATE(21)] = 304, |
3730 | + [SMALL_STATE(22)] = 322, |
3731 | + [SMALL_STATE(23)] = 340, |
3732 | + [SMALL_STATE(24)] = 358, |
3733 | + [SMALL_STATE(25)] = 376, |
3734 | + [SMALL_STATE(26)] = 394, |
3735 | + [SMALL_STATE(27)] = 411, |
3736 | + [SMALL_STATE(28)] = 421, |
3737 | + [SMALL_STATE(29)] = 431, |
3738 | + [SMALL_STATE(30)] = 441, |
3739 | + [SMALL_STATE(31)] = 451, |
3740 | + [SMALL_STATE(32)] = 461, |
3741 | + [SMALL_STATE(33)] = 471, |
3742 | + [SMALL_STATE(34)] = 481, |
3743 | + [SMALL_STATE(35)] = 491, |
3744 | + [SMALL_STATE(36)] = 499, |
3745 | + [SMALL_STATE(37)] = 509, |
3746 | + [SMALL_STATE(38)] = 519, |
3747 | + [SMALL_STATE(39)] = 526, |
3748 | + [SMALL_STATE(40)] = 530, |
3749 | + [SMALL_STATE(41)] = 534, |
3750 | + [SMALL_STATE(42)] = 538, |
3751 | + [SMALL_STATE(43)] = 542, |
3752 | + [SMALL_STATE(44)] = 546, |
3753 | + [SMALL_STATE(45)] = 550, |
3754 | + [SMALL_STATE(46)] = 554, |
3755 | + [SMALL_STATE(47)] = 558, |
3756 | + [SMALL_STATE(48)] = 562, |
3757 | + [SMALL_STATE(49)] = 566, |
3758 | + [SMALL_STATE(50)] = 570, |
3759 | + [SMALL_STATE(51)] = 574, |
3760 | + [SMALL_STATE(52)] = 578, |
3761 | + [SMALL_STATE(53)] = 582, |
3762 | }; |
3763 | |
3764 | static const TSParseActionEntry ts_parse_actions[] = { |
3765 | [0] = {.entry = {.count = 0, .reusable = false}}, |
3766 | [1] = {.entry = {.count = 1, .reusable = false}}, RECOVER(), |
3767 | [3] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_source, 0), |
3768 | - [5] = {.entry = {.count = 1, .reusable = true}}, SHIFT(30), |
3769 | - [7] = {.entry = {.count = 1, .reusable = true}}, SHIFT(12), |
3770 | - [9] = {.entry = {.count = 1, .reusable = true}}, SHIFT(50), |
3771 | - [11] = {.entry = {.count = 1, .reusable = true}}, SHIFT(49), |
3772 | - [13] = {.entry = {.count = 1, .reusable = true}}, SHIFT(48), |
3773 | - [15] = {.entry = {.count = 1, .reusable = true}}, SHIFT(17), |
3774 | - [17] = {.entry = {.count = 1, .reusable = true}}, SHIFT(16), |
3775 | - [19] = {.entry = {.count = 1, .reusable = true}}, SHIFT(47), |
3776 | - [21] = {.entry = {.count = 1, .reusable = false}}, SHIFT(21), |
3777 | - [23] = {.entry = {.count = 1, .reusable = false}}, SHIFT(19), |
3778 | - [25] = {.entry = {.count = 1, .reusable = false}}, SHIFT(40), |
3779 | - [27] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_source, 1), |
3780 | - [29] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_source_repeat1, 2), |
3781 | - [31] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_repeat1, 2), SHIFT_REPEAT(30), |
3782 | - [34] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_repeat1, 2), SHIFT_REPEAT(12), |
3783 | - [37] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_repeat1, 2), SHIFT_REPEAT(50), |
3784 | - [40] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_repeat1, 2), SHIFT_REPEAT(49), |
3785 | - [43] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_repeat1, 2), SHIFT_REPEAT(48), |
3786 | - [46] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_repeat1, 2), SHIFT_REPEAT(17), |
3787 | - [49] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_repeat1, 2), SHIFT_REPEAT(16), |
3788 | - [52] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_repeat1, 2), SHIFT_REPEAT(47), |
3789 | - [55] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_source_repeat1, 2), SHIFT_REPEAT(21), |
3790 | - [58] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_source_repeat1, 2), SHIFT_REPEAT(19), |
3791 | - [61] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_source_repeat1, 2), SHIFT_REPEAT(40), |
3792 | - [64] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_source_repeat1, 2), |
3793 | - [66] = {.entry = {.count = 1, .reusable = true}}, SHIFT(18), |
3794 | - [68] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_filename_repeat1, 2), |
3795 | - [70] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_filename_repeat1, 2), SHIFT_REPEAT(6), |
3796 | - [73] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_filename, 1), |
3797 | - [75] = {.entry = {.count = 1, .reusable = false}}, SHIFT(6), |
3798 | - [77] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_filename_repeat1, 2), SHIFT_REPEAT(8), |
3799 | - [80] = {.entry = {.count = 1, .reusable = false}}, SHIFT(8), |
3800 | - [82] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_index, 4), |
3801 | - [84] = {.entry = {.count = 1, .reusable = true}}, SHIFT(37), |
3802 | - [86] = {.entry = {.count = 1, .reusable = true}}, SHIFT(7), |
3803 | - [88] = {.entry = {.count = 1, .reusable = true}}, SHIFT(39), |
3804 | - [90] = {.entry = {.count = 1, .reusable = true}}, SHIFT(14), |
3805 | - [92] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_filename_repeat1, 2), SHIFT_REPEAT(13), |
3806 | - [95] = {.entry = {.count = 1, .reusable = true}}, SHIFT(9), |
3807 | - [97] = {.entry = {.count = 1, .reusable = true}}, SHIFT(13), |
3808 | - [99] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_deletion, 1), |
3809 | - [101] = {.entry = {.count = 1, .reusable = true}}, SHIFT(28), |
3810 | - [103] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_location, 4), |
3811 | - [105] = {.entry = {.count = 1, .reusable = true}}, SHIFT(45), |
3812 | - [107] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_addition, 1), |
3813 | - [109] = {.entry = {.count = 1, .reusable = true}}, SHIFT(27), |
3814 | - [111] = {.entry = {.count = 1, .reusable = true}}, SHIFT(24), |
3815 | - [113] = {.entry = {.count = 1, .reusable = true}}, SHIFT(20), |
3816 | - [115] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_old_file, 2), |
3817 | - [117] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_new_file, 2), |
3818 | - [119] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_addition, 2), |
3819 | - [121] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_deletion, 2), |
3820 | - [123] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_command, 3), |
3821 | - [125] = {.entry = {.count = 1, .reusable = true}}, SHIFT(5), |
3822 | - [127] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_file_change, 3), |
3823 | - [129] = {.entry = {.count = 1, .reusable = true}}, SHIFT(11), |
3824 | - [131] = {.entry = {.count = 1, .reusable = true}}, SHIFT(10), |
3825 | - [133] = {.entry = {.count = 1, .reusable = true}}, SHIFT(41), |
3826 | - [135] = {.entry = {.count = 1, .reusable = true}}, SHIFT(33), |
3827 | - [137] = {.entry = {.count = 1, .reusable = true}}, SHIFT(34), |
3828 | - [139] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_mode, 1), |
3829 | - [141] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_file_change, 4), |
3830 | - [143] = {.entry = {.count = 1, .reusable = true}}, SHIFT(22), |
3831 | - [145] = {.entry = {.count = 1, .reusable = true}}, SHIFT(4), |
3832 | - [147] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_similarity, 4, .production_id = 1), |
3833 | - [149] = {.entry = {.count = 1, .reusable = true}}, ACCEPT_INPUT(), |
3834 | - [151] = {.entry = {.count = 1, .reusable = true}}, SHIFT(46), |
3835 | - [153] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_index, 5), |
3836 | - [155] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_location, 5), |
3837 | - [157] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_binary_change, 6), |
3838 | - [159] = {.entry = {.count = 1, .reusable = true}}, SHIFT(23), |
3839 | - [161] = {.entry = {.count = 1, .reusable = true}}, SHIFT(36), |
3840 | - [163] = {.entry = {.count = 1, .reusable = true}}, SHIFT(35), |
3841 | - [165] = {.entry = {.count = 1, .reusable = true}}, SHIFT(15), |
3842 | + [5] = {.entry = {.count = 1, .reusable = false}}, SHIFT(2), |
3843 | + [7] = {.entry = {.count = 1, .reusable = true}}, SHIFT(41), |
3844 | + [9] = {.entry = {.count = 1, .reusable = true}}, SHIFT(35), |
3845 | + [11] = {.entry = {.count = 1, .reusable = true}}, SHIFT(43), |
3846 | + [13] = {.entry = {.count = 1, .reusable = true}}, SHIFT(44), |
3847 | + [15] = {.entry = {.count = 1, .reusable = true}}, SHIFT(53), |
3848 | + [17] = {.entry = {.count = 1, .reusable = true}}, SHIFT(30), |
3849 | + [19] = {.entry = {.count = 1, .reusable = true}}, SHIFT(29), |
3850 | + [21] = {.entry = {.count = 1, .reusable = true}}, SHIFT(51), |
3851 | + [23] = {.entry = {.count = 1, .reusable = false}}, SHIFT(11), |
3852 | + [25] = {.entry = {.count = 1, .reusable = false}}, SHIFT(12), |
3853 | + [27] = {.entry = {.count = 1, .reusable = false}}, SHIFT(16), |
3854 | + [29] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_source, 1), |
3855 | + [31] = {.entry = {.count = 1, .reusable = false}}, SHIFT(10), |
3856 | + [33] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_source_repeat2, 2), |
3857 | + [35] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_repeat2, 2), SHIFT_REPEAT(41), |
3858 | + [38] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_repeat2, 2), SHIFT_REPEAT(35), |
3859 | + [41] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_repeat2, 2), SHIFT_REPEAT(43), |
3860 | + [44] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_repeat2, 2), SHIFT_REPEAT(44), |
3861 | + [47] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_repeat2, 2), SHIFT_REPEAT(53), |
3862 | + [50] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_repeat2, 2), SHIFT_REPEAT(30), |
3863 | + [53] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_repeat2, 2), SHIFT_REPEAT(29), |
3864 | + [56] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_repeat2, 2), SHIFT_REPEAT(51), |
3865 | + [59] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_source_repeat2, 2), SHIFT_REPEAT(11), |
3866 | + [62] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_source_repeat2, 2), SHIFT_REPEAT(12), |
3867 | + [65] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_source_repeat2, 2), SHIFT_REPEAT(16), |
3868 | + [68] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_source, 2), |
3869 | + [70] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_filename, 1), |
3870 | + [72] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_filename, 1), |
3871 | + [74] = {.entry = {.count = 1, .reusable = false}}, SHIFT(8), |
3872 | + [76] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_index, 4), |
3873 | + [78] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_index, 4), |
3874 | + [80] = {.entry = {.count = 1, .reusable = false}}, SHIFT(21), |
3875 | + [82] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_filename_repeat1, 2), |
3876 | + [84] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_filename_repeat1, 2), |
3877 | + [86] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_filename_repeat1, 2), SHIFT_REPEAT(8), |
3878 | + [89] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_location, 4), |
3879 | + [91] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_location, 4), |
3880 | + [93] = {.entry = {.count = 1, .reusable = false}}, SHIFT(17), |
3881 | + [95] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_source_repeat1, 2), |
3882 | + [97] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_source_repeat1, 2), SHIFT_REPEAT(10), |
3883 | + [100] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_source_repeat1, 2), |
3884 | + [102] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_addition, 1), |
3885 | + [104] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_addition, 1), |
3886 | + [106] = {.entry = {.count = 1, .reusable = false}}, SHIFT(25), |
3887 | + [108] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_deletion, 1), |
3888 | + [110] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_deletion, 1), |
3889 | + [112] = {.entry = {.count = 1, .reusable = false}}, SHIFT(13), |
3890 | + [114] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_deletion, 2), |
3891 | + [116] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_deletion, 2), |
3892 | + [118] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_file_change, 3), |
3893 | + [120] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_file_change, 3), |
3894 | + [122] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_binary_change, 6), |
3895 | + [124] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_binary_change, 6), |
3896 | + [126] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_source_repeat2, 1), |
3897 | + [128] = {.entry = {.count = 1, .reusable = false}}, SHIFT(26), |
3898 | + [130] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_source_repeat2, 1), |
3899 | + [132] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_location, 5), |
3900 | + [134] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_location, 5), |
3901 | + [136] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_index, 5), |
3902 | + [138] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_index, 5), |
3903 | + [140] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_similarity, 4, .production_id = 1), |
3904 | + [142] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_similarity, 4, .production_id = 1), |
3905 | + [144] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_file_change, 4), |
3906 | + [146] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_file_change, 4), |
3907 | + [148] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_mode, 1), |
3908 | + [150] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_mode, 1), |
3909 | + [152] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_command, 3), |
3910 | + [154] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_command, 3), |
3911 | + [156] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_old_file, 2), |
3912 | + [158] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_old_file, 2), |
3913 | + [160] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_new_file, 2), |
3914 | + [162] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_new_file, 2), |
3915 | + [164] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_addition, 2), |
3916 | + [166] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_addition, 2), |
3917 | + [168] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_source_repeat2, 2), |
3918 | + [170] = {.entry = {.count = 1, .reusable = true}}, SHIFT(33), |
3919 | + [172] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_filename_repeat1, 2), SHIFT_REPEAT(28), |
3920 | + [175] = {.entry = {.count = 1, .reusable = true}}, SHIFT(6), |
3921 | + [177] = {.entry = {.count = 1, .reusable = false}}, SHIFT(28), |
3922 | + [179] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_filename_repeat1, 2), SHIFT_REPEAT(32), |
3923 | + [182] = {.entry = {.count = 1, .reusable = false}}, SHIFT(32), |
3924 | + [184] = {.entry = {.count = 1, .reusable = true}}, SHIFT(47), |
3925 | + [186] = {.entry = {.count = 1, .reusable = true}}, SHIFT(36), |
3926 | + [188] = {.entry = {.count = 1, .reusable = true}}, SHIFT(31), |
3927 | + [190] = {.entry = {.count = 1, .reusable = true}}, SHIFT(21), |
3928 | + [192] = {.entry = {.count = 1, .reusable = true}}, SHIFT(48), |
3929 | + [194] = {.entry = {.count = 1, .reusable = true}}, SHIFT(42), |
3930 | + [196] = {.entry = {.count = 1, .reusable = true}}, SHIFT(34), |
3931 | + [198] = {.entry = {.count = 1, .reusable = true}}, SHIFT(9), |
3932 | + [200] = {.entry = {.count = 1, .reusable = true}}, SHIFT(27), |
3933 | + [202] = {.entry = {.count = 1, .reusable = true}}, SHIFT(39), |
3934 | + [204] = {.entry = {.count = 1, .reusable = true}}, SHIFT(19), |
3935 | + [206] = {.entry = {.count = 1, .reusable = true}}, SHIFT(15), |
3936 | + [208] = {.entry = {.count = 1, .reusable = true}}, SHIFT(38), |
3937 | + [210] = {.entry = {.count = 1, .reusable = true}}, SHIFT(7), |
3938 | + [212] = {.entry = {.count = 1, .reusable = true}}, ACCEPT_INPUT(), |
3939 | + [214] = {.entry = {.count = 1, .reusable = true}}, SHIFT(37), |
3940 | + [216] = {.entry = {.count = 1, .reusable = true}}, SHIFT(40), |
3941 | + [218] = {.entry = {.count = 1, .reusable = true}}, SHIFT(45), |
3942 | + [220] = {.entry = {.count = 1, .reusable = true}}, SHIFT(52), |
3943 | }; |
3944 | |
3945 | #ifdef __cplusplus |
3946 | diff --git a/test/corpus/text.txt b/test/corpus/text.txt |
3947 | index 29f34c2..4a306c1 100644 |
3948 | --- a/test/corpus/text.txt |
3949 | +++ b/test/corpus/text.txt |
3950 | @@ -145,7 +145,6 @@ index 00000000..ee9808dc |
3951 | Just a file declaration |
3952 | ================================================================================ |
3953 | --- /dev/null |
3954 | - |
3955 | -------------------------------------------------------------------------------- |
3956 | |
3957 | (source |