gherkin 2.9.0 → 2.9.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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
data/Gemfile CHANGED
@@ -1,4 +1,5 @@
1
1
  source "http://rubygems.org"
2
2
  gemspec
3
3
 
4
- # gem 'cucumber', :path => '../cucumber'
4
+ # gem 'cucumber', :path => '../cucumber'
5
+
data/History.md CHANGED
@@ -1,3 +1,8 @@
1
+ ## [2.9.1](https://github.com/cucumber/gherkin/compare/v2.9.0...v2.9.1)
2
+
3
+ * Package gherkin.jar as OSGi bundle ([#166](https://github.com/cucumber/gherkin/pull/166) Jan Stamer)
4
+ * The build system and instruction has been updated to work on OS X Lion. (Aslak Hellesøy)
5
+
1
6
  ## [2.9.0](https://github.com/cucumber/gherkin/compare/v2.8.0...v2.9.0)
2
7
 
3
8
  * Added output to Reporter API (Aslak Hellesøy)
data/README.md CHANGED
@@ -130,12 +130,16 @@ In order to build and test Gherkin for JavaScript you must install:
130
130
  * Node.js (0.4.6 or higher)
131
131
  * NPM (0.3.18 or higher)
132
132
  * Ragel with JavaScript support: http://github.com/dominicmarks/ragel-js
133
+ ** Make sure you have `autoconf` and `automake` (`brew install automake && brew install autoconf`)
134
+ ** Make sure you have the official ragel (`brew install ragel`)
135
+ ** Make sure you have kelbt (`brew install kelbt`). If that fails, install manually from http://www.complang.org/kelbt/
136
+ ** `cd ragel-js/ragel-svn && ./autogen.sh && ./configure --disable-manual`
133
137
  * Define the GHERKIN_JS environment variable in your shell (any value will do)
134
138
 
135
139
  Prepare the environment:
136
140
 
137
141
  pushd js
138
- npm link
142
+ npm install
139
143
  popd
140
144
 
141
145
  Now you can build the JavaScript with:
@@ -154,14 +158,14 @@ TODO: Make all specs pass with js lexer - replace 'c(listener)' with 'js(listene
154
158
 
155
159
  ### .NET dll
156
160
 
157
- You must install Mono from source, or use a release of Mono after November 18 2011.
161
+ You must install Mono SDK 2.10.8 or newer.
158
162
 
159
163
  You must also download NuGet.exe from [CodePlex](http://nuget.codeplex.com/releases) and place it in `/usr/local/nuget/NuGet.exe`. When it's installed, update it and register your NuGet API Key:
160
164
 
161
165
  # In case we need to update
162
166
  mono /usr/local/nuget/NuGet.exe Update -self
163
167
 
164
- # The key is at http://nuget.org/Contribute/MyAccount
168
+ # The key is at https://nuget.org/account
165
169
  mono /usr/local/nuget/NuGet.exe SetApiKey xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx
166
170
 
167
171
  Now you can build the .NET dll with:
@@ -173,17 +177,30 @@ This should put the dll into `release/nuspec/lib/gherkin.dll`
173
177
  ### MinGW Rubies (for Windows gems)
174
178
 
175
179
  In order to build Windows binaries (so we can release Windows gems from OS X/Linux) we first need to install MinGW.
176
- On OS X, download prebuilt binaries (version 4.3.0) from http://crossgcc.rts-software.org/doku.php.
177
- Unpack it under /usr/local and add it to your PATH, typically in your `~/.bashrc`:
180
+ Follow the MinGW installation instructions from the [rake-compiler](https://github.com/luislavena/rake-compiler) project.
181
+ IMPORTANT! You may have to get an older version - gcc 4.7.0 is experimental. See [this issue](https://github.com/luislavena/rake-compiler/issues/50)
178
182
 
179
- export PATH=$PATH:/usr/local/i386-mingw32-4.3.0/bin
183
+ Now, make sure you have openssl installed:
184
+
185
+ brew install openssl
186
+
187
+ Next, we're going to install Ruby 1.8.7 and Ruby 1.9.3 for MinGW. We need both versions so we can build Windows binaries for both.
188
+ OS X Lion (or later) doesn't ship with an LLVM free gcc, which you will need in order to install ruby 1.8.7. We can install it with:
189
+
190
+ brew install https://raw.github.com/adamv/homebrew-alt/master/duplicates/apple-gcc42.rb
191
+ export CC=gcc-4.2
192
+
193
+ For more info see:
194
+
195
+ * http://stackoverflow.com/questions/6170813/why-cant-i-install-rails-on-lion-using-rvm
196
+ * https://github.com/mxcl/homebrew/wiki/Custom-GCC-and-cross-compilers
180
197
 
181
198
  Now we need to set up [rake-compiler](http://github.com/luislavena/rake-compiler/)
182
- We'll start by installing some rubies.
199
+ First, set the `CC` variable to your mingw32-gcc, for example:
183
200
 
184
- Make sure you have openssl installed first.
201
+ export CC=/usr/local/mingw/bin/i686-w64-mingw32-gcc
185
202
 
186
- brew install openssl
203
+ Now, let's install some rubies:
187
204
 
188
205
  # 1.8.7
189
206
  rvm install 1.8.7-p352
@@ -196,14 +213,14 @@ Make sure you have openssl installed first.
196
213
  rake-compiler cross-ruby VERSION=1.8.7-p352
197
214
 
198
215
  # 1.9.3
199
- rvm install 1.9.3-p0
200
- rvm use 1.9.3-p0
216
+ rvm install 1.9.3-p125
217
+ rvm use 1.9.3-p125
201
218
  rvm gemset create cucumber
202
219
  rvm gemset use cucumber
203
220
  gem install bundler
204
221
  unset GHERKIN_JS
205
222
  bundle install
206
- rake-compiler cross-ruby VERSION=1.9.3-p0
223
+ rake-compiler cross-ruby VERSION=1.9.3-p125
207
224
 
208
225
  Now you can build Windows gems:
209
226
 
@@ -1,5 +1,5 @@
1
1
 
2
- #line 1 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/ar.c.rl"
2
+ #line 1 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/ar.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/ar.c.rl"
83
+ #line 254 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/ar.c.rl"
84
84
 
85
85
 
86
86
  /** Data **/
@@ -864,7 +864,7 @@ static const int lexer_error = 0;
864
864
  static const int lexer_en_main = 1;
865
865
 
866
866
 
867
- #line 258 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/ar.c.rl"
867
+ #line 258 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/ar.c.rl"
868
868
 
869
869
  static VALUE
870
870
  unindent(VALUE con, int start_col)
@@ -1037,7 +1037,7 @@ static VALUE CLexer_scan(VALUE self, VALUE input)
1037
1037
  cs = lexer_start;
1038
1038
  }
1039
1039
 
1040
- #line 425 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/ar.c.rl"
1040
+ #line 425 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/ar.c.rl"
1041
1041
 
1042
1042
  #line 1043 "ext/gherkin_lexer_ar/gherkin_lexer_ar.c"
1043
1043
  {
@@ -1113,7 +1113,7 @@ _match:
1113
1113
  switch ( *_acts++ )
1114
1114
  {
1115
1115
  case 0:
1116
- #line 83 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/ar.c.rl"
1116
+ #line 83 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/ar.c.rl"
1117
1117
  {
1118
1118
  MARK(content_start, p);
1119
1119
  lexer->current_line = lexer->line_number;
@@ -1121,20 +1121,20 @@ _match:
1121
1121
  }
1122
1122
  break;
1123
1123
  case 1:
1124
- #line 89 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/ar.c.rl"
1124
+ #line 89 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/ar.c.rl"
1125
1125
  {
1126
1126
  MARK(content_start, p);
1127
1127
  }
1128
1128
  break;
1129
1129
  case 2:
1130
- #line 93 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/ar.c.rl"
1130
+ #line 93 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/ar.c.rl"
1131
1131
  {
1132
1132
  lexer->current_line = lexer->line_number;
1133
1133
  lexer->start_col = p - data - lexer->last_newline;
1134
1134
  }
1135
1135
  break;
1136
1136
  case 3:
1137
- #line 98 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/ar.c.rl"
1137
+ #line 98 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/ar.c.rl"
1138
1138
  {
1139
1139
  int len = LEN(content_start, PTR_TO(final_newline));
1140
1140
  int type_len = LEN(docstring_content_type_start, PTR_TO(docstring_content_type_end));
@@ -1146,49 +1146,49 @@ _match:
1146
1146
  }
1147
1147
  break;
1148
1148
  case 4:
1149
- #line 108 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/ar.c.rl"
1149
+ #line 108 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/ar.c.rl"
1150
1150
  {
1151
1151
  MARK(docstring_content_type_start, p);
1152
1152
  }
1153
1153
  break;
1154
1154
  case 5:
1155
- #line 112 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/ar.c.rl"
1155
+ #line 112 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/ar.c.rl"
1156
1156
  {
1157
1157
  MARK(docstring_content_type_end, p);
1158
1158
  }
1159
1159
  break;
1160
1160
  case 6:
1161
- #line 116 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/ar.c.rl"
1161
+ #line 116 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/ar.c.rl"
1162
1162
  {
1163
1163
  STORE_KW_END_CON(feature);
1164
1164
  }
1165
1165
  break;
1166
1166
  case 7:
1167
- #line 120 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/ar.c.rl"
1167
+ #line 120 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/ar.c.rl"
1168
1168
  {
1169
1169
  STORE_KW_END_CON(background);
1170
1170
  }
1171
1171
  break;
1172
1172
  case 8:
1173
- #line 124 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/ar.c.rl"
1173
+ #line 124 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/ar.c.rl"
1174
1174
  {
1175
1175
  STORE_KW_END_CON(scenario);
1176
1176
  }
1177
1177
  break;
1178
1178
  case 9:
1179
- #line 128 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/ar.c.rl"
1179
+ #line 128 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/ar.c.rl"
1180
1180
  {
1181
1181
  STORE_KW_END_CON(scenario_outline);
1182
1182
  }
1183
1183
  break;
1184
1184
  case 10:
1185
- #line 132 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/ar.c.rl"
1185
+ #line 132 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/ar.c.rl"
1186
1186
  {
1187
1187
  STORE_KW_END_CON(examples);
1188
1188
  }
1189
1189
  break;
1190
1190
  case 11:
1191
- #line 136 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/ar.c.rl"
1191
+ #line 136 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/ar.c.rl"
1192
1192
  {
1193
1193
  store_kw_con(listener, "step",
1194
1194
  PTR_TO(keyword_start), LEN(keyword_start, PTR_TO(keyword_end)),
@@ -1197,34 +1197,34 @@ _match:
1197
1197
  }
1198
1198
  break;
1199
1199
  case 12:
1200
- #line 143 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/ar.c.rl"
1200
+ #line 143 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/ar.c.rl"
1201
1201
  {
1202
1202
  STORE_ATTR(comment);
1203
1203
  lexer->mark = 0;
1204
1204
  }
1205
1205
  break;
1206
1206
  case 13:
1207
- #line 148 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/ar.c.rl"
1207
+ #line 148 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/ar.c.rl"
1208
1208
  {
1209
1209
  STORE_ATTR(tag);
1210
1210
  lexer->mark = 0;
1211
1211
  }
1212
1212
  break;
1213
1213
  case 14:
1214
- #line 153 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/ar.c.rl"
1214
+ #line 153 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/ar.c.rl"
1215
1215
  {
1216
1216
  lexer->line_number += 1;
1217
1217
  MARK(final_newline, p);
1218
1218
  }
1219
1219
  break;
1220
1220
  case 15:
1221
- #line 158 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/ar.c.rl"
1221
+ #line 158 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/ar.c.rl"
1222
1222
  {
1223
1223
  MARK(last_newline, p + 1);
1224
1224
  }
1225
1225
  break;
1226
1226
  case 16:
1227
- #line 162 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/ar.c.rl"
1227
+ #line 162 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/ar.c.rl"
1228
1228
  {
1229
1229
  if (lexer->mark == 0) {
1230
1230
  MARK(mark, p);
@@ -1232,7 +1232,7 @@ _match:
1232
1232
  }
1233
1233
  break;
1234
1234
  case 17:
1235
- #line 168 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/ar.c.rl"
1235
+ #line 168 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/ar.c.rl"
1236
1236
  {
1237
1237
  MARK(keyword_end, p);
1238
1238
  MARK(keyword_start, PTR_TO(mark));
@@ -1241,13 +1241,13 @@ _match:
1241
1241
  }
1242
1242
  break;
1243
1243
  case 18:
1244
- #line 175 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/ar.c.rl"
1244
+ #line 175 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/ar.c.rl"
1245
1245
  {
1246
1246
  MARK(content_end, p);
1247
1247
  }
1248
1248
  break;
1249
1249
  case 19:
1250
- #line 179 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/ar.c.rl"
1250
+ #line 179 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/ar.c.rl"
1251
1251
  {
1252
1252
  p = p - 1;
1253
1253
  lexer->current_line = lexer->line_number;
@@ -1255,13 +1255,13 @@ _match:
1255
1255
  }
1256
1256
  break;
1257
1257
  case 20:
1258
- #line 185 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/ar.c.rl"
1258
+ #line 185 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/ar.c.rl"
1259
1259
  {
1260
1260
  MARK(content_start, p);
1261
1261
  }
1262
1262
  break;
1263
1263
  case 21:
1264
- #line 189 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/ar.c.rl"
1264
+ #line 189 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/ar.c.rl"
1265
1265
  {
1266
1266
  VALUE re_pipe, re_newline, re_backslash;
1267
1267
  VALUE con = ENCODED_STR_NEW(PTR_TO(content_start), LEN(content_start, p));
@@ -1277,13 +1277,13 @@ _match:
1277
1277
  }
1278
1278
  break;
1279
1279
  case 22:
1280
- #line 203 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/ar.c.rl"
1280
+ #line 203 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/ar.c.rl"
1281
1281
  {
1282
1282
  rb_funcall(listener, rb_intern("row"), 2, current_row, INT2FIX(lexer->current_line));
1283
1283
  }
1284
1284
  break;
1285
1285
  case 23:
1286
- #line 207 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/ar.c.rl"
1286
+ #line 207 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/ar.c.rl"
1287
1287
  {
1288
1288
  int line;
1289
1289
  if (cs < lexer_first_final) {
@@ -1346,7 +1346,7 @@ _again:
1346
1346
  while ( __nacts-- > 0 ) {
1347
1347
  switch ( *__acts++ ) {
1348
1348
  case 23:
1349
- #line 207 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/ar.c.rl"
1349
+ #line 207 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/ar.c.rl"
1350
1350
  {
1351
1351
  int line;
1352
1352
  if (cs < lexer_first_final) {
@@ -1400,7 +1400,7 @@ _again:
1400
1400
  _out: {}
1401
1401
  }
1402
1402
 
1403
- #line 426 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/ar.c.rl"
1403
+ #line 426 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/ar.c.rl"
1404
1404
 
1405
1405
  assert(p <= pe && "data overflow after parsing execute");
1406
1406
  assert(lexer->content_start <= len && "content starts after data end");
@@ -1,5 +1,5 @@
1
1
 
2
- #line 1 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/bg.c.rl"
2
+ #line 1 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/bg.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/bg.c.rl"
83
+ #line 254 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/bg.c.rl"
84
84
 
85
85
 
86
86
  /** Data **/
@@ -1087,7 +1087,7 @@ static const int lexer_error = 0;
1087
1087
  static const int lexer_en_main = 1;
1088
1088
 
1089
1089
 
1090
- #line 258 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/bg.c.rl"
1090
+ #line 258 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/bg.c.rl"
1091
1091
 
1092
1092
  static VALUE
1093
1093
  unindent(VALUE con, int start_col)
@@ -1260,7 +1260,7 @@ static VALUE CLexer_scan(VALUE self, VALUE input)
1260
1260
  cs = lexer_start;
1261
1261
  }
1262
1262
 
1263
- #line 425 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/bg.c.rl"
1263
+ #line 425 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/bg.c.rl"
1264
1264
 
1265
1265
  #line 1266 "ext/gherkin_lexer_bg/gherkin_lexer_bg.c"
1266
1266
  {
@@ -1336,7 +1336,7 @@ _match:
1336
1336
  switch ( *_acts++ )
1337
1337
  {
1338
1338
  case 0:
1339
- #line 83 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/bg.c.rl"
1339
+ #line 83 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/bg.c.rl"
1340
1340
  {
1341
1341
  MARK(content_start, p);
1342
1342
  lexer->current_line = lexer->line_number;
@@ -1344,20 +1344,20 @@ _match:
1344
1344
  }
1345
1345
  break;
1346
1346
  case 1:
1347
- #line 89 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/bg.c.rl"
1347
+ #line 89 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/bg.c.rl"
1348
1348
  {
1349
1349
  MARK(content_start, p);
1350
1350
  }
1351
1351
  break;
1352
1352
  case 2:
1353
- #line 93 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/bg.c.rl"
1353
+ #line 93 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/bg.c.rl"
1354
1354
  {
1355
1355
  lexer->current_line = lexer->line_number;
1356
1356
  lexer->start_col = p - data - lexer->last_newline;
1357
1357
  }
1358
1358
  break;
1359
1359
  case 3:
1360
- #line 98 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/bg.c.rl"
1360
+ #line 98 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/bg.c.rl"
1361
1361
  {
1362
1362
  int len = LEN(content_start, PTR_TO(final_newline));
1363
1363
  int type_len = LEN(docstring_content_type_start, PTR_TO(docstring_content_type_end));
@@ -1369,49 +1369,49 @@ _match:
1369
1369
  }
1370
1370
  break;
1371
1371
  case 4:
1372
- #line 108 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/bg.c.rl"
1372
+ #line 108 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/bg.c.rl"
1373
1373
  {
1374
1374
  MARK(docstring_content_type_start, p);
1375
1375
  }
1376
1376
  break;
1377
1377
  case 5:
1378
- #line 112 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/bg.c.rl"
1378
+ #line 112 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/bg.c.rl"
1379
1379
  {
1380
1380
  MARK(docstring_content_type_end, p);
1381
1381
  }
1382
1382
  break;
1383
1383
  case 6:
1384
- #line 116 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/bg.c.rl"
1384
+ #line 116 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/bg.c.rl"
1385
1385
  {
1386
1386
  STORE_KW_END_CON(feature);
1387
1387
  }
1388
1388
  break;
1389
1389
  case 7:
1390
- #line 120 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/bg.c.rl"
1390
+ #line 120 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/bg.c.rl"
1391
1391
  {
1392
1392
  STORE_KW_END_CON(background);
1393
1393
  }
1394
1394
  break;
1395
1395
  case 8:
1396
- #line 124 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/bg.c.rl"
1396
+ #line 124 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/bg.c.rl"
1397
1397
  {
1398
1398
  STORE_KW_END_CON(scenario);
1399
1399
  }
1400
1400
  break;
1401
1401
  case 9:
1402
- #line 128 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/bg.c.rl"
1402
+ #line 128 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/bg.c.rl"
1403
1403
  {
1404
1404
  STORE_KW_END_CON(scenario_outline);
1405
1405
  }
1406
1406
  break;
1407
1407
  case 10:
1408
- #line 132 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/bg.c.rl"
1408
+ #line 132 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/bg.c.rl"
1409
1409
  {
1410
1410
  STORE_KW_END_CON(examples);
1411
1411
  }
1412
1412
  break;
1413
1413
  case 11:
1414
- #line 136 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/bg.c.rl"
1414
+ #line 136 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/bg.c.rl"
1415
1415
  {
1416
1416
  store_kw_con(listener, "step",
1417
1417
  PTR_TO(keyword_start), LEN(keyword_start, PTR_TO(keyword_end)),
@@ -1420,34 +1420,34 @@ _match:
1420
1420
  }
1421
1421
  break;
1422
1422
  case 12:
1423
- #line 143 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/bg.c.rl"
1423
+ #line 143 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/bg.c.rl"
1424
1424
  {
1425
1425
  STORE_ATTR(comment);
1426
1426
  lexer->mark = 0;
1427
1427
  }
1428
1428
  break;
1429
1429
  case 13:
1430
- #line 148 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/bg.c.rl"
1430
+ #line 148 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/bg.c.rl"
1431
1431
  {
1432
1432
  STORE_ATTR(tag);
1433
1433
  lexer->mark = 0;
1434
1434
  }
1435
1435
  break;
1436
1436
  case 14:
1437
- #line 153 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/bg.c.rl"
1437
+ #line 153 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/bg.c.rl"
1438
1438
  {
1439
1439
  lexer->line_number += 1;
1440
1440
  MARK(final_newline, p);
1441
1441
  }
1442
1442
  break;
1443
1443
  case 15:
1444
- #line 158 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/bg.c.rl"
1444
+ #line 158 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/bg.c.rl"
1445
1445
  {
1446
1446
  MARK(last_newline, p + 1);
1447
1447
  }
1448
1448
  break;
1449
1449
  case 16:
1450
- #line 162 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/bg.c.rl"
1450
+ #line 162 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/bg.c.rl"
1451
1451
  {
1452
1452
  if (lexer->mark == 0) {
1453
1453
  MARK(mark, p);
@@ -1455,7 +1455,7 @@ _match:
1455
1455
  }
1456
1456
  break;
1457
1457
  case 17:
1458
- #line 168 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/bg.c.rl"
1458
+ #line 168 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/bg.c.rl"
1459
1459
  {
1460
1460
  MARK(keyword_end, p);
1461
1461
  MARK(keyword_start, PTR_TO(mark));
@@ -1464,13 +1464,13 @@ _match:
1464
1464
  }
1465
1465
  break;
1466
1466
  case 18:
1467
- #line 175 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/bg.c.rl"
1467
+ #line 175 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/bg.c.rl"
1468
1468
  {
1469
1469
  MARK(content_end, p);
1470
1470
  }
1471
1471
  break;
1472
1472
  case 19:
1473
- #line 179 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/bg.c.rl"
1473
+ #line 179 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/bg.c.rl"
1474
1474
  {
1475
1475
  p = p - 1;
1476
1476
  lexer->current_line = lexer->line_number;
@@ -1478,13 +1478,13 @@ _match:
1478
1478
  }
1479
1479
  break;
1480
1480
  case 20:
1481
- #line 185 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/bg.c.rl"
1481
+ #line 185 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/bg.c.rl"
1482
1482
  {
1483
1483
  MARK(content_start, p);
1484
1484
  }
1485
1485
  break;
1486
1486
  case 21:
1487
- #line 189 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/bg.c.rl"
1487
+ #line 189 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/bg.c.rl"
1488
1488
  {
1489
1489
  VALUE re_pipe, re_newline, re_backslash;
1490
1490
  VALUE con = ENCODED_STR_NEW(PTR_TO(content_start), LEN(content_start, p));
@@ -1500,13 +1500,13 @@ _match:
1500
1500
  }
1501
1501
  break;
1502
1502
  case 22:
1503
- #line 203 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/bg.c.rl"
1503
+ #line 203 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/bg.c.rl"
1504
1504
  {
1505
1505
  rb_funcall(listener, rb_intern("row"), 2, current_row, INT2FIX(lexer->current_line));
1506
1506
  }
1507
1507
  break;
1508
1508
  case 23:
1509
- #line 207 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/bg.c.rl"
1509
+ #line 207 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/bg.c.rl"
1510
1510
  {
1511
1511
  int line;
1512
1512
  if (cs < lexer_first_final) {
@@ -1569,7 +1569,7 @@ _again:
1569
1569
  while ( __nacts-- > 0 ) {
1570
1570
  switch ( *__acts++ ) {
1571
1571
  case 23:
1572
- #line 207 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/bg.c.rl"
1572
+ #line 207 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/bg.c.rl"
1573
1573
  {
1574
1574
  int line;
1575
1575
  if (cs < lexer_first_final) {
@@ -1623,7 +1623,7 @@ _again:
1623
1623
  _out: {}
1624
1624
  }
1625
1625
 
1626
- #line 426 "/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/bg.c.rl"
1626
+ #line 426 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/bg.c.rl"
1627
1627
 
1628
1628
  assert(p <= pe && "data overflow after parsing execute");
1629
1629
  assert(lexer->content_start <= len && "content starts after data end");