gherkin 2.12.1 → 2.12.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (87) hide show
  1. checksums.yaml +4 -4
  2. data/.ruby-version +1 -1
  3. data/History.md +11 -0
  4. data/README.md +1 -1
  5. data/ext/gherkin_lexer_el/gherkin_lexer_el.c +642 -700
  6. data/ext/gherkin_lexer_kn/extconf.rb +6 -0
  7. data/ext/gherkin_lexer_kn/gherkin_lexer_kn.c +1965 -0
  8. data/gherkin.gemspec +5 -5
  9. data/lib/gherkin/formatter/filter_formatter.rb +5 -1
  10. data/lib/gherkin/formatter/pretty_formatter.rb +3 -2
  11. data/lib/gherkin/i18n.json +15 -1
  12. data/lib/gherkin/lexer/ar.rb +1074 -1071
  13. data/lib/gherkin/lexer/bg.rb +1286 -1283
  14. data/lib/gherkin/lexer/bm.rb +1154 -1151
  15. data/lib/gherkin/lexer/ca.rb +1214 -1211
  16. data/lib/gherkin/lexer/cs.rb +1150 -1147
  17. data/lib/gherkin/lexer/cy_gb.rb +936 -933
  18. data/lib/gherkin/lexer/da.rb +952 -949
  19. data/lib/gherkin/lexer/de.rb +1070 -1067
  20. data/lib/gherkin/lexer/el.rb +1532 -1581
  21. data/lib/gherkin/lexer/en.rb +1060 -1057
  22. data/lib/gherkin/lexer/en_au.rb +1390 -1387
  23. data/lib/gherkin/lexer/en_lol.rb +876 -873
  24. data/lib/gherkin/lexer/en_old.rb +941 -938
  25. data/lib/gherkin/lexer/en_pirate.rb +1114 -1111
  26. data/lib/gherkin/lexer/en_scouse.rb +1266 -1263
  27. data/lib/gherkin/lexer/en_tx.rb +958 -955
  28. data/lib/gherkin/lexer/eo.rb +937 -934
  29. data/lib/gherkin/lexer/es.rb +1044 -1041
  30. data/lib/gherkin/lexer/et.rb +932 -929
  31. data/lib/gherkin/lexer/fa.rb +1118 -1115
  32. data/lib/gherkin/lexer/fi.rb +911 -908
  33. data/lib/gherkin/lexer/fr.rb +1132 -1129
  34. data/lib/gherkin/lexer/gl.rb +1021 -1018
  35. data/lib/gherkin/lexer/he.rb +1022 -1019
  36. data/lib/gherkin/lexer/hi.rb +1463 -1460
  37. data/lib/gherkin/lexer/hr.rb +970 -967
  38. data/lib/gherkin/lexer/hu.rb +1022 -1019
  39. data/lib/gherkin/lexer/id.rb +905 -902
  40. data/lib/gherkin/lexer/is.rb +1024 -1021
  41. data/lib/gherkin/lexer/it.rb +990 -987
  42. data/lib/gherkin/lexer/ja.rb +1322 -1319
  43. data/lib/gherkin/lexer/kn.rb +1672 -0
  44. data/lib/gherkin/lexer/ko.rb +1006 -1003
  45. data/lib/gherkin/lexer/lt.rb +949 -946
  46. data/lib/gherkin/lexer/lu.rb +1036 -1033
  47. data/lib/gherkin/lexer/lv.rb +1070 -1067
  48. data/lib/gherkin/lexer/nl.rb +1019 -1016
  49. data/lib/gherkin/lexer/no.rb +964 -961
  50. data/lib/gherkin/lexer/pa.rb +1756 -1753
  51. data/lib/gherkin/lexer/pl.rb +1361 -1358
  52. data/lib/gherkin/lexer/pt.rb +1334 -1331
  53. data/lib/gherkin/lexer/ro.rb +1068 -1065
  54. data/lib/gherkin/lexer/ru.rb +1670 -1667
  55. data/lib/gherkin/lexer/sk.rb +1356 -1353
  56. data/lib/gherkin/lexer/sr_cyrl.rb +1707 -1704
  57. data/lib/gherkin/lexer/sr_latn.rb +1198 -1195
  58. data/lib/gherkin/lexer/sv.rb +974 -971
  59. data/lib/gherkin/lexer/th.rb +2396 -2393
  60. data/lib/gherkin/lexer/tl.rb +1630 -1627
  61. data/lib/gherkin/lexer/tr.rb +996 -993
  62. data/lib/gherkin/lexer/tt.rb +1547 -1544
  63. data/lib/gherkin/lexer/uk.rb +1550 -1547
  64. data/lib/gherkin/lexer/uz.rb +1280 -1277
  65. data/lib/gherkin/lexer/vi.rb +1102 -1099
  66. data/lib/gherkin/lexer/zh_cn.rb +962 -959
  67. data/lib/gherkin/lexer/zh_tw.rb +956 -953
  68. data/lib/gherkin/listener/formatter_listener.rb +13 -6
  69. data/lib/gherkin/platform.rb +2 -2
  70. data/lib/gherkin/tag_expression.rb +1 -0
  71. data/ragel/lexer.js.rl.erb +109 -14
  72. data/ragel/lexer.rb.rl.erb +3 -0
  73. data/spec/gherkin/i18n_spec.rb +1 -0
  74. data/spec/gherkin/json_parser_spec.rb +10 -22
  75. data/spec/gherkin/lexer/i18n_lexer_spec.rb +7 -3
  76. data/spec/gherkin/parser/parser_spec.rb +1 -1
  77. data/spec/gherkin/rubify_spec.rb +1 -1
  78. data/spec/gherkin/shared/doc_string_group.rb +0 -2
  79. data/spec/gherkin/shared/encoding_group.rb +0 -2
  80. data/spec/gherkin/shared/lexer_group.rb +0 -2
  81. data/spec/gherkin/shared/row_group.rb +0 -2
  82. data/spec/gherkin/shared/tags_group.rb +0 -2
  83. data/spec/spec_helper.rb +21 -7
  84. data/tasks/ikvm.rake +2 -2
  85. data/tasks/ragel_task.rb +8 -0
  86. data/tasks/rspec.rake +1 -1
  87. metadata +25 -21
@@ -0,0 +1,6 @@
1
+ require 'mkmf'
2
+ CONFIG['warnflags'].gsub!(/-Wshorten-64-to-32/, '') if CONFIG['warnflags']
3
+ $CFLAGS << ' -O0 -Wall' if CONFIG['CC'] =~ /gcc|clang/
4
+ dir_config("gherkin_lexer_kn")
5
+ have_library("c", "main")
6
+ create_makefile("gherkin_lexer_kn")
@@ -0,0 +1,1965 @@
1
+
2
+ #line 1 "ragel/i18n/kn.c.rl"
3
+ #include <assert.h>
4
+ #include <ruby.h>
5
+
6
+ #if defined(_WIN32)
7
+ #include <stddef.h>
8
+ #endif
9
+
10
+ #ifdef HAVE_RUBY_RE_H
11
+ #include <ruby/re.h>
12
+ #else
13
+ #include <re.h>
14
+ #endif
15
+
16
+ #ifdef HAVE_RUBY_ENCODING_H
17
+ #include <ruby/encoding.h>
18
+ #define ENCODED_STR_NEW(ptr, len) \
19
+ rb_enc_str_new(ptr, len, rb_utf8_encoding())
20
+ #else
21
+ #define ENCODED_STR_NEW(ptr, len) \
22
+ rb_str_new(ptr, len)
23
+ #endif
24
+
25
+ #ifndef RSTRING_PTR
26
+ #define RSTRING_PTR(s) (RSTRING(s)->ptr)
27
+ #endif
28
+
29
+ #ifndef RSTRING_LEN
30
+ #define RSTRING_LEN(s) (RSTRING(s)->len)
31
+ #endif
32
+
33
+ #define DATA_GET(FROM, TYPE, NAME) \
34
+ Data_Get_Struct(FROM, TYPE, NAME); \
35
+ if (NAME == NULL) { \
36
+ rb_raise(rb_eArgError, "NULL found for " # NAME " when it shouldn't be."); \
37
+ }
38
+
39
+ typedef struct lexer_state {
40
+ int content_len;
41
+ int line_number;
42
+ int current_line;
43
+ int start_col;
44
+ size_t mark;
45
+ size_t keyword_start;
46
+ size_t keyword_end;
47
+ size_t next_keyword_start;
48
+ size_t content_start;
49
+ size_t content_end;
50
+ size_t docstring_content_type_start;
51
+ size_t docstring_content_type_end;
52
+ size_t query_start;
53
+ size_t last_newline;
54
+ size_t final_newline;
55
+ } lexer_state;
56
+
57
+ static VALUE mGherkin;
58
+ static VALUE mGherkinLexer;
59
+ static VALUE mCLexer;
60
+ static VALUE cI18nLexer;
61
+ static VALUE rb_eGherkinLexingError;
62
+
63
+ #define LEN(AT, P) (P - data - lexer->AT)
64
+ #define MARK(M, P) (lexer->M = (P) - data)
65
+ #define PTR_TO(P) (data + lexer->P)
66
+
67
+ #define STORE_KW_END_CON(EVENT) \
68
+ store_multiline_kw_con(listener, # EVENT, \
69
+ PTR_TO(keyword_start), LEN(keyword_start, PTR_TO(keyword_end - 1)), \
70
+ PTR_TO(content_start), LEN(content_start, PTR_TO(content_end)), \
71
+ lexer->current_line, lexer->start_col); \
72
+ if (lexer->content_end != 0) { \
73
+ p = PTR_TO(content_end - 1); \
74
+ } \
75
+ lexer->content_end = 0
76
+
77
+ #define STORE_ATTR(ATTR) \
78
+ store_attr(listener, # ATTR, \
79
+ PTR_TO(content_start), LEN(content_start, p), \
80
+ lexer->line_number)
81
+
82
+
83
+ #line 254 "ragel/i18n/kn.c.rl"
84
+
85
+
86
+ /** Data **/
87
+
88
+ #line 89 "ext/gherkin_lexer_kn/gherkin_lexer_kn.c"
89
+ static const char _lexer_actions[] = {
90
+ 0, 1, 0, 1, 1, 1, 2, 1,
91
+ 3, 1, 4, 1, 5, 1, 6, 1,
92
+ 7, 1, 8, 1, 9, 1, 10, 1,
93
+ 11, 1, 12, 1, 13, 1, 16, 1,
94
+ 17, 1, 18, 1, 19, 1, 20, 1,
95
+ 21, 1, 22, 1, 23, 2, 1, 18,
96
+ 2, 4, 5, 2, 13, 0, 2, 14,
97
+ 15, 2, 17, 0, 2, 17, 2, 2,
98
+ 17, 16, 2, 17, 19, 2, 18, 6,
99
+ 2, 18, 7, 2, 18, 8, 2, 18,
100
+ 9, 2, 18, 10, 2, 18, 16, 2,
101
+ 20, 21, 2, 22, 0, 2, 22, 2,
102
+ 2, 22, 16, 2, 22, 19, 3, 3,
103
+ 14, 15, 3, 5, 14, 15, 3, 11,
104
+ 14, 15, 3, 12, 14, 15, 3, 13,
105
+ 14, 15, 3, 14, 15, 18, 3, 17,
106
+ 0, 11, 3, 17, 14, 15, 4, 1,
107
+ 14, 15, 18, 4, 4, 5, 14, 15,
108
+ 4, 17, 0, 14, 15, 5, 17, 0,
109
+ 11, 14, 15
110
+ };
111
+
112
+ static const short _lexer_key_offsets[] = {
113
+ 0, 0, 12, 13, 21, 22, 23, 24,
114
+ 25, 26, 27, 28, 29, 30, 31, 33,
115
+ 35, 46, 47, 48, 50, 52, 57, 62,
116
+ 67, 72, 76, 80, 82, 83, 84, 85,
117
+ 86, 87, 88, 89, 90, 91, 92, 93,
118
+ 94, 95, 96, 97, 102, 109, 114, 118,
119
+ 124, 127, 129, 135, 146, 147, 148, 149,
120
+ 150, 151, 152, 153, 154, 155, 156, 157,
121
+ 158, 159, 160, 161, 162, 163, 164, 165,
122
+ 166, 167, 168, 169, 170, 171, 172, 173,
123
+ 174, 175, 176, 183, 185, 187, 189, 191,
124
+ 193, 195, 197, 199, 201, 203, 205, 207,
125
+ 209, 211, 213, 215, 217, 219, 230, 231,
126
+ 232, 233, 234, 235, 236, 237, 238, 239,
127
+ 240, 241, 242, 243, 244, 245, 246, 247,
128
+ 248, 249, 250, 251, 252, 253, 254, 255,
129
+ 256, 257, 266, 268, 276, 278, 280, 282,
130
+ 284, 286, 288, 290, 292, 294, 296, 298,
131
+ 300, 302, 304, 306, 308, 310, 312, 314,
132
+ 316, 318, 320, 322, 324, 326, 328, 330,
133
+ 332, 334, 336, 338, 340, 342, 344, 346,
134
+ 348, 350, 353, 355, 357, 359, 361, 363,
135
+ 365, 367, 369, 371, 373, 375, 377, 379,
136
+ 381, 383, 385, 387, 389, 391, 393, 395,
137
+ 397, 399, 401, 403, 405, 407, 409, 411,
138
+ 413, 415, 417, 419, 421, 423, 425, 427,
139
+ 429, 431, 433, 435, 437, 439, 441, 443,
140
+ 445, 447, 449, 451, 453, 455, 457, 459,
141
+ 461, 463, 465, 467, 469, 471, 473, 475,
142
+ 477, 479, 481, 483, 485, 487, 489, 491,
143
+ 493, 495, 497, 499, 502, 504, 506, 508,
144
+ 510, 512, 514, 516, 518, 520, 522, 524,
145
+ 526, 528, 530, 532, 534, 536, 538, 540,
146
+ 542, 544, 546, 548, 550, 552, 554, 556,
147
+ 558, 560, 562, 564, 566, 568, 570, 572,
148
+ 574, 576, 578, 580, 582, 584, 586, 588,
149
+ 589, 590, 592, 593, 594, 595, 596, 597,
150
+ 598, 599, 600, 601, 602, 603, 604, 605,
151
+ 606, 607, 608, 609, 610, 611, 612, 613,
152
+ 614, 615, 616, 617, 618, 619, 620, 621,
153
+ 622, 623, 624, 625, 626, 627, 628, 629,
154
+ 630, 631, 632, 633, 634, 635, 636, 637,
155
+ 638, 639, 640, 649, 651, 658, 660, 662,
156
+ 664, 666, 668, 670, 672, 674, 676, 678,
157
+ 680, 682, 684, 686, 688, 690, 692, 694,
158
+ 696, 698, 700, 702, 704, 706, 708, 710,
159
+ 712, 714, 716, 718, 720, 722, 724, 726,
160
+ 728, 730, 732, 735, 737, 739, 741, 743,
161
+ 745, 747, 749, 751, 753, 755, 757, 759,
162
+ 761, 763, 765, 767, 769, 771, 773, 775,
163
+ 777, 779, 781, 783, 785, 787, 789, 791,
164
+ 793, 795, 797, 799, 801, 803, 805, 807,
165
+ 809, 811, 813, 815, 817, 819, 821, 823,
166
+ 825, 827, 829, 831, 833, 835, 837, 839,
167
+ 841, 843, 845, 847, 849, 851, 853, 855,
168
+ 857, 859, 861, 863, 865, 867, 869, 871,
169
+ 873, 875, 877, 879, 881, 883, 885, 887,
170
+ 889, 891, 893, 895, 897, 899, 901, 903,
171
+ 905, 907, 908, 909, 910, 911, 912, 913,
172
+ 914, 915, 916, 917, 918, 919, 920, 921,
173
+ 922, 923, 924, 925, 926, 927, 928, 929,
174
+ 930, 931, 932, 933, 934, 935, 937, 938,
175
+ 939, 940, 941, 942, 943, 944, 945, 946,
176
+ 947, 948, 949, 950, 951, 952, 953, 954,
177
+ 955, 956, 957, 958, 959, 968, 970, 978,
178
+ 980, 982, 984, 986, 988, 990, 992, 994,
179
+ 996, 998, 1000, 1002, 1004, 1006, 1008, 1010,
180
+ 1012, 1014, 1016, 1018, 1020, 1022, 1024, 1026,
181
+ 1028, 1030, 1032, 1034, 1036, 1038, 1040, 1042,
182
+ 1044, 1046, 1048, 1050, 1052, 1055, 1057, 1059,
183
+ 1061, 1063, 1065, 1067, 1069, 1071, 1073, 1075,
184
+ 1077, 1079, 1081, 1083, 1085, 1087, 1089, 1091,
185
+ 1093, 1095, 1097, 1099, 1101, 1103, 1105, 1107,
186
+ 1109, 1111, 1113, 1115, 1117, 1119, 1121, 1123,
187
+ 1125, 1127, 1129, 1131, 1133, 1135, 1137, 1139,
188
+ 1141, 1143, 1145, 1147, 1149, 1151, 1153, 1155,
189
+ 1157, 1159, 1161, 1163, 1165, 1167, 1169, 1171,
190
+ 1173, 1175, 1177, 1179, 1181, 1183, 1185, 1187,
191
+ 1189, 1191, 1193, 1195, 1197, 1199, 1201, 1203,
192
+ 1205, 1207, 1209, 1211, 1213, 1215, 1217, 1219,
193
+ 1221, 1223, 1225, 1227, 1229, 1231, 1233, 1235,
194
+ 1237, 1239, 1241, 1243, 1245, 1247, 1249, 1251,
195
+ 1253, 1255, 1257, 1258, 1259, 1260, 1261, 1262,
196
+ 1263, 1264, 1265, 1266, 1267, 1268, 1269, 1270,
197
+ 1271, 1272, 1273, 1281, 1283, 1288, 1290, 1292,
198
+ 1294, 1296, 1298, 1300, 1302, 1304, 1306, 1308,
199
+ 1310, 1312, 1314, 1316, 1318, 1320, 1322, 1324,
200
+ 1326, 1328, 1330, 1332, 1334, 1336, 1338, 1340,
201
+ 1342, 1344, 1346, 1348, 1350, 1352, 1354, 1356,
202
+ 1358, 1360, 1362, 1364, 1366, 1368, 1370, 1372,
203
+ 1374, 1376, 1378, 1380, 1382, 1384, 1386, 1388,
204
+ 1390, 1392, 1394, 1396, 1398, 1400, 1402, 1404,
205
+ 1406, 1408, 1410, 1412, 1414, 1416, 1418, 1420,
206
+ 1422, 1424, 1427, 1429, 1431, 1433, 1435, 1437,
207
+ 1439, 1441, 1443, 1445, 1447, 1449, 1451, 1453,
208
+ 1455, 1457, 1459, 1461, 1463, 1465, 1467, 1469,
209
+ 1471, 1473, 1475, 1477, 1479, 1481, 1483, 1485,
210
+ 1487, 1489, 1491, 1493, 1495, 1497, 1499, 1501,
211
+ 1503, 1505, 1507, 1509, 1511, 1513, 1514, 1515
212
+ };
213
+
214
+ static const char _lexer_trans_keys[] = {
215
+ -32, -17, 10, 32, 34, 35, 37, 42,
216
+ 64, 124, 9, 13, -78, -122, -119, -107,
217
+ -88, -82, -75, -72, -71, -32, -78, -90,
218
+ -32, -78, -80, -32, -77, -122, 32, 10,
219
+ 13, 10, 13, -32, 10, 32, 34, 35,
220
+ 37, 42, 64, 124, 9, 13, 34, 34,
221
+ 10, 13, 10, 13, 10, 32, 34, 9,
222
+ 13, 10, 32, 34, 9, 13, 10, 32,
223
+ 34, 9, 13, 10, 32, 34, 9, 13,
224
+ 10, 32, 9, 13, 10, 32, 9, 13,
225
+ 10, 13, 10, 95, 70, 69, 65, 84,
226
+ 85, 82, 69, 95, 69, 78, 68, 95,
227
+ 37, 13, 32, 64, 9, 10, 9, 10,
228
+ 13, 32, 64, 11, 12, 10, 32, 64,
229
+ 9, 13, 32, 124, 9, 13, 10, 32,
230
+ 92, 124, 9, 13, 10, 92, 124, 10,
231
+ 92, 10, 32, 92, 124, 9, 13, -32,
232
+ 10, 32, 34, 35, 37, 42, 64, 124,
233
+ 9, 13, -32, -78, -90, -32, -78, -66,
234
+ -32, -78, -71, -32, -78, -80, -32, -78,
235
+ -93, -32, -77, -122, -32, -78, -105, -32,
236
+ -78, -77, -32, -77, -127, 58, 10, 10,
237
+ -32, 10, 32, 35, 124, 9, 13, -78,
238
+ 10, -71, 10, -32, 10, -77, 10, -122,
239
+ 10, -32, 10, -78, 10, -102, 10, -32,
240
+ 10, -77, 10, -115, 10, -32, 10, -78,
241
+ 10, -102, 10, -32, 10, -78, 10, -77,
242
+ 10, 10, 58, -32, 10, 32, 34, 35,
243
+ 37, 42, 64, 124, 9, 13, -32, -78,
244
+ -91, -32, -78, -66, -32, -78, -72, -32,
245
+ -78, -66, -32, -78, -80, -32, -78, -66,
246
+ -32, -78, -126, -32, -78, -74, 58, 10,
247
+ 10, -32, 10, 32, 35, 37, 42, 64,
248
+ 9, 13, -78, 10, -122, -107, -88, -82,
249
+ -75, -72, -71, 10, -32, 10, -78, 10,
250
+ -90, 10, -32, 10, -78, 10, -80, 10,
251
+ -32, 10, -77, 10, -122, 10, 10, 32,
252
+ -32, 10, -78, 10, -91, 10, -32, 10,
253
+ -78, 10, -66, 10, -32, 10, -78, 10,
254
+ -72, 10, -32, 10, -78, 10, -66, 10,
255
+ -32, 10, -78, 10, -80, 10, -32, 10,
256
+ -78, 10, -66, 10, -32, 10, -78, 10,
257
+ -126, 10, -32, 10, -78, 10, -74, 10,
258
+ 10, 58, -32, 10, -78, 10, -126, -65,
259
+ 10, -32, 10, -78, 10, -92, 10, -32,
260
+ 10, -78, 10, -80, 10, -32, 10, -77,
261
+ 10, -107, 10, -32, 10, -78, 10, -95,
262
+ 10, -32, 10, -78, 10, -65, 10, -32,
263
+ 10, -78, 10, -90, 10, -32, 10, -78,
264
+ 10, -92, 10, -32, 10, -77, 10, -115,
265
+ 10, -32, 10, -78, 10, -92, 10, -32,
266
+ 10, -77, 10, -127, 10, -32, 10, -78,
267
+ 10, -65, 10, -32, 10, -78, 10, -75,
268
+ 10, -32, 10, -78, 10, -80, 10, -32,
269
+ 10, -78, 10, -93, 10, -32, 10, -77,
270
+ 10, -122, 10, -32, 10, -77, 10, -115,
271
+ 10, -32, 10, -78, 10, -91, 10, -32,
272
+ 10, -78, 10, -65, 10, -32, 10, -78,
273
+ 10, -92, 10, -32, 10, -78, 10, -65,
274
+ 10, -32, 10, -78, 10, -81, 10, -32,
275
+ 10, -78, 10, -88, 10, -32, 10, -77,
276
+ 10, -115, 10, -32, 10, -78, 10, -88,
277
+ 10, -32, 10, -78, -77, 10, -65, 10,
278
+ -32, 10, -78, 10, -88, 10, -32, 10,
279
+ -77, 10, -115, 10, -32, 10, -78, 10,
280
+ -88, 10, -32, 10, -77, 10, -122, 10,
281
+ -32, 10, -78, 10, -78, 10, -122, 10,
282
+ -32, 10, -78, 10, -102, 10, -32, 10,
283
+ -77, 10, -115, 10, -32, 10, -78, 10,
284
+ -102, 10, -32, 10, -78, 10, -77, 10,
285
+ 10, 95, 10, 70, 10, 69, 10, 65,
286
+ 10, 84, 10, 85, 10, 82, 10, 69,
287
+ 10, 95, 10, 69, 10, 78, 10, 68,
288
+ 10, 95, 10, 37, -32, -78, -126, -65,
289
+ -32, -78, -92, -32, -78, -80, -32, -77,
290
+ -107, -32, -78, -95, -32, -78, -65, -32,
291
+ -78, -90, -32, -78, -92, -32, -77, -115,
292
+ -32, -78, -92, -32, -77, -127, -32, -78,
293
+ -65, -32, -78, -75, -32, -78, -80, -32,
294
+ -78, -93, -32, -77, -122, 58, 10, 10,
295
+ -32, 10, 32, 35, 37, 42, 64, 9,
296
+ 13, -78, 10, -122, -107, -88, -82, -72,
297
+ -71, 10, -32, 10, -78, 10, -90, 10,
298
+ -32, 10, -78, 10, -80, 10, -32, 10,
299
+ -77, 10, -122, 10, 10, 32, -32, 10,
300
+ -78, 10, -91, 10, -32, 10, -78, 10,
301
+ -66, 10, -32, 10, -78, 10, -72, 10,
302
+ -32, 10, -78, 10, -66, 10, -32, 10,
303
+ -78, 10, -80, 10, -32, 10, -78, 10,
304
+ -66, 10, -32, 10, -78, 10, -126, 10,
305
+ -32, 10, -78, 10, -74, 10, 10, 58,
306
+ -32, 10, -78, 10, -126, -65, 10, -32,
307
+ 10, -78, 10, -92, 10, -32, 10, -78,
308
+ 10, -80, 10, -32, 10, -77, 10, -107,
309
+ 10, -32, 10, -78, 10, -95, 10, -32,
310
+ 10, -78, 10, -65, 10, -32, 10, -78,
311
+ 10, -90, 10, -32, 10, -78, 10, -92,
312
+ 10, -32, 10, -77, 10, -115, 10, -32,
313
+ 10, -78, 10, -92, 10, -32, 10, -77,
314
+ 10, -127, 10, -32, 10, -77, 10, -115,
315
+ 10, -32, 10, -78, 10, -91, 10, -32,
316
+ 10, -78, 10, -65, 10, -32, 10, -78,
317
+ 10, -92, 10, -32, 10, -78, 10, -65,
318
+ 10, -32, 10, -78, 10, -81, 10, -32,
319
+ 10, -78, 10, -88, 10, -32, 10, -77,
320
+ 10, -115, 10, -32, 10, -78, 10, -88,
321
+ 10, -32, 10, -77, 10, -122, 10, -32,
322
+ 10, -78, 10, -102, 10, -32, 10, -77,
323
+ 10, -115, 10, -32, 10, -78, 10, -102,
324
+ 10, -32, 10, -78, 10, -77, 10, 10,
325
+ 95, 10, 70, 10, 69, 10, 65, 10,
326
+ 84, 10, 85, 10, 82, 10, 69, 10,
327
+ 95, 10, 69, 10, 78, 10, 68, 10,
328
+ 95, 10, 37, -32, -77, -115, -32, -78,
329
+ -91, -32, -78, -65, -32, -78, -92, -32,
330
+ -78, -65, -32, -78, -81, -32, -78, -88,
331
+ -32, -77, -115, -32, -78, -88, -32, -78,
332
+ -77, -65, -32, -78, -88, -32, -77, -115,
333
+ -32, -78, -88, -32, -77, -122, -32, -78,
334
+ -78, -32, -77, -122, 58, 10, 10, -32,
335
+ 10, 32, 35, 37, 42, 64, 9, 13,
336
+ -78, 10, -122, -107, -88, -82, -75, -72,
337
+ -71, 10, -32, 10, -78, 10, -90, 10,
338
+ -32, 10, -78, 10, -80, 10, -32, 10,
339
+ -77, 10, -122, 10, 10, 32, -32, 10,
340
+ -78, 10, -91, 10, -32, 10, -78, 10,
341
+ -66, 10, -32, 10, -78, 10, -72, 10,
342
+ -32, 10, -78, 10, -66, 10, -32, 10,
343
+ -78, 10, -80, 10, -32, 10, -78, 10,
344
+ -66, 10, -32, 10, -78, 10, -126, 10,
345
+ -32, 10, -78, 10, -74, 10, 10, 58,
346
+ -32, 10, -78, 10, -126, -65, 10, -32,
347
+ 10, -78, 10, -92, 10, -32, 10, -78,
348
+ 10, -80, 10, -32, 10, -77, 10, -107,
349
+ 10, -32, 10, -78, 10, -95, 10, -32,
350
+ 10, -78, 10, -65, 10, -32, 10, -78,
351
+ 10, -90, 10, -32, 10, -78, 10, -92,
352
+ 10, -32, 10, -77, 10, -115, 10, -32,
353
+ 10, -78, 10, -92, 10, -32, 10, -77,
354
+ 10, -127, 10, -32, 10, -78, 10, -65,
355
+ 10, -32, 10, -78, 10, -75, 10, -32,
356
+ 10, -78, 10, -80, 10, -32, 10, -78,
357
+ 10, -93, 10, -32, 10, -77, 10, -122,
358
+ 10, -32, 10, -77, 10, -115, 10, -32,
359
+ 10, -78, 10, -91, 10, -32, 10, -78,
360
+ 10, -65, 10, -32, 10, -78, 10, -92,
361
+ 10, -32, 10, -78, 10, -65, 10, -32,
362
+ 10, -78, 10, -81, 10, -32, 10, -78,
363
+ 10, -88, 10, -32, 10, -77, 10, -115,
364
+ 10, -32, 10, -78, 10, -88, 10, -32,
365
+ 10, -77, 10, -122, 10, -32, 10, -78,
366
+ 10, -102, 10, -32, 10, -77, 10, -115,
367
+ 10, -32, 10, -78, 10, -102, 10, -32,
368
+ 10, -78, 10, -77, 10, 10, 95, 10,
369
+ 70, 10, 69, 10, 65, 10, 84, 10,
370
+ 85, 10, 82, 10, 69, 10, 95, 10,
371
+ 69, 10, 78, 10, 68, 10, 95, 10,
372
+ 37, -122, -32, -78, -102, -32, -77, -115,
373
+ -32, -78, -102, -32, -78, -77, 58, 10,
374
+ 10, -32, 10, 32, 35, 37, 64, 9,
375
+ 13, -78, 10, -119, -107, -75, -71, 10,
376
+ -32, 10, -78, 10, -90, 10, -32, 10,
377
+ -78, 10, -66, 10, -32, 10, -78, 10,
378
+ -71, 10, -32, 10, -78, 10, -80, 10,
379
+ -32, 10, -78, 10, -93, 10, -32, 10,
380
+ -77, 10, -122, 10, -32, 10, -78, 10,
381
+ -105, 10, -32, 10, -78, 10, -77, 10,
382
+ -32, 10, -77, 10, -127, 10, 10, 58,
383
+ -32, 10, -78, 10, -91, 10, -32, 10,
384
+ -78, 10, -66, 10, -32, 10, -78, 10,
385
+ -72, 10, -32, 10, -78, 10, -66, 10,
386
+ -32, 10, -78, 10, -80, 10, -32, 10,
387
+ -78, 10, -66, 10, -32, 10, -78, 10,
388
+ -126, 10, -32, 10, -78, 10, -74, 10,
389
+ -32, 10, -78, 10, -65, 10, -32, 10,
390
+ -78, 10, -75, 10, -32, 10, -78, 10,
391
+ -80, 10, -32, 10, -78, 10, -93, 10,
392
+ -32, 10, -77, 10, -122, 10, -32, 10,
393
+ -78, -77, 10, -65, 10, -32, 10, -78,
394
+ 10, -88, 10, -32, 10, -77, 10, -115,
395
+ 10, -32, 10, -78, 10, -88, 10, -32,
396
+ 10, -77, 10, -122, 10, -32, 10, -78,
397
+ 10, -78, 10, -122, 10, -32, 10, -78,
398
+ 10, -102, 10, -32, 10, -77, 10, -115,
399
+ 10, -32, 10, -78, 10, -102, 10, -32,
400
+ 10, -78, 10, -77, 10, 10, 95, 10,
401
+ 70, 10, 69, 10, 65, 10, 84, 10,
402
+ 85, 10, 82, 10, 69, 10, 95, 10,
403
+ 69, 10, 78, 10, 68, 10, 95, 10,
404
+ 37, -69, -65, 0
405
+ };
406
+
407
+ static const char _lexer_single_lengths[] = {
408
+ 0, 10, 1, 8, 1, 1, 1, 1,
409
+ 1, 1, 1, 1, 1, 1, 2, 2,
410
+ 9, 1, 1, 2, 2, 3, 3, 3,
411
+ 3, 2, 2, 2, 1, 1, 1, 1,
412
+ 1, 1, 1, 1, 1, 1, 1, 1,
413
+ 1, 1, 1, 3, 5, 3, 2, 4,
414
+ 3, 2, 4, 9, 1, 1, 1, 1,
415
+ 1, 1, 1, 1, 1, 1, 1, 1,
416
+ 1, 1, 1, 1, 1, 1, 1, 1,
417
+ 1, 1, 1, 1, 1, 1, 1, 1,
418
+ 1, 1, 5, 2, 2, 2, 2, 2,
419
+ 2, 2, 2, 2, 2, 2, 2, 2,
420
+ 2, 2, 2, 2, 2, 9, 1, 1,
421
+ 1, 1, 1, 1, 1, 1, 1, 1,
422
+ 1, 1, 1, 1, 1, 1, 1, 1,
423
+ 1, 1, 1, 1, 1, 1, 1, 1,
424
+ 1, 7, 2, 8, 2, 2, 2, 2,
425
+ 2, 2, 2, 2, 2, 2, 2, 2,
426
+ 2, 2, 2, 2, 2, 2, 2, 2,
427
+ 2, 2, 2, 2, 2, 2, 2, 2,
428
+ 2, 2, 2, 2, 2, 2, 2, 2,
429
+ 2, 3, 2, 2, 2, 2, 2, 2,
430
+ 2, 2, 2, 2, 2, 2, 2, 2,
431
+ 2, 2, 2, 2, 2, 2, 2, 2,
432
+ 2, 2, 2, 2, 2, 2, 2, 2,
433
+ 2, 2, 2, 2, 2, 2, 2, 2,
434
+ 2, 2, 2, 2, 2, 2, 2, 2,
435
+ 2, 2, 2, 2, 2, 2, 2, 2,
436
+ 2, 2, 2, 2, 2, 2, 2, 2,
437
+ 2, 2, 2, 2, 2, 2, 2, 2,
438
+ 2, 2, 2, 3, 2, 2, 2, 2,
439
+ 2, 2, 2, 2, 2, 2, 2, 2,
440
+ 2, 2, 2, 2, 2, 2, 2, 2,
441
+ 2, 2, 2, 2, 2, 2, 2, 2,
442
+ 2, 2, 2, 2, 2, 2, 2, 2,
443
+ 2, 2, 2, 2, 2, 2, 2, 1,
444
+ 1, 2, 1, 1, 1, 1, 1, 1,
445
+ 1, 1, 1, 1, 1, 1, 1, 1,
446
+ 1, 1, 1, 1, 1, 1, 1, 1,
447
+ 1, 1, 1, 1, 1, 1, 1, 1,
448
+ 1, 1, 1, 1, 1, 1, 1, 1,
449
+ 1, 1, 1, 1, 1, 1, 1, 1,
450
+ 1, 1, 7, 2, 7, 2, 2, 2,
451
+ 2, 2, 2, 2, 2, 2, 2, 2,
452
+ 2, 2, 2, 2, 2, 2, 2, 2,
453
+ 2, 2, 2, 2, 2, 2, 2, 2,
454
+ 2, 2, 2, 2, 2, 2, 2, 2,
455
+ 2, 2, 3, 2, 2, 2, 2, 2,
456
+ 2, 2, 2, 2, 2, 2, 2, 2,
457
+ 2, 2, 2, 2, 2, 2, 2, 2,
458
+ 2, 2, 2, 2, 2, 2, 2, 2,
459
+ 2, 2, 2, 2, 2, 2, 2, 2,
460
+ 2, 2, 2, 2, 2, 2, 2, 2,
461
+ 2, 2, 2, 2, 2, 2, 2, 2,
462
+ 2, 2, 2, 2, 2, 2, 2, 2,
463
+ 2, 2, 2, 2, 2, 2, 2, 2,
464
+ 2, 2, 2, 2, 2, 2, 2, 2,
465
+ 2, 2, 2, 2, 2, 2, 2, 2,
466
+ 2, 1, 1, 1, 1, 1, 1, 1,
467
+ 1, 1, 1, 1, 1, 1, 1, 1,
468
+ 1, 1, 1, 1, 1, 1, 1, 1,
469
+ 1, 1, 1, 1, 1, 2, 1, 1,
470
+ 1, 1, 1, 1, 1, 1, 1, 1,
471
+ 1, 1, 1, 1, 1, 1, 1, 1,
472
+ 1, 1, 1, 1, 7, 2, 8, 2,
473
+ 2, 2, 2, 2, 2, 2, 2, 2,
474
+ 2, 2, 2, 2, 2, 2, 2, 2,
475
+ 2, 2, 2, 2, 2, 2, 2, 2,
476
+ 2, 2, 2, 2, 2, 2, 2, 2,
477
+ 2, 2, 2, 2, 3, 2, 2, 2,
478
+ 2, 2, 2, 2, 2, 2, 2, 2,
479
+ 2, 2, 2, 2, 2, 2, 2, 2,
480
+ 2, 2, 2, 2, 2, 2, 2, 2,
481
+ 2, 2, 2, 2, 2, 2, 2, 2,
482
+ 2, 2, 2, 2, 2, 2, 2, 2,
483
+ 2, 2, 2, 2, 2, 2, 2, 2,
484
+ 2, 2, 2, 2, 2, 2, 2, 2,
485
+ 2, 2, 2, 2, 2, 2, 2, 2,
486
+ 2, 2, 2, 2, 2, 2, 2, 2,
487
+ 2, 2, 2, 2, 2, 2, 2, 2,
488
+ 2, 2, 2, 2, 2, 2, 2, 2,
489
+ 2, 2, 2, 2, 2, 2, 2, 2,
490
+ 2, 2, 1, 1, 1, 1, 1, 1,
491
+ 1, 1, 1, 1, 1, 1, 1, 1,
492
+ 1, 1, 6, 2, 5, 2, 2, 2,
493
+ 2, 2, 2, 2, 2, 2, 2, 2,
494
+ 2, 2, 2, 2, 2, 2, 2, 2,
495
+ 2, 2, 2, 2, 2, 2, 2, 2,
496
+ 2, 2, 2, 2, 2, 2, 2, 2,
497
+ 2, 2, 2, 2, 2, 2, 2, 2,
498
+ 2, 2, 2, 2, 2, 2, 2, 2,
499
+ 2, 2, 2, 2, 2, 2, 2, 2,
500
+ 2, 2, 2, 2, 2, 2, 2, 2,
501
+ 2, 3, 2, 2, 2, 2, 2, 2,
502
+ 2, 2, 2, 2, 2, 2, 2, 2,
503
+ 2, 2, 2, 2, 2, 2, 2, 2,
504
+ 2, 2, 2, 2, 2, 2, 2, 2,
505
+ 2, 2, 2, 2, 2, 2, 2, 2,
506
+ 2, 2, 2, 2, 2, 1, 1, 0
507
+ };
508
+
509
+ static const char _lexer_range_lengths[] = {
510
+ 0, 1, 0, 0, 0, 0, 0, 0,
511
+ 0, 0, 0, 0, 0, 0, 0, 0,
512
+ 1, 0, 0, 0, 0, 1, 1, 1,
513
+ 1, 1, 1, 0, 0, 0, 0, 0,
514
+ 0, 0, 0, 0, 0, 0, 0, 0,
515
+ 0, 0, 0, 1, 1, 1, 1, 1,
516
+ 0, 0, 1, 1, 0, 0, 0, 0,
517
+ 0, 0, 0, 0, 0, 0, 0, 0,
518
+ 0, 0, 0, 0, 0, 0, 0, 0,
519
+ 0, 0, 0, 0, 0, 0, 0, 0,
520
+ 0, 0, 1, 0, 0, 0, 0, 0,
521
+ 0, 0, 0, 0, 0, 0, 0, 0,
522
+ 0, 0, 0, 0, 0, 1, 0, 0,
523
+ 0, 0, 0, 0, 0, 0, 0, 0,
524
+ 0, 0, 0, 0, 0, 0, 0, 0,
525
+ 0, 0, 0, 0, 0, 0, 0, 0,
526
+ 0, 1, 0, 0, 0, 0, 0, 0,
527
+ 0, 0, 0, 0, 0, 0, 0, 0,
528
+ 0, 0, 0, 0, 0, 0, 0, 0,
529
+ 0, 0, 0, 0, 0, 0, 0, 0,
530
+ 0, 0, 0, 0, 0, 0, 0, 0,
531
+ 0, 0, 0, 0, 0, 0, 0, 0,
532
+ 0, 0, 0, 0, 0, 0, 0, 0,
533
+ 0, 0, 0, 0, 0, 0, 0, 0,
534
+ 0, 0, 0, 0, 0, 0, 0, 0,
535
+ 0, 0, 0, 0, 0, 0, 0, 0,
536
+ 0, 0, 0, 0, 0, 0, 0, 0,
537
+ 0, 0, 0, 0, 0, 0, 0, 0,
538
+ 0, 0, 0, 0, 0, 0, 0, 0,
539
+ 0, 0, 0, 0, 0, 0, 0, 0,
540
+ 0, 0, 0, 0, 0, 0, 0, 0,
541
+ 0, 0, 0, 0, 0, 0, 0, 0,
542
+ 0, 0, 0, 0, 0, 0, 0, 0,
543
+ 0, 0, 0, 0, 0, 0, 0, 0,
544
+ 0, 0, 0, 0, 0, 0, 0, 0,
545
+ 0, 0, 0, 0, 0, 0, 0, 0,
546
+ 0, 0, 0, 0, 0, 0, 0, 0,
547
+ 0, 0, 0, 0, 0, 0, 0, 0,
548
+ 0, 0, 0, 0, 0, 0, 0, 0,
549
+ 0, 0, 0, 0, 0, 0, 0, 0,
550
+ 0, 0, 0, 0, 0, 0, 0, 0,
551
+ 0, 0, 0, 0, 0, 0, 0, 0,
552
+ 0, 0, 1, 0, 0, 0, 0, 0,
553
+ 0, 0, 0, 0, 0, 0, 0, 0,
554
+ 0, 0, 0, 0, 0, 0, 0, 0,
555
+ 0, 0, 0, 0, 0, 0, 0, 0,
556
+ 0, 0, 0, 0, 0, 0, 0, 0,
557
+ 0, 0, 0, 0, 0, 0, 0, 0,
558
+ 0, 0, 0, 0, 0, 0, 0, 0,
559
+ 0, 0, 0, 0, 0, 0, 0, 0,
560
+ 0, 0, 0, 0, 0, 0, 0, 0,
561
+ 0, 0, 0, 0, 0, 0, 0, 0,
562
+ 0, 0, 0, 0, 0, 0, 0, 0,
563
+ 0, 0, 0, 0, 0, 0, 0, 0,
564
+ 0, 0, 0, 0, 0, 0, 0, 0,
565
+ 0, 0, 0, 0, 0, 0, 0, 0,
566
+ 0, 0, 0, 0, 0, 0, 0, 0,
567
+ 0, 0, 0, 0, 0, 0, 0, 0,
568
+ 0, 0, 0, 0, 0, 0, 0, 0,
569
+ 0, 0, 0, 0, 0, 0, 0, 0,
570
+ 0, 0, 0, 0, 0, 0, 0, 0,
571
+ 0, 0, 0, 0, 0, 0, 0, 0,
572
+ 0, 0, 0, 0, 0, 0, 0, 0,
573
+ 0, 0, 0, 0, 0, 0, 0, 0,
574
+ 0, 0, 0, 0, 1, 0, 0, 0,
575
+ 0, 0, 0, 0, 0, 0, 0, 0,
576
+ 0, 0, 0, 0, 0, 0, 0, 0,
577
+ 0, 0, 0, 0, 0, 0, 0, 0,
578
+ 0, 0, 0, 0, 0, 0, 0, 0,
579
+ 0, 0, 0, 0, 0, 0, 0, 0,
580
+ 0, 0, 0, 0, 0, 0, 0, 0,
581
+ 0, 0, 0, 0, 0, 0, 0, 0,
582
+ 0, 0, 0, 0, 0, 0, 0, 0,
583
+ 0, 0, 0, 0, 0, 0, 0, 0,
584
+ 0, 0, 0, 0, 0, 0, 0, 0,
585
+ 0, 0, 0, 0, 0, 0, 0, 0,
586
+ 0, 0, 0, 0, 0, 0, 0, 0,
587
+ 0, 0, 0, 0, 0, 0, 0, 0,
588
+ 0, 0, 0, 0, 0, 0, 0, 0,
589
+ 0, 0, 0, 0, 0, 0, 0, 0,
590
+ 0, 0, 0, 0, 0, 0, 0, 0,
591
+ 0, 0, 0, 0, 0, 0, 0, 0,
592
+ 0, 0, 0, 0, 0, 0, 0, 0,
593
+ 0, 0, 0, 0, 0, 0, 0, 0,
594
+ 0, 0, 1, 0, 0, 0, 0, 0,
595
+ 0, 0, 0, 0, 0, 0, 0, 0,
596
+ 0, 0, 0, 0, 0, 0, 0, 0,
597
+ 0, 0, 0, 0, 0, 0, 0, 0,
598
+ 0, 0, 0, 0, 0, 0, 0, 0,
599
+ 0, 0, 0, 0, 0, 0, 0, 0,
600
+ 0, 0, 0, 0, 0, 0, 0, 0,
601
+ 0, 0, 0, 0, 0, 0, 0, 0,
602
+ 0, 0, 0, 0, 0, 0, 0, 0,
603
+ 0, 0, 0, 0, 0, 0, 0, 0,
604
+ 0, 0, 0, 0, 0, 0, 0, 0,
605
+ 0, 0, 0, 0, 0, 0, 0, 0,
606
+ 0, 0, 0, 0, 0, 0, 0, 0,
607
+ 0, 0, 0, 0, 0, 0, 0, 0,
608
+ 0, 0, 0, 0, 0, 0, 0, 0
609
+ };
610
+
611
+ static const short _lexer_index_offsets[] = {
612
+ 0, 0, 12, 14, 23, 25, 27, 29,
613
+ 31, 33, 35, 37, 39, 41, 43, 46,
614
+ 49, 60, 62, 64, 67, 70, 75, 80,
615
+ 85, 90, 94, 98, 101, 103, 105, 107,
616
+ 109, 111, 113, 115, 117, 119, 121, 123,
617
+ 125, 127, 129, 131, 136, 143, 148, 152,
618
+ 158, 162, 165, 171, 182, 184, 186, 188,
619
+ 190, 192, 194, 196, 198, 200, 202, 204,
620
+ 206, 208, 210, 212, 214, 216, 218, 220,
621
+ 222, 224, 226, 228, 230, 232, 234, 236,
622
+ 238, 240, 242, 249, 252, 255, 258, 261,
623
+ 264, 267, 270, 273, 276, 279, 282, 285,
624
+ 288, 291, 294, 297, 300, 303, 314, 316,
625
+ 318, 320, 322, 324, 326, 328, 330, 332,
626
+ 334, 336, 338, 340, 342, 344, 346, 348,
627
+ 350, 352, 354, 356, 358, 360, 362, 364,
628
+ 366, 368, 377, 380, 389, 392, 395, 398,
629
+ 401, 404, 407, 410, 413, 416, 419, 422,
630
+ 425, 428, 431, 434, 437, 440, 443, 446,
631
+ 449, 452, 455, 458, 461, 464, 467, 470,
632
+ 473, 476, 479, 482, 485, 488, 491, 494,
633
+ 497, 500, 504, 507, 510, 513, 516, 519,
634
+ 522, 525, 528, 531, 534, 537, 540, 543,
635
+ 546, 549, 552, 555, 558, 561, 564, 567,
636
+ 570, 573, 576, 579, 582, 585, 588, 591,
637
+ 594, 597, 600, 603, 606, 609, 612, 615,
638
+ 618, 621, 624, 627, 630, 633, 636, 639,
639
+ 642, 645, 648, 651, 654, 657, 660, 663,
640
+ 666, 669, 672, 675, 678, 681, 684, 687,
641
+ 690, 693, 696, 699, 702, 705, 708, 711,
642
+ 714, 717, 720, 723, 727, 730, 733, 736,
643
+ 739, 742, 745, 748, 751, 754, 757, 760,
644
+ 763, 766, 769, 772, 775, 778, 781, 784,
645
+ 787, 790, 793, 796, 799, 802, 805, 808,
646
+ 811, 814, 817, 820, 823, 826, 829, 832,
647
+ 835, 838, 841, 844, 847, 850, 853, 856,
648
+ 858, 860, 863, 865, 867, 869, 871, 873,
649
+ 875, 877, 879, 881, 883, 885, 887, 889,
650
+ 891, 893, 895, 897, 899, 901, 903, 905,
651
+ 907, 909, 911, 913, 915, 917, 919, 921,
652
+ 923, 925, 927, 929, 931, 933, 935, 937,
653
+ 939, 941, 943, 945, 947, 949, 951, 953,
654
+ 955, 957, 959, 968, 971, 979, 982, 985,
655
+ 988, 991, 994, 997, 1000, 1003, 1006, 1009,
656
+ 1012, 1015, 1018, 1021, 1024, 1027, 1030, 1033,
657
+ 1036, 1039, 1042, 1045, 1048, 1051, 1054, 1057,
658
+ 1060, 1063, 1066, 1069, 1072, 1075, 1078, 1081,
659
+ 1084, 1087, 1090, 1094, 1097, 1100, 1103, 1106,
660
+ 1109, 1112, 1115, 1118, 1121, 1124, 1127, 1130,
661
+ 1133, 1136, 1139, 1142, 1145, 1148, 1151, 1154,
662
+ 1157, 1160, 1163, 1166, 1169, 1172, 1175, 1178,
663
+ 1181, 1184, 1187, 1190, 1193, 1196, 1199, 1202,
664
+ 1205, 1208, 1211, 1214, 1217, 1220, 1223, 1226,
665
+ 1229, 1232, 1235, 1238, 1241, 1244, 1247, 1250,
666
+ 1253, 1256, 1259, 1262, 1265, 1268, 1271, 1274,
667
+ 1277, 1280, 1283, 1286, 1289, 1292, 1295, 1298,
668
+ 1301, 1304, 1307, 1310, 1313, 1316, 1319, 1322,
669
+ 1325, 1328, 1331, 1334, 1337, 1340, 1343, 1346,
670
+ 1349, 1352, 1354, 1356, 1358, 1360, 1362, 1364,
671
+ 1366, 1368, 1370, 1372, 1374, 1376, 1378, 1380,
672
+ 1382, 1384, 1386, 1388, 1390, 1392, 1394, 1396,
673
+ 1398, 1400, 1402, 1404, 1406, 1408, 1411, 1413,
674
+ 1415, 1417, 1419, 1421, 1423, 1425, 1427, 1429,
675
+ 1431, 1433, 1435, 1437, 1439, 1441, 1443, 1445,
676
+ 1447, 1449, 1451, 1453, 1455, 1464, 1467, 1476,
677
+ 1479, 1482, 1485, 1488, 1491, 1494, 1497, 1500,
678
+ 1503, 1506, 1509, 1512, 1515, 1518, 1521, 1524,
679
+ 1527, 1530, 1533, 1536, 1539, 1542, 1545, 1548,
680
+ 1551, 1554, 1557, 1560, 1563, 1566, 1569, 1572,
681
+ 1575, 1578, 1581, 1584, 1587, 1591, 1594, 1597,
682
+ 1600, 1603, 1606, 1609, 1612, 1615, 1618, 1621,
683
+ 1624, 1627, 1630, 1633, 1636, 1639, 1642, 1645,
684
+ 1648, 1651, 1654, 1657, 1660, 1663, 1666, 1669,
685
+ 1672, 1675, 1678, 1681, 1684, 1687, 1690, 1693,
686
+ 1696, 1699, 1702, 1705, 1708, 1711, 1714, 1717,
687
+ 1720, 1723, 1726, 1729, 1732, 1735, 1738, 1741,
688
+ 1744, 1747, 1750, 1753, 1756, 1759, 1762, 1765,
689
+ 1768, 1771, 1774, 1777, 1780, 1783, 1786, 1789,
690
+ 1792, 1795, 1798, 1801, 1804, 1807, 1810, 1813,
691
+ 1816, 1819, 1822, 1825, 1828, 1831, 1834, 1837,
692
+ 1840, 1843, 1846, 1849, 1852, 1855, 1858, 1861,
693
+ 1864, 1867, 1870, 1873, 1876, 1879, 1882, 1885,
694
+ 1888, 1891, 1894, 1896, 1898, 1900, 1902, 1904,
695
+ 1906, 1908, 1910, 1912, 1914, 1916, 1918, 1920,
696
+ 1922, 1924, 1926, 1934, 1937, 1943, 1946, 1949,
697
+ 1952, 1955, 1958, 1961, 1964, 1967, 1970, 1973,
698
+ 1976, 1979, 1982, 1985, 1988, 1991, 1994, 1997,
699
+ 2000, 2003, 2006, 2009, 2012, 2015, 2018, 2021,
700
+ 2024, 2027, 2030, 2033, 2036, 2039, 2042, 2045,
701
+ 2048, 2051, 2054, 2057, 2060, 2063, 2066, 2069,
702
+ 2072, 2075, 2078, 2081, 2084, 2087, 2090, 2093,
703
+ 2096, 2099, 2102, 2105, 2108, 2111, 2114, 2117,
704
+ 2120, 2123, 2126, 2129, 2132, 2135, 2138, 2141,
705
+ 2144, 2147, 2151, 2154, 2157, 2160, 2163, 2166,
706
+ 2169, 2172, 2175, 2178, 2181, 2184, 2187, 2190,
707
+ 2193, 2196, 2199, 2202, 2205, 2208, 2211, 2214,
708
+ 2217, 2220, 2223, 2226, 2229, 2232, 2235, 2238,
709
+ 2241, 2244, 2247, 2250, 2253, 2256, 2259, 2262,
710
+ 2265, 2268, 2271, 2274, 2277, 2280, 2282, 2284
711
+ };
712
+
713
+ static const short _lexer_trans_targs[] = {
714
+ 2, 789, 16, 16, 17, 27, 29, 13,
715
+ 43, 46, 16, 0, 3, 0, 4, 52,
716
+ 102, 287, 308, 320, 465, 492, 0, 5,
717
+ 0, 6, 0, 7, 0, 8, 0, 9,
718
+ 0, 10, 0, 11, 0, 12, 0, 13,
719
+ 0, 14, 0, 16, 28, 15, 16, 28,
720
+ 15, 2, 16, 16, 17, 27, 29, 13,
721
+ 43, 46, 16, 0, 18, 0, 19, 0,
722
+ 21, 20, 20, 21, 20, 20, 22, 22,
723
+ 23, 22, 22, 22, 22, 23, 22, 22,
724
+ 22, 22, 24, 22, 22, 22, 22, 25,
725
+ 22, 22, 16, 26, 26, 0, 16, 26,
726
+ 26, 0, 16, 28, 27, 16, 0, 30,
727
+ 0, 31, 0, 32, 0, 33, 0, 34,
728
+ 0, 35, 0, 36, 0, 37, 0, 38,
729
+ 0, 39, 0, 40, 0, 41, 0, 42,
730
+ 0, 791, 0, 0, 0, 0, 0, 44,
731
+ 45, 16, 45, 45, 43, 44, 44, 16,
732
+ 45, 43, 45, 0, 46, 47, 46, 0,
733
+ 51, 50, 49, 47, 50, 48, 0, 49,
734
+ 47, 48, 0, 49, 48, 51, 50, 49,
735
+ 47, 50, 48, 2, 51, 51, 17, 27,
736
+ 29, 13, 43, 46, 51, 0, 53, 0,
737
+ 54, 0, 55, 0, 56, 0, 57, 0,
738
+ 58, 0, 59, 0, 60, 0, 61, 0,
739
+ 62, 0, 63, 0, 64, 0, 65, 0,
740
+ 66, 0, 67, 0, 68, 0, 69, 0,
741
+ 70, 0, 71, 0, 72, 0, 73, 0,
742
+ 74, 0, 75, 0, 76, 0, 77, 0,
743
+ 78, 0, 79, 0, 80, 0, 82, 81,
744
+ 82, 81, 83, 82, 82, 16, 16, 82,
745
+ 81, 84, 82, 81, 85, 82, 81, 86,
746
+ 82, 81, 87, 82, 81, 88, 82, 81,
747
+ 89, 82, 81, 90, 82, 81, 91, 82,
748
+ 81, 92, 82, 81, 93, 82, 81, 94,
749
+ 82, 81, 95, 82, 81, 96, 82, 81,
750
+ 97, 82, 81, 98, 82, 81, 99, 82,
751
+ 81, 100, 82, 81, 82, 101, 81, 2,
752
+ 16, 16, 17, 27, 29, 13, 43, 46,
753
+ 16, 0, 103, 0, 104, 0, 105, 0,
754
+ 106, 0, 107, 0, 108, 0, 109, 0,
755
+ 110, 0, 111, 0, 112, 0, 113, 0,
756
+ 114, 0, 115, 0, 116, 0, 117, 0,
757
+ 118, 0, 119, 0, 120, 0, 121, 0,
758
+ 122, 0, 123, 0, 124, 0, 125, 0,
759
+ 126, 0, 127, 0, 129, 128, 129, 128,
760
+ 130, 129, 129, 16, 273, 141, 16, 129,
761
+ 128, 131, 129, 128, 132, 142, 167, 188,
762
+ 200, 215, 242, 129, 128, 133, 129, 128,
763
+ 134, 129, 128, 135, 129, 128, 136, 129,
764
+ 128, 137, 129, 128, 138, 129, 128, 139,
765
+ 129, 128, 140, 129, 128, 141, 129, 128,
766
+ 129, 101, 128, 143, 129, 128, 144, 129,
767
+ 128, 145, 129, 128, 146, 129, 128, 147,
768
+ 129, 128, 148, 129, 128, 149, 129, 128,
769
+ 150, 129, 128, 151, 129, 128, 152, 129,
770
+ 128, 153, 129, 128, 154, 129, 128, 155,
771
+ 129, 128, 156, 129, 128, 157, 129, 128,
772
+ 158, 129, 128, 159, 129, 128, 160, 129,
773
+ 128, 161, 129, 128, 162, 129, 128, 163,
774
+ 129, 128, 164, 129, 128, 165, 129, 128,
775
+ 166, 129, 128, 129, 101, 128, 168, 129,
776
+ 128, 169, 129, 128, 170, 176, 129, 128,
777
+ 171, 129, 128, 172, 129, 128, 173, 129,
778
+ 128, 174, 129, 128, 175, 129, 128, 141,
779
+ 129, 128, 177, 129, 128, 178, 129, 128,
780
+ 179, 129, 128, 180, 129, 128, 181, 129,
781
+ 128, 182, 129, 128, 183, 129, 128, 184,
782
+ 129, 128, 185, 129, 128, 186, 129, 128,
783
+ 187, 129, 128, 141, 129, 128, 189, 129,
784
+ 128, 190, 129, 128, 191, 129, 128, 192,
785
+ 129, 128, 193, 129, 128, 194, 129, 128,
786
+ 195, 129, 128, 196, 129, 128, 197, 129,
787
+ 128, 198, 129, 128, 199, 129, 128, 141,
788
+ 129, 128, 201, 129, 128, 202, 129, 128,
789
+ 203, 129, 128, 204, 129, 128, 205, 129,
790
+ 128, 206, 129, 128, 207, 129, 128, 208,
791
+ 129, 128, 209, 129, 128, 210, 129, 128,
792
+ 211, 129, 128, 212, 129, 128, 213, 129,
793
+ 128, 214, 129, 128, 166, 129, 128, 216,
794
+ 129, 128, 217, 129, 128, 218, 129, 128,
795
+ 219, 129, 128, 220, 129, 128, 221, 129,
796
+ 128, 222, 129, 128, 223, 129, 128, 224,
797
+ 129, 128, 225, 129, 128, 226, 129, 128,
798
+ 227, 129, 128, 228, 129, 128, 229, 129,
799
+ 128, 230, 129, 128, 231, 129, 128, 232,
800
+ 129, 128, 233, 129, 128, 234, 129, 128,
801
+ 235, 129, 128, 236, 129, 128, 237, 129,
802
+ 128, 238, 129, 128, 239, 129, 128, 240,
803
+ 129, 128, 241, 129, 128, 197, 129, 128,
804
+ 243, 129, 128, 244, 260, 129, 128, 245,
805
+ 129, 128, 246, 129, 128, 247, 129, 128,
806
+ 248, 129, 128, 249, 129, 128, 250, 129,
807
+ 128, 251, 129, 128, 252, 129, 128, 253,
808
+ 129, 128, 254, 129, 128, 255, 129, 128,
809
+ 256, 129, 128, 257, 129, 128, 258, 129,
810
+ 128, 259, 129, 128, 212, 129, 128, 261,
811
+ 129, 128, 262, 129, 128, 263, 129, 128,
812
+ 264, 129, 128, 265, 129, 128, 266, 129,
813
+ 128, 267, 129, 128, 268, 129, 128, 269,
814
+ 129, 128, 270, 129, 128, 271, 129, 128,
815
+ 272, 129, 128, 166, 129, 128, 129, 274,
816
+ 128, 129, 275, 128, 129, 276, 128, 129,
817
+ 277, 128, 129, 278, 128, 129, 279, 128,
818
+ 129, 280, 128, 129, 281, 128, 129, 282,
819
+ 128, 129, 283, 128, 129, 284, 128, 129,
820
+ 285, 128, 129, 286, 128, 129, 16, 128,
821
+ 288, 0, 289, 0, 290, 296, 0, 291,
822
+ 0, 292, 0, 293, 0, 294, 0, 295,
823
+ 0, 13, 0, 297, 0, 298, 0, 299,
824
+ 0, 300, 0, 301, 0, 302, 0, 303,
825
+ 0, 304, 0, 305, 0, 306, 0, 307,
826
+ 0, 13, 0, 309, 0, 310, 0, 311,
827
+ 0, 312, 0, 313, 0, 314, 0, 315,
828
+ 0, 316, 0, 317, 0, 318, 0, 319,
829
+ 0, 13, 0, 321, 0, 322, 0, 323,
830
+ 0, 324, 0, 325, 0, 326, 0, 327,
831
+ 0, 328, 0, 329, 0, 330, 0, 331,
832
+ 0, 332, 0, 333, 0, 334, 0, 335,
833
+ 0, 336, 0, 338, 337, 338, 337, 339,
834
+ 338, 338, 16, 451, 350, 16, 338, 337,
835
+ 340, 338, 337, 341, 351, 376, 397, 409,
836
+ 436, 338, 337, 342, 338, 337, 343, 338,
837
+ 337, 344, 338, 337, 345, 338, 337, 346,
838
+ 338, 337, 347, 338, 337, 348, 338, 337,
839
+ 349, 338, 337, 350, 338, 337, 338, 101,
840
+ 337, 352, 338, 337, 353, 338, 337, 354,
841
+ 338, 337, 355, 338, 337, 356, 338, 337,
842
+ 357, 338, 337, 358, 338, 337, 359, 338,
843
+ 337, 360, 338, 337, 361, 338, 337, 362,
844
+ 338, 337, 363, 338, 337, 364, 338, 337,
845
+ 365, 338, 337, 366, 338, 337, 367, 338,
846
+ 337, 368, 338, 337, 369, 338, 337, 370,
847
+ 338, 337, 371, 338, 337, 372, 338, 337,
848
+ 373, 338, 337, 374, 338, 337, 375, 338,
849
+ 337, 338, 101, 337, 377, 338, 337, 378,
850
+ 338, 337, 379, 385, 338, 337, 380, 338,
851
+ 337, 381, 338, 337, 382, 338, 337, 383,
852
+ 338, 337, 384, 338, 337, 350, 338, 337,
853
+ 386, 338, 337, 387, 338, 337, 388, 338,
854
+ 337, 389, 338, 337, 390, 338, 337, 391,
855
+ 338, 337, 392, 338, 337, 393, 338, 337,
856
+ 394, 338, 337, 395, 338, 337, 396, 338,
857
+ 337, 350, 338, 337, 398, 338, 337, 399,
858
+ 338, 337, 400, 338, 337, 401, 338, 337,
859
+ 402, 338, 337, 403, 338, 337, 404, 338,
860
+ 337, 405, 338, 337, 406, 338, 337, 407,
861
+ 338, 337, 408, 338, 337, 350, 338, 337,
862
+ 410, 338, 337, 411, 338, 337, 412, 338,
863
+ 337, 413, 338, 337, 414, 338, 337, 415,
864
+ 338, 337, 416, 338, 337, 417, 338, 337,
865
+ 418, 338, 337, 419, 338, 337, 420, 338,
866
+ 337, 421, 338, 337, 422, 338, 337, 423,
867
+ 338, 337, 424, 338, 337, 425, 338, 337,
868
+ 426, 338, 337, 427, 338, 337, 428, 338,
869
+ 337, 429, 338, 337, 430, 338, 337, 431,
870
+ 338, 337, 432, 338, 337, 433, 338, 337,
871
+ 434, 338, 337, 435, 338, 337, 406, 338,
872
+ 337, 437, 338, 337, 438, 338, 337, 439,
873
+ 338, 337, 440, 338, 337, 441, 338, 337,
874
+ 442, 338, 337, 443, 338, 337, 444, 338,
875
+ 337, 445, 338, 337, 446, 338, 337, 447,
876
+ 338, 337, 448, 338, 337, 449, 338, 337,
877
+ 450, 338, 337, 375, 338, 337, 338, 452,
878
+ 337, 338, 453, 337, 338, 454, 337, 338,
879
+ 455, 337, 338, 456, 337, 338, 457, 337,
880
+ 338, 458, 337, 338, 459, 337, 338, 460,
881
+ 337, 338, 461, 337, 338, 462, 337, 338,
882
+ 463, 337, 338, 464, 337, 338, 16, 337,
883
+ 466, 0, 467, 0, 468, 0, 469, 0,
884
+ 470, 0, 471, 0, 472, 0, 473, 0,
885
+ 474, 0, 475, 0, 476, 0, 477, 0,
886
+ 478, 0, 479, 0, 480, 0, 481, 0,
887
+ 482, 0, 483, 0, 484, 0, 485, 0,
888
+ 486, 0, 487, 0, 488, 0, 489, 0,
889
+ 490, 0, 491, 0, 317, 0, 493, 0,
890
+ 494, 658, 0, 495, 0, 496, 0, 497,
891
+ 0, 498, 0, 499, 0, 500, 0, 501,
892
+ 0, 502, 0, 503, 0, 504, 0, 505,
893
+ 0, 506, 0, 507, 0, 508, 0, 509,
894
+ 0, 510, 0, 511, 0, 512, 0, 513,
895
+ 0, 514, 0, 516, 515, 516, 515, 517,
896
+ 516, 516, 16, 644, 528, 16, 516, 515,
897
+ 518, 516, 515, 519, 529, 554, 575, 587,
898
+ 602, 629, 516, 515, 520, 516, 515, 521,
899
+ 516, 515, 522, 516, 515, 523, 516, 515,
900
+ 524, 516, 515, 525, 516, 515, 526, 516,
901
+ 515, 527, 516, 515, 528, 516, 515, 516,
902
+ 101, 515, 530, 516, 515, 531, 516, 515,
903
+ 532, 516, 515, 533, 516, 515, 534, 516,
904
+ 515, 535, 516, 515, 536, 516, 515, 537,
905
+ 516, 515, 538, 516, 515, 539, 516, 515,
906
+ 540, 516, 515, 541, 516, 515, 542, 516,
907
+ 515, 543, 516, 515, 544, 516, 515, 545,
908
+ 516, 515, 546, 516, 515, 547, 516, 515,
909
+ 548, 516, 515, 549, 516, 515, 550, 516,
910
+ 515, 551, 516, 515, 552, 516, 515, 553,
911
+ 516, 515, 516, 101, 515, 555, 516, 515,
912
+ 556, 516, 515, 557, 563, 516, 515, 558,
913
+ 516, 515, 559, 516, 515, 560, 516, 515,
914
+ 561, 516, 515, 562, 516, 515, 528, 516,
915
+ 515, 564, 516, 515, 565, 516, 515, 566,
916
+ 516, 515, 567, 516, 515, 568, 516, 515,
917
+ 569, 516, 515, 570, 516, 515, 571, 516,
918
+ 515, 572, 516, 515, 573, 516, 515, 574,
919
+ 516, 515, 528, 516, 515, 576, 516, 515,
920
+ 577, 516, 515, 578, 516, 515, 579, 516,
921
+ 515, 580, 516, 515, 581, 516, 515, 582,
922
+ 516, 515, 583, 516, 515, 584, 516, 515,
923
+ 585, 516, 515, 586, 516, 515, 528, 516,
924
+ 515, 588, 516, 515, 589, 516, 515, 590,
925
+ 516, 515, 591, 516, 515, 592, 516, 515,
926
+ 593, 516, 515, 594, 516, 515, 595, 516,
927
+ 515, 596, 516, 515, 597, 516, 515, 598,
928
+ 516, 515, 599, 516, 515, 600, 516, 515,
929
+ 601, 516, 515, 553, 516, 515, 603, 516,
930
+ 515, 604, 516, 515, 605, 516, 515, 606,
931
+ 516, 515, 607, 516, 515, 608, 516, 515,
932
+ 609, 516, 515, 610, 516, 515, 611, 516,
933
+ 515, 612, 516, 515, 613, 516, 515, 614,
934
+ 516, 515, 615, 516, 515, 616, 516, 515,
935
+ 617, 516, 515, 618, 516, 515, 619, 516,
936
+ 515, 620, 516, 515, 621, 516, 515, 622,
937
+ 516, 515, 623, 516, 515, 624, 516, 515,
938
+ 625, 516, 515, 626, 516, 515, 627, 516,
939
+ 515, 628, 516, 515, 584, 516, 515, 630,
940
+ 516, 515, 631, 516, 515, 632, 516, 515,
941
+ 633, 516, 515, 634, 516, 515, 635, 516,
942
+ 515, 636, 516, 515, 637, 516, 515, 638,
943
+ 516, 515, 639, 516, 515, 640, 516, 515,
944
+ 641, 516, 515, 642, 516, 515, 643, 516,
945
+ 515, 553, 516, 515, 516, 645, 515, 516,
946
+ 646, 515, 516, 647, 515, 516, 648, 515,
947
+ 516, 649, 515, 516, 650, 515, 516, 651,
948
+ 515, 516, 652, 515, 516, 653, 515, 516,
949
+ 654, 515, 516, 655, 515, 516, 656, 515,
950
+ 516, 657, 515, 516, 16, 515, 659, 0,
951
+ 660, 0, 661, 0, 662, 0, 663, 0,
952
+ 664, 0, 665, 0, 666, 0, 667, 0,
953
+ 668, 0, 669, 0, 670, 0, 671, 0,
954
+ 672, 0, 674, 673, 674, 673, 675, 674,
955
+ 674, 16, 775, 16, 674, 673, 676, 674,
956
+ 673, 677, 705, 729, 744, 674, 673, 678,
957
+ 674, 673, 679, 674, 673, 680, 674, 673,
958
+ 681, 674, 673, 682, 674, 673, 683, 674,
959
+ 673, 684, 674, 673, 685, 674, 673, 686,
960
+ 674, 673, 687, 674, 673, 688, 674, 673,
961
+ 689, 674, 673, 690, 674, 673, 691, 674,
962
+ 673, 692, 674, 673, 693, 674, 673, 694,
963
+ 674, 673, 695, 674, 673, 696, 674, 673,
964
+ 697, 674, 673, 698, 674, 673, 699, 674,
965
+ 673, 700, 674, 673, 701, 674, 673, 702,
966
+ 674, 673, 703, 674, 673, 704, 674, 673,
967
+ 674, 101, 673, 706, 674, 673, 707, 674,
968
+ 673, 708, 674, 673, 709, 674, 673, 710,
969
+ 674, 673, 711, 674, 673, 712, 674, 673,
970
+ 713, 674, 673, 714, 674, 673, 715, 674,
971
+ 673, 716, 674, 673, 717, 674, 673, 718,
972
+ 674, 673, 719, 674, 673, 720, 674, 673,
973
+ 721, 674, 673, 722, 674, 673, 723, 674,
974
+ 673, 724, 674, 673, 725, 674, 673, 726,
975
+ 674, 673, 727, 674, 673, 728, 674, 673,
976
+ 704, 674, 673, 730, 674, 673, 731, 674,
977
+ 673, 732, 674, 673, 733, 674, 673, 734,
978
+ 674, 673, 735, 674, 673, 736, 674, 673,
979
+ 737, 674, 673, 738, 674, 673, 739, 674,
980
+ 673, 740, 674, 673, 741, 674, 673, 742,
981
+ 674, 673, 743, 674, 673, 704, 674, 673,
982
+ 745, 674, 673, 746, 762, 674, 673, 747,
983
+ 674, 673, 748, 674, 673, 749, 674, 673,
984
+ 750, 674, 673, 751, 674, 673, 752, 674,
985
+ 673, 753, 674, 673, 754, 674, 673, 755,
986
+ 674, 673, 756, 674, 673, 757, 674, 673,
987
+ 758, 674, 673, 759, 674, 673, 760, 674,
988
+ 673, 761, 674, 673, 741, 674, 673, 763,
989
+ 674, 673, 764, 674, 673, 765, 674, 673,
990
+ 766, 674, 673, 767, 674, 673, 768, 674,
991
+ 673, 769, 674, 673, 770, 674, 673, 771,
992
+ 674, 673, 772, 674, 673, 773, 674, 673,
993
+ 774, 674, 673, 704, 674, 673, 674, 776,
994
+ 673, 674, 777, 673, 674, 778, 673, 674,
995
+ 779, 673, 674, 780, 673, 674, 781, 673,
996
+ 674, 782, 673, 674, 783, 673, 674, 784,
997
+ 673, 674, 785, 673, 674, 786, 673, 674,
998
+ 787, 673, 674, 788, 673, 674, 16, 673,
999
+ 790, 0, 16, 0, 0, 0
1000
+ };
1001
+
1002
+ static const unsigned char _lexer_trans_actions[] = {
1003
+ 29, 0, 54, 0, 5, 1, 0, 29,
1004
+ 1, 35, 0, 43, 0, 43, 0, 0,
1005
+ 0, 0, 0, 0, 0, 0, 43, 0,
1006
+ 43, 0, 43, 0, 43, 0, 43, 0,
1007
+ 43, 0, 43, 0, 43, 0, 43, 0,
1008
+ 43, 0, 43, 149, 126, 57, 110, 23,
1009
+ 0, 29, 54, 0, 5, 1, 0, 29,
1010
+ 1, 35, 0, 43, 0, 43, 0, 43,
1011
+ 139, 48, 9, 106, 11, 0, 134, 45,
1012
+ 45, 45, 3, 122, 33, 33, 33, 0,
1013
+ 122, 33, 33, 33, 0, 122, 33, 0,
1014
+ 33, 0, 102, 7, 7, 43, 54, 0,
1015
+ 0, 43, 114, 25, 0, 54, 43, 0,
1016
+ 43, 0, 43, 0, 43, 0, 43, 0,
1017
+ 43, 0, 43, 0, 43, 0, 43, 0,
1018
+ 43, 0, 43, 0, 43, 0, 43, 0,
1019
+ 43, 0, 43, 43, 43, 43, 43, 0,
1020
+ 27, 118, 27, 27, 51, 27, 0, 54,
1021
+ 0, 1, 0, 43, 0, 0, 0, 43,
1022
+ 54, 37, 37, 87, 37, 37, 43, 0,
1023
+ 39, 0, 43, 0, 0, 54, 0, 0,
1024
+ 39, 0, 0, 96, 54, 0, 93, 90,
1025
+ 41, 96, 90, 99, 0, 43, 0, 43,
1026
+ 0, 43, 0, 43, 0, 43, 0, 43,
1027
+ 0, 43, 0, 43, 0, 43, 0, 43,
1028
+ 0, 43, 0, 43, 0, 43, 0, 43,
1029
+ 0, 43, 0, 43, 0, 43, 0, 43,
1030
+ 0, 43, 0, 43, 0, 43, 0, 43,
1031
+ 0, 43, 0, 43, 0, 43, 0, 43,
1032
+ 0, 43, 0, 43, 0, 43, 144, 57,
1033
+ 54, 0, 84, 54, 0, 81, 81, 0,
1034
+ 0, 0, 54, 0, 0, 54, 0, 0,
1035
+ 54, 0, 0, 54, 0, 0, 54, 0,
1036
+ 0, 54, 0, 0, 54, 0, 0, 54,
1037
+ 0, 0, 54, 0, 0, 54, 0, 0,
1038
+ 54, 0, 0, 54, 0, 0, 54, 0,
1039
+ 0, 54, 0, 0, 54, 0, 0, 54,
1040
+ 0, 0, 54, 0, 54, 21, 0, 63,
1041
+ 130, 31, 60, 57, 31, 63, 57, 66,
1042
+ 31, 43, 0, 43, 0, 43, 0, 43,
1043
+ 0, 43, 0, 43, 0, 43, 0, 43,
1044
+ 0, 43, 0, 43, 0, 43, 0, 43,
1045
+ 0, 43, 0, 43, 0, 43, 0, 43,
1046
+ 0, 43, 0, 43, 0, 43, 0, 43,
1047
+ 0, 43, 0, 43, 0, 43, 0, 43,
1048
+ 0, 43, 0, 43, 144, 57, 54, 0,
1049
+ 84, 54, 0, 75, 33, 84, 75, 0,
1050
+ 0, 0, 54, 0, 0, 0, 0, 0,
1051
+ 0, 0, 0, 54, 0, 0, 54, 0,
1052
+ 0, 54, 0, 0, 54, 0, 0, 54,
1053
+ 0, 0, 54, 0, 0, 54, 0, 0,
1054
+ 54, 0, 0, 54, 0, 0, 54, 0,
1055
+ 54, 17, 0, 0, 54, 0, 0, 54,
1056
+ 0, 0, 54, 0, 0, 54, 0, 0,
1057
+ 54, 0, 0, 54, 0, 0, 54, 0,
1058
+ 0, 54, 0, 0, 54, 0, 0, 54,
1059
+ 0, 0, 54, 0, 0, 54, 0, 0,
1060
+ 54, 0, 0, 54, 0, 0, 54, 0,
1061
+ 0, 54, 0, 0, 54, 0, 0, 54,
1062
+ 0, 0, 54, 0, 0, 54, 0, 0,
1063
+ 54, 0, 0, 54, 0, 0, 54, 0,
1064
+ 0, 54, 0, 54, 17, 0, 0, 54,
1065
+ 0, 0, 54, 0, 0, 0, 54, 0,
1066
+ 0, 54, 0, 0, 54, 0, 0, 54,
1067
+ 0, 0, 54, 0, 0, 54, 0, 0,
1068
+ 54, 0, 0, 54, 0, 0, 54, 0,
1069
+ 0, 54, 0, 0, 54, 0, 0, 54,
1070
+ 0, 0, 54, 0, 0, 54, 0, 0,
1071
+ 54, 0, 0, 54, 0, 0, 54, 0,
1072
+ 0, 54, 0, 0, 54, 0, 0, 54,
1073
+ 0, 0, 54, 0, 0, 54, 0, 0,
1074
+ 54, 0, 0, 54, 0, 0, 54, 0,
1075
+ 0, 54, 0, 0, 54, 0, 0, 54,
1076
+ 0, 0, 54, 0, 0, 54, 0, 0,
1077
+ 54, 0, 0, 54, 0, 0, 54, 0,
1078
+ 0, 54, 0, 0, 54, 0, 0, 54,
1079
+ 0, 0, 54, 0, 0, 54, 0, 0,
1080
+ 54, 0, 0, 54, 0, 0, 54, 0,
1081
+ 0, 54, 0, 0, 54, 0, 0, 54,
1082
+ 0, 0, 54, 0, 0, 54, 0, 0,
1083
+ 54, 0, 0, 54, 0, 0, 54, 0,
1084
+ 0, 54, 0, 0, 54, 0, 0, 54,
1085
+ 0, 0, 54, 0, 0, 54, 0, 0,
1086
+ 54, 0, 0, 54, 0, 0, 54, 0,
1087
+ 0, 54, 0, 0, 54, 0, 0, 54,
1088
+ 0, 0, 54, 0, 0, 54, 0, 0,
1089
+ 54, 0, 0, 54, 0, 0, 54, 0,
1090
+ 0, 54, 0, 0, 54, 0, 0, 54,
1091
+ 0, 0, 54, 0, 0, 54, 0, 0,
1092
+ 54, 0, 0, 54, 0, 0, 54, 0,
1093
+ 0, 54, 0, 0, 0, 54, 0, 0,
1094
+ 54, 0, 0, 54, 0, 0, 54, 0,
1095
+ 0, 54, 0, 0, 54, 0, 0, 54,
1096
+ 0, 0, 54, 0, 0, 54, 0, 0,
1097
+ 54, 0, 0, 54, 0, 0, 54, 0,
1098
+ 0, 54, 0, 0, 54, 0, 0, 54,
1099
+ 0, 0, 54, 0, 0, 54, 0, 0,
1100
+ 54, 0, 0, 54, 0, 0, 54, 0,
1101
+ 0, 54, 0, 0, 54, 0, 0, 54,
1102
+ 0, 0, 54, 0, 0, 54, 0, 0,
1103
+ 54, 0, 0, 54, 0, 0, 54, 0,
1104
+ 0, 54, 0, 0, 54, 0, 54, 0,
1105
+ 0, 54, 0, 0, 54, 0, 0, 54,
1106
+ 0, 0, 54, 0, 0, 54, 0, 0,
1107
+ 54, 0, 0, 54, 0, 0, 54, 0,
1108
+ 0, 54, 0, 0, 54, 0, 0, 54,
1109
+ 0, 0, 54, 0, 0, 54, 17, 0,
1110
+ 0, 43, 0, 43, 0, 0, 43, 0,
1111
+ 43, 0, 43, 0, 43, 0, 43, 0,
1112
+ 43, 0, 43, 0, 43, 0, 43, 0,
1113
+ 43, 0, 43, 0, 43, 0, 43, 0,
1114
+ 43, 0, 43, 0, 43, 0, 43, 0,
1115
+ 43, 0, 43, 0, 43, 0, 43, 0,
1116
+ 43, 0, 43, 0, 43, 0, 43, 0,
1117
+ 43, 0, 43, 0, 43, 0, 43, 0,
1118
+ 43, 0, 43, 0, 43, 0, 43, 0,
1119
+ 43, 0, 43, 0, 43, 0, 43, 0,
1120
+ 43, 0, 43, 0, 43, 0, 43, 0,
1121
+ 43, 0, 43, 0, 43, 0, 43, 0,
1122
+ 43, 0, 43, 144, 57, 54, 0, 84,
1123
+ 54, 0, 78, 33, 84, 78, 0, 0,
1124
+ 0, 54, 0, 0, 0, 0, 0, 0,
1125
+ 0, 54, 0, 0, 54, 0, 0, 54,
1126
+ 0, 0, 54, 0, 0, 54, 0, 0,
1127
+ 54, 0, 0, 54, 0, 0, 54, 0,
1128
+ 0, 54, 0, 0, 54, 0, 54, 19,
1129
+ 0, 0, 54, 0, 0, 54, 0, 0,
1130
+ 54, 0, 0, 54, 0, 0, 54, 0,
1131
+ 0, 54, 0, 0, 54, 0, 0, 54,
1132
+ 0, 0, 54, 0, 0, 54, 0, 0,
1133
+ 54, 0, 0, 54, 0, 0, 54, 0,
1134
+ 0, 54, 0, 0, 54, 0, 0, 54,
1135
+ 0, 0, 54, 0, 0, 54, 0, 0,
1136
+ 54, 0, 0, 54, 0, 0, 54, 0,
1137
+ 0, 54, 0, 0, 54, 0, 0, 54,
1138
+ 0, 54, 19, 0, 0, 54, 0, 0,
1139
+ 54, 0, 0, 0, 54, 0, 0, 54,
1140
+ 0, 0, 54, 0, 0, 54, 0, 0,
1141
+ 54, 0, 0, 54, 0, 0, 54, 0,
1142
+ 0, 54, 0, 0, 54, 0, 0, 54,
1143
+ 0, 0, 54, 0, 0, 54, 0, 0,
1144
+ 54, 0, 0, 54, 0, 0, 54, 0,
1145
+ 0, 54, 0, 0, 54, 0, 0, 54,
1146
+ 0, 0, 54, 0, 0, 54, 0, 0,
1147
+ 54, 0, 0, 54, 0, 0, 54, 0,
1148
+ 0, 54, 0, 0, 54, 0, 0, 54,
1149
+ 0, 0, 54, 0, 0, 54, 0, 0,
1150
+ 54, 0, 0, 54, 0, 0, 54, 0,
1151
+ 0, 54, 0, 0, 54, 0, 0, 54,
1152
+ 0, 0, 54, 0, 0, 54, 0, 0,
1153
+ 54, 0, 0, 54, 0, 0, 54, 0,
1154
+ 0, 54, 0, 0, 54, 0, 0, 54,
1155
+ 0, 0, 54, 0, 0, 54, 0, 0,
1156
+ 54, 0, 0, 54, 0, 0, 54, 0,
1157
+ 0, 54, 0, 0, 54, 0, 0, 54,
1158
+ 0, 0, 54, 0, 0, 54, 0, 0,
1159
+ 54, 0, 0, 54, 0, 0, 54, 0,
1160
+ 0, 54, 0, 0, 54, 0, 0, 54,
1161
+ 0, 0, 54, 0, 0, 54, 0, 0,
1162
+ 54, 0, 0, 54, 0, 0, 54, 0,
1163
+ 0, 54, 0, 0, 54, 0, 0, 54,
1164
+ 0, 0, 54, 0, 0, 54, 0, 0,
1165
+ 54, 0, 0, 54, 0, 0, 54, 0,
1166
+ 0, 54, 0, 0, 54, 0, 54, 0,
1167
+ 0, 54, 0, 0, 54, 0, 0, 54,
1168
+ 0, 0, 54, 0, 0, 54, 0, 0,
1169
+ 54, 0, 0, 54, 0, 0, 54, 0,
1170
+ 0, 54, 0, 0, 54, 0, 0, 54,
1171
+ 0, 0, 54, 0, 0, 54, 19, 0,
1172
+ 0, 43, 0, 43, 0, 43, 0, 43,
1173
+ 0, 43, 0, 43, 0, 43, 0, 43,
1174
+ 0, 43, 0, 43, 0, 43, 0, 43,
1175
+ 0, 43, 0, 43, 0, 43, 0, 43,
1176
+ 0, 43, 0, 43, 0, 43, 0, 43,
1177
+ 0, 43, 0, 43, 0, 43, 0, 43,
1178
+ 0, 43, 0, 43, 0, 43, 0, 43,
1179
+ 0, 0, 43, 0, 43, 0, 43, 0,
1180
+ 43, 0, 43, 0, 43, 0, 43, 0,
1181
+ 43, 0, 43, 0, 43, 0, 43, 0,
1182
+ 43, 0, 43, 0, 43, 0, 43, 0,
1183
+ 43, 0, 43, 0, 43, 0, 43, 0,
1184
+ 43, 0, 43, 144, 57, 54, 0, 84,
1185
+ 54, 0, 72, 33, 84, 72, 0, 0,
1186
+ 0, 54, 0, 0, 0, 0, 0, 0,
1187
+ 0, 0, 54, 0, 0, 54, 0, 0,
1188
+ 54, 0, 0, 54, 0, 0, 54, 0,
1189
+ 0, 54, 0, 0, 54, 0, 0, 54,
1190
+ 0, 0, 54, 0, 0, 54, 0, 54,
1191
+ 15, 0, 0, 54, 0, 0, 54, 0,
1192
+ 0, 54, 0, 0, 54, 0, 0, 54,
1193
+ 0, 0, 54, 0, 0, 54, 0, 0,
1194
+ 54, 0, 0, 54, 0, 0, 54, 0,
1195
+ 0, 54, 0, 0, 54, 0, 0, 54,
1196
+ 0, 0, 54, 0, 0, 54, 0, 0,
1197
+ 54, 0, 0, 54, 0, 0, 54, 0,
1198
+ 0, 54, 0, 0, 54, 0, 0, 54,
1199
+ 0, 0, 54, 0, 0, 54, 0, 0,
1200
+ 54, 0, 54, 15, 0, 0, 54, 0,
1201
+ 0, 54, 0, 0, 0, 54, 0, 0,
1202
+ 54, 0, 0, 54, 0, 0, 54, 0,
1203
+ 0, 54, 0, 0, 54, 0, 0, 54,
1204
+ 0, 0, 54, 0, 0, 54, 0, 0,
1205
+ 54, 0, 0, 54, 0, 0, 54, 0,
1206
+ 0, 54, 0, 0, 54, 0, 0, 54,
1207
+ 0, 0, 54, 0, 0, 54, 0, 0,
1208
+ 54, 0, 0, 54, 0, 0, 54, 0,
1209
+ 0, 54, 0, 0, 54, 0, 0, 54,
1210
+ 0, 0, 54, 0, 0, 54, 0, 0,
1211
+ 54, 0, 0, 54, 0, 0, 54, 0,
1212
+ 0, 54, 0, 0, 54, 0, 0, 54,
1213
+ 0, 0, 54, 0, 0, 54, 0, 0,
1214
+ 54, 0, 0, 54, 0, 0, 54, 0,
1215
+ 0, 54, 0, 0, 54, 0, 0, 54,
1216
+ 0, 0, 54, 0, 0, 54, 0, 0,
1217
+ 54, 0, 0, 54, 0, 0, 54, 0,
1218
+ 0, 54, 0, 0, 54, 0, 0, 54,
1219
+ 0, 0, 54, 0, 0, 54, 0, 0,
1220
+ 54, 0, 0, 54, 0, 0, 54, 0,
1221
+ 0, 54, 0, 0, 54, 0, 0, 54,
1222
+ 0, 0, 54, 0, 0, 54, 0, 0,
1223
+ 54, 0, 0, 54, 0, 0, 54, 0,
1224
+ 0, 54, 0, 0, 54, 0, 0, 54,
1225
+ 0, 0, 54, 0, 0, 54, 0, 0,
1226
+ 54, 0, 0, 54, 0, 0, 54, 0,
1227
+ 0, 54, 0, 0, 54, 0, 0, 54,
1228
+ 0, 0, 54, 0, 0, 54, 0, 0,
1229
+ 54, 0, 0, 54, 0, 0, 54, 0,
1230
+ 0, 54, 0, 0, 54, 0, 0, 54,
1231
+ 0, 0, 54, 0, 0, 54, 0, 0,
1232
+ 54, 0, 0, 54, 0, 0, 54, 0,
1233
+ 0, 54, 0, 0, 54, 0, 0, 54,
1234
+ 0, 0, 54, 0, 54, 0, 0, 54,
1235
+ 0, 0, 54, 0, 0, 54, 0, 0,
1236
+ 54, 0, 0, 54, 0, 0, 54, 0,
1237
+ 0, 54, 0, 0, 54, 0, 0, 54,
1238
+ 0, 0, 54, 0, 0, 54, 0, 0,
1239
+ 54, 0, 0, 54, 15, 0, 0, 43,
1240
+ 0, 43, 0, 43, 0, 43, 0, 43,
1241
+ 0, 43, 0, 43, 0, 43, 0, 43,
1242
+ 0, 43, 0, 43, 0, 43, 0, 43,
1243
+ 0, 43, 144, 57, 54, 0, 84, 54,
1244
+ 0, 69, 33, 69, 0, 0, 0, 54,
1245
+ 0, 0, 0, 0, 0, 54, 0, 0,
1246
+ 54, 0, 0, 54, 0, 0, 54, 0,
1247
+ 0, 54, 0, 0, 54, 0, 0, 54,
1248
+ 0, 0, 54, 0, 0, 54, 0, 0,
1249
+ 54, 0, 0, 54, 0, 0, 54, 0,
1250
+ 0, 54, 0, 0, 54, 0, 0, 54,
1251
+ 0, 0, 54, 0, 0, 54, 0, 0,
1252
+ 54, 0, 0, 54, 0, 0, 54, 0,
1253
+ 0, 54, 0, 0, 54, 0, 0, 54,
1254
+ 0, 0, 54, 0, 0, 54, 0, 0,
1255
+ 54, 0, 0, 54, 0, 0, 54, 0,
1256
+ 54, 13, 0, 0, 54, 0, 0, 54,
1257
+ 0, 0, 54, 0, 0, 54, 0, 0,
1258
+ 54, 0, 0, 54, 0, 0, 54, 0,
1259
+ 0, 54, 0, 0, 54, 0, 0, 54,
1260
+ 0, 0, 54, 0, 0, 54, 0, 0,
1261
+ 54, 0, 0, 54, 0, 0, 54, 0,
1262
+ 0, 54, 0, 0, 54, 0, 0, 54,
1263
+ 0, 0, 54, 0, 0, 54, 0, 0,
1264
+ 54, 0, 0, 54, 0, 0, 54, 0,
1265
+ 0, 54, 0, 0, 54, 0, 0, 54,
1266
+ 0, 0, 54, 0, 0, 54, 0, 0,
1267
+ 54, 0, 0, 54, 0, 0, 54, 0,
1268
+ 0, 54, 0, 0, 54, 0, 0, 54,
1269
+ 0, 0, 54, 0, 0, 54, 0, 0,
1270
+ 54, 0, 0, 54, 0, 0, 54, 0,
1271
+ 0, 54, 0, 0, 0, 54, 0, 0,
1272
+ 54, 0, 0, 54, 0, 0, 54, 0,
1273
+ 0, 54, 0, 0, 54, 0, 0, 54,
1274
+ 0, 0, 54, 0, 0, 54, 0, 0,
1275
+ 54, 0, 0, 54, 0, 0, 54, 0,
1276
+ 0, 54, 0, 0, 54, 0, 0, 54,
1277
+ 0, 0, 54, 0, 0, 54, 0, 0,
1278
+ 54, 0, 0, 54, 0, 0, 54, 0,
1279
+ 0, 54, 0, 0, 54, 0, 0, 54,
1280
+ 0, 0, 54, 0, 0, 54, 0, 0,
1281
+ 54, 0, 0, 54, 0, 0, 54, 0,
1282
+ 0, 54, 0, 0, 54, 0, 54, 0,
1283
+ 0, 54, 0, 0, 54, 0, 0, 54,
1284
+ 0, 0, 54, 0, 0, 54, 0, 0,
1285
+ 54, 0, 0, 54, 0, 0, 54, 0,
1286
+ 0, 54, 0, 0, 54, 0, 0, 54,
1287
+ 0, 0, 54, 0, 0, 54, 13, 0,
1288
+ 0, 43, 0, 43, 0, 0
1289
+ };
1290
+
1291
+ static const unsigned char _lexer_eof_actions[] = {
1292
+ 0, 43, 43, 43, 43, 43, 43, 43,
1293
+ 43, 43, 43, 43, 43, 43, 43, 43,
1294
+ 43, 43, 43, 43, 43, 43, 43, 43,
1295
+ 43, 43, 43, 43, 43, 43, 43, 43,
1296
+ 43, 43, 43, 43, 43, 43, 43, 43,
1297
+ 43, 43, 43, 43, 43, 43, 43, 43,
1298
+ 43, 43, 43, 43, 43, 43, 43, 43,
1299
+ 43, 43, 43, 43, 43, 43, 43, 43,
1300
+ 43, 43, 43, 43, 43, 43, 43, 43,
1301
+ 43, 43, 43, 43, 43, 43, 43, 43,
1302
+ 43, 43, 43, 43, 43, 43, 43, 43,
1303
+ 43, 43, 43, 43, 43, 43, 43, 43,
1304
+ 43, 43, 43, 43, 43, 43, 43, 43,
1305
+ 43, 43, 43, 43, 43, 43, 43, 43,
1306
+ 43, 43, 43, 43, 43, 43, 43, 43,
1307
+ 43, 43, 43, 43, 43, 43, 43, 43,
1308
+ 43, 43, 43, 43, 43, 43, 43, 43,
1309
+ 43, 43, 43, 43, 43, 43, 43, 43,
1310
+ 43, 43, 43, 43, 43, 43, 43, 43,
1311
+ 43, 43, 43, 43, 43, 43, 43, 43,
1312
+ 43, 43, 43, 43, 43, 43, 43, 43,
1313
+ 43, 43, 43, 43, 43, 43, 43, 43,
1314
+ 43, 43, 43, 43, 43, 43, 43, 43,
1315
+ 43, 43, 43, 43, 43, 43, 43, 43,
1316
+ 43, 43, 43, 43, 43, 43, 43, 43,
1317
+ 43, 43, 43, 43, 43, 43, 43, 43,
1318
+ 43, 43, 43, 43, 43, 43, 43, 43,
1319
+ 43, 43, 43, 43, 43, 43, 43, 43,
1320
+ 43, 43, 43, 43, 43, 43, 43, 43,
1321
+ 43, 43, 43, 43, 43, 43, 43, 43,
1322
+ 43, 43, 43, 43, 43, 43, 43, 43,
1323
+ 43, 43, 43, 43, 43, 43, 43, 43,
1324
+ 43, 43, 43, 43, 43, 43, 43, 43,
1325
+ 43, 43, 43, 43, 43, 43, 43, 43,
1326
+ 43, 43, 43, 43, 43, 43, 43, 43,
1327
+ 43, 43, 43, 43, 43, 43, 43, 43,
1328
+ 43, 43, 43, 43, 43, 43, 43, 43,
1329
+ 43, 43, 43, 43, 43, 43, 43, 43,
1330
+ 43, 43, 43, 43, 43, 43, 43, 43,
1331
+ 43, 43, 43, 43, 43, 43, 43, 43,
1332
+ 43, 43, 43, 43, 43, 43, 43, 43,
1333
+ 43, 43, 43, 43, 43, 43, 43, 43,
1334
+ 43, 43, 43, 43, 43, 43, 43, 43,
1335
+ 43, 43, 43, 43, 43, 43, 43, 43,
1336
+ 43, 43, 43, 43, 43, 43, 43, 43,
1337
+ 43, 43, 43, 43, 43, 43, 43, 43,
1338
+ 43, 43, 43, 43, 43, 43, 43, 43,
1339
+ 43, 43, 43, 43, 43, 43, 43, 43,
1340
+ 43, 43, 43, 43, 43, 43, 43, 43,
1341
+ 43, 43, 43, 43, 43, 43, 43, 43,
1342
+ 43, 43, 43, 43, 43, 43, 43, 43,
1343
+ 43, 43, 43, 43, 43, 43, 43, 43,
1344
+ 43, 43, 43, 43, 43, 43, 43, 43,
1345
+ 43, 43, 43, 43, 43, 43, 43, 43,
1346
+ 43, 43, 43, 43, 43, 43, 43, 43,
1347
+ 43, 43, 43, 43, 43, 43, 43, 43,
1348
+ 43, 43, 43, 43, 43, 43, 43, 43,
1349
+ 43, 43, 43, 43, 43, 43, 43, 43,
1350
+ 43, 43, 43, 43, 43, 43, 43, 43,
1351
+ 43, 43, 43, 43, 43, 43, 43, 43,
1352
+ 43, 43, 43, 43, 43, 43, 43, 43,
1353
+ 43, 43, 43, 43, 43, 43, 43, 43,
1354
+ 43, 43, 43, 43, 43, 43, 43, 43,
1355
+ 43, 43, 43, 43, 43, 43, 43, 43,
1356
+ 43, 43, 43, 43, 43, 43, 43, 43,
1357
+ 43, 43, 43, 43, 43, 43, 43, 43,
1358
+ 43, 43, 43, 43, 43, 43, 43, 43,
1359
+ 43, 43, 43, 43, 43, 43, 43, 43,
1360
+ 43, 43, 43, 43, 43, 43, 43, 43,
1361
+ 43, 43, 43, 43, 43, 43, 43, 43,
1362
+ 43, 43, 43, 43, 43, 43, 43, 43,
1363
+ 43, 43, 43, 43, 43, 43, 43, 43,
1364
+ 43, 43, 43, 43, 43, 43, 43, 43,
1365
+ 43, 43, 43, 43, 43, 43, 43, 43,
1366
+ 43, 43, 43, 43, 43, 43, 43, 43,
1367
+ 43, 43, 43, 43, 43, 43, 43, 43,
1368
+ 43, 43, 43, 43, 43, 43, 43, 43,
1369
+ 43, 43, 43, 43, 43, 43, 43, 43,
1370
+ 43, 43, 43, 43, 43, 43, 43, 43,
1371
+ 43, 43, 43, 43, 43, 43, 43, 43,
1372
+ 43, 43, 43, 43, 43, 43, 43, 43,
1373
+ 43, 43, 43, 43, 43, 43, 43, 43,
1374
+ 43, 43, 43, 43, 43, 43, 43, 43,
1375
+ 43, 43, 43, 43, 43, 43, 43, 43,
1376
+ 43, 43, 43, 43, 43, 43, 43, 43,
1377
+ 43, 43, 43, 43, 43, 43, 43, 43,
1378
+ 43, 43, 43, 43, 43, 43, 43, 43,
1379
+ 43, 43, 43, 43, 43, 43, 43, 43,
1380
+ 43, 43, 43, 43, 43, 43, 43, 43,
1381
+ 43, 43, 43, 43, 43, 43, 43, 43,
1382
+ 43, 43, 43, 43, 43, 43, 43, 43,
1383
+ 43, 43, 43, 43, 43, 43, 43, 43,
1384
+ 43, 43, 43, 43, 43, 43, 43, 43,
1385
+ 43, 43, 43, 43, 43, 43, 43, 43,
1386
+ 43, 43, 43, 43, 43, 43, 43, 43,
1387
+ 43, 43, 43, 43, 43, 43, 43, 43,
1388
+ 43, 43, 43, 43, 43, 43, 43, 43,
1389
+ 43, 43, 43, 43, 43, 43, 43, 43,
1390
+ 43, 43, 43, 43, 43, 43, 43, 43
1391
+ };
1392
+
1393
+ static const int lexer_start = 1;
1394
+ static const int lexer_first_final = 791;
1395
+ static const int lexer_error = 0;
1396
+
1397
+ static const int lexer_en_main = 1;
1398
+
1399
+
1400
+ #line 258 "ragel/i18n/kn.c.rl"
1401
+
1402
+ static VALUE
1403
+ unindent(VALUE con, int start_col)
1404
+ {
1405
+ VALUE re;
1406
+ /* Gherkin will crash gracefully if the string representation of start_col pushes the pattern past 32 characters */
1407
+ char pat[32];
1408
+ snprintf(pat, 32, "^[\t ]{0,%d}", start_col);
1409
+ re = rb_reg_regcomp(rb_str_new2(pat));
1410
+ rb_funcall(con, rb_intern("gsub!"), 2, re, rb_str_new2(""));
1411
+
1412
+ return Qnil;
1413
+
1414
+ }
1415
+
1416
+ static void
1417
+ store_kw_con(VALUE listener, const char * event_name,
1418
+ const char * keyword_at, size_t keyword_length,
1419
+ const char * at, size_t length,
1420
+ int current_line)
1421
+ {
1422
+ VALUE con = Qnil, kw = Qnil;
1423
+ kw = ENCODED_STR_NEW(keyword_at, keyword_length);
1424
+ con = ENCODED_STR_NEW(at, length);
1425
+ rb_funcall(con, rb_intern("strip!"), 0);
1426
+ rb_funcall(listener, rb_intern(event_name), 3, kw, con, INT2FIX(current_line));
1427
+ }
1428
+
1429
+ static void
1430
+ store_multiline_kw_con(VALUE listener, const char * event_name,
1431
+ const char * keyword_at, size_t keyword_length,
1432
+ const char * at, size_t length,
1433
+ int current_line, int start_col)
1434
+ {
1435
+ VALUE split;
1436
+ VALUE con = Qnil, kw = Qnil, name = Qnil, desc = Qnil;
1437
+
1438
+ kw = ENCODED_STR_NEW(keyword_at, keyword_length);
1439
+ con = ENCODED_STR_NEW(at, length);
1440
+
1441
+ unindent(con, start_col);
1442
+
1443
+ split = rb_str_split(con, "\n");
1444
+
1445
+ name = rb_funcall(split, rb_intern("shift"), 0);
1446
+ desc = rb_ary_join(split, rb_str_new2( "\n" ));
1447
+
1448
+ if( name == Qnil )
1449
+ {
1450
+ name = rb_str_new2("");
1451
+ }
1452
+ if( rb_funcall(desc, rb_intern("size"), 0) == 0)
1453
+ {
1454
+ desc = rb_str_new2("");
1455
+ }
1456
+ rb_funcall(name, rb_intern("strip!"), 0);
1457
+ rb_funcall(desc, rb_intern("rstrip!"), 0);
1458
+ rb_funcall(listener, rb_intern(event_name), 4, kw, name, desc, INT2FIX(current_line));
1459
+ }
1460
+
1461
+ static void
1462
+ store_attr(VALUE listener, const char * attr_type,
1463
+ const char * at, size_t length,
1464
+ int line)
1465
+ {
1466
+ VALUE val = ENCODED_STR_NEW(at, length);
1467
+ rb_funcall(listener, rb_intern(attr_type), 2, val, INT2FIX(line));
1468
+ }
1469
+ static void
1470
+ store_docstring_content(VALUE listener,
1471
+ int start_col,
1472
+ const char *type_at, size_t type_length,
1473
+ const char *at, size_t length,
1474
+ int current_line)
1475
+ {
1476
+ VALUE re2;
1477
+ VALUE unescape_escaped_quotes;
1478
+ VALUE con = ENCODED_STR_NEW(at, length);
1479
+ VALUE con_type = ENCODED_STR_NEW(type_at, type_length);
1480
+
1481
+ unindent(con, start_col);
1482
+
1483
+ re2 = rb_reg_regcomp(rb_str_new2("\r\\Z"));
1484
+ unescape_escaped_quotes = rb_reg_regcomp(rb_str_new2("\\\\\"\\\\\"\\\\\""));
1485
+ rb_funcall(con, rb_intern("sub!"), 2, re2, rb_str_new2(""));
1486
+ rb_funcall(con_type, rb_intern("strip!"), 0);
1487
+ rb_funcall(con, rb_intern("gsub!"), 2, unescape_escaped_quotes, rb_str_new2("\"\"\""));
1488
+ rb_funcall(listener, rb_intern("doc_string"), 3, con_type, con, INT2FIX(current_line));
1489
+ }
1490
+ static void
1491
+ raise_lexer_error(const char * at, int line)
1492
+ {
1493
+ rb_raise(rb_eGherkinLexingError, "Lexing error on line %d: '%s'. See http://wiki.github.com/cucumber/gherkin/lexingerror for more information.", line, at);
1494
+ }
1495
+
1496
+ static void lexer_init(lexer_state *lexer) {
1497
+ lexer->content_start = 0;
1498
+ lexer->content_end = 0;
1499
+ lexer->content_len = 0;
1500
+ lexer->docstring_content_type_start = 0;
1501
+ lexer->docstring_content_type_end = 0;
1502
+ lexer->mark = 0;
1503
+ lexer->keyword_start = 0;
1504
+ lexer->keyword_end = 0;
1505
+ lexer->next_keyword_start = 0;
1506
+ lexer->line_number = 1;
1507
+ lexer->last_newline = 0;
1508
+ lexer->final_newline = 0;
1509
+ lexer->start_col = 0;
1510
+ }
1511
+
1512
+ static VALUE CLexer_alloc(VALUE klass)
1513
+ {
1514
+ VALUE obj;
1515
+ lexer_state *lxr = ALLOC(lexer_state);
1516
+ lexer_init(lxr);
1517
+
1518
+ obj = Data_Wrap_Struct(klass, NULL, -1, lxr);
1519
+
1520
+ return obj;
1521
+ }
1522
+
1523
+ static VALUE CLexer_init(VALUE self, VALUE listener)
1524
+ {
1525
+ lexer_state *lxr;
1526
+ rb_iv_set(self, "@listener", listener);
1527
+
1528
+ lxr = NULL;
1529
+ DATA_GET(self, lexer_state, lxr);
1530
+ lexer_init(lxr);
1531
+
1532
+ return self;
1533
+ }
1534
+
1535
+ static VALUE CLexer_scan(VALUE self, VALUE input)
1536
+ {
1537
+ VALUE input_copy;
1538
+ char *data;
1539
+ size_t len;
1540
+ VALUE listener = rb_iv_get(self, "@listener");
1541
+
1542
+ lexer_state *lexer;
1543
+ lexer = NULL;
1544
+ DATA_GET(self, lexer_state, lexer);
1545
+
1546
+ input_copy = rb_str_dup(input);
1547
+
1548
+ rb_str_append(input_copy, rb_str_new2("\n%_FEATURE_END_%"));
1549
+ data = RSTRING_PTR(input_copy);
1550
+ len = RSTRING_LEN(input_copy);
1551
+
1552
+ if (len == 0) {
1553
+ rb_raise(rb_eGherkinLexingError, "No content to lex.");
1554
+ } else {
1555
+
1556
+ const char *p, *pe, *eof;
1557
+ int cs = 0;
1558
+
1559
+ VALUE current_row = Qnil;
1560
+
1561
+ p = data;
1562
+ pe = data + len;
1563
+ eof = pe;
1564
+
1565
+ assert(*pe == '\0' && "pointer does not end on NULL");
1566
+
1567
+
1568
+ #line 1569 "ext/gherkin_lexer_kn/gherkin_lexer_kn.c"
1569
+ {
1570
+ cs = lexer_start;
1571
+ }
1572
+
1573
+ #line 425 "ragel/i18n/kn.c.rl"
1574
+
1575
+ #line 1576 "ext/gherkin_lexer_kn/gherkin_lexer_kn.c"
1576
+ {
1577
+ int _klen;
1578
+ unsigned int _trans;
1579
+ const char *_acts;
1580
+ unsigned int _nacts;
1581
+ const char *_keys;
1582
+
1583
+ if ( p == pe )
1584
+ goto _test_eof;
1585
+ if ( cs == 0 )
1586
+ goto _out;
1587
+ _resume:
1588
+ _keys = _lexer_trans_keys + _lexer_key_offsets[cs];
1589
+ _trans = _lexer_index_offsets[cs];
1590
+
1591
+ _klen = _lexer_single_lengths[cs];
1592
+ if ( _klen > 0 ) {
1593
+ const char *_lower = _keys;
1594
+ const char *_mid;
1595
+ const char *_upper = _keys + _klen - 1;
1596
+ while (1) {
1597
+ if ( _upper < _lower )
1598
+ break;
1599
+
1600
+ _mid = _lower + ((_upper-_lower) >> 1);
1601
+ if ( (*p) < *_mid )
1602
+ _upper = _mid - 1;
1603
+ else if ( (*p) > *_mid )
1604
+ _lower = _mid + 1;
1605
+ else {
1606
+ _trans += (unsigned int)(_mid - _keys);
1607
+ goto _match;
1608
+ }
1609
+ }
1610
+ _keys += _klen;
1611
+ _trans += _klen;
1612
+ }
1613
+
1614
+ _klen = _lexer_range_lengths[cs];
1615
+ if ( _klen > 0 ) {
1616
+ const char *_lower = _keys;
1617
+ const char *_mid;
1618
+ const char *_upper = _keys + (_klen<<1) - 2;
1619
+ while (1) {
1620
+ if ( _upper < _lower )
1621
+ break;
1622
+
1623
+ _mid = _lower + (((_upper-_lower) >> 1) & ~1);
1624
+ if ( (*p) < _mid[0] )
1625
+ _upper = _mid - 2;
1626
+ else if ( (*p) > _mid[1] )
1627
+ _lower = _mid + 2;
1628
+ else {
1629
+ _trans += (unsigned int)((_mid - _keys)>>1);
1630
+ goto _match;
1631
+ }
1632
+ }
1633
+ _trans += _klen;
1634
+ }
1635
+
1636
+ _match:
1637
+ cs = _lexer_trans_targs[_trans];
1638
+
1639
+ if ( _lexer_trans_actions[_trans] == 0 )
1640
+ goto _again;
1641
+
1642
+ _acts = _lexer_actions + _lexer_trans_actions[_trans];
1643
+ _nacts = (unsigned int) *_acts++;
1644
+ while ( _nacts-- > 0 )
1645
+ {
1646
+ switch ( *_acts++ )
1647
+ {
1648
+ case 0:
1649
+ #line 83 "ragel/i18n/kn.c.rl"
1650
+ {
1651
+ MARK(content_start, p);
1652
+ lexer->current_line = lexer->line_number;
1653
+ lexer->start_col = lexer->content_start - lexer->last_newline - (lexer->keyword_end - lexer->keyword_start) + 2;
1654
+ }
1655
+ break;
1656
+ case 1:
1657
+ #line 89 "ragel/i18n/kn.c.rl"
1658
+ {
1659
+ MARK(content_start, p);
1660
+ }
1661
+ break;
1662
+ case 2:
1663
+ #line 93 "ragel/i18n/kn.c.rl"
1664
+ {
1665
+ lexer->current_line = lexer->line_number;
1666
+ lexer->start_col = p - data - lexer->last_newline;
1667
+ }
1668
+ break;
1669
+ case 3:
1670
+ #line 98 "ragel/i18n/kn.c.rl"
1671
+ {
1672
+ int len = LEN(content_start, PTR_TO(final_newline));
1673
+ int type_len = LEN(docstring_content_type_start, PTR_TO(docstring_content_type_end));
1674
+
1675
+ if (len < 0) len = 0;
1676
+ if (type_len < 0) len = 0;
1677
+
1678
+ store_docstring_content(listener, lexer->start_col, PTR_TO(docstring_content_type_start), type_len, PTR_TO(content_start), len, lexer->current_line);
1679
+ }
1680
+ break;
1681
+ case 4:
1682
+ #line 108 "ragel/i18n/kn.c.rl"
1683
+ {
1684
+ MARK(docstring_content_type_start, p);
1685
+ }
1686
+ break;
1687
+ case 5:
1688
+ #line 112 "ragel/i18n/kn.c.rl"
1689
+ {
1690
+ MARK(docstring_content_type_end, p);
1691
+ }
1692
+ break;
1693
+ case 6:
1694
+ #line 116 "ragel/i18n/kn.c.rl"
1695
+ {
1696
+ STORE_KW_END_CON(feature);
1697
+ }
1698
+ break;
1699
+ case 7:
1700
+ #line 120 "ragel/i18n/kn.c.rl"
1701
+ {
1702
+ STORE_KW_END_CON(background);
1703
+ }
1704
+ break;
1705
+ case 8:
1706
+ #line 124 "ragel/i18n/kn.c.rl"
1707
+ {
1708
+ STORE_KW_END_CON(scenario);
1709
+ }
1710
+ break;
1711
+ case 9:
1712
+ #line 128 "ragel/i18n/kn.c.rl"
1713
+ {
1714
+ STORE_KW_END_CON(scenario_outline);
1715
+ }
1716
+ break;
1717
+ case 10:
1718
+ #line 132 "ragel/i18n/kn.c.rl"
1719
+ {
1720
+ STORE_KW_END_CON(examples);
1721
+ }
1722
+ break;
1723
+ case 11:
1724
+ #line 136 "ragel/i18n/kn.c.rl"
1725
+ {
1726
+ store_kw_con(listener, "step",
1727
+ PTR_TO(keyword_start), LEN(keyword_start, PTR_TO(keyword_end)),
1728
+ PTR_TO(content_start), LEN(content_start, p),
1729
+ lexer->current_line);
1730
+ }
1731
+ break;
1732
+ case 12:
1733
+ #line 143 "ragel/i18n/kn.c.rl"
1734
+ {
1735
+ STORE_ATTR(comment);
1736
+ lexer->mark = 0;
1737
+ }
1738
+ break;
1739
+ case 13:
1740
+ #line 148 "ragel/i18n/kn.c.rl"
1741
+ {
1742
+ STORE_ATTR(tag);
1743
+ lexer->mark = 0;
1744
+ }
1745
+ break;
1746
+ case 14:
1747
+ #line 153 "ragel/i18n/kn.c.rl"
1748
+ {
1749
+ lexer->line_number += 1;
1750
+ MARK(final_newline, p);
1751
+ }
1752
+ break;
1753
+ case 15:
1754
+ #line 158 "ragel/i18n/kn.c.rl"
1755
+ {
1756
+ MARK(last_newline, p + 1);
1757
+ }
1758
+ break;
1759
+ case 16:
1760
+ #line 162 "ragel/i18n/kn.c.rl"
1761
+ {
1762
+ if (lexer->mark == 0) {
1763
+ MARK(mark, p);
1764
+ }
1765
+ }
1766
+ break;
1767
+ case 17:
1768
+ #line 168 "ragel/i18n/kn.c.rl"
1769
+ {
1770
+ MARK(keyword_end, p);
1771
+ MARK(keyword_start, PTR_TO(mark));
1772
+ MARK(content_start, p + 1);
1773
+ lexer->mark = 0;
1774
+ }
1775
+ break;
1776
+ case 18:
1777
+ #line 175 "ragel/i18n/kn.c.rl"
1778
+ {
1779
+ MARK(content_end, p);
1780
+ }
1781
+ break;
1782
+ case 19:
1783
+ #line 179 "ragel/i18n/kn.c.rl"
1784
+ {
1785
+ p = p - 1;
1786
+ lexer->current_line = lexer->line_number;
1787
+ current_row = rb_ary_new();
1788
+ }
1789
+ break;
1790
+ case 20:
1791
+ #line 185 "ragel/i18n/kn.c.rl"
1792
+ {
1793
+ MARK(content_start, p);
1794
+ }
1795
+ break;
1796
+ case 21:
1797
+ #line 189 "ragel/i18n/kn.c.rl"
1798
+ {
1799
+ VALUE re_pipe, re_newline, re_backslash;
1800
+ VALUE con = ENCODED_STR_NEW(PTR_TO(content_start), LEN(content_start, p));
1801
+ rb_funcall(con, rb_intern("strip!"), 0);
1802
+ re_pipe = rb_reg_regcomp(rb_str_new2("\\\\\\|"));
1803
+ re_newline = rb_reg_regcomp(rb_str_new2("\\\\n"));
1804
+ re_backslash = rb_reg_regcomp(rb_str_new2("\\\\\\\\"));
1805
+ rb_funcall(con, rb_intern("gsub!"), 2, re_pipe, rb_str_new2("|"));
1806
+ rb_funcall(con, rb_intern("gsub!"), 2, re_newline, rb_str_new2("\n"));
1807
+ rb_funcall(con, rb_intern("gsub!"), 2, re_backslash, rb_str_new2("\\"));
1808
+
1809
+ rb_ary_push(current_row, con);
1810
+ }
1811
+ break;
1812
+ case 22:
1813
+ #line 203 "ragel/i18n/kn.c.rl"
1814
+ {
1815
+ rb_funcall(listener, rb_intern("row"), 2, current_row, INT2FIX(lexer->current_line));
1816
+ }
1817
+ break;
1818
+ case 23:
1819
+ #line 207 "ragel/i18n/kn.c.rl"
1820
+ {
1821
+ int line;
1822
+ if (cs < lexer_first_final) {
1823
+ size_t count = 0;
1824
+ VALUE newstr_val;
1825
+ char *newstr;
1826
+ int newstr_count = 0;
1827
+ size_t len;
1828
+ const char *buff;
1829
+ if (lexer->last_newline != 0) {
1830
+ len = LEN(last_newline, eof);
1831
+ buff = PTR_TO(last_newline);
1832
+ } else {
1833
+ len = strlen(data);
1834
+ buff = data;
1835
+ }
1836
+
1837
+ /* Allocate as a ruby string so that it gets cleaned up by GC */
1838
+ newstr_val = rb_str_new(buff, len);
1839
+ newstr = RSTRING_PTR(newstr_val);
1840
+
1841
+
1842
+ for (count = 0; count < len; count++) {
1843
+ if(buff[count] == 10) {
1844
+ newstr[newstr_count] = '\0'; /* terminate new string at first newline found */
1845
+ break;
1846
+ } else {
1847
+ if (buff[count] == '%') {
1848
+ newstr[newstr_count++] = buff[count];
1849
+ newstr[newstr_count] = buff[count];
1850
+ } else {
1851
+ newstr[newstr_count] = buff[count];
1852
+ }
1853
+ }
1854
+ newstr_count++;
1855
+ }
1856
+
1857
+ line = lexer->line_number;
1858
+ lexer_init(lexer); /* Re-initialize so we can scan again with the same lexer */
1859
+ raise_lexer_error(newstr, line);
1860
+ } else {
1861
+ rb_funcall(listener, rb_intern("eof"), 0);
1862
+ }
1863
+ }
1864
+ break;
1865
+ #line 1866 "ext/gherkin_lexer_kn/gherkin_lexer_kn.c"
1866
+ }
1867
+ }
1868
+
1869
+ _again:
1870
+ if ( cs == 0 )
1871
+ goto _out;
1872
+ if ( ++p != pe )
1873
+ goto _resume;
1874
+ _test_eof: {}
1875
+ if ( p == eof )
1876
+ {
1877
+ const char *__acts = _lexer_actions + _lexer_eof_actions[cs];
1878
+ unsigned int __nacts = (unsigned int) *__acts++;
1879
+ while ( __nacts-- > 0 ) {
1880
+ switch ( *__acts++ ) {
1881
+ case 23:
1882
+ #line 207 "ragel/i18n/kn.c.rl"
1883
+ {
1884
+ int line;
1885
+ if (cs < lexer_first_final) {
1886
+ size_t count = 0;
1887
+ VALUE newstr_val;
1888
+ char *newstr;
1889
+ int newstr_count = 0;
1890
+ size_t len;
1891
+ const char *buff;
1892
+ if (lexer->last_newline != 0) {
1893
+ len = LEN(last_newline, eof);
1894
+ buff = PTR_TO(last_newline);
1895
+ } else {
1896
+ len = strlen(data);
1897
+ buff = data;
1898
+ }
1899
+
1900
+ /* Allocate as a ruby string so that it gets cleaned up by GC */
1901
+ newstr_val = rb_str_new(buff, len);
1902
+ newstr = RSTRING_PTR(newstr_val);
1903
+
1904
+
1905
+ for (count = 0; count < len; count++) {
1906
+ if(buff[count] == 10) {
1907
+ newstr[newstr_count] = '\0'; /* terminate new string at first newline found */
1908
+ break;
1909
+ } else {
1910
+ if (buff[count] == '%') {
1911
+ newstr[newstr_count++] = buff[count];
1912
+ newstr[newstr_count] = buff[count];
1913
+ } else {
1914
+ newstr[newstr_count] = buff[count];
1915
+ }
1916
+ }
1917
+ newstr_count++;
1918
+ }
1919
+
1920
+ line = lexer->line_number;
1921
+ lexer_init(lexer); /* Re-initialize so we can scan again with the same lexer */
1922
+ raise_lexer_error(newstr, line);
1923
+ } else {
1924
+ rb_funcall(listener, rb_intern("eof"), 0);
1925
+ }
1926
+ }
1927
+ break;
1928
+ #line 1929 "ext/gherkin_lexer_kn/gherkin_lexer_kn.c"
1929
+ }
1930
+ }
1931
+ }
1932
+
1933
+ _out: {}
1934
+ }
1935
+
1936
+ #line 426 "ragel/i18n/kn.c.rl"
1937
+
1938
+ assert(p <= pe && "data overflow after parsing execute");
1939
+ assert(lexer->content_start <= len && "content starts after data end");
1940
+ assert(lexer->mark < len && "mark is after data end");
1941
+
1942
+ /* Reset lexer by re-initializing the whole thing */
1943
+ lexer_init(lexer);
1944
+
1945
+ if (cs == lexer_error) {
1946
+ rb_raise(rb_eGherkinLexingError, "Invalid format, lexing fails.");
1947
+ } else {
1948
+ return Qtrue;
1949
+ }
1950
+ }
1951
+ }
1952
+
1953
+ void Init_gherkin_lexer_kn()
1954
+ {
1955
+ mGherkin = rb_define_module("Gherkin");
1956
+ mGherkinLexer = rb_define_module_under(mGherkin, "Lexer");
1957
+ rb_eGherkinLexingError = rb_const_get(mGherkinLexer, rb_intern("LexingError"));
1958
+
1959
+ mCLexer = rb_define_module_under(mGherkin, "CLexer");
1960
+ cI18nLexer = rb_define_class_under(mCLexer, "Kn", rb_cObject);
1961
+ rb_define_alloc_func(cI18nLexer, CLexer_alloc);
1962
+ rb_define_method(cI18nLexer, "initialize", CLexer_init, 1);
1963
+ rb_define_method(cI18nLexer, "scan", CLexer_scan, 1);
1964
+ }
1965
+