gherkin 2.11.7 → 2.11.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (72) hide show
  1. data/.ruby-gemset +1 -0
  2. data/.ruby-version +1 -0
  3. data/History.md +6 -0
  4. data/README.md +7 -9
  5. data/ext/gherkin_lexer_ar/gherkin_lexer_ar.c +494 -494
  6. data/ext/gherkin_lexer_bg/gherkin_lexer_bg.c +30 -30
  7. data/ext/gherkin_lexer_bm/gherkin_lexer_bm.c +30 -30
  8. data/ext/gherkin_lexer_ca/gherkin_lexer_ca.c +30 -30
  9. data/ext/gherkin_lexer_cs/gherkin_lexer_cs.c +30 -30
  10. data/ext/gherkin_lexer_cy_gb/gherkin_lexer_cy_gb.c +30 -30
  11. data/ext/gherkin_lexer_da/gherkin_lexer_da.c +30 -30
  12. data/ext/gherkin_lexer_de/gherkin_lexer_de.c +30 -30
  13. data/ext/gherkin_lexer_el/gherkin_lexer_el.c +30 -30
  14. data/ext/gherkin_lexer_en/gherkin_lexer_en.c +30 -30
  15. data/ext/gherkin_lexer_en_au/gherkin_lexer_en_au.c +30 -30
  16. data/ext/gherkin_lexer_en_lol/gherkin_lexer_en_lol.c +30 -30
  17. data/ext/gherkin_lexer_en_old/gherkin_lexer_en_old.c +30 -30
  18. data/ext/gherkin_lexer_en_pirate/gherkin_lexer_en_pirate.c +30 -30
  19. data/ext/gherkin_lexer_en_scouse/gherkin_lexer_en_scouse.c +30 -30
  20. data/ext/gherkin_lexer_en_tx/gherkin_lexer_en_tx.c +30 -30
  21. data/ext/gherkin_lexer_eo/gherkin_lexer_eo.c +30 -30
  22. data/ext/gherkin_lexer_es/gherkin_lexer_es.c +30 -30
  23. data/ext/gherkin_lexer_et/gherkin_lexer_et.c +30 -30
  24. data/ext/gherkin_lexer_fa/gherkin_lexer_fa.c +30 -30
  25. data/ext/gherkin_lexer_fi/gherkin_lexer_fi.c +30 -30
  26. data/ext/gherkin_lexer_fr/gherkin_lexer_fr.c +30 -30
  27. data/ext/gherkin_lexer_gl/extconf.rb +6 -0
  28. data/ext/gherkin_lexer_gl/gherkin_lexer_gl.c +1374 -0
  29. data/ext/gherkin_lexer_he/gherkin_lexer_he.c +30 -30
  30. data/ext/gherkin_lexer_hi/gherkin_lexer_hi.c +30 -30
  31. data/ext/gherkin_lexer_hr/gherkin_lexer_hr.c +30 -30
  32. data/ext/gherkin_lexer_hu/gherkin_lexer_hu.c +30 -30
  33. data/ext/gherkin_lexer_id/gherkin_lexer_id.c +30 -30
  34. data/ext/gherkin_lexer_is/gherkin_lexer_is.c +30 -30
  35. data/ext/gherkin_lexer_it/gherkin_lexer_it.c +30 -30
  36. data/ext/gherkin_lexer_ja/gherkin_lexer_ja.c +30 -30
  37. data/ext/gherkin_lexer_ko/gherkin_lexer_ko.c +30 -30
  38. data/ext/gherkin_lexer_lt/gherkin_lexer_lt.c +30 -30
  39. data/ext/gherkin_lexer_lu/gherkin_lexer_lu.c +30 -30
  40. data/ext/gherkin_lexer_lv/gherkin_lexer_lv.c +30 -30
  41. data/ext/gherkin_lexer_nl/gherkin_lexer_nl.c +30 -30
  42. data/ext/gherkin_lexer_no/gherkin_lexer_no.c +30 -30
  43. data/ext/gherkin_lexer_pl/gherkin_lexer_pl.c +30 -30
  44. data/ext/gherkin_lexer_pt/gherkin_lexer_pt.c +30 -30
  45. data/ext/gherkin_lexer_ro/gherkin_lexer_ro.c +30 -30
  46. data/ext/gherkin_lexer_ru/gherkin_lexer_ru.c +30 -30
  47. data/ext/gherkin_lexer_sk/gherkin_lexer_sk.c +30 -30
  48. data/ext/gherkin_lexer_sr_cyrl/gherkin_lexer_sr_cyrl.c +30 -30
  49. data/ext/gherkin_lexer_sr_latn/gherkin_lexer_sr_latn.c +614 -617
  50. data/ext/gherkin_lexer_sv/gherkin_lexer_sv.c +30 -30
  51. data/ext/gherkin_lexer_tl/gherkin_lexer_tl.c +30 -30
  52. data/ext/gherkin_lexer_tr/gherkin_lexer_tr.c +30 -30
  53. data/ext/gherkin_lexer_tt/gherkin_lexer_tt.c +30 -30
  54. data/ext/gherkin_lexer_uk/gherkin_lexer_uk.c +30 -30
  55. data/ext/gherkin_lexer_uz/gherkin_lexer_uz.c +614 -622
  56. data/ext/gherkin_lexer_vi/gherkin_lexer_vi.c +30 -30
  57. data/ext/gherkin_lexer_zh_cn/gherkin_lexer_zh_cn.c +30 -30
  58. data/ext/gherkin_lexer_zh_tw/gherkin_lexer_zh_tw.c +30 -30
  59. data/gherkin.gemspec +3 -3
  60. data/install_mingw_os_x.sh +3 -5
  61. data/lib/gherkin/i18n.json +14 -0
  62. data/lib/gherkin/i18n.rb +1 -0
  63. data/lib/gherkin/lexer/i18n_lexer.rb +3 -2
  64. data/lib/gherkin/parser/parser.rb +2 -2
  65. data/lib/gherkin/platform.rb +1 -1
  66. data/spec/gherkin/i18n_spec.rb +6 -0
  67. data/spec/gherkin/lexer/i18n_lexer_spec.rb +44 -26
  68. data/tasks/ragel_task.rb +3 -1
  69. data/tasks/rspec.rake +3 -0
  70. metadata +231 -137
  71. checksums.yaml +0 -15
  72. data/.rvmrc +0 -1
@@ -1,5 +1,5 @@
1
1
 
2
- #line 1 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/vi.c.rl"
2
+ #line 1 "ragel/i18n/vi.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 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/vi.c.rl"
83
+ #line 254 "ragel/i18n/vi.c.rl"
84
84
 
85
85
 
86
86
  /** Data **/
@@ -890,7 +890,7 @@ static const int lexer_error = 0;
890
890
  static const int lexer_en_main = 1;
891
891
 
892
892
 
893
- #line 258 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/vi.c.rl"
893
+ #line 258 "ragel/i18n/vi.c.rl"
894
894
 
895
895
  static VALUE
896
896
  unindent(VALUE con, int start_col)
@@ -1063,7 +1063,7 @@ static VALUE CLexer_scan(VALUE self, VALUE input)
1063
1063
  cs = lexer_start;
1064
1064
  }
1065
1065
 
1066
- #line 425 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/vi.c.rl"
1066
+ #line 425 "ragel/i18n/vi.c.rl"
1067
1067
 
1068
1068
  #line 1069 "ext/gherkin_lexer_vi/gherkin_lexer_vi.c"
1069
1069
  {
@@ -1139,7 +1139,7 @@ _match:
1139
1139
  switch ( *_acts++ )
1140
1140
  {
1141
1141
  case 0:
1142
- #line 83 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/vi.c.rl"
1142
+ #line 83 "ragel/i18n/vi.c.rl"
1143
1143
  {
1144
1144
  MARK(content_start, p);
1145
1145
  lexer->current_line = lexer->line_number;
@@ -1147,20 +1147,20 @@ _match:
1147
1147
  }
1148
1148
  break;
1149
1149
  case 1:
1150
- #line 89 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/vi.c.rl"
1150
+ #line 89 "ragel/i18n/vi.c.rl"
1151
1151
  {
1152
1152
  MARK(content_start, p);
1153
1153
  }
1154
1154
  break;
1155
1155
  case 2:
1156
- #line 93 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/vi.c.rl"
1156
+ #line 93 "ragel/i18n/vi.c.rl"
1157
1157
  {
1158
1158
  lexer->current_line = lexer->line_number;
1159
1159
  lexer->start_col = p - data - lexer->last_newline;
1160
1160
  }
1161
1161
  break;
1162
1162
  case 3:
1163
- #line 98 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/vi.c.rl"
1163
+ #line 98 "ragel/i18n/vi.c.rl"
1164
1164
  {
1165
1165
  int len = LEN(content_start, PTR_TO(final_newline));
1166
1166
  int type_len = LEN(docstring_content_type_start, PTR_TO(docstring_content_type_end));
@@ -1172,49 +1172,49 @@ _match:
1172
1172
  }
1173
1173
  break;
1174
1174
  case 4:
1175
- #line 108 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/vi.c.rl"
1175
+ #line 108 "ragel/i18n/vi.c.rl"
1176
1176
  {
1177
1177
  MARK(docstring_content_type_start, p);
1178
1178
  }
1179
1179
  break;
1180
1180
  case 5:
1181
- #line 112 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/vi.c.rl"
1181
+ #line 112 "ragel/i18n/vi.c.rl"
1182
1182
  {
1183
1183
  MARK(docstring_content_type_end, p);
1184
1184
  }
1185
1185
  break;
1186
1186
  case 6:
1187
- #line 116 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/vi.c.rl"
1187
+ #line 116 "ragel/i18n/vi.c.rl"
1188
1188
  {
1189
1189
  STORE_KW_END_CON(feature);
1190
1190
  }
1191
1191
  break;
1192
1192
  case 7:
1193
- #line 120 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/vi.c.rl"
1193
+ #line 120 "ragel/i18n/vi.c.rl"
1194
1194
  {
1195
1195
  STORE_KW_END_CON(background);
1196
1196
  }
1197
1197
  break;
1198
1198
  case 8:
1199
- #line 124 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/vi.c.rl"
1199
+ #line 124 "ragel/i18n/vi.c.rl"
1200
1200
  {
1201
1201
  STORE_KW_END_CON(scenario);
1202
1202
  }
1203
1203
  break;
1204
1204
  case 9:
1205
- #line 128 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/vi.c.rl"
1205
+ #line 128 "ragel/i18n/vi.c.rl"
1206
1206
  {
1207
1207
  STORE_KW_END_CON(scenario_outline);
1208
1208
  }
1209
1209
  break;
1210
1210
  case 10:
1211
- #line 132 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/vi.c.rl"
1211
+ #line 132 "ragel/i18n/vi.c.rl"
1212
1212
  {
1213
1213
  STORE_KW_END_CON(examples);
1214
1214
  }
1215
1215
  break;
1216
1216
  case 11:
1217
- #line 136 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/vi.c.rl"
1217
+ #line 136 "ragel/i18n/vi.c.rl"
1218
1218
  {
1219
1219
  store_kw_con(listener, "step",
1220
1220
  PTR_TO(keyword_start), LEN(keyword_start, PTR_TO(keyword_end)),
@@ -1223,34 +1223,34 @@ _match:
1223
1223
  }
1224
1224
  break;
1225
1225
  case 12:
1226
- #line 143 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/vi.c.rl"
1226
+ #line 143 "ragel/i18n/vi.c.rl"
1227
1227
  {
1228
1228
  STORE_ATTR(comment);
1229
1229
  lexer->mark = 0;
1230
1230
  }
1231
1231
  break;
1232
1232
  case 13:
1233
- #line 148 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/vi.c.rl"
1233
+ #line 148 "ragel/i18n/vi.c.rl"
1234
1234
  {
1235
1235
  STORE_ATTR(tag);
1236
1236
  lexer->mark = 0;
1237
1237
  }
1238
1238
  break;
1239
1239
  case 14:
1240
- #line 153 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/vi.c.rl"
1240
+ #line 153 "ragel/i18n/vi.c.rl"
1241
1241
  {
1242
1242
  lexer->line_number += 1;
1243
1243
  MARK(final_newline, p);
1244
1244
  }
1245
1245
  break;
1246
1246
  case 15:
1247
- #line 158 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/vi.c.rl"
1247
+ #line 158 "ragel/i18n/vi.c.rl"
1248
1248
  {
1249
1249
  MARK(last_newline, p + 1);
1250
1250
  }
1251
1251
  break;
1252
1252
  case 16:
1253
- #line 162 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/vi.c.rl"
1253
+ #line 162 "ragel/i18n/vi.c.rl"
1254
1254
  {
1255
1255
  if (lexer->mark == 0) {
1256
1256
  MARK(mark, p);
@@ -1258,7 +1258,7 @@ _match:
1258
1258
  }
1259
1259
  break;
1260
1260
  case 17:
1261
- #line 168 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/vi.c.rl"
1261
+ #line 168 "ragel/i18n/vi.c.rl"
1262
1262
  {
1263
1263
  MARK(keyword_end, p);
1264
1264
  MARK(keyword_start, PTR_TO(mark));
@@ -1267,13 +1267,13 @@ _match:
1267
1267
  }
1268
1268
  break;
1269
1269
  case 18:
1270
- #line 175 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/vi.c.rl"
1270
+ #line 175 "ragel/i18n/vi.c.rl"
1271
1271
  {
1272
1272
  MARK(content_end, p);
1273
1273
  }
1274
1274
  break;
1275
1275
  case 19:
1276
- #line 179 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/vi.c.rl"
1276
+ #line 179 "ragel/i18n/vi.c.rl"
1277
1277
  {
1278
1278
  p = p - 1;
1279
1279
  lexer->current_line = lexer->line_number;
@@ -1281,13 +1281,13 @@ _match:
1281
1281
  }
1282
1282
  break;
1283
1283
  case 20:
1284
- #line 185 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/vi.c.rl"
1284
+ #line 185 "ragel/i18n/vi.c.rl"
1285
1285
  {
1286
1286
  MARK(content_start, p);
1287
1287
  }
1288
1288
  break;
1289
1289
  case 21:
1290
- #line 189 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/vi.c.rl"
1290
+ #line 189 "ragel/i18n/vi.c.rl"
1291
1291
  {
1292
1292
  VALUE re_pipe, re_newline, re_backslash;
1293
1293
  VALUE con = ENCODED_STR_NEW(PTR_TO(content_start), LEN(content_start, p));
@@ -1303,13 +1303,13 @@ _match:
1303
1303
  }
1304
1304
  break;
1305
1305
  case 22:
1306
- #line 203 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/vi.c.rl"
1306
+ #line 203 "ragel/i18n/vi.c.rl"
1307
1307
  {
1308
1308
  rb_funcall(listener, rb_intern("row"), 2, current_row, INT2FIX(lexer->current_line));
1309
1309
  }
1310
1310
  break;
1311
1311
  case 23:
1312
- #line 207 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/vi.c.rl"
1312
+ #line 207 "ragel/i18n/vi.c.rl"
1313
1313
  {
1314
1314
  int line;
1315
1315
  if (cs < lexer_first_final) {
@@ -1372,7 +1372,7 @@ _again:
1372
1372
  while ( __nacts-- > 0 ) {
1373
1373
  switch ( *__acts++ ) {
1374
1374
  case 23:
1375
- #line 207 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/vi.c.rl"
1375
+ #line 207 "ragel/i18n/vi.c.rl"
1376
1376
  {
1377
1377
  int line;
1378
1378
  if (cs < lexer_first_final) {
@@ -1426,7 +1426,7 @@ _again:
1426
1426
  _out: {}
1427
1427
  }
1428
1428
 
1429
- #line 426 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/vi.c.rl"
1429
+ #line 426 "ragel/i18n/vi.c.rl"
1430
1430
 
1431
1431
  assert(p <= pe && "data overflow after parsing execute");
1432
1432
  assert(lexer->content_start <= len && "content starts after data end");
@@ -1,5 +1,5 @@
1
1
 
2
- #line 1 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/zh_cn.c.rl"
2
+ #line 1 "ragel/i18n/zh_cn.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 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/zh_cn.c.rl"
83
+ #line 254 "ragel/i18n/zh_cn.c.rl"
84
84
 
85
85
 
86
86
  /** Data **/
@@ -746,7 +746,7 @@ static const int lexer_error = 0;
746
746
  static const int lexer_en_main = 1;
747
747
 
748
748
 
749
- #line 258 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/zh_cn.c.rl"
749
+ #line 258 "ragel/i18n/zh_cn.c.rl"
750
750
 
751
751
  static VALUE
752
752
  unindent(VALUE con, int start_col)
@@ -919,7 +919,7 @@ static VALUE CLexer_scan(VALUE self, VALUE input)
919
919
  cs = lexer_start;
920
920
  }
921
921
 
922
- #line 425 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/zh_cn.c.rl"
922
+ #line 425 "ragel/i18n/zh_cn.c.rl"
923
923
 
924
924
  #line 925 "ext/gherkin_lexer_zh_cn/gherkin_lexer_zh_cn.c"
925
925
  {
@@ -995,7 +995,7 @@ _match:
995
995
  switch ( *_acts++ )
996
996
  {
997
997
  case 0:
998
- #line 83 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/zh_cn.c.rl"
998
+ #line 83 "ragel/i18n/zh_cn.c.rl"
999
999
  {
1000
1000
  MARK(content_start, p);
1001
1001
  lexer->current_line = lexer->line_number;
@@ -1003,20 +1003,20 @@ _match:
1003
1003
  }
1004
1004
  break;
1005
1005
  case 1:
1006
- #line 89 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/zh_cn.c.rl"
1006
+ #line 89 "ragel/i18n/zh_cn.c.rl"
1007
1007
  {
1008
1008
  MARK(content_start, p);
1009
1009
  }
1010
1010
  break;
1011
1011
  case 2:
1012
- #line 93 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/zh_cn.c.rl"
1012
+ #line 93 "ragel/i18n/zh_cn.c.rl"
1013
1013
  {
1014
1014
  lexer->current_line = lexer->line_number;
1015
1015
  lexer->start_col = p - data - lexer->last_newline;
1016
1016
  }
1017
1017
  break;
1018
1018
  case 3:
1019
- #line 98 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/zh_cn.c.rl"
1019
+ #line 98 "ragel/i18n/zh_cn.c.rl"
1020
1020
  {
1021
1021
  int len = LEN(content_start, PTR_TO(final_newline));
1022
1022
  int type_len = LEN(docstring_content_type_start, PTR_TO(docstring_content_type_end));
@@ -1028,49 +1028,49 @@ _match:
1028
1028
  }
1029
1029
  break;
1030
1030
  case 4:
1031
- #line 108 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/zh_cn.c.rl"
1031
+ #line 108 "ragel/i18n/zh_cn.c.rl"
1032
1032
  {
1033
1033
  MARK(docstring_content_type_start, p);
1034
1034
  }
1035
1035
  break;
1036
1036
  case 5:
1037
- #line 112 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/zh_cn.c.rl"
1037
+ #line 112 "ragel/i18n/zh_cn.c.rl"
1038
1038
  {
1039
1039
  MARK(docstring_content_type_end, p);
1040
1040
  }
1041
1041
  break;
1042
1042
  case 6:
1043
- #line 116 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/zh_cn.c.rl"
1043
+ #line 116 "ragel/i18n/zh_cn.c.rl"
1044
1044
  {
1045
1045
  STORE_KW_END_CON(feature);
1046
1046
  }
1047
1047
  break;
1048
1048
  case 7:
1049
- #line 120 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/zh_cn.c.rl"
1049
+ #line 120 "ragel/i18n/zh_cn.c.rl"
1050
1050
  {
1051
1051
  STORE_KW_END_CON(background);
1052
1052
  }
1053
1053
  break;
1054
1054
  case 8:
1055
- #line 124 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/zh_cn.c.rl"
1055
+ #line 124 "ragel/i18n/zh_cn.c.rl"
1056
1056
  {
1057
1057
  STORE_KW_END_CON(scenario);
1058
1058
  }
1059
1059
  break;
1060
1060
  case 9:
1061
- #line 128 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/zh_cn.c.rl"
1061
+ #line 128 "ragel/i18n/zh_cn.c.rl"
1062
1062
  {
1063
1063
  STORE_KW_END_CON(scenario_outline);
1064
1064
  }
1065
1065
  break;
1066
1066
  case 10:
1067
- #line 132 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/zh_cn.c.rl"
1067
+ #line 132 "ragel/i18n/zh_cn.c.rl"
1068
1068
  {
1069
1069
  STORE_KW_END_CON(examples);
1070
1070
  }
1071
1071
  break;
1072
1072
  case 11:
1073
- #line 136 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/zh_cn.c.rl"
1073
+ #line 136 "ragel/i18n/zh_cn.c.rl"
1074
1074
  {
1075
1075
  store_kw_con(listener, "step",
1076
1076
  PTR_TO(keyword_start), LEN(keyword_start, PTR_TO(keyword_end)),
@@ -1079,34 +1079,34 @@ _match:
1079
1079
  }
1080
1080
  break;
1081
1081
  case 12:
1082
- #line 143 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/zh_cn.c.rl"
1082
+ #line 143 "ragel/i18n/zh_cn.c.rl"
1083
1083
  {
1084
1084
  STORE_ATTR(comment);
1085
1085
  lexer->mark = 0;
1086
1086
  }
1087
1087
  break;
1088
1088
  case 13:
1089
- #line 148 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/zh_cn.c.rl"
1089
+ #line 148 "ragel/i18n/zh_cn.c.rl"
1090
1090
  {
1091
1091
  STORE_ATTR(tag);
1092
1092
  lexer->mark = 0;
1093
1093
  }
1094
1094
  break;
1095
1095
  case 14:
1096
- #line 153 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/zh_cn.c.rl"
1096
+ #line 153 "ragel/i18n/zh_cn.c.rl"
1097
1097
  {
1098
1098
  lexer->line_number += 1;
1099
1099
  MARK(final_newline, p);
1100
1100
  }
1101
1101
  break;
1102
1102
  case 15:
1103
- #line 158 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/zh_cn.c.rl"
1103
+ #line 158 "ragel/i18n/zh_cn.c.rl"
1104
1104
  {
1105
1105
  MARK(last_newline, p + 1);
1106
1106
  }
1107
1107
  break;
1108
1108
  case 16:
1109
- #line 162 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/zh_cn.c.rl"
1109
+ #line 162 "ragel/i18n/zh_cn.c.rl"
1110
1110
  {
1111
1111
  if (lexer->mark == 0) {
1112
1112
  MARK(mark, p);
@@ -1114,7 +1114,7 @@ _match:
1114
1114
  }
1115
1115
  break;
1116
1116
  case 17:
1117
- #line 168 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/zh_cn.c.rl"
1117
+ #line 168 "ragel/i18n/zh_cn.c.rl"
1118
1118
  {
1119
1119
  MARK(keyword_end, p);
1120
1120
  MARK(keyword_start, PTR_TO(mark));
@@ -1123,13 +1123,13 @@ _match:
1123
1123
  }
1124
1124
  break;
1125
1125
  case 18:
1126
- #line 175 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/zh_cn.c.rl"
1126
+ #line 175 "ragel/i18n/zh_cn.c.rl"
1127
1127
  {
1128
1128
  MARK(content_end, p);
1129
1129
  }
1130
1130
  break;
1131
1131
  case 19:
1132
- #line 179 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/zh_cn.c.rl"
1132
+ #line 179 "ragel/i18n/zh_cn.c.rl"
1133
1133
  {
1134
1134
  p = p - 1;
1135
1135
  lexer->current_line = lexer->line_number;
@@ -1137,13 +1137,13 @@ _match:
1137
1137
  }
1138
1138
  break;
1139
1139
  case 20:
1140
- #line 185 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/zh_cn.c.rl"
1140
+ #line 185 "ragel/i18n/zh_cn.c.rl"
1141
1141
  {
1142
1142
  MARK(content_start, p);
1143
1143
  }
1144
1144
  break;
1145
1145
  case 21:
1146
- #line 189 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/zh_cn.c.rl"
1146
+ #line 189 "ragel/i18n/zh_cn.c.rl"
1147
1147
  {
1148
1148
  VALUE re_pipe, re_newline, re_backslash;
1149
1149
  VALUE con = ENCODED_STR_NEW(PTR_TO(content_start), LEN(content_start, p));
@@ -1159,13 +1159,13 @@ _match:
1159
1159
  }
1160
1160
  break;
1161
1161
  case 22:
1162
- #line 203 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/zh_cn.c.rl"
1162
+ #line 203 "ragel/i18n/zh_cn.c.rl"
1163
1163
  {
1164
1164
  rb_funcall(listener, rb_intern("row"), 2, current_row, INT2FIX(lexer->current_line));
1165
1165
  }
1166
1166
  break;
1167
1167
  case 23:
1168
- #line 207 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/zh_cn.c.rl"
1168
+ #line 207 "ragel/i18n/zh_cn.c.rl"
1169
1169
  {
1170
1170
  int line;
1171
1171
  if (cs < lexer_first_final) {
@@ -1228,7 +1228,7 @@ _again:
1228
1228
  while ( __nacts-- > 0 ) {
1229
1229
  switch ( *__acts++ ) {
1230
1230
  case 23:
1231
- #line 207 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/zh_cn.c.rl"
1231
+ #line 207 "ragel/i18n/zh_cn.c.rl"
1232
1232
  {
1233
1233
  int line;
1234
1234
  if (cs < lexer_first_final) {
@@ -1282,7 +1282,7 @@ _again:
1282
1282
  _out: {}
1283
1283
  }
1284
1284
 
1285
- #line 426 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/zh_cn.c.rl"
1285
+ #line 426 "ragel/i18n/zh_cn.c.rl"
1286
1286
 
1287
1287
  assert(p <= pe && "data overflow after parsing execute");
1288
1288
  assert(lexer->content_start <= len && "content starts after data end");