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/lu.c.rl"
2
+ #line 1 "ragel/i18n/lu.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/lu.c.rl"
83
+ #line 254 "ragel/i18n/lu.c.rl"
84
84
 
85
85
 
86
86
  /** Data **/
@@ -821,7 +821,7 @@ static const int lexer_error = 0;
821
821
  static const int lexer_en_main = 1;
822
822
 
823
823
 
824
- #line 258 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/lu.c.rl"
824
+ #line 258 "ragel/i18n/lu.c.rl"
825
825
 
826
826
  static VALUE
827
827
  unindent(VALUE con, int start_col)
@@ -994,7 +994,7 @@ static VALUE CLexer_scan(VALUE self, VALUE input)
994
994
  cs = lexer_start;
995
995
  }
996
996
 
997
- #line 425 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/lu.c.rl"
997
+ #line 425 "ragel/i18n/lu.c.rl"
998
998
 
999
999
  #line 1000 "ext/gherkin_lexer_lu/gherkin_lexer_lu.c"
1000
1000
  {
@@ -1070,7 +1070,7 @@ _match:
1070
1070
  switch ( *_acts++ )
1071
1071
  {
1072
1072
  case 0:
1073
- #line 83 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/lu.c.rl"
1073
+ #line 83 "ragel/i18n/lu.c.rl"
1074
1074
  {
1075
1075
  MARK(content_start, p);
1076
1076
  lexer->current_line = lexer->line_number;
@@ -1078,20 +1078,20 @@ _match:
1078
1078
  }
1079
1079
  break;
1080
1080
  case 1:
1081
- #line 89 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/lu.c.rl"
1081
+ #line 89 "ragel/i18n/lu.c.rl"
1082
1082
  {
1083
1083
  MARK(content_start, p);
1084
1084
  }
1085
1085
  break;
1086
1086
  case 2:
1087
- #line 93 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/lu.c.rl"
1087
+ #line 93 "ragel/i18n/lu.c.rl"
1088
1088
  {
1089
1089
  lexer->current_line = lexer->line_number;
1090
1090
  lexer->start_col = p - data - lexer->last_newline;
1091
1091
  }
1092
1092
  break;
1093
1093
  case 3:
1094
- #line 98 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/lu.c.rl"
1094
+ #line 98 "ragel/i18n/lu.c.rl"
1095
1095
  {
1096
1096
  int len = LEN(content_start, PTR_TO(final_newline));
1097
1097
  int type_len = LEN(docstring_content_type_start, PTR_TO(docstring_content_type_end));
@@ -1103,49 +1103,49 @@ _match:
1103
1103
  }
1104
1104
  break;
1105
1105
  case 4:
1106
- #line 108 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/lu.c.rl"
1106
+ #line 108 "ragel/i18n/lu.c.rl"
1107
1107
  {
1108
1108
  MARK(docstring_content_type_start, p);
1109
1109
  }
1110
1110
  break;
1111
1111
  case 5:
1112
- #line 112 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/lu.c.rl"
1112
+ #line 112 "ragel/i18n/lu.c.rl"
1113
1113
  {
1114
1114
  MARK(docstring_content_type_end, p);
1115
1115
  }
1116
1116
  break;
1117
1117
  case 6:
1118
- #line 116 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/lu.c.rl"
1118
+ #line 116 "ragel/i18n/lu.c.rl"
1119
1119
  {
1120
1120
  STORE_KW_END_CON(feature);
1121
1121
  }
1122
1122
  break;
1123
1123
  case 7:
1124
- #line 120 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/lu.c.rl"
1124
+ #line 120 "ragel/i18n/lu.c.rl"
1125
1125
  {
1126
1126
  STORE_KW_END_CON(background);
1127
1127
  }
1128
1128
  break;
1129
1129
  case 8:
1130
- #line 124 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/lu.c.rl"
1130
+ #line 124 "ragel/i18n/lu.c.rl"
1131
1131
  {
1132
1132
  STORE_KW_END_CON(scenario);
1133
1133
  }
1134
1134
  break;
1135
1135
  case 9:
1136
- #line 128 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/lu.c.rl"
1136
+ #line 128 "ragel/i18n/lu.c.rl"
1137
1137
  {
1138
1138
  STORE_KW_END_CON(scenario_outline);
1139
1139
  }
1140
1140
  break;
1141
1141
  case 10:
1142
- #line 132 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/lu.c.rl"
1142
+ #line 132 "ragel/i18n/lu.c.rl"
1143
1143
  {
1144
1144
  STORE_KW_END_CON(examples);
1145
1145
  }
1146
1146
  break;
1147
1147
  case 11:
1148
- #line 136 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/lu.c.rl"
1148
+ #line 136 "ragel/i18n/lu.c.rl"
1149
1149
  {
1150
1150
  store_kw_con(listener, "step",
1151
1151
  PTR_TO(keyword_start), LEN(keyword_start, PTR_TO(keyword_end)),
@@ -1154,34 +1154,34 @@ _match:
1154
1154
  }
1155
1155
  break;
1156
1156
  case 12:
1157
- #line 143 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/lu.c.rl"
1157
+ #line 143 "ragel/i18n/lu.c.rl"
1158
1158
  {
1159
1159
  STORE_ATTR(comment);
1160
1160
  lexer->mark = 0;
1161
1161
  }
1162
1162
  break;
1163
1163
  case 13:
1164
- #line 148 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/lu.c.rl"
1164
+ #line 148 "ragel/i18n/lu.c.rl"
1165
1165
  {
1166
1166
  STORE_ATTR(tag);
1167
1167
  lexer->mark = 0;
1168
1168
  }
1169
1169
  break;
1170
1170
  case 14:
1171
- #line 153 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/lu.c.rl"
1171
+ #line 153 "ragel/i18n/lu.c.rl"
1172
1172
  {
1173
1173
  lexer->line_number += 1;
1174
1174
  MARK(final_newline, p);
1175
1175
  }
1176
1176
  break;
1177
1177
  case 15:
1178
- #line 158 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/lu.c.rl"
1178
+ #line 158 "ragel/i18n/lu.c.rl"
1179
1179
  {
1180
1180
  MARK(last_newline, p + 1);
1181
1181
  }
1182
1182
  break;
1183
1183
  case 16:
1184
- #line 162 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/lu.c.rl"
1184
+ #line 162 "ragel/i18n/lu.c.rl"
1185
1185
  {
1186
1186
  if (lexer->mark == 0) {
1187
1187
  MARK(mark, p);
@@ -1189,7 +1189,7 @@ _match:
1189
1189
  }
1190
1190
  break;
1191
1191
  case 17:
1192
- #line 168 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/lu.c.rl"
1192
+ #line 168 "ragel/i18n/lu.c.rl"
1193
1193
  {
1194
1194
  MARK(keyword_end, p);
1195
1195
  MARK(keyword_start, PTR_TO(mark));
@@ -1198,13 +1198,13 @@ _match:
1198
1198
  }
1199
1199
  break;
1200
1200
  case 18:
1201
- #line 175 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/lu.c.rl"
1201
+ #line 175 "ragel/i18n/lu.c.rl"
1202
1202
  {
1203
1203
  MARK(content_end, p);
1204
1204
  }
1205
1205
  break;
1206
1206
  case 19:
1207
- #line 179 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/lu.c.rl"
1207
+ #line 179 "ragel/i18n/lu.c.rl"
1208
1208
  {
1209
1209
  p = p - 1;
1210
1210
  lexer->current_line = lexer->line_number;
@@ -1212,13 +1212,13 @@ _match:
1212
1212
  }
1213
1213
  break;
1214
1214
  case 20:
1215
- #line 185 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/lu.c.rl"
1215
+ #line 185 "ragel/i18n/lu.c.rl"
1216
1216
  {
1217
1217
  MARK(content_start, p);
1218
1218
  }
1219
1219
  break;
1220
1220
  case 21:
1221
- #line 189 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/lu.c.rl"
1221
+ #line 189 "ragel/i18n/lu.c.rl"
1222
1222
  {
1223
1223
  VALUE re_pipe, re_newline, re_backslash;
1224
1224
  VALUE con = ENCODED_STR_NEW(PTR_TO(content_start), LEN(content_start, p));
@@ -1234,13 +1234,13 @@ _match:
1234
1234
  }
1235
1235
  break;
1236
1236
  case 22:
1237
- #line 203 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/lu.c.rl"
1237
+ #line 203 "ragel/i18n/lu.c.rl"
1238
1238
  {
1239
1239
  rb_funcall(listener, rb_intern("row"), 2, current_row, INT2FIX(lexer->current_line));
1240
1240
  }
1241
1241
  break;
1242
1242
  case 23:
1243
- #line 207 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/lu.c.rl"
1243
+ #line 207 "ragel/i18n/lu.c.rl"
1244
1244
  {
1245
1245
  int line;
1246
1246
  if (cs < lexer_first_final) {
@@ -1303,7 +1303,7 @@ _again:
1303
1303
  while ( __nacts-- > 0 ) {
1304
1304
  switch ( *__acts++ ) {
1305
1305
  case 23:
1306
- #line 207 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/lu.c.rl"
1306
+ #line 207 "ragel/i18n/lu.c.rl"
1307
1307
  {
1308
1308
  int line;
1309
1309
  if (cs < lexer_first_final) {
@@ -1357,7 +1357,7 @@ _again:
1357
1357
  _out: {}
1358
1358
  }
1359
1359
 
1360
- #line 426 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/lu.c.rl"
1360
+ #line 426 "ragel/i18n/lu.c.rl"
1361
1361
 
1362
1362
  assert(p <= pe && "data overflow after parsing execute");
1363
1363
  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/lv.c.rl"
2
+ #line 1 "ragel/i18n/lv.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/lv.c.rl"
83
+ #line 254 "ragel/i18n/lv.c.rl"
84
84
 
85
85
 
86
86
  /** Data **/
@@ -857,7 +857,7 @@ static const int lexer_error = 0;
857
857
  static const int lexer_en_main = 1;
858
858
 
859
859
 
860
- #line 258 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/lv.c.rl"
860
+ #line 258 "ragel/i18n/lv.c.rl"
861
861
 
862
862
  static VALUE
863
863
  unindent(VALUE con, int start_col)
@@ -1030,7 +1030,7 @@ static VALUE CLexer_scan(VALUE self, VALUE input)
1030
1030
  cs = lexer_start;
1031
1031
  }
1032
1032
 
1033
- #line 425 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/lv.c.rl"
1033
+ #line 425 "ragel/i18n/lv.c.rl"
1034
1034
 
1035
1035
  #line 1036 "ext/gherkin_lexer_lv/gherkin_lexer_lv.c"
1036
1036
  {
@@ -1106,7 +1106,7 @@ _match:
1106
1106
  switch ( *_acts++ )
1107
1107
  {
1108
1108
  case 0:
1109
- #line 83 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/lv.c.rl"
1109
+ #line 83 "ragel/i18n/lv.c.rl"
1110
1110
  {
1111
1111
  MARK(content_start, p);
1112
1112
  lexer->current_line = lexer->line_number;
@@ -1114,20 +1114,20 @@ _match:
1114
1114
  }
1115
1115
  break;
1116
1116
  case 1:
1117
- #line 89 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/lv.c.rl"
1117
+ #line 89 "ragel/i18n/lv.c.rl"
1118
1118
  {
1119
1119
  MARK(content_start, p);
1120
1120
  }
1121
1121
  break;
1122
1122
  case 2:
1123
- #line 93 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/lv.c.rl"
1123
+ #line 93 "ragel/i18n/lv.c.rl"
1124
1124
  {
1125
1125
  lexer->current_line = lexer->line_number;
1126
1126
  lexer->start_col = p - data - lexer->last_newline;
1127
1127
  }
1128
1128
  break;
1129
1129
  case 3:
1130
- #line 98 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/lv.c.rl"
1130
+ #line 98 "ragel/i18n/lv.c.rl"
1131
1131
  {
1132
1132
  int len = LEN(content_start, PTR_TO(final_newline));
1133
1133
  int type_len = LEN(docstring_content_type_start, PTR_TO(docstring_content_type_end));
@@ -1139,49 +1139,49 @@ _match:
1139
1139
  }
1140
1140
  break;
1141
1141
  case 4:
1142
- #line 108 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/lv.c.rl"
1142
+ #line 108 "ragel/i18n/lv.c.rl"
1143
1143
  {
1144
1144
  MARK(docstring_content_type_start, p);
1145
1145
  }
1146
1146
  break;
1147
1147
  case 5:
1148
- #line 112 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/lv.c.rl"
1148
+ #line 112 "ragel/i18n/lv.c.rl"
1149
1149
  {
1150
1150
  MARK(docstring_content_type_end, p);
1151
1151
  }
1152
1152
  break;
1153
1153
  case 6:
1154
- #line 116 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/lv.c.rl"
1154
+ #line 116 "ragel/i18n/lv.c.rl"
1155
1155
  {
1156
1156
  STORE_KW_END_CON(feature);
1157
1157
  }
1158
1158
  break;
1159
1159
  case 7:
1160
- #line 120 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/lv.c.rl"
1160
+ #line 120 "ragel/i18n/lv.c.rl"
1161
1161
  {
1162
1162
  STORE_KW_END_CON(background);
1163
1163
  }
1164
1164
  break;
1165
1165
  case 8:
1166
- #line 124 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/lv.c.rl"
1166
+ #line 124 "ragel/i18n/lv.c.rl"
1167
1167
  {
1168
1168
  STORE_KW_END_CON(scenario);
1169
1169
  }
1170
1170
  break;
1171
1171
  case 9:
1172
- #line 128 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/lv.c.rl"
1172
+ #line 128 "ragel/i18n/lv.c.rl"
1173
1173
  {
1174
1174
  STORE_KW_END_CON(scenario_outline);
1175
1175
  }
1176
1176
  break;
1177
1177
  case 10:
1178
- #line 132 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/lv.c.rl"
1178
+ #line 132 "ragel/i18n/lv.c.rl"
1179
1179
  {
1180
1180
  STORE_KW_END_CON(examples);
1181
1181
  }
1182
1182
  break;
1183
1183
  case 11:
1184
- #line 136 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/lv.c.rl"
1184
+ #line 136 "ragel/i18n/lv.c.rl"
1185
1185
  {
1186
1186
  store_kw_con(listener, "step",
1187
1187
  PTR_TO(keyword_start), LEN(keyword_start, PTR_TO(keyword_end)),
@@ -1190,34 +1190,34 @@ _match:
1190
1190
  }
1191
1191
  break;
1192
1192
  case 12:
1193
- #line 143 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/lv.c.rl"
1193
+ #line 143 "ragel/i18n/lv.c.rl"
1194
1194
  {
1195
1195
  STORE_ATTR(comment);
1196
1196
  lexer->mark = 0;
1197
1197
  }
1198
1198
  break;
1199
1199
  case 13:
1200
- #line 148 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/lv.c.rl"
1200
+ #line 148 "ragel/i18n/lv.c.rl"
1201
1201
  {
1202
1202
  STORE_ATTR(tag);
1203
1203
  lexer->mark = 0;
1204
1204
  }
1205
1205
  break;
1206
1206
  case 14:
1207
- #line 153 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/lv.c.rl"
1207
+ #line 153 "ragel/i18n/lv.c.rl"
1208
1208
  {
1209
1209
  lexer->line_number += 1;
1210
1210
  MARK(final_newline, p);
1211
1211
  }
1212
1212
  break;
1213
1213
  case 15:
1214
- #line 158 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/lv.c.rl"
1214
+ #line 158 "ragel/i18n/lv.c.rl"
1215
1215
  {
1216
1216
  MARK(last_newline, p + 1);
1217
1217
  }
1218
1218
  break;
1219
1219
  case 16:
1220
- #line 162 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/lv.c.rl"
1220
+ #line 162 "ragel/i18n/lv.c.rl"
1221
1221
  {
1222
1222
  if (lexer->mark == 0) {
1223
1223
  MARK(mark, p);
@@ -1225,7 +1225,7 @@ _match:
1225
1225
  }
1226
1226
  break;
1227
1227
  case 17:
1228
- #line 168 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/lv.c.rl"
1228
+ #line 168 "ragel/i18n/lv.c.rl"
1229
1229
  {
1230
1230
  MARK(keyword_end, p);
1231
1231
  MARK(keyword_start, PTR_TO(mark));
@@ -1234,13 +1234,13 @@ _match:
1234
1234
  }
1235
1235
  break;
1236
1236
  case 18:
1237
- #line 175 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/lv.c.rl"
1237
+ #line 175 "ragel/i18n/lv.c.rl"
1238
1238
  {
1239
1239
  MARK(content_end, p);
1240
1240
  }
1241
1241
  break;
1242
1242
  case 19:
1243
- #line 179 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/lv.c.rl"
1243
+ #line 179 "ragel/i18n/lv.c.rl"
1244
1244
  {
1245
1245
  p = p - 1;
1246
1246
  lexer->current_line = lexer->line_number;
@@ -1248,13 +1248,13 @@ _match:
1248
1248
  }
1249
1249
  break;
1250
1250
  case 20:
1251
- #line 185 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/lv.c.rl"
1251
+ #line 185 "ragel/i18n/lv.c.rl"
1252
1252
  {
1253
1253
  MARK(content_start, p);
1254
1254
  }
1255
1255
  break;
1256
1256
  case 21:
1257
- #line 189 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/lv.c.rl"
1257
+ #line 189 "ragel/i18n/lv.c.rl"
1258
1258
  {
1259
1259
  VALUE re_pipe, re_newline, re_backslash;
1260
1260
  VALUE con = ENCODED_STR_NEW(PTR_TO(content_start), LEN(content_start, p));
@@ -1270,13 +1270,13 @@ _match:
1270
1270
  }
1271
1271
  break;
1272
1272
  case 22:
1273
- #line 203 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/lv.c.rl"
1273
+ #line 203 "ragel/i18n/lv.c.rl"
1274
1274
  {
1275
1275
  rb_funcall(listener, rb_intern("row"), 2, current_row, INT2FIX(lexer->current_line));
1276
1276
  }
1277
1277
  break;
1278
1278
  case 23:
1279
- #line 207 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/lv.c.rl"
1279
+ #line 207 "ragel/i18n/lv.c.rl"
1280
1280
  {
1281
1281
  int line;
1282
1282
  if (cs < lexer_first_final) {
@@ -1339,7 +1339,7 @@ _again:
1339
1339
  while ( __nacts-- > 0 ) {
1340
1340
  switch ( *__acts++ ) {
1341
1341
  case 23:
1342
- #line 207 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/lv.c.rl"
1342
+ #line 207 "ragel/i18n/lv.c.rl"
1343
1343
  {
1344
1344
  int line;
1345
1345
  if (cs < lexer_first_final) {
@@ -1393,7 +1393,7 @@ _again:
1393
1393
  _out: {}
1394
1394
  }
1395
1395
 
1396
- #line 426 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/lv.c.rl"
1396
+ #line 426 "ragel/i18n/lv.c.rl"
1397
1397
 
1398
1398
  assert(p <= pe && "data overflow after parsing execute");
1399
1399
  assert(lexer->content_start <= len && "content starts after data end");