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/lt.c.rl"
2
+ #line 1 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/lt.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/lt.c.rl"
83
+ #line 254 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/lt.c.rl"
84
84
 
85
85
 
86
86
  /** Data **/
@@ -728,7 +728,7 @@ static const int lexer_error = 0;
728
728
  static const int lexer_en_main = 1;
729
729
 
730
730
 
731
- #line 258 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/lt.c.rl"
731
+ #line 258 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/lt.c.rl"
732
732
 
733
733
  static VALUE
734
734
  unindent(VALUE con, int start_col)
@@ -901,7 +901,7 @@ static VALUE CLexer_scan(VALUE self, VALUE input)
901
901
  cs = lexer_start;
902
902
  }
903
903
 
904
- #line 425 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/lt.c.rl"
904
+ #line 425 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/lt.c.rl"
905
905
 
906
906
  #line 907 "ext/gherkin_lexer_lt/gherkin_lexer_lt.c"
907
907
  {
@@ -977,7 +977,7 @@ _match:
977
977
  switch ( *_acts++ )
978
978
  {
979
979
  case 0:
980
- #line 83 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/lt.c.rl"
980
+ #line 83 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/lt.c.rl"
981
981
  {
982
982
  MARK(content_start, p);
983
983
  lexer->current_line = lexer->line_number;
@@ -985,20 +985,20 @@ _match:
985
985
  }
986
986
  break;
987
987
  case 1:
988
- #line 89 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/lt.c.rl"
988
+ #line 89 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/lt.c.rl"
989
989
  {
990
990
  MARK(content_start, p);
991
991
  }
992
992
  break;
993
993
  case 2:
994
- #line 93 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/lt.c.rl"
994
+ #line 93 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/lt.c.rl"
995
995
  {
996
996
  lexer->current_line = lexer->line_number;
997
997
  lexer->start_col = p - data - lexer->last_newline;
998
998
  }
999
999
  break;
1000
1000
  case 3:
1001
- #line 98 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/lt.c.rl"
1001
+ #line 98 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/lt.c.rl"
1002
1002
  {
1003
1003
  int len = LEN(content_start, PTR_TO(final_newline));
1004
1004
  int type_len = LEN(docstring_content_type_start, PTR_TO(docstring_content_type_end));
@@ -1010,49 +1010,49 @@ _match:
1010
1010
  }
1011
1011
  break;
1012
1012
  case 4:
1013
- #line 108 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/lt.c.rl"
1013
+ #line 108 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/lt.c.rl"
1014
1014
  {
1015
1015
  MARK(docstring_content_type_start, p);
1016
1016
  }
1017
1017
  break;
1018
1018
  case 5:
1019
- #line 112 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/lt.c.rl"
1019
+ #line 112 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/lt.c.rl"
1020
1020
  {
1021
1021
  MARK(docstring_content_type_end, p);
1022
1022
  }
1023
1023
  break;
1024
1024
  case 6:
1025
- #line 116 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/lt.c.rl"
1025
+ #line 116 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/lt.c.rl"
1026
1026
  {
1027
1027
  STORE_KW_END_CON(feature);
1028
1028
  }
1029
1029
  break;
1030
1030
  case 7:
1031
- #line 120 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/lt.c.rl"
1031
+ #line 120 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/lt.c.rl"
1032
1032
  {
1033
1033
  STORE_KW_END_CON(background);
1034
1034
  }
1035
1035
  break;
1036
1036
  case 8:
1037
- #line 124 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/lt.c.rl"
1037
+ #line 124 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/lt.c.rl"
1038
1038
  {
1039
1039
  STORE_KW_END_CON(scenario);
1040
1040
  }
1041
1041
  break;
1042
1042
  case 9:
1043
- #line 128 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/lt.c.rl"
1043
+ #line 128 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/lt.c.rl"
1044
1044
  {
1045
1045
  STORE_KW_END_CON(scenario_outline);
1046
1046
  }
1047
1047
  break;
1048
1048
  case 10:
1049
- #line 132 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/lt.c.rl"
1049
+ #line 132 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/lt.c.rl"
1050
1050
  {
1051
1051
  STORE_KW_END_CON(examples);
1052
1052
  }
1053
1053
  break;
1054
1054
  case 11:
1055
- #line 136 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/lt.c.rl"
1055
+ #line 136 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/lt.c.rl"
1056
1056
  {
1057
1057
  store_kw_con(listener, "step",
1058
1058
  PTR_TO(keyword_start), LEN(keyword_start, PTR_TO(keyword_end)),
@@ -1061,34 +1061,34 @@ _match:
1061
1061
  }
1062
1062
  break;
1063
1063
  case 12:
1064
- #line 143 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/lt.c.rl"
1064
+ #line 143 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/lt.c.rl"
1065
1065
  {
1066
1066
  STORE_ATTR(comment);
1067
1067
  lexer->mark = 0;
1068
1068
  }
1069
1069
  break;
1070
1070
  case 13:
1071
- #line 148 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/lt.c.rl"
1071
+ #line 148 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/lt.c.rl"
1072
1072
  {
1073
1073
  STORE_ATTR(tag);
1074
1074
  lexer->mark = 0;
1075
1075
  }
1076
1076
  break;
1077
1077
  case 14:
1078
- #line 153 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/lt.c.rl"
1078
+ #line 153 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/lt.c.rl"
1079
1079
  {
1080
1080
  lexer->line_number += 1;
1081
1081
  MARK(final_newline, p);
1082
1082
  }
1083
1083
  break;
1084
1084
  case 15:
1085
- #line 158 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/lt.c.rl"
1085
+ #line 158 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/lt.c.rl"
1086
1086
  {
1087
1087
  MARK(last_newline, p + 1);
1088
1088
  }
1089
1089
  break;
1090
1090
  case 16:
1091
- #line 162 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/lt.c.rl"
1091
+ #line 162 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/lt.c.rl"
1092
1092
  {
1093
1093
  if (lexer->mark == 0) {
1094
1094
  MARK(mark, p);
@@ -1096,7 +1096,7 @@ _match:
1096
1096
  }
1097
1097
  break;
1098
1098
  case 17:
1099
- #line 168 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/lt.c.rl"
1099
+ #line 168 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/lt.c.rl"
1100
1100
  {
1101
1101
  MARK(keyword_end, p);
1102
1102
  MARK(keyword_start, PTR_TO(mark));
@@ -1105,13 +1105,13 @@ _match:
1105
1105
  }
1106
1106
  break;
1107
1107
  case 18:
1108
- #line 175 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/lt.c.rl"
1108
+ #line 175 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/lt.c.rl"
1109
1109
  {
1110
1110
  MARK(content_end, p);
1111
1111
  }
1112
1112
  break;
1113
1113
  case 19:
1114
- #line 179 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/lt.c.rl"
1114
+ #line 179 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/lt.c.rl"
1115
1115
  {
1116
1116
  p = p - 1;
1117
1117
  lexer->current_line = lexer->line_number;
@@ -1119,13 +1119,13 @@ _match:
1119
1119
  }
1120
1120
  break;
1121
1121
  case 20:
1122
- #line 185 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/lt.c.rl"
1122
+ #line 185 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/lt.c.rl"
1123
1123
  {
1124
1124
  MARK(content_start, p);
1125
1125
  }
1126
1126
  break;
1127
1127
  case 21:
1128
- #line 189 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/lt.c.rl"
1128
+ #line 189 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/lt.c.rl"
1129
1129
  {
1130
1130
  VALUE re_pipe, re_newline, re_backslash;
1131
1131
  VALUE con = ENCODED_STR_NEW(PTR_TO(content_start), LEN(content_start, p));
@@ -1141,13 +1141,13 @@ _match:
1141
1141
  }
1142
1142
  break;
1143
1143
  case 22:
1144
- #line 203 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/lt.c.rl"
1144
+ #line 203 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/lt.c.rl"
1145
1145
  {
1146
1146
  rb_funcall(listener, rb_intern("row"), 2, current_row, INT2FIX(lexer->current_line));
1147
1147
  }
1148
1148
  break;
1149
1149
  case 23:
1150
- #line 207 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/lt.c.rl"
1150
+ #line 207 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/lt.c.rl"
1151
1151
  {
1152
1152
  int line;
1153
1153
  if (cs < lexer_first_final) {
@@ -1210,7 +1210,7 @@ _again:
1210
1210
  while ( __nacts-- > 0 ) {
1211
1211
  switch ( *__acts++ ) {
1212
1212
  case 23:
1213
- #line 207 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/lt.c.rl"
1213
+ #line 207 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/lt.c.rl"
1214
1214
  {
1215
1215
  int line;
1216
1216
  if (cs < lexer_first_final) {
@@ -1264,7 +1264,7 @@ _again:
1264
1264
  _out: {}
1265
1265
  }
1266
1266
 
1267
- #line 426 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/lt.c.rl"
1267
+ #line 426 "/home/son/work/github/cucumber/gherkin/tasks/../ragel/i18n/lt.c.rl"
1268
1268
 
1269
1269
  assert(p <= pe && "data overflow after parsing execute");
1270
1270
  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/lu.c.rl"
2
+ #line 1 "/home/son/work/github/cucumber/gherkin/tasks/../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 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/lu.c.rl"
83
+ #line 254 "/home/son/work/github/cucumber/gherkin/tasks/../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 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/lu.c.rl"
824
+ #line 258 "/home/son/work/github/cucumber/gherkin/tasks/../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 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/lu.c.rl"
997
+ #line 425 "/home/son/work/github/cucumber/gherkin/tasks/../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 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/lu.c.rl"
1073
+ #line 83 "/home/son/work/github/cucumber/gherkin/tasks/../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 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/lu.c.rl"
1081
+ #line 89 "/home/son/work/github/cucumber/gherkin/tasks/../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 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/lu.c.rl"
1087
+ #line 93 "/home/son/work/github/cucumber/gherkin/tasks/../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 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/lu.c.rl"
1094
+ #line 98 "/home/son/work/github/cucumber/gherkin/tasks/../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 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/lu.c.rl"
1106
+ #line 108 "/home/son/work/github/cucumber/gherkin/tasks/../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 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/lu.c.rl"
1112
+ #line 112 "/home/son/work/github/cucumber/gherkin/tasks/../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 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/lu.c.rl"
1118
+ #line 116 "/home/son/work/github/cucumber/gherkin/tasks/../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 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/lu.c.rl"
1124
+ #line 120 "/home/son/work/github/cucumber/gherkin/tasks/../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 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/lu.c.rl"
1130
+ #line 124 "/home/son/work/github/cucumber/gherkin/tasks/../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 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/lu.c.rl"
1136
+ #line 128 "/home/son/work/github/cucumber/gherkin/tasks/../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 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/lu.c.rl"
1142
+ #line 132 "/home/son/work/github/cucumber/gherkin/tasks/../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 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/lu.c.rl"
1148
+ #line 136 "/home/son/work/github/cucumber/gherkin/tasks/../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 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/lu.c.rl"
1157
+ #line 143 "/home/son/work/github/cucumber/gherkin/tasks/../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 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/lu.c.rl"
1164
+ #line 148 "/home/son/work/github/cucumber/gherkin/tasks/../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 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/lu.c.rl"
1171
+ #line 153 "/home/son/work/github/cucumber/gherkin/tasks/../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 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/lu.c.rl"
1178
+ #line 158 "/home/son/work/github/cucumber/gherkin/tasks/../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 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/lu.c.rl"
1184
+ #line 162 "/home/son/work/github/cucumber/gherkin/tasks/../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 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/lu.c.rl"
1192
+ #line 168 "/home/son/work/github/cucumber/gherkin/tasks/../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 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/lu.c.rl"
1201
+ #line 175 "/home/son/work/github/cucumber/gherkin/tasks/../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 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/lu.c.rl"
1207
+ #line 179 "/home/son/work/github/cucumber/gherkin/tasks/../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 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/lu.c.rl"
1215
+ #line 185 "/home/son/work/github/cucumber/gherkin/tasks/../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 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/lu.c.rl"
1221
+ #line 189 "/home/son/work/github/cucumber/gherkin/tasks/../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 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/lu.c.rl"
1237
+ #line 203 "/home/son/work/github/cucumber/gherkin/tasks/../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 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/lu.c.rl"
1243
+ #line 207 "/home/son/work/github/cucumber/gherkin/tasks/../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 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/lu.c.rl"
1306
+ #line 207 "/home/son/work/github/cucumber/gherkin/tasks/../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 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/lu.c.rl"
1360
+ #line 426 "/home/son/work/github/cucumber/gherkin/tasks/../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");