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/no.c.rl"
2
+ #line 1 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/no.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/no.c.rl"
83
+ #line 254 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/no.c.rl"
84
84
 
85
85
 
86
86
  /** Data **/
@@ -743,7 +743,7 @@ static const int lexer_error = 0;
743
743
  static const int lexer_en_main = 1;
744
744
 
745
745
 
746
- #line 258 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/no.c.rl"
746
+ #line 258 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/no.c.rl"
747
747
 
748
748
  static VALUE
749
749
  unindent(VALUE con, int start_col)
@@ -916,7 +916,7 @@ static VALUE CLexer_scan(VALUE self, VALUE input)
916
916
  cs = lexer_start;
917
917
  }
918
918
 
919
- #line 425 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/no.c.rl"
919
+ #line 425 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/no.c.rl"
920
920
 
921
921
  #line 922 "ext/gherkin_lexer_no/gherkin_lexer_no.c"
922
922
  {
@@ -992,7 +992,7 @@ _match:
992
992
  switch ( *_acts++ )
993
993
  {
994
994
  case 0:
995
- #line 83 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/no.c.rl"
995
+ #line 83 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/no.c.rl"
996
996
  {
997
997
  MARK(content_start, p);
998
998
  lexer->current_line = lexer->line_number;
@@ -1000,20 +1000,20 @@ _match:
1000
1000
  }
1001
1001
  break;
1002
1002
  case 1:
1003
- #line 89 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/no.c.rl"
1003
+ #line 89 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/no.c.rl"
1004
1004
  {
1005
1005
  MARK(content_start, p);
1006
1006
  }
1007
1007
  break;
1008
1008
  case 2:
1009
- #line 93 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/no.c.rl"
1009
+ #line 93 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/no.c.rl"
1010
1010
  {
1011
1011
  lexer->current_line = lexer->line_number;
1012
1012
  lexer->start_col = p - data - lexer->last_newline;
1013
1013
  }
1014
1014
  break;
1015
1015
  case 3:
1016
- #line 98 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/no.c.rl"
1016
+ #line 98 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/no.c.rl"
1017
1017
  {
1018
1018
  int len = LEN(content_start, PTR_TO(final_newline));
1019
1019
  int type_len = LEN(docstring_content_type_start, PTR_TO(docstring_content_type_end));
@@ -1025,49 +1025,49 @@ _match:
1025
1025
  }
1026
1026
  break;
1027
1027
  case 4:
1028
- #line 108 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/no.c.rl"
1028
+ #line 108 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/no.c.rl"
1029
1029
  {
1030
1030
  MARK(docstring_content_type_start, p);
1031
1031
  }
1032
1032
  break;
1033
1033
  case 5:
1034
- #line 112 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/no.c.rl"
1034
+ #line 112 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/no.c.rl"
1035
1035
  {
1036
1036
  MARK(docstring_content_type_end, p);
1037
1037
  }
1038
1038
  break;
1039
1039
  case 6:
1040
- #line 116 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/no.c.rl"
1040
+ #line 116 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/no.c.rl"
1041
1041
  {
1042
1042
  STORE_KW_END_CON(feature);
1043
1043
  }
1044
1044
  break;
1045
1045
  case 7:
1046
- #line 120 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/no.c.rl"
1046
+ #line 120 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/no.c.rl"
1047
1047
  {
1048
1048
  STORE_KW_END_CON(background);
1049
1049
  }
1050
1050
  break;
1051
1051
  case 8:
1052
- #line 124 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/no.c.rl"
1052
+ #line 124 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/no.c.rl"
1053
1053
  {
1054
1054
  STORE_KW_END_CON(scenario);
1055
1055
  }
1056
1056
  break;
1057
1057
  case 9:
1058
- #line 128 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/no.c.rl"
1058
+ #line 128 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/no.c.rl"
1059
1059
  {
1060
1060
  STORE_KW_END_CON(scenario_outline);
1061
1061
  }
1062
1062
  break;
1063
1063
  case 10:
1064
- #line 132 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/no.c.rl"
1064
+ #line 132 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/no.c.rl"
1065
1065
  {
1066
1066
  STORE_KW_END_CON(examples);
1067
1067
  }
1068
1068
  break;
1069
1069
  case 11:
1070
- #line 136 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/no.c.rl"
1070
+ #line 136 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/no.c.rl"
1071
1071
  {
1072
1072
  store_kw_con(listener, "step",
1073
1073
  PTR_TO(keyword_start), LEN(keyword_start, PTR_TO(keyword_end)),
@@ -1076,34 +1076,34 @@ _match:
1076
1076
  }
1077
1077
  break;
1078
1078
  case 12:
1079
- #line 143 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/no.c.rl"
1079
+ #line 143 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/no.c.rl"
1080
1080
  {
1081
1081
  STORE_ATTR(comment);
1082
1082
  lexer->mark = 0;
1083
1083
  }
1084
1084
  break;
1085
1085
  case 13:
1086
- #line 148 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/no.c.rl"
1086
+ #line 148 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/no.c.rl"
1087
1087
  {
1088
1088
  STORE_ATTR(tag);
1089
1089
  lexer->mark = 0;
1090
1090
  }
1091
1091
  break;
1092
1092
  case 14:
1093
- #line 153 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/no.c.rl"
1093
+ #line 153 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/no.c.rl"
1094
1094
  {
1095
1095
  lexer->line_number += 1;
1096
1096
  MARK(final_newline, p);
1097
1097
  }
1098
1098
  break;
1099
1099
  case 15:
1100
- #line 158 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/no.c.rl"
1100
+ #line 158 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/no.c.rl"
1101
1101
  {
1102
1102
  MARK(last_newline, p + 1);
1103
1103
  }
1104
1104
  break;
1105
1105
  case 16:
1106
- #line 162 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/no.c.rl"
1106
+ #line 162 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/no.c.rl"
1107
1107
  {
1108
1108
  if (lexer->mark == 0) {
1109
1109
  MARK(mark, p);
@@ -1111,7 +1111,7 @@ _match:
1111
1111
  }
1112
1112
  break;
1113
1113
  case 17:
1114
- #line 168 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/no.c.rl"
1114
+ #line 168 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/no.c.rl"
1115
1115
  {
1116
1116
  MARK(keyword_end, p);
1117
1117
  MARK(keyword_start, PTR_TO(mark));
@@ -1120,13 +1120,13 @@ _match:
1120
1120
  }
1121
1121
  break;
1122
1122
  case 18:
1123
- #line 175 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/no.c.rl"
1123
+ #line 175 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/no.c.rl"
1124
1124
  {
1125
1125
  MARK(content_end, p);
1126
1126
  }
1127
1127
  break;
1128
1128
  case 19:
1129
- #line 179 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/no.c.rl"
1129
+ #line 179 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/no.c.rl"
1130
1130
  {
1131
1131
  p = p - 1;
1132
1132
  lexer->current_line = lexer->line_number;
@@ -1134,13 +1134,13 @@ _match:
1134
1134
  }
1135
1135
  break;
1136
1136
  case 20:
1137
- #line 185 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/no.c.rl"
1137
+ #line 185 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/no.c.rl"
1138
1138
  {
1139
1139
  MARK(content_start, p);
1140
1140
  }
1141
1141
  break;
1142
1142
  case 21:
1143
- #line 189 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/no.c.rl"
1143
+ #line 189 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/no.c.rl"
1144
1144
  {
1145
1145
  VALUE re_pipe, re_newline, re_backslash;
1146
1146
  VALUE con = ENCODED_STR_NEW(PTR_TO(content_start), LEN(content_start, p));
@@ -1156,13 +1156,13 @@ _match:
1156
1156
  }
1157
1157
  break;
1158
1158
  case 22:
1159
- #line 203 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/no.c.rl"
1159
+ #line 203 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/no.c.rl"
1160
1160
  {
1161
1161
  rb_funcall(listener, rb_intern("row"), 2, current_row, INT2FIX(lexer->current_line));
1162
1162
  }
1163
1163
  break;
1164
1164
  case 23:
1165
- #line 207 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/no.c.rl"
1165
+ #line 207 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/no.c.rl"
1166
1166
  {
1167
1167
  int line;
1168
1168
  if (cs < lexer_first_final) {
@@ -1225,7 +1225,7 @@ _again:
1225
1225
  while ( __nacts-- > 0 ) {
1226
1226
  switch ( *__acts++ ) {
1227
1227
  case 23:
1228
- #line 207 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/no.c.rl"
1228
+ #line 207 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/no.c.rl"
1229
1229
  {
1230
1230
  int line;
1231
1231
  if (cs < lexer_first_final) {
@@ -1279,7 +1279,7 @@ _again:
1279
1279
  _out: {}
1280
1280
  }
1281
1281
 
1282
- #line 426 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/no.c.rl"
1282
+ #line 426 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/no.c.rl"
1283
1283
 
1284
1284
  assert(p <= pe && "data overflow after parsing execute");
1285
1285
  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/pl.c.rl"
2
+ #line 1 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/pl.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/pl.c.rl"
83
+ #line 254 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/pl.c.rl"
84
84
 
85
85
 
86
86
  /** Data **/
@@ -1170,7 +1170,7 @@ static const int lexer_error = 0;
1170
1170
  static const int lexer_en_main = 1;
1171
1171
 
1172
1172
 
1173
- #line 258 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/pl.c.rl"
1173
+ #line 258 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/pl.c.rl"
1174
1174
 
1175
1175
  static VALUE
1176
1176
  unindent(VALUE con, int start_col)
@@ -1343,7 +1343,7 @@ static VALUE CLexer_scan(VALUE self, VALUE input)
1343
1343
  cs = lexer_start;
1344
1344
  }
1345
1345
 
1346
- #line 425 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/pl.c.rl"
1346
+ #line 425 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/pl.c.rl"
1347
1347
 
1348
1348
  #line 1349 "ext/gherkin_lexer_pl/gherkin_lexer_pl.c"
1349
1349
  {
@@ -1419,7 +1419,7 @@ _match:
1419
1419
  switch ( *_acts++ )
1420
1420
  {
1421
1421
  case 0:
1422
- #line 83 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/pl.c.rl"
1422
+ #line 83 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/pl.c.rl"
1423
1423
  {
1424
1424
  MARK(content_start, p);
1425
1425
  lexer->current_line = lexer->line_number;
@@ -1427,20 +1427,20 @@ _match:
1427
1427
  }
1428
1428
  break;
1429
1429
  case 1:
1430
- #line 89 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/pl.c.rl"
1430
+ #line 89 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/pl.c.rl"
1431
1431
  {
1432
1432
  MARK(content_start, p);
1433
1433
  }
1434
1434
  break;
1435
1435
  case 2:
1436
- #line 93 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/pl.c.rl"
1436
+ #line 93 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/pl.c.rl"
1437
1437
  {
1438
1438
  lexer->current_line = lexer->line_number;
1439
1439
  lexer->start_col = p - data - lexer->last_newline;
1440
1440
  }
1441
1441
  break;
1442
1442
  case 3:
1443
- #line 98 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/pl.c.rl"
1443
+ #line 98 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/pl.c.rl"
1444
1444
  {
1445
1445
  int len = LEN(content_start, PTR_TO(final_newline));
1446
1446
  int type_len = LEN(docstring_content_type_start, PTR_TO(docstring_content_type_end));
@@ -1452,49 +1452,49 @@ _match:
1452
1452
  }
1453
1453
  break;
1454
1454
  case 4:
1455
- #line 108 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/pl.c.rl"
1455
+ #line 108 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/pl.c.rl"
1456
1456
  {
1457
1457
  MARK(docstring_content_type_start, p);
1458
1458
  }
1459
1459
  break;
1460
1460
  case 5:
1461
- #line 112 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/pl.c.rl"
1461
+ #line 112 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/pl.c.rl"
1462
1462
  {
1463
1463
  MARK(docstring_content_type_end, p);
1464
1464
  }
1465
1465
  break;
1466
1466
  case 6:
1467
- #line 116 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/pl.c.rl"
1467
+ #line 116 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/pl.c.rl"
1468
1468
  {
1469
1469
  STORE_KW_END_CON(feature);
1470
1470
  }
1471
1471
  break;
1472
1472
  case 7:
1473
- #line 120 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/pl.c.rl"
1473
+ #line 120 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/pl.c.rl"
1474
1474
  {
1475
1475
  STORE_KW_END_CON(background);
1476
1476
  }
1477
1477
  break;
1478
1478
  case 8:
1479
- #line 124 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/pl.c.rl"
1479
+ #line 124 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/pl.c.rl"
1480
1480
  {
1481
1481
  STORE_KW_END_CON(scenario);
1482
1482
  }
1483
1483
  break;
1484
1484
  case 9:
1485
- #line 128 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/pl.c.rl"
1485
+ #line 128 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/pl.c.rl"
1486
1486
  {
1487
1487
  STORE_KW_END_CON(scenario_outline);
1488
1488
  }
1489
1489
  break;
1490
1490
  case 10:
1491
- #line 132 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/pl.c.rl"
1491
+ #line 132 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/pl.c.rl"
1492
1492
  {
1493
1493
  STORE_KW_END_CON(examples);
1494
1494
  }
1495
1495
  break;
1496
1496
  case 11:
1497
- #line 136 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/pl.c.rl"
1497
+ #line 136 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/pl.c.rl"
1498
1498
  {
1499
1499
  store_kw_con(listener, "step",
1500
1500
  PTR_TO(keyword_start), LEN(keyword_start, PTR_TO(keyword_end)),
@@ -1503,34 +1503,34 @@ _match:
1503
1503
  }
1504
1504
  break;
1505
1505
  case 12:
1506
- #line 143 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/pl.c.rl"
1506
+ #line 143 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/pl.c.rl"
1507
1507
  {
1508
1508
  STORE_ATTR(comment);
1509
1509
  lexer->mark = 0;
1510
1510
  }
1511
1511
  break;
1512
1512
  case 13:
1513
- #line 148 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/pl.c.rl"
1513
+ #line 148 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/pl.c.rl"
1514
1514
  {
1515
1515
  STORE_ATTR(tag);
1516
1516
  lexer->mark = 0;
1517
1517
  }
1518
1518
  break;
1519
1519
  case 14:
1520
- #line 153 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/pl.c.rl"
1520
+ #line 153 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/pl.c.rl"
1521
1521
  {
1522
1522
  lexer->line_number += 1;
1523
1523
  MARK(final_newline, p);
1524
1524
  }
1525
1525
  break;
1526
1526
  case 15:
1527
- #line 158 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/pl.c.rl"
1527
+ #line 158 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/pl.c.rl"
1528
1528
  {
1529
1529
  MARK(last_newline, p + 1);
1530
1530
  }
1531
1531
  break;
1532
1532
  case 16:
1533
- #line 162 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/pl.c.rl"
1533
+ #line 162 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/pl.c.rl"
1534
1534
  {
1535
1535
  if (lexer->mark == 0) {
1536
1536
  MARK(mark, p);
@@ -1538,7 +1538,7 @@ _match:
1538
1538
  }
1539
1539
  break;
1540
1540
  case 17:
1541
- #line 168 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/pl.c.rl"
1541
+ #line 168 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/pl.c.rl"
1542
1542
  {
1543
1543
  MARK(keyword_end, p);
1544
1544
  MARK(keyword_start, PTR_TO(mark));
@@ -1547,13 +1547,13 @@ _match:
1547
1547
  }
1548
1548
  break;
1549
1549
  case 18:
1550
- #line 175 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/pl.c.rl"
1550
+ #line 175 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/pl.c.rl"
1551
1551
  {
1552
1552
  MARK(content_end, p);
1553
1553
  }
1554
1554
  break;
1555
1555
  case 19:
1556
- #line 179 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/pl.c.rl"
1556
+ #line 179 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/pl.c.rl"
1557
1557
  {
1558
1558
  p = p - 1;
1559
1559
  lexer->current_line = lexer->line_number;
@@ -1561,13 +1561,13 @@ _match:
1561
1561
  }
1562
1562
  break;
1563
1563
  case 20:
1564
- #line 185 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/pl.c.rl"
1564
+ #line 185 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/pl.c.rl"
1565
1565
  {
1566
1566
  MARK(content_start, p);
1567
1567
  }
1568
1568
  break;
1569
1569
  case 21:
1570
- #line 189 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/pl.c.rl"
1570
+ #line 189 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/pl.c.rl"
1571
1571
  {
1572
1572
  VALUE re_pipe, re_newline, re_backslash;
1573
1573
  VALUE con = ENCODED_STR_NEW(PTR_TO(content_start), LEN(content_start, p));
@@ -1583,13 +1583,13 @@ _match:
1583
1583
  }
1584
1584
  break;
1585
1585
  case 22:
1586
- #line 203 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/pl.c.rl"
1586
+ #line 203 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/pl.c.rl"
1587
1587
  {
1588
1588
  rb_funcall(listener, rb_intern("row"), 2, current_row, INT2FIX(lexer->current_line));
1589
1589
  }
1590
1590
  break;
1591
1591
  case 23:
1592
- #line 207 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/pl.c.rl"
1592
+ #line 207 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/pl.c.rl"
1593
1593
  {
1594
1594
  int line;
1595
1595
  if (cs < lexer_first_final) {
@@ -1652,7 +1652,7 @@ _again:
1652
1652
  while ( __nacts-- > 0 ) {
1653
1653
  switch ( *__acts++ ) {
1654
1654
  case 23:
1655
- #line 207 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/pl.c.rl"
1655
+ #line 207 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/pl.c.rl"
1656
1656
  {
1657
1657
  int line;
1658
1658
  if (cs < lexer_first_final) {
@@ -1706,7 +1706,7 @@ _again:
1706
1706
  _out: {}
1707
1707
  }
1708
1708
 
1709
- #line 426 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/pl.c.rl"
1709
+ #line 426 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/pl.c.rl"
1710
1710
 
1711
1711
  assert(p <= pe && "data overflow after parsing execute");
1712
1712
  assert(lexer->content_start <= len && "content starts after data end");