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