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