gherkin 2.11.6 → 2.11.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (85) hide show
  1. checksums.yaml +15 -0
  2. data/.travis.yml +0 -1
  3. data/Gemfile +1 -1
  4. data/History.md +13 -0
  5. data/README.md +10 -4
  6. data/examples/parse_and_output_json.rb +2 -2
  7. data/ext/gherkin_lexer_ar/gherkin_lexer_ar.c +494 -494
  8. data/ext/gherkin_lexer_bg/gherkin_lexer_bg.c +30 -30
  9. data/ext/gherkin_lexer_bm/gherkin_lexer_bm.c +30 -30
  10. data/ext/gherkin_lexer_ca/gherkin_lexer_ca.c +30 -30
  11. data/ext/gherkin_lexer_cs/gherkin_lexer_cs.c +30 -30
  12. data/ext/gherkin_lexer_cy_gb/gherkin_lexer_cy_gb.c +30 -30
  13. data/ext/gherkin_lexer_da/gherkin_lexer_da.c +30 -30
  14. data/ext/gherkin_lexer_de/gherkin_lexer_de.c +30 -30
  15. data/ext/gherkin_lexer_el/extconf.rb +6 -0
  16. data/ext/gherkin_lexer_el/gherkin_lexer_el.c +1977 -0
  17. data/ext/gherkin_lexer_en/gherkin_lexer_en.c +30 -30
  18. data/ext/gherkin_lexer_en_au/gherkin_lexer_en_au.c +30 -30
  19. data/ext/gherkin_lexer_en_lol/gherkin_lexer_en_lol.c +30 -30
  20. data/ext/gherkin_lexer_en_old/extconf.rb +6 -0
  21. data/ext/gherkin_lexer_en_old/gherkin_lexer_en_old.c +1309 -0
  22. data/ext/gherkin_lexer_en_pirate/gherkin_lexer_en_pirate.c +30 -30
  23. data/ext/gherkin_lexer_en_scouse/gherkin_lexer_en_scouse.c +30 -30
  24. data/ext/gherkin_lexer_en_tx/gherkin_lexer_en_tx.c +30 -30
  25. data/ext/gherkin_lexer_eo/gherkin_lexer_eo.c +30 -30
  26. data/ext/gherkin_lexer_es/gherkin_lexer_es.c +30 -30
  27. data/ext/gherkin_lexer_et/gherkin_lexer_et.c +30 -30
  28. data/ext/gherkin_lexer_fa/gherkin_lexer_fa.c +30 -30
  29. data/ext/gherkin_lexer_fi/gherkin_lexer_fi.c +30 -30
  30. data/ext/gherkin_lexer_fr/gherkin_lexer_fr.c +30 -30
  31. data/ext/gherkin_lexer_he/gherkin_lexer_he.c +30 -30
  32. data/ext/gherkin_lexer_hi/gherkin_lexer_hi.c +30 -30
  33. data/ext/gherkin_lexer_hr/gherkin_lexer_hr.c +30 -30
  34. data/ext/gherkin_lexer_hu/gherkin_lexer_hu.c +30 -30
  35. data/ext/gherkin_lexer_id/gherkin_lexer_id.c +30 -30
  36. data/ext/gherkin_lexer_is/gherkin_lexer_is.c +30 -30
  37. data/ext/gherkin_lexer_it/gherkin_lexer_it.c +30 -30
  38. data/ext/gherkin_lexer_ja/gherkin_lexer_ja.c +30 -30
  39. data/ext/gherkin_lexer_ko/gherkin_lexer_ko.c +30 -30
  40. data/ext/gherkin_lexer_lt/gherkin_lexer_lt.c +30 -30
  41. data/ext/gherkin_lexer_lu/gherkin_lexer_lu.c +30 -30
  42. data/ext/gherkin_lexer_lv/gherkin_lexer_lv.c +30 -30
  43. data/ext/gherkin_lexer_nl/gherkin_lexer_nl.c +30 -30
  44. data/ext/gherkin_lexer_no/gherkin_lexer_no.c +30 -30
  45. data/ext/gherkin_lexer_pl/gherkin_lexer_pl.c +30 -30
  46. data/ext/gherkin_lexer_pt/gherkin_lexer_pt.c +30 -30
  47. data/ext/gherkin_lexer_ro/gherkin_lexer_ro.c +30 -30
  48. data/ext/gherkin_lexer_ru/gherkin_lexer_ru.c +30 -30
  49. data/ext/gherkin_lexer_sk/gherkin_lexer_sk.c +30 -30
  50. data/ext/gherkin_lexer_sr_cyrl/gherkin_lexer_sr_cyrl.c +30 -30
  51. data/ext/gherkin_lexer_sr_latn/gherkin_lexer_sr_latn.c +617 -614
  52. data/ext/gherkin_lexer_sv/gherkin_lexer_sv.c +30 -30
  53. data/ext/gherkin_lexer_tl/gherkin_lexer_tl.c +30 -30
  54. data/ext/gherkin_lexer_tr/gherkin_lexer_tr.c +30 -30
  55. data/ext/gherkin_lexer_tt/gherkin_lexer_tt.c +30 -30
  56. data/ext/gherkin_lexer_uk/gherkin_lexer_uk.c +30 -30
  57. data/ext/gherkin_lexer_uz/gherkin_lexer_uz.c +622 -614
  58. data/ext/gherkin_lexer_vi/gherkin_lexer_vi.c +30 -30
  59. data/ext/gherkin_lexer_zh_cn/gherkin_lexer_zh_cn.c +30 -30
  60. data/ext/gherkin_lexer_zh_tw/gherkin_lexer_zh_tw.c +30 -30
  61. data/features/.cucumber/stepdefs.json +66 -66
  62. data/features/step_definitions/json_formatter_steps.rb +4 -4
  63. data/features/step_definitions/json_parser_steps.rb +2 -1
  64. data/features/support/env.rb +2 -3
  65. data/gherkin.gemspec +8 -6
  66. data/lib/gherkin/formatter/json_formatter.rb +5 -5
  67. data/lib/gherkin/formatter/tag_filter.rb +2 -2
  68. data/lib/gherkin/i18n.json +28 -0
  69. data/lib/gherkin/i18n.rb +6 -6
  70. data/lib/gherkin/json_parser.rb +4 -4
  71. data/lib/gherkin/native/java.rb +2 -2
  72. data/lib/gherkin/parser/parser.rb +1 -0
  73. data/lib/gherkin/platform.rb +12 -0
  74. data/lib/gherkin/tag_expression.rb +7 -1
  75. data/spec/gherkin/formatter/json_formatter_spec.rb +74 -3
  76. data/spec/gherkin/i18n_spec.rb +2 -0
  77. data/spec/gherkin/json_parser_spec.rb +11 -10
  78. data/spec/gherkin/parser/parser_spec.rb +1 -1
  79. data/spec/gherkin/tag_expression_spec.rb +19 -15
  80. data/spec/spec_helper.rb +4 -1
  81. data/tasks/rspec.rake +1 -2
  82. metadata +139 -226
  83. data/lib/gherkin/lexer/tl.rb +0 -1723
  84. data/lib/gherkin/lexer/tt.rb +0 -1640
  85. data/spec/gherkin/output_stream_string_io.rb +0 -20
@@ -1,5 +1,5 @@
1
1
 
2
- #line 1 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/hi.c.rl"
2
+ #line 1 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/hi.c.rl"
3
3
  #include <assert.h>
4
4
  #include <ruby.h>
5
5
 
@@ -80,7 +80,7 @@ static VALUE rb_eGherkinLexingError;
80
80
  lexer->line_number)
81
81
 
82
82
 
83
- #line 254 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/hi.c.rl"
83
+ #line 254 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/hi.c.rl"
84
84
 
85
85
 
86
86
  /** Data **/
@@ -1181,7 +1181,7 @@ static const int lexer_error = 0;
1181
1181
  static const int lexer_en_main = 1;
1182
1182
 
1183
1183
 
1184
- #line 258 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/hi.c.rl"
1184
+ #line 258 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/hi.c.rl"
1185
1185
 
1186
1186
  static VALUE
1187
1187
  unindent(VALUE con, int start_col)
@@ -1354,7 +1354,7 @@ static VALUE CLexer_scan(VALUE self, VALUE input)
1354
1354
  cs = lexer_start;
1355
1355
  }
1356
1356
 
1357
- #line 425 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/hi.c.rl"
1357
+ #line 425 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/hi.c.rl"
1358
1358
 
1359
1359
  #line 1360 "ext/gherkin_lexer_hi/gherkin_lexer_hi.c"
1360
1360
  {
@@ -1430,7 +1430,7 @@ _match:
1430
1430
  switch ( *_acts++ )
1431
1431
  {
1432
1432
  case 0:
1433
- #line 83 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/hi.c.rl"
1433
+ #line 83 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/hi.c.rl"
1434
1434
  {
1435
1435
  MARK(content_start, p);
1436
1436
  lexer->current_line = lexer->line_number;
@@ -1438,20 +1438,20 @@ _match:
1438
1438
  }
1439
1439
  break;
1440
1440
  case 1:
1441
- #line 89 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/hi.c.rl"
1441
+ #line 89 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/hi.c.rl"
1442
1442
  {
1443
1443
  MARK(content_start, p);
1444
1444
  }
1445
1445
  break;
1446
1446
  case 2:
1447
- #line 93 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/hi.c.rl"
1447
+ #line 93 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/hi.c.rl"
1448
1448
  {
1449
1449
  lexer->current_line = lexer->line_number;
1450
1450
  lexer->start_col = p - data - lexer->last_newline;
1451
1451
  }
1452
1452
  break;
1453
1453
  case 3:
1454
- #line 98 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/hi.c.rl"
1454
+ #line 98 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/hi.c.rl"
1455
1455
  {
1456
1456
  int len = LEN(content_start, PTR_TO(final_newline));
1457
1457
  int type_len = LEN(docstring_content_type_start, PTR_TO(docstring_content_type_end));
@@ -1463,49 +1463,49 @@ _match:
1463
1463
  }
1464
1464
  break;
1465
1465
  case 4:
1466
- #line 108 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/hi.c.rl"
1466
+ #line 108 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/hi.c.rl"
1467
1467
  {
1468
1468
  MARK(docstring_content_type_start, p);
1469
1469
  }
1470
1470
  break;
1471
1471
  case 5:
1472
- #line 112 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/hi.c.rl"
1472
+ #line 112 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/hi.c.rl"
1473
1473
  {
1474
1474
  MARK(docstring_content_type_end, p);
1475
1475
  }
1476
1476
  break;
1477
1477
  case 6:
1478
- #line 116 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/hi.c.rl"
1478
+ #line 116 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/hi.c.rl"
1479
1479
  {
1480
1480
  STORE_KW_END_CON(feature);
1481
1481
  }
1482
1482
  break;
1483
1483
  case 7:
1484
- #line 120 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/hi.c.rl"
1484
+ #line 120 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/hi.c.rl"
1485
1485
  {
1486
1486
  STORE_KW_END_CON(background);
1487
1487
  }
1488
1488
  break;
1489
1489
  case 8:
1490
- #line 124 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/hi.c.rl"
1490
+ #line 124 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/hi.c.rl"
1491
1491
  {
1492
1492
  STORE_KW_END_CON(scenario);
1493
1493
  }
1494
1494
  break;
1495
1495
  case 9:
1496
- #line 128 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/hi.c.rl"
1496
+ #line 128 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/hi.c.rl"
1497
1497
  {
1498
1498
  STORE_KW_END_CON(scenario_outline);
1499
1499
  }
1500
1500
  break;
1501
1501
  case 10:
1502
- #line 132 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/hi.c.rl"
1502
+ #line 132 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/hi.c.rl"
1503
1503
  {
1504
1504
  STORE_KW_END_CON(examples);
1505
1505
  }
1506
1506
  break;
1507
1507
  case 11:
1508
- #line 136 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/hi.c.rl"
1508
+ #line 136 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/hi.c.rl"
1509
1509
  {
1510
1510
  store_kw_con(listener, "step",
1511
1511
  PTR_TO(keyword_start), LEN(keyword_start, PTR_TO(keyword_end)),
@@ -1514,34 +1514,34 @@ _match:
1514
1514
  }
1515
1515
  break;
1516
1516
  case 12:
1517
- #line 143 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/hi.c.rl"
1517
+ #line 143 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/hi.c.rl"
1518
1518
  {
1519
1519
  STORE_ATTR(comment);
1520
1520
  lexer->mark = 0;
1521
1521
  }
1522
1522
  break;
1523
1523
  case 13:
1524
- #line 148 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/hi.c.rl"
1524
+ #line 148 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/hi.c.rl"
1525
1525
  {
1526
1526
  STORE_ATTR(tag);
1527
1527
  lexer->mark = 0;
1528
1528
  }
1529
1529
  break;
1530
1530
  case 14:
1531
- #line 153 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/hi.c.rl"
1531
+ #line 153 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/hi.c.rl"
1532
1532
  {
1533
1533
  lexer->line_number += 1;
1534
1534
  MARK(final_newline, p);
1535
1535
  }
1536
1536
  break;
1537
1537
  case 15:
1538
- #line 158 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/hi.c.rl"
1538
+ #line 158 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/hi.c.rl"
1539
1539
  {
1540
1540
  MARK(last_newline, p + 1);
1541
1541
  }
1542
1542
  break;
1543
1543
  case 16:
1544
- #line 162 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/hi.c.rl"
1544
+ #line 162 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/hi.c.rl"
1545
1545
  {
1546
1546
  if (lexer->mark == 0) {
1547
1547
  MARK(mark, p);
@@ -1549,7 +1549,7 @@ _match:
1549
1549
  }
1550
1550
  break;
1551
1551
  case 17:
1552
- #line 168 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/hi.c.rl"
1552
+ #line 168 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/hi.c.rl"
1553
1553
  {
1554
1554
  MARK(keyword_end, p);
1555
1555
  MARK(keyword_start, PTR_TO(mark));
@@ -1558,13 +1558,13 @@ _match:
1558
1558
  }
1559
1559
  break;
1560
1560
  case 18:
1561
- #line 175 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/hi.c.rl"
1561
+ #line 175 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/hi.c.rl"
1562
1562
  {
1563
1563
  MARK(content_end, p);
1564
1564
  }
1565
1565
  break;
1566
1566
  case 19:
1567
- #line 179 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/hi.c.rl"
1567
+ #line 179 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/hi.c.rl"
1568
1568
  {
1569
1569
  p = p - 1;
1570
1570
  lexer->current_line = lexer->line_number;
@@ -1572,13 +1572,13 @@ _match:
1572
1572
  }
1573
1573
  break;
1574
1574
  case 20:
1575
- #line 185 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/hi.c.rl"
1575
+ #line 185 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/hi.c.rl"
1576
1576
  {
1577
1577
  MARK(content_start, p);
1578
1578
  }
1579
1579
  break;
1580
1580
  case 21:
1581
- #line 189 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/hi.c.rl"
1581
+ #line 189 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/hi.c.rl"
1582
1582
  {
1583
1583
  VALUE re_pipe, re_newline, re_backslash;
1584
1584
  VALUE con = ENCODED_STR_NEW(PTR_TO(content_start), LEN(content_start, p));
@@ -1594,13 +1594,13 @@ _match:
1594
1594
  }
1595
1595
  break;
1596
1596
  case 22:
1597
- #line 203 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/hi.c.rl"
1597
+ #line 203 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/hi.c.rl"
1598
1598
  {
1599
1599
  rb_funcall(listener, rb_intern("row"), 2, current_row, INT2FIX(lexer->current_line));
1600
1600
  }
1601
1601
  break;
1602
1602
  case 23:
1603
- #line 207 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/hi.c.rl"
1603
+ #line 207 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/hi.c.rl"
1604
1604
  {
1605
1605
  int line;
1606
1606
  if (cs < lexer_first_final) {
@@ -1663,7 +1663,7 @@ _again:
1663
1663
  while ( __nacts-- > 0 ) {
1664
1664
  switch ( *__acts++ ) {
1665
1665
  case 23:
1666
- #line 207 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/hi.c.rl"
1666
+ #line 207 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/hi.c.rl"
1667
1667
  {
1668
1668
  int line;
1669
1669
  if (cs < lexer_first_final) {
@@ -1717,7 +1717,7 @@ _again:
1717
1717
  _out: {}
1718
1718
  }
1719
1719
 
1720
- #line 426 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/hi.c.rl"
1720
+ #line 426 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/hi.c.rl"
1721
1721
 
1722
1722
  assert(p <= pe && "data overflow after parsing execute");
1723
1723
  assert(lexer->content_start <= len && "content starts after data end");
@@ -1,5 +1,5 @@
1
1
 
2
- #line 1 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/hr.c.rl"
2
+ #line 1 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/hr.c.rl"
3
3
  #include <assert.h>
4
4
  #include <ruby.h>
5
5
 
@@ -80,7 +80,7 @@ static VALUE rb_eGherkinLexingError;
80
80
  lexer->line_number)
81
81
 
82
82
 
83
- #line 254 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/hr.c.rl"
83
+ #line 254 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/hr.c.rl"
84
84
 
85
85
 
86
86
  /** Data **/
@@ -755,7 +755,7 @@ static const int lexer_error = 0;
755
755
  static const int lexer_en_main = 1;
756
756
 
757
757
 
758
- #line 258 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/hr.c.rl"
758
+ #line 258 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/hr.c.rl"
759
759
 
760
760
  static VALUE
761
761
  unindent(VALUE con, int start_col)
@@ -928,7 +928,7 @@ static VALUE CLexer_scan(VALUE self, VALUE input)
928
928
  cs = lexer_start;
929
929
  }
930
930
 
931
- #line 425 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/hr.c.rl"
931
+ #line 425 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/hr.c.rl"
932
932
 
933
933
  #line 934 "ext/gherkin_lexer_hr/gherkin_lexer_hr.c"
934
934
  {
@@ -1004,7 +1004,7 @@ _match:
1004
1004
  switch ( *_acts++ )
1005
1005
  {
1006
1006
  case 0:
1007
- #line 83 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/hr.c.rl"
1007
+ #line 83 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/hr.c.rl"
1008
1008
  {
1009
1009
  MARK(content_start, p);
1010
1010
  lexer->current_line = lexer->line_number;
@@ -1012,20 +1012,20 @@ _match:
1012
1012
  }
1013
1013
  break;
1014
1014
  case 1:
1015
- #line 89 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/hr.c.rl"
1015
+ #line 89 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/hr.c.rl"
1016
1016
  {
1017
1017
  MARK(content_start, p);
1018
1018
  }
1019
1019
  break;
1020
1020
  case 2:
1021
- #line 93 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/hr.c.rl"
1021
+ #line 93 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/hr.c.rl"
1022
1022
  {
1023
1023
  lexer->current_line = lexer->line_number;
1024
1024
  lexer->start_col = p - data - lexer->last_newline;
1025
1025
  }
1026
1026
  break;
1027
1027
  case 3:
1028
- #line 98 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/hr.c.rl"
1028
+ #line 98 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/hr.c.rl"
1029
1029
  {
1030
1030
  int len = LEN(content_start, PTR_TO(final_newline));
1031
1031
  int type_len = LEN(docstring_content_type_start, PTR_TO(docstring_content_type_end));
@@ -1037,49 +1037,49 @@ _match:
1037
1037
  }
1038
1038
  break;
1039
1039
  case 4:
1040
- #line 108 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/hr.c.rl"
1040
+ #line 108 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/hr.c.rl"
1041
1041
  {
1042
1042
  MARK(docstring_content_type_start, p);
1043
1043
  }
1044
1044
  break;
1045
1045
  case 5:
1046
- #line 112 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/hr.c.rl"
1046
+ #line 112 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/hr.c.rl"
1047
1047
  {
1048
1048
  MARK(docstring_content_type_end, p);
1049
1049
  }
1050
1050
  break;
1051
1051
  case 6:
1052
- #line 116 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/hr.c.rl"
1052
+ #line 116 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/hr.c.rl"
1053
1053
  {
1054
1054
  STORE_KW_END_CON(feature);
1055
1055
  }
1056
1056
  break;
1057
1057
  case 7:
1058
- #line 120 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/hr.c.rl"
1058
+ #line 120 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/hr.c.rl"
1059
1059
  {
1060
1060
  STORE_KW_END_CON(background);
1061
1061
  }
1062
1062
  break;
1063
1063
  case 8:
1064
- #line 124 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/hr.c.rl"
1064
+ #line 124 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/hr.c.rl"
1065
1065
  {
1066
1066
  STORE_KW_END_CON(scenario);
1067
1067
  }
1068
1068
  break;
1069
1069
  case 9:
1070
- #line 128 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/hr.c.rl"
1070
+ #line 128 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/hr.c.rl"
1071
1071
  {
1072
1072
  STORE_KW_END_CON(scenario_outline);
1073
1073
  }
1074
1074
  break;
1075
1075
  case 10:
1076
- #line 132 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/hr.c.rl"
1076
+ #line 132 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/hr.c.rl"
1077
1077
  {
1078
1078
  STORE_KW_END_CON(examples);
1079
1079
  }
1080
1080
  break;
1081
1081
  case 11:
1082
- #line 136 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/hr.c.rl"
1082
+ #line 136 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/hr.c.rl"
1083
1083
  {
1084
1084
  store_kw_con(listener, "step",
1085
1085
  PTR_TO(keyword_start), LEN(keyword_start, PTR_TO(keyword_end)),
@@ -1088,34 +1088,34 @@ _match:
1088
1088
  }
1089
1089
  break;
1090
1090
  case 12:
1091
- #line 143 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/hr.c.rl"
1091
+ #line 143 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/hr.c.rl"
1092
1092
  {
1093
1093
  STORE_ATTR(comment);
1094
1094
  lexer->mark = 0;
1095
1095
  }
1096
1096
  break;
1097
1097
  case 13:
1098
- #line 148 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/hr.c.rl"
1098
+ #line 148 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/hr.c.rl"
1099
1099
  {
1100
1100
  STORE_ATTR(tag);
1101
1101
  lexer->mark = 0;
1102
1102
  }
1103
1103
  break;
1104
1104
  case 14:
1105
- #line 153 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/hr.c.rl"
1105
+ #line 153 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/hr.c.rl"
1106
1106
  {
1107
1107
  lexer->line_number += 1;
1108
1108
  MARK(final_newline, p);
1109
1109
  }
1110
1110
  break;
1111
1111
  case 15:
1112
- #line 158 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/hr.c.rl"
1112
+ #line 158 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/hr.c.rl"
1113
1113
  {
1114
1114
  MARK(last_newline, p + 1);
1115
1115
  }
1116
1116
  break;
1117
1117
  case 16:
1118
- #line 162 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/hr.c.rl"
1118
+ #line 162 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/hr.c.rl"
1119
1119
  {
1120
1120
  if (lexer->mark == 0) {
1121
1121
  MARK(mark, p);
@@ -1123,7 +1123,7 @@ _match:
1123
1123
  }
1124
1124
  break;
1125
1125
  case 17:
1126
- #line 168 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/hr.c.rl"
1126
+ #line 168 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/hr.c.rl"
1127
1127
  {
1128
1128
  MARK(keyword_end, p);
1129
1129
  MARK(keyword_start, PTR_TO(mark));
@@ -1132,13 +1132,13 @@ _match:
1132
1132
  }
1133
1133
  break;
1134
1134
  case 18:
1135
- #line 175 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/hr.c.rl"
1135
+ #line 175 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/hr.c.rl"
1136
1136
  {
1137
1137
  MARK(content_end, p);
1138
1138
  }
1139
1139
  break;
1140
1140
  case 19:
1141
- #line 179 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/hr.c.rl"
1141
+ #line 179 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/hr.c.rl"
1142
1142
  {
1143
1143
  p = p - 1;
1144
1144
  lexer->current_line = lexer->line_number;
@@ -1146,13 +1146,13 @@ _match:
1146
1146
  }
1147
1147
  break;
1148
1148
  case 20:
1149
- #line 185 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/hr.c.rl"
1149
+ #line 185 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/hr.c.rl"
1150
1150
  {
1151
1151
  MARK(content_start, p);
1152
1152
  }
1153
1153
  break;
1154
1154
  case 21:
1155
- #line 189 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/hr.c.rl"
1155
+ #line 189 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/hr.c.rl"
1156
1156
  {
1157
1157
  VALUE re_pipe, re_newline, re_backslash;
1158
1158
  VALUE con = ENCODED_STR_NEW(PTR_TO(content_start), LEN(content_start, p));
@@ -1168,13 +1168,13 @@ _match:
1168
1168
  }
1169
1169
  break;
1170
1170
  case 22:
1171
- #line 203 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/hr.c.rl"
1171
+ #line 203 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/hr.c.rl"
1172
1172
  {
1173
1173
  rb_funcall(listener, rb_intern("row"), 2, current_row, INT2FIX(lexer->current_line));
1174
1174
  }
1175
1175
  break;
1176
1176
  case 23:
1177
- #line 207 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/hr.c.rl"
1177
+ #line 207 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/hr.c.rl"
1178
1178
  {
1179
1179
  int line;
1180
1180
  if (cs < lexer_first_final) {
@@ -1237,7 +1237,7 @@ _again:
1237
1237
  while ( __nacts-- > 0 ) {
1238
1238
  switch ( *__acts++ ) {
1239
1239
  case 23:
1240
- #line 207 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/hr.c.rl"
1240
+ #line 207 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/hr.c.rl"
1241
1241
  {
1242
1242
  int line;
1243
1243
  if (cs < lexer_first_final) {
@@ -1291,7 +1291,7 @@ _again:
1291
1291
  _out: {}
1292
1292
  }
1293
1293
 
1294
- #line 426 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/hr.c.rl"
1294
+ #line 426 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/hr.c.rl"
1295
1295
 
1296
1296
  assert(p <= pe && "data overflow after parsing execute");
1297
1297
  assert(lexer->content_start <= len && "content starts after data end");