gherkin 2.9.0 → 2.9.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (96) hide show
  1. data/Gemfile +2 -1
  2. data/History.md +5 -0
  3. data/README.md +29 -12
  4. data/ext/gherkin_lexer_ar/gherkin_lexer_ar.c +30 -30
  5. data/ext/gherkin_lexer_bg/gherkin_lexer_bg.c +30 -30
  6. data/ext/gherkin_lexer_ca/gherkin_lexer_ca.c +30 -30
  7. data/ext/gherkin_lexer_cs/gherkin_lexer_cs.c +30 -30
  8. data/ext/gherkin_lexer_cy_gb/gherkin_lexer_cy_gb.c +30 -30
  9. data/ext/gherkin_lexer_da/gherkin_lexer_da.c +30 -30
  10. data/ext/gherkin_lexer_de/gherkin_lexer_de.c +30 -30
  11. data/ext/gherkin_lexer_en/gherkin_lexer_en.c +30 -30
  12. data/ext/gherkin_lexer_en_au/gherkin_lexer_en_au.c +30 -30
  13. data/ext/gherkin_lexer_en_lol/gherkin_lexer_en_lol.c +30 -30
  14. data/ext/gherkin_lexer_en_pirate/gherkin_lexer_en_pirate.c +30 -30
  15. data/ext/gherkin_lexer_en_scouse/gherkin_lexer_en_scouse.c +30 -30
  16. data/ext/gherkin_lexer_en_tx/gherkin_lexer_en_tx.c +30 -30
  17. data/ext/gherkin_lexer_eo/gherkin_lexer_eo.c +30 -30
  18. data/ext/gherkin_lexer_es/gherkin_lexer_es.c +30 -30
  19. data/ext/gherkin_lexer_et/gherkin_lexer_et.c +30 -30
  20. data/ext/gherkin_lexer_fi/gherkin_lexer_fi.c +30 -30
  21. data/ext/gherkin_lexer_fr/gherkin_lexer_fr.c +30 -30
  22. data/ext/gherkin_lexer_he/gherkin_lexer_he.c +30 -30
  23. data/ext/gherkin_lexer_hr/gherkin_lexer_hr.c +30 -30
  24. data/ext/gherkin_lexer_hu/gherkin_lexer_hu.c +30 -30
  25. data/ext/gherkin_lexer_id/gherkin_lexer_id.c +30 -30
  26. data/ext/gherkin_lexer_is/gherkin_lexer_is.c +30 -30
  27. data/ext/gherkin_lexer_it/gherkin_lexer_it.c +30 -30
  28. data/ext/gherkin_lexer_ja/gherkin_lexer_ja.c +30 -30
  29. data/ext/gherkin_lexer_ko/gherkin_lexer_ko.c +30 -30
  30. data/ext/gherkin_lexer_lt/gherkin_lexer_lt.c +30 -30
  31. data/ext/gherkin_lexer_lu/gherkin_lexer_lu.c +30 -30
  32. data/ext/gherkin_lexer_lv/gherkin_lexer_lv.c +30 -30
  33. data/ext/gherkin_lexer_nl/gherkin_lexer_nl.c +30 -30
  34. data/ext/gherkin_lexer_no/gherkin_lexer_no.c +30 -30
  35. data/ext/gherkin_lexer_pl/gherkin_lexer_pl.c +30 -30
  36. data/ext/gherkin_lexer_pt/gherkin_lexer_pt.c +30 -30
  37. data/ext/gherkin_lexer_ro/gherkin_lexer_ro.c +30 -30
  38. data/ext/gherkin_lexer_ru/gherkin_lexer_ru.c +30 -30
  39. data/ext/gherkin_lexer_sk/gherkin_lexer_sk.c +30 -30
  40. data/ext/gherkin_lexer_sr_cyrl/gherkin_lexer_sr_cyrl.c +30 -30
  41. data/ext/gherkin_lexer_sr_latn/gherkin_lexer_sr_latn.c +30 -30
  42. data/ext/gherkin_lexer_sv/gherkin_lexer_sv.c +30 -30
  43. data/ext/gherkin_lexer_tr/gherkin_lexer_tr.c +30 -30
  44. data/ext/gherkin_lexer_uk/gherkin_lexer_uk.c +30 -30
  45. data/ext/gherkin_lexer_uz/gherkin_lexer_uz.c +30 -30
  46. data/ext/gherkin_lexer_vi/gherkin_lexer_vi.c +30 -30
  47. data/ext/gherkin_lexer_zh_cn/gherkin_lexer_zh_cn.c +30 -30
  48. data/ext/gherkin_lexer_zh_tw/gherkin_lexer_zh_tw.c +30 -30
  49. data/gherkin.gemspec +5 -5
  50. data/lib/gherkin/rb_lexer/ar.rb +30 -30
  51. data/lib/gherkin/rb_lexer/bg.rb +30 -30
  52. data/lib/gherkin/rb_lexer/ca.rb +30 -30
  53. data/lib/gherkin/rb_lexer/cs.rb +30 -30
  54. data/lib/gherkin/rb_lexer/cy_gb.rb +30 -30
  55. data/lib/gherkin/rb_lexer/da.rb +30 -30
  56. data/lib/gherkin/rb_lexer/de.rb +30 -30
  57. data/lib/gherkin/rb_lexer/en.rb +30 -30
  58. data/lib/gherkin/rb_lexer/en_au.rb +30 -30
  59. data/lib/gherkin/rb_lexer/en_lol.rb +30 -30
  60. data/lib/gherkin/rb_lexer/en_pirate.rb +30 -30
  61. data/lib/gherkin/rb_lexer/en_scouse.rb +30 -30
  62. data/lib/gherkin/rb_lexer/en_tx.rb +30 -30
  63. data/lib/gherkin/rb_lexer/eo.rb +30 -30
  64. data/lib/gherkin/rb_lexer/es.rb +30 -30
  65. data/lib/gherkin/rb_lexer/et.rb +30 -30
  66. data/lib/gherkin/rb_lexer/fi.rb +30 -30
  67. data/lib/gherkin/rb_lexer/fr.rb +30 -30
  68. data/lib/gherkin/rb_lexer/he.rb +30 -30
  69. data/lib/gherkin/rb_lexer/hr.rb +30 -30
  70. data/lib/gherkin/rb_lexer/hu.rb +30 -30
  71. data/lib/gherkin/rb_lexer/id.rb +30 -30
  72. data/lib/gherkin/rb_lexer/is.rb +30 -30
  73. data/lib/gherkin/rb_lexer/it.rb +30 -30
  74. data/lib/gherkin/rb_lexer/ja.rb +30 -30
  75. data/lib/gherkin/rb_lexer/ko.rb +30 -30
  76. data/lib/gherkin/rb_lexer/lt.rb +30 -30
  77. data/lib/gherkin/rb_lexer/lu.rb +30 -30
  78. data/lib/gherkin/rb_lexer/lv.rb +30 -30
  79. data/lib/gherkin/rb_lexer/nl.rb +30 -30
  80. data/lib/gherkin/rb_lexer/no.rb +30 -30
  81. data/lib/gherkin/rb_lexer/pl.rb +30 -30
  82. data/lib/gherkin/rb_lexer/pt.rb +30 -30
  83. data/lib/gherkin/rb_lexer/ro.rb +30 -30
  84. data/lib/gherkin/rb_lexer/ru.rb +30 -30
  85. data/lib/gherkin/rb_lexer/sk.rb +30 -30
  86. data/lib/gherkin/rb_lexer/sr_cyrl.rb +30 -30
  87. data/lib/gherkin/rb_lexer/sr_latn.rb +30 -30
  88. data/lib/gherkin/rb_lexer/sv.rb +30 -30
  89. data/lib/gherkin/rb_lexer/tr.rb +30 -30
  90. data/lib/gherkin/rb_lexer/uk.rb +30 -30
  91. data/lib/gherkin/rb_lexer/uz.rb +30 -30
  92. data/lib/gherkin/rb_lexer/vi.rb +30 -30
  93. data/lib/gherkin/rb_lexer/zh_cn.rb +30 -30
  94. data/lib/gherkin/rb_lexer/zh_tw.rb +30 -30
  95. data/tasks/ikvm.rake +3 -2
  96. metadata +91 -31
@@ -1,5 +1,5 @@
1
1
 
2
- #line 1 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/zh_tw.c.rl"
2
+ #line 1 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/zh_tw.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/scm/gherkin/tasks/../ragel/i18n/zh_tw.c.rl"
83
+ #line 254 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/zh_tw.c.rl"
84
84
 
85
85
 
86
86
  /** Data **/
@@ -739,7 +739,7 @@ static const int lexer_error = 0;
739
739
  static const int lexer_en_main = 1;
740
740
 
741
741
 
742
- #line 258 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/zh_tw.c.rl"
742
+ #line 258 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/zh_tw.c.rl"
743
743
 
744
744
  static VALUE
745
745
  unindent(VALUE con, int start_col)
@@ -912,7 +912,7 @@ static VALUE CLexer_scan(VALUE self, VALUE input)
912
912
  cs = lexer_start;
913
913
  }
914
914
 
915
- #line 425 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/zh_tw.c.rl"
915
+ #line 425 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/zh_tw.c.rl"
916
916
 
917
917
  #line 918 "ext/gherkin_lexer_zh_tw/gherkin_lexer_zh_tw.c"
918
918
  {
@@ -988,7 +988,7 @@ _match:
988
988
  switch ( *_acts++ )
989
989
  {
990
990
  case 0:
991
- #line 83 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/zh_tw.c.rl"
991
+ #line 83 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/zh_tw.c.rl"
992
992
  {
993
993
  MARK(content_start, p);
994
994
  lexer->current_line = lexer->line_number;
@@ -996,20 +996,20 @@ _match:
996
996
  }
997
997
  break;
998
998
  case 1:
999
- #line 89 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/zh_tw.c.rl"
999
+ #line 89 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/zh_tw.c.rl"
1000
1000
  {
1001
1001
  MARK(content_start, p);
1002
1002
  }
1003
1003
  break;
1004
1004
  case 2:
1005
- #line 93 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/zh_tw.c.rl"
1005
+ #line 93 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/zh_tw.c.rl"
1006
1006
  {
1007
1007
  lexer->current_line = lexer->line_number;
1008
1008
  lexer->start_col = p - data - lexer->last_newline;
1009
1009
  }
1010
1010
  break;
1011
1011
  case 3:
1012
- #line 98 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/zh_tw.c.rl"
1012
+ #line 98 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/zh_tw.c.rl"
1013
1013
  {
1014
1014
  int len = LEN(content_start, PTR_TO(final_newline));
1015
1015
  int type_len = LEN(docstring_content_type_start, PTR_TO(docstring_content_type_end));
@@ -1021,49 +1021,49 @@ _match:
1021
1021
  }
1022
1022
  break;
1023
1023
  case 4:
1024
- #line 108 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/zh_tw.c.rl"
1024
+ #line 108 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/zh_tw.c.rl"
1025
1025
  {
1026
1026
  MARK(docstring_content_type_start, p);
1027
1027
  }
1028
1028
  break;
1029
1029
  case 5:
1030
- #line 112 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/zh_tw.c.rl"
1030
+ #line 112 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/zh_tw.c.rl"
1031
1031
  {
1032
1032
  MARK(docstring_content_type_end, p);
1033
1033
  }
1034
1034
  break;
1035
1035
  case 6:
1036
- #line 116 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/zh_tw.c.rl"
1036
+ #line 116 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/zh_tw.c.rl"
1037
1037
  {
1038
1038
  STORE_KW_END_CON(feature);
1039
1039
  }
1040
1040
  break;
1041
1041
  case 7:
1042
- #line 120 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/zh_tw.c.rl"
1042
+ #line 120 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/zh_tw.c.rl"
1043
1043
  {
1044
1044
  STORE_KW_END_CON(background);
1045
1045
  }
1046
1046
  break;
1047
1047
  case 8:
1048
- #line 124 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/zh_tw.c.rl"
1048
+ #line 124 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/zh_tw.c.rl"
1049
1049
  {
1050
1050
  STORE_KW_END_CON(scenario);
1051
1051
  }
1052
1052
  break;
1053
1053
  case 9:
1054
- #line 128 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/zh_tw.c.rl"
1054
+ #line 128 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/zh_tw.c.rl"
1055
1055
  {
1056
1056
  STORE_KW_END_CON(scenario_outline);
1057
1057
  }
1058
1058
  break;
1059
1059
  case 10:
1060
- #line 132 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/zh_tw.c.rl"
1060
+ #line 132 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/zh_tw.c.rl"
1061
1061
  {
1062
1062
  STORE_KW_END_CON(examples);
1063
1063
  }
1064
1064
  break;
1065
1065
  case 11:
1066
- #line 136 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/zh_tw.c.rl"
1066
+ #line 136 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/zh_tw.c.rl"
1067
1067
  {
1068
1068
  store_kw_con(listener, "step",
1069
1069
  PTR_TO(keyword_start), LEN(keyword_start, PTR_TO(keyword_end)),
@@ -1072,34 +1072,34 @@ _match:
1072
1072
  }
1073
1073
  break;
1074
1074
  case 12:
1075
- #line 143 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/zh_tw.c.rl"
1075
+ #line 143 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/zh_tw.c.rl"
1076
1076
  {
1077
1077
  STORE_ATTR(comment);
1078
1078
  lexer->mark = 0;
1079
1079
  }
1080
1080
  break;
1081
1081
  case 13:
1082
- #line 148 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/zh_tw.c.rl"
1082
+ #line 148 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/zh_tw.c.rl"
1083
1083
  {
1084
1084
  STORE_ATTR(tag);
1085
1085
  lexer->mark = 0;
1086
1086
  }
1087
1087
  break;
1088
1088
  case 14:
1089
- #line 153 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/zh_tw.c.rl"
1089
+ #line 153 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/zh_tw.c.rl"
1090
1090
  {
1091
1091
  lexer->line_number += 1;
1092
1092
  MARK(final_newline, p);
1093
1093
  }
1094
1094
  break;
1095
1095
  case 15:
1096
- #line 158 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/zh_tw.c.rl"
1096
+ #line 158 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/zh_tw.c.rl"
1097
1097
  {
1098
1098
  MARK(last_newline, p + 1);
1099
1099
  }
1100
1100
  break;
1101
1101
  case 16:
1102
- #line 162 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/zh_tw.c.rl"
1102
+ #line 162 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/zh_tw.c.rl"
1103
1103
  {
1104
1104
  if (lexer->mark == 0) {
1105
1105
  MARK(mark, p);
@@ -1107,7 +1107,7 @@ _match:
1107
1107
  }
1108
1108
  break;
1109
1109
  case 17:
1110
- #line 168 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/zh_tw.c.rl"
1110
+ #line 168 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/zh_tw.c.rl"
1111
1111
  {
1112
1112
  MARK(keyword_end, p);
1113
1113
  MARK(keyword_start, PTR_TO(mark));
@@ -1116,13 +1116,13 @@ _match:
1116
1116
  }
1117
1117
  break;
1118
1118
  case 18:
1119
- #line 175 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/zh_tw.c.rl"
1119
+ #line 175 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/zh_tw.c.rl"
1120
1120
  {
1121
1121
  MARK(content_end, p);
1122
1122
  }
1123
1123
  break;
1124
1124
  case 19:
1125
- #line 179 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/zh_tw.c.rl"
1125
+ #line 179 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/zh_tw.c.rl"
1126
1126
  {
1127
1127
  p = p - 1;
1128
1128
  lexer->current_line = lexer->line_number;
@@ -1130,13 +1130,13 @@ _match:
1130
1130
  }
1131
1131
  break;
1132
1132
  case 20:
1133
- #line 185 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/zh_tw.c.rl"
1133
+ #line 185 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/zh_tw.c.rl"
1134
1134
  {
1135
1135
  MARK(content_start, p);
1136
1136
  }
1137
1137
  break;
1138
1138
  case 21:
1139
- #line 189 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/zh_tw.c.rl"
1139
+ #line 189 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/zh_tw.c.rl"
1140
1140
  {
1141
1141
  VALUE re_pipe, re_newline, re_backslash;
1142
1142
  VALUE con = ENCODED_STR_NEW(PTR_TO(content_start), LEN(content_start, p));
@@ -1152,13 +1152,13 @@ _match:
1152
1152
  }
1153
1153
  break;
1154
1154
  case 22:
1155
- #line 203 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/zh_tw.c.rl"
1155
+ #line 203 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/zh_tw.c.rl"
1156
1156
  {
1157
1157
  rb_funcall(listener, rb_intern("row"), 2, current_row, INT2FIX(lexer->current_line));
1158
1158
  }
1159
1159
  break;
1160
1160
  case 23:
1161
- #line 207 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/zh_tw.c.rl"
1161
+ #line 207 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/zh_tw.c.rl"
1162
1162
  {
1163
1163
  int line;
1164
1164
  if (cs < lexer_first_final) {
@@ -1221,7 +1221,7 @@ _again:
1221
1221
  while ( __nacts-- > 0 ) {
1222
1222
  switch ( *__acts++ ) {
1223
1223
  case 23:
1224
- #line 207 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/zh_tw.c.rl"
1224
+ #line 207 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/zh_tw.c.rl"
1225
1225
  {
1226
1226
  int line;
1227
1227
  if (cs < lexer_first_final) {
@@ -1275,7 +1275,7 @@ _again:
1275
1275
  _out: {}
1276
1276
  }
1277
1277
 
1278
- #line 426 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/zh_tw.c.rl"
1278
+ #line 426 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/zh_tw.c.rl"
1279
1279
 
1280
1280
  assert(p <= pe && "data overflow after parsing execute");
1281
1281
  assert(lexer->content_start <= len && "content starts after data end");
@@ -5,7 +5,7 @@ Gem::Specification.new do |s|
5
5
  # If the major version is bumped, verify that the change is ok:
6
6
  #
7
7
  # * Comment out cucumber dependency in gemspec
8
- # * Uncomment cucumber location in Gemspec
8
+ # * Uncomment cucumber location in Gemfile
9
9
  # * Bump cucumber's gherkin dependency to the new version
10
10
  # * bundle update
11
11
  # * bundle exec rake
@@ -15,7 +15,7 @@ Gem::Specification.new do |s|
15
15
  # When both are building OK, do a `bundle exec rake install` in both cucumber and gherkin projects, revert the changes in the first 2 steps
16
16
  # and release both projects.
17
17
  #
18
- s.version = "2.9.0"
18
+ s.version = "2.9.1"
19
19
  s.authors = ["Mike Sassak", "Gregory Hnatiuk", "Aslak Hellesøy"]
20
20
  s.description = "A fast Gherkin lexer/parser based on the Ragel State Machine Compiler."
21
21
  s.summary = "#{s.name}-#{s.version}"
@@ -52,15 +52,15 @@ Gem::Specification.new do |s|
52
52
  s.files += Dir['lib/gherkin/rb_lexer/*.rb']
53
53
  s.files += Dir['ext/**/*.c']
54
54
  s.extensions = Dir['ext/**/extconf.rb']
55
- s.add_development_dependency('rake-compiler', '>= 0.7.9')
55
+ s.add_development_dependency('rake-compiler', '>= 0.8.0')
56
56
  end
57
57
  s.files -= Dir['**/.gitignore']
58
58
 
59
59
  s.add_runtime_dependency('json', '>= 1.4.6')
60
60
 
61
- s.add_development_dependency('cucumber', '>= 1.1.5')
61
+ s.add_development_dependency('cucumber', '>= 1.1.9')
62
62
  s.add_development_dependency('rake', '>= 0.9.2')
63
- s.add_development_dependency('bundler', '>= 1.0.22')
63
+ s.add_development_dependency('bundler', '>= 1.1.0')
64
64
  s.add_development_dependency('rspec', '~> 2.7.0') # No 2.8.0 until this is fixed: https://github.com/rspec/rspec-expectations/issues/112
65
65
  s.add_development_dependency('rubyzip', '>= 0.9.6.1')
66
66
 
@@ -1,12 +1,12 @@
1
1
 
2
- # line 1 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/ar.rb.rl"
2
+ # line 1 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/ar.rb.rl"
3
3
  require 'gherkin/lexer/i18n_lexer'
4
4
 
5
5
  module Gherkin
6
6
  module RbLexer
7
7
  class Ar #:nodoc:
8
8
 
9
- # line 123 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/ar.rb.rl"
9
+ # line 123 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/ar.rb.rl"
10
10
 
11
11
 
12
12
  def initialize(listener)
@@ -809,7 +809,7 @@ end
809
809
  self.lexer_en_main = 1;
810
810
 
811
811
 
812
- # line 128 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/ar.rb.rl"
812
+ # line 128 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/ar.rb.rl"
813
813
  end
814
814
 
815
815
  def scan(data)
@@ -827,7 +827,7 @@ begin
827
827
  cs = lexer_start
828
828
  end
829
829
 
830
- # line 138 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/ar.rb.rl"
830
+ # line 138 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/ar.rb.rl"
831
831
 
832
832
  # line 833 "lib/gherkin/rb_lexer/ar.rb"
833
833
  begin
@@ -911,7 +911,7 @@ begin
911
911
  _acts += 1
912
912
  case _lexer_actions[_acts - 1]
913
913
  when 0 then
914
- # line 9 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/ar.rb.rl"
914
+ # line 9 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/ar.rb.rl"
915
915
  begin
916
916
 
917
917
  @content_start = p
@@ -919,32 +919,32 @@ when 0 then
919
919
  @start_col = p - @last_newline - "#{@keyword}:".length
920
920
  end
921
921
  when 1 then
922
- # line 15 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/ar.rb.rl"
922
+ # line 15 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/ar.rb.rl"
923
923
  begin
924
924
 
925
925
  @current_line = @line_number
926
926
  @start_col = p - @last_newline
927
927
  end
928
928
  when 2 then
929
- # line 20 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/ar.rb.rl"
929
+ # line 20 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/ar.rb.rl"
930
930
  begin
931
931
 
932
932
  @content_start = p
933
933
  end
934
934
  when 3 then
935
- # line 24 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/ar.rb.rl"
935
+ # line 24 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/ar.rb.rl"
936
936
  begin
937
937
 
938
938
  @docstring_content_type_start = p
939
939
  end
940
940
  when 4 then
941
- # line 27 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/ar.rb.rl"
941
+ # line 27 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/ar.rb.rl"
942
942
  begin
943
943
 
944
944
  @docstring_content_type_end = p
945
945
  end
946
946
  when 5 then
947
- # line 31 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/ar.rb.rl"
947
+ # line 31 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/ar.rb.rl"
948
948
  begin
949
949
 
950
950
  con = unindent(@start_col, utf8_pack(data[@content_start...@next_keyword_start-1]).sub(/(\r?\n)?([\t ])*\Z/, '').gsub(/\\"\\"\\"/, '"""'))
@@ -952,44 +952,44 @@ when 5 then
952
952
  @listener.doc_string(con_type, con, @current_line)
953
953
  end
954
954
  when 6 then
955
- # line 36 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/ar.rb.rl"
955
+ # line 36 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/ar.rb.rl"
956
956
  begin
957
957
 
958
958
  p = store_keyword_content(:feature, data, p, eof)
959
959
  end
960
960
  when 7 then
961
- # line 40 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/ar.rb.rl"
961
+ # line 40 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/ar.rb.rl"
962
962
  begin
963
963
 
964
964
  p = store_keyword_content(:background, data, p, eof)
965
965
  end
966
966
  when 8 then
967
- # line 44 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/ar.rb.rl"
967
+ # line 44 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/ar.rb.rl"
968
968
  begin
969
969
 
970
970
  p = store_keyword_content(:scenario, data, p, eof)
971
971
  end
972
972
  when 9 then
973
- # line 48 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/ar.rb.rl"
973
+ # line 48 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/ar.rb.rl"
974
974
  begin
975
975
 
976
976
  p = store_keyword_content(:scenario_outline, data, p, eof)
977
977
  end
978
978
  when 10 then
979
- # line 52 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/ar.rb.rl"
979
+ # line 52 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/ar.rb.rl"
980
980
  begin
981
981
 
982
982
  p = store_keyword_content(:examples, data, p, eof)
983
983
  end
984
984
  when 11 then
985
- # line 56 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/ar.rb.rl"
985
+ # line 56 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/ar.rb.rl"
986
986
  begin
987
987
 
988
988
  con = utf8_pack(data[@content_start...p]).strip
989
989
  @listener.step(@keyword, con, @current_line)
990
990
  end
991
991
  when 12 then
992
- # line 61 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/ar.rb.rl"
992
+ # line 61 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/ar.rb.rl"
993
993
  begin
994
994
 
995
995
  con = utf8_pack(data[@content_start...p]).strip
@@ -997,7 +997,7 @@ when 12 then
997
997
  @keyword_start = nil
998
998
  end
999
999
  when 13 then
1000
- # line 67 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/ar.rb.rl"
1000
+ # line 67 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/ar.rb.rl"
1001
1001
  begin
1002
1002
 
1003
1003
  con = utf8_pack(data[@content_start...p]).strip
@@ -1005,38 +1005,38 @@ when 13 then
1005
1005
  @keyword_start = nil
1006
1006
  end
1007
1007
  when 14 then
1008
- # line 73 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/ar.rb.rl"
1008
+ # line 73 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/ar.rb.rl"
1009
1009
  begin
1010
1010
 
1011
1011
  @line_number += 1
1012
1012
  end
1013
1013
  when 15 then
1014
- # line 77 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/ar.rb.rl"
1014
+ # line 77 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/ar.rb.rl"
1015
1015
  begin
1016
1016
 
1017
1017
  @last_newline = p + 1
1018
1018
  end
1019
1019
  when 16 then
1020
- # line 81 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/ar.rb.rl"
1020
+ # line 81 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/ar.rb.rl"
1021
1021
  begin
1022
1022
 
1023
1023
  @keyword_start ||= p
1024
1024
  end
1025
1025
  when 17 then
1026
- # line 85 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/ar.rb.rl"
1026
+ # line 85 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/ar.rb.rl"
1027
1027
  begin
1028
1028
 
1029
1029
  @keyword = utf8_pack(data[@keyword_start...p]).sub(/:$/,'')
1030
1030
  @keyword_start = nil
1031
1031
  end
1032
1032
  when 18 then
1033
- # line 90 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/ar.rb.rl"
1033
+ # line 90 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/ar.rb.rl"
1034
1034
  begin
1035
1035
 
1036
1036
  @next_keyword_start = p
1037
1037
  end
1038
1038
  when 19 then
1039
- # line 94 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/ar.rb.rl"
1039
+ # line 94 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/ar.rb.rl"
1040
1040
  begin
1041
1041
 
1042
1042
  p = p - 1
@@ -1044,26 +1044,26 @@ when 19 then
1044
1044
  @current_line = @line_number
1045
1045
  end
1046
1046
  when 20 then
1047
- # line 100 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/ar.rb.rl"
1047
+ # line 100 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/ar.rb.rl"
1048
1048
  begin
1049
1049
 
1050
1050
  @content_start = p
1051
1051
  end
1052
1052
  when 21 then
1053
- # line 104 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/ar.rb.rl"
1053
+ # line 104 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/ar.rb.rl"
1054
1054
  begin
1055
1055
 
1056
1056
  con = utf8_pack(data[@content_start...p]).strip
1057
1057
  current_row << con.gsub(/\\\|/, "|").gsub(/\\n/, "\n").gsub(/\\\\/, "\\")
1058
1058
  end
1059
1059
  when 22 then
1060
- # line 109 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/ar.rb.rl"
1060
+ # line 109 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/ar.rb.rl"
1061
1061
  begin
1062
1062
 
1063
1063
  @listener.row(current_row, @current_line)
1064
1064
  end
1065
1065
  when 23 then
1066
- # line 113 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/ar.rb.rl"
1066
+ # line 113 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/ar.rb.rl"
1067
1067
  begin
1068
1068
 
1069
1069
  if cs < lexer_first_final
@@ -1102,7 +1102,7 @@ when 23 then
1102
1102
  __acts += 1
1103
1103
  case _lexer_actions[__acts - 1]
1104
1104
  when 23 then
1105
- # line 113 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/ar.rb.rl"
1105
+ # line 113 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/ar.rb.rl"
1106
1106
  begin
1107
1107
 
1108
1108
  if cs < lexer_first_final
@@ -1126,7 +1126,7 @@ end
1126
1126
  end
1127
1127
  end
1128
1128
 
1129
- # line 139 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/ar.rb.rl"
1129
+ # line 139 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/ar.rb.rl"
1130
1130
  end
1131
1131
 
1132
1132
  def unindent(startcol, text)