gherkin 2.11.6 → 2.11.7

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