gherkin 2.12.2 → 3.2.0

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