gherkin 2.11.7 → 2.11.8
Sign up to get free protection for your applications and to get access to all the features.
- data/.ruby-gemset +1 -0
- data/.ruby-version +1 -0
- data/History.md +6 -0
- data/README.md +7 -9
- data/ext/gherkin_lexer_ar/gherkin_lexer_ar.c +494 -494
- data/ext/gherkin_lexer_bg/gherkin_lexer_bg.c +30 -30
- data/ext/gherkin_lexer_bm/gherkin_lexer_bm.c +30 -30
- data/ext/gherkin_lexer_ca/gherkin_lexer_ca.c +30 -30
- data/ext/gherkin_lexer_cs/gherkin_lexer_cs.c +30 -30
- data/ext/gherkin_lexer_cy_gb/gherkin_lexer_cy_gb.c +30 -30
- data/ext/gherkin_lexer_da/gherkin_lexer_da.c +30 -30
- data/ext/gherkin_lexer_de/gherkin_lexer_de.c +30 -30
- data/ext/gherkin_lexer_el/gherkin_lexer_el.c +30 -30
- data/ext/gherkin_lexer_en/gherkin_lexer_en.c +30 -30
- data/ext/gherkin_lexer_en_au/gherkin_lexer_en_au.c +30 -30
- data/ext/gherkin_lexer_en_lol/gherkin_lexer_en_lol.c +30 -30
- data/ext/gherkin_lexer_en_old/gherkin_lexer_en_old.c +30 -30
- data/ext/gherkin_lexer_en_pirate/gherkin_lexer_en_pirate.c +30 -30
- data/ext/gherkin_lexer_en_scouse/gherkin_lexer_en_scouse.c +30 -30
- data/ext/gherkin_lexer_en_tx/gherkin_lexer_en_tx.c +30 -30
- data/ext/gherkin_lexer_eo/gherkin_lexer_eo.c +30 -30
- data/ext/gherkin_lexer_es/gherkin_lexer_es.c +30 -30
- data/ext/gherkin_lexer_et/gherkin_lexer_et.c +30 -30
- data/ext/gherkin_lexer_fa/gherkin_lexer_fa.c +30 -30
- data/ext/gherkin_lexer_fi/gherkin_lexer_fi.c +30 -30
- data/ext/gherkin_lexer_fr/gherkin_lexer_fr.c +30 -30
- data/ext/gherkin_lexer_gl/extconf.rb +6 -0
- data/ext/gherkin_lexer_gl/gherkin_lexer_gl.c +1374 -0
- data/ext/gherkin_lexer_he/gherkin_lexer_he.c +30 -30
- data/ext/gherkin_lexer_hi/gherkin_lexer_hi.c +30 -30
- data/ext/gherkin_lexer_hr/gherkin_lexer_hr.c +30 -30
- data/ext/gherkin_lexer_hu/gherkin_lexer_hu.c +30 -30
- data/ext/gherkin_lexer_id/gherkin_lexer_id.c +30 -30
- data/ext/gherkin_lexer_is/gherkin_lexer_is.c +30 -30
- data/ext/gherkin_lexer_it/gherkin_lexer_it.c +30 -30
- data/ext/gherkin_lexer_ja/gherkin_lexer_ja.c +30 -30
- data/ext/gherkin_lexer_ko/gherkin_lexer_ko.c +30 -30
- data/ext/gherkin_lexer_lt/gherkin_lexer_lt.c +30 -30
- data/ext/gherkin_lexer_lu/gherkin_lexer_lu.c +30 -30
- data/ext/gherkin_lexer_lv/gherkin_lexer_lv.c +30 -30
- data/ext/gherkin_lexer_nl/gherkin_lexer_nl.c +30 -30
- data/ext/gherkin_lexer_no/gherkin_lexer_no.c +30 -30
- data/ext/gherkin_lexer_pl/gherkin_lexer_pl.c +30 -30
- data/ext/gherkin_lexer_pt/gherkin_lexer_pt.c +30 -30
- data/ext/gherkin_lexer_ro/gherkin_lexer_ro.c +30 -30
- data/ext/gherkin_lexer_ru/gherkin_lexer_ru.c +30 -30
- data/ext/gherkin_lexer_sk/gherkin_lexer_sk.c +30 -30
- data/ext/gherkin_lexer_sr_cyrl/gherkin_lexer_sr_cyrl.c +30 -30
- data/ext/gherkin_lexer_sr_latn/gherkin_lexer_sr_latn.c +614 -617
- data/ext/gherkin_lexer_sv/gherkin_lexer_sv.c +30 -30
- data/ext/gherkin_lexer_tl/gherkin_lexer_tl.c +30 -30
- data/ext/gherkin_lexer_tr/gherkin_lexer_tr.c +30 -30
- data/ext/gherkin_lexer_tt/gherkin_lexer_tt.c +30 -30
- data/ext/gherkin_lexer_uk/gherkin_lexer_uk.c +30 -30
- data/ext/gherkin_lexer_uz/gherkin_lexer_uz.c +614 -622
- data/ext/gherkin_lexer_vi/gherkin_lexer_vi.c +30 -30
- data/ext/gherkin_lexer_zh_cn/gherkin_lexer_zh_cn.c +30 -30
- data/ext/gherkin_lexer_zh_tw/gherkin_lexer_zh_tw.c +30 -30
- data/gherkin.gemspec +3 -3
- data/install_mingw_os_x.sh +3 -5
- data/lib/gherkin/i18n.json +14 -0
- data/lib/gherkin/i18n.rb +1 -0
- data/lib/gherkin/lexer/i18n_lexer.rb +3 -2
- data/lib/gherkin/parser/parser.rb +2 -2
- data/lib/gherkin/platform.rb +1 -1
- data/spec/gherkin/i18n_spec.rb +6 -0
- data/spec/gherkin/lexer/i18n_lexer_spec.rb +44 -26
- data/tasks/ragel_task.rb +3 -1
- data/tasks/rspec.rake +3 -0
- metadata +231 -137
- checksums.yaml +0 -15
- data/.rvmrc +0 -1
@@ -1,5 +1,5 @@
|
|
1
1
|
|
2
|
-
#line 1 "
|
2
|
+
#line 1 "ragel/i18n/ro.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 "
|
83
|
+
#line 254 "ragel/i18n/ro.c.rl"
|
84
84
|
|
85
85
|
|
86
86
|
/** Data **/
|
@@ -859,7 +859,7 @@ static const int lexer_error = 0;
|
|
859
859
|
static const int lexer_en_main = 1;
|
860
860
|
|
861
861
|
|
862
|
-
#line 258 "
|
862
|
+
#line 258 "ragel/i18n/ro.c.rl"
|
863
863
|
|
864
864
|
static VALUE
|
865
865
|
unindent(VALUE con, int start_col)
|
@@ -1032,7 +1032,7 @@ static VALUE CLexer_scan(VALUE self, VALUE input)
|
|
1032
1032
|
cs = lexer_start;
|
1033
1033
|
}
|
1034
1034
|
|
1035
|
-
#line 425 "
|
1035
|
+
#line 425 "ragel/i18n/ro.c.rl"
|
1036
1036
|
|
1037
1037
|
#line 1038 "ext/gherkin_lexer_ro/gherkin_lexer_ro.c"
|
1038
1038
|
{
|
@@ -1108,7 +1108,7 @@ _match:
|
|
1108
1108
|
switch ( *_acts++ )
|
1109
1109
|
{
|
1110
1110
|
case 0:
|
1111
|
-
#line 83 "
|
1111
|
+
#line 83 "ragel/i18n/ro.c.rl"
|
1112
1112
|
{
|
1113
1113
|
MARK(content_start, p);
|
1114
1114
|
lexer->current_line = lexer->line_number;
|
@@ -1116,20 +1116,20 @@ _match:
|
|
1116
1116
|
}
|
1117
1117
|
break;
|
1118
1118
|
case 1:
|
1119
|
-
#line 89 "
|
1119
|
+
#line 89 "ragel/i18n/ro.c.rl"
|
1120
1120
|
{
|
1121
1121
|
MARK(content_start, p);
|
1122
1122
|
}
|
1123
1123
|
break;
|
1124
1124
|
case 2:
|
1125
|
-
#line 93 "
|
1125
|
+
#line 93 "ragel/i18n/ro.c.rl"
|
1126
1126
|
{
|
1127
1127
|
lexer->current_line = lexer->line_number;
|
1128
1128
|
lexer->start_col = p - data - lexer->last_newline;
|
1129
1129
|
}
|
1130
1130
|
break;
|
1131
1131
|
case 3:
|
1132
|
-
#line 98 "
|
1132
|
+
#line 98 "ragel/i18n/ro.c.rl"
|
1133
1133
|
{
|
1134
1134
|
int len = LEN(content_start, PTR_TO(final_newline));
|
1135
1135
|
int type_len = LEN(docstring_content_type_start, PTR_TO(docstring_content_type_end));
|
@@ -1141,49 +1141,49 @@ _match:
|
|
1141
1141
|
}
|
1142
1142
|
break;
|
1143
1143
|
case 4:
|
1144
|
-
#line 108 "
|
1144
|
+
#line 108 "ragel/i18n/ro.c.rl"
|
1145
1145
|
{
|
1146
1146
|
MARK(docstring_content_type_start, p);
|
1147
1147
|
}
|
1148
1148
|
break;
|
1149
1149
|
case 5:
|
1150
|
-
#line 112 "
|
1150
|
+
#line 112 "ragel/i18n/ro.c.rl"
|
1151
1151
|
{
|
1152
1152
|
MARK(docstring_content_type_end, p);
|
1153
1153
|
}
|
1154
1154
|
break;
|
1155
1155
|
case 6:
|
1156
|
-
#line 116 "
|
1156
|
+
#line 116 "ragel/i18n/ro.c.rl"
|
1157
1157
|
{
|
1158
1158
|
STORE_KW_END_CON(feature);
|
1159
1159
|
}
|
1160
1160
|
break;
|
1161
1161
|
case 7:
|
1162
|
-
#line 120 "
|
1162
|
+
#line 120 "ragel/i18n/ro.c.rl"
|
1163
1163
|
{
|
1164
1164
|
STORE_KW_END_CON(background);
|
1165
1165
|
}
|
1166
1166
|
break;
|
1167
1167
|
case 8:
|
1168
|
-
#line 124 "
|
1168
|
+
#line 124 "ragel/i18n/ro.c.rl"
|
1169
1169
|
{
|
1170
1170
|
STORE_KW_END_CON(scenario);
|
1171
1171
|
}
|
1172
1172
|
break;
|
1173
1173
|
case 9:
|
1174
|
-
#line 128 "
|
1174
|
+
#line 128 "ragel/i18n/ro.c.rl"
|
1175
1175
|
{
|
1176
1176
|
STORE_KW_END_CON(scenario_outline);
|
1177
1177
|
}
|
1178
1178
|
break;
|
1179
1179
|
case 10:
|
1180
|
-
#line 132 "
|
1180
|
+
#line 132 "ragel/i18n/ro.c.rl"
|
1181
1181
|
{
|
1182
1182
|
STORE_KW_END_CON(examples);
|
1183
1183
|
}
|
1184
1184
|
break;
|
1185
1185
|
case 11:
|
1186
|
-
#line 136 "
|
1186
|
+
#line 136 "ragel/i18n/ro.c.rl"
|
1187
1187
|
{
|
1188
1188
|
store_kw_con(listener, "step",
|
1189
1189
|
PTR_TO(keyword_start), LEN(keyword_start, PTR_TO(keyword_end)),
|
@@ -1192,34 +1192,34 @@ _match:
|
|
1192
1192
|
}
|
1193
1193
|
break;
|
1194
1194
|
case 12:
|
1195
|
-
#line 143 "
|
1195
|
+
#line 143 "ragel/i18n/ro.c.rl"
|
1196
1196
|
{
|
1197
1197
|
STORE_ATTR(comment);
|
1198
1198
|
lexer->mark = 0;
|
1199
1199
|
}
|
1200
1200
|
break;
|
1201
1201
|
case 13:
|
1202
|
-
#line 148 "
|
1202
|
+
#line 148 "ragel/i18n/ro.c.rl"
|
1203
1203
|
{
|
1204
1204
|
STORE_ATTR(tag);
|
1205
1205
|
lexer->mark = 0;
|
1206
1206
|
}
|
1207
1207
|
break;
|
1208
1208
|
case 14:
|
1209
|
-
#line 153 "
|
1209
|
+
#line 153 "ragel/i18n/ro.c.rl"
|
1210
1210
|
{
|
1211
1211
|
lexer->line_number += 1;
|
1212
1212
|
MARK(final_newline, p);
|
1213
1213
|
}
|
1214
1214
|
break;
|
1215
1215
|
case 15:
|
1216
|
-
#line 158 "
|
1216
|
+
#line 158 "ragel/i18n/ro.c.rl"
|
1217
1217
|
{
|
1218
1218
|
MARK(last_newline, p + 1);
|
1219
1219
|
}
|
1220
1220
|
break;
|
1221
1221
|
case 16:
|
1222
|
-
#line 162 "
|
1222
|
+
#line 162 "ragel/i18n/ro.c.rl"
|
1223
1223
|
{
|
1224
1224
|
if (lexer->mark == 0) {
|
1225
1225
|
MARK(mark, p);
|
@@ -1227,7 +1227,7 @@ _match:
|
|
1227
1227
|
}
|
1228
1228
|
break;
|
1229
1229
|
case 17:
|
1230
|
-
#line 168 "
|
1230
|
+
#line 168 "ragel/i18n/ro.c.rl"
|
1231
1231
|
{
|
1232
1232
|
MARK(keyword_end, p);
|
1233
1233
|
MARK(keyword_start, PTR_TO(mark));
|
@@ -1236,13 +1236,13 @@ _match:
|
|
1236
1236
|
}
|
1237
1237
|
break;
|
1238
1238
|
case 18:
|
1239
|
-
#line 175 "
|
1239
|
+
#line 175 "ragel/i18n/ro.c.rl"
|
1240
1240
|
{
|
1241
1241
|
MARK(content_end, p);
|
1242
1242
|
}
|
1243
1243
|
break;
|
1244
1244
|
case 19:
|
1245
|
-
#line 179 "
|
1245
|
+
#line 179 "ragel/i18n/ro.c.rl"
|
1246
1246
|
{
|
1247
1247
|
p = p - 1;
|
1248
1248
|
lexer->current_line = lexer->line_number;
|
@@ -1250,13 +1250,13 @@ _match:
|
|
1250
1250
|
}
|
1251
1251
|
break;
|
1252
1252
|
case 20:
|
1253
|
-
#line 185 "
|
1253
|
+
#line 185 "ragel/i18n/ro.c.rl"
|
1254
1254
|
{
|
1255
1255
|
MARK(content_start, p);
|
1256
1256
|
}
|
1257
1257
|
break;
|
1258
1258
|
case 21:
|
1259
|
-
#line 189 "
|
1259
|
+
#line 189 "ragel/i18n/ro.c.rl"
|
1260
1260
|
{
|
1261
1261
|
VALUE re_pipe, re_newline, re_backslash;
|
1262
1262
|
VALUE con = ENCODED_STR_NEW(PTR_TO(content_start), LEN(content_start, p));
|
@@ -1272,13 +1272,13 @@ _match:
|
|
1272
1272
|
}
|
1273
1273
|
break;
|
1274
1274
|
case 22:
|
1275
|
-
#line 203 "
|
1275
|
+
#line 203 "ragel/i18n/ro.c.rl"
|
1276
1276
|
{
|
1277
1277
|
rb_funcall(listener, rb_intern("row"), 2, current_row, INT2FIX(lexer->current_line));
|
1278
1278
|
}
|
1279
1279
|
break;
|
1280
1280
|
case 23:
|
1281
|
-
#line 207 "
|
1281
|
+
#line 207 "ragel/i18n/ro.c.rl"
|
1282
1282
|
{
|
1283
1283
|
int line;
|
1284
1284
|
if (cs < lexer_first_final) {
|
@@ -1341,7 +1341,7 @@ _again:
|
|
1341
1341
|
while ( __nacts-- > 0 ) {
|
1342
1342
|
switch ( *__acts++ ) {
|
1343
1343
|
case 23:
|
1344
|
-
#line 207 "
|
1344
|
+
#line 207 "ragel/i18n/ro.c.rl"
|
1345
1345
|
{
|
1346
1346
|
int line;
|
1347
1347
|
if (cs < lexer_first_final) {
|
@@ -1395,7 +1395,7 @@ _again:
|
|
1395
1395
|
_out: {}
|
1396
1396
|
}
|
1397
1397
|
|
1398
|
-
#line 426 "
|
1398
|
+
#line 426 "ragel/i18n/ro.c.rl"
|
1399
1399
|
|
1400
1400
|
assert(p <= pe && "data overflow after parsing execute");
|
1401
1401
|
assert(lexer->content_start <= len && "content starts after data end");
|
@@ -1,5 +1,5 @@
|
|
1
1
|
|
2
|
-
#line 1 "
|
2
|
+
#line 1 "ragel/i18n/ru.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 "
|
83
|
+
#line 254 "ragel/i18n/ru.c.rl"
|
84
84
|
|
85
85
|
|
86
86
|
/** Data **/
|
@@ -1503,7 +1503,7 @@ static const int lexer_error = 0;
|
|
1503
1503
|
static const int lexer_en_main = 1;
|
1504
1504
|
|
1505
1505
|
|
1506
|
-
#line 258 "
|
1506
|
+
#line 258 "ragel/i18n/ru.c.rl"
|
1507
1507
|
|
1508
1508
|
static VALUE
|
1509
1509
|
unindent(VALUE con, int start_col)
|
@@ -1676,7 +1676,7 @@ static VALUE CLexer_scan(VALUE self, VALUE input)
|
|
1676
1676
|
cs = lexer_start;
|
1677
1677
|
}
|
1678
1678
|
|
1679
|
-
#line 425 "
|
1679
|
+
#line 425 "ragel/i18n/ru.c.rl"
|
1680
1680
|
|
1681
1681
|
#line 1682 "ext/gherkin_lexer_ru/gherkin_lexer_ru.c"
|
1682
1682
|
{
|
@@ -1752,7 +1752,7 @@ _match:
|
|
1752
1752
|
switch ( *_acts++ )
|
1753
1753
|
{
|
1754
1754
|
case 0:
|
1755
|
-
#line 83 "
|
1755
|
+
#line 83 "ragel/i18n/ru.c.rl"
|
1756
1756
|
{
|
1757
1757
|
MARK(content_start, p);
|
1758
1758
|
lexer->current_line = lexer->line_number;
|
@@ -1760,20 +1760,20 @@ _match:
|
|
1760
1760
|
}
|
1761
1761
|
break;
|
1762
1762
|
case 1:
|
1763
|
-
#line 89 "
|
1763
|
+
#line 89 "ragel/i18n/ru.c.rl"
|
1764
1764
|
{
|
1765
1765
|
MARK(content_start, p);
|
1766
1766
|
}
|
1767
1767
|
break;
|
1768
1768
|
case 2:
|
1769
|
-
#line 93 "
|
1769
|
+
#line 93 "ragel/i18n/ru.c.rl"
|
1770
1770
|
{
|
1771
1771
|
lexer->current_line = lexer->line_number;
|
1772
1772
|
lexer->start_col = p - data - lexer->last_newline;
|
1773
1773
|
}
|
1774
1774
|
break;
|
1775
1775
|
case 3:
|
1776
|
-
#line 98 "
|
1776
|
+
#line 98 "ragel/i18n/ru.c.rl"
|
1777
1777
|
{
|
1778
1778
|
int len = LEN(content_start, PTR_TO(final_newline));
|
1779
1779
|
int type_len = LEN(docstring_content_type_start, PTR_TO(docstring_content_type_end));
|
@@ -1785,49 +1785,49 @@ _match:
|
|
1785
1785
|
}
|
1786
1786
|
break;
|
1787
1787
|
case 4:
|
1788
|
-
#line 108 "
|
1788
|
+
#line 108 "ragel/i18n/ru.c.rl"
|
1789
1789
|
{
|
1790
1790
|
MARK(docstring_content_type_start, p);
|
1791
1791
|
}
|
1792
1792
|
break;
|
1793
1793
|
case 5:
|
1794
|
-
#line 112 "
|
1794
|
+
#line 112 "ragel/i18n/ru.c.rl"
|
1795
1795
|
{
|
1796
1796
|
MARK(docstring_content_type_end, p);
|
1797
1797
|
}
|
1798
1798
|
break;
|
1799
1799
|
case 6:
|
1800
|
-
#line 116 "
|
1800
|
+
#line 116 "ragel/i18n/ru.c.rl"
|
1801
1801
|
{
|
1802
1802
|
STORE_KW_END_CON(feature);
|
1803
1803
|
}
|
1804
1804
|
break;
|
1805
1805
|
case 7:
|
1806
|
-
#line 120 "
|
1806
|
+
#line 120 "ragel/i18n/ru.c.rl"
|
1807
1807
|
{
|
1808
1808
|
STORE_KW_END_CON(background);
|
1809
1809
|
}
|
1810
1810
|
break;
|
1811
1811
|
case 8:
|
1812
|
-
#line 124 "
|
1812
|
+
#line 124 "ragel/i18n/ru.c.rl"
|
1813
1813
|
{
|
1814
1814
|
STORE_KW_END_CON(scenario);
|
1815
1815
|
}
|
1816
1816
|
break;
|
1817
1817
|
case 9:
|
1818
|
-
#line 128 "
|
1818
|
+
#line 128 "ragel/i18n/ru.c.rl"
|
1819
1819
|
{
|
1820
1820
|
STORE_KW_END_CON(scenario_outline);
|
1821
1821
|
}
|
1822
1822
|
break;
|
1823
1823
|
case 10:
|
1824
|
-
#line 132 "
|
1824
|
+
#line 132 "ragel/i18n/ru.c.rl"
|
1825
1825
|
{
|
1826
1826
|
STORE_KW_END_CON(examples);
|
1827
1827
|
}
|
1828
1828
|
break;
|
1829
1829
|
case 11:
|
1830
|
-
#line 136 "
|
1830
|
+
#line 136 "ragel/i18n/ru.c.rl"
|
1831
1831
|
{
|
1832
1832
|
store_kw_con(listener, "step",
|
1833
1833
|
PTR_TO(keyword_start), LEN(keyword_start, PTR_TO(keyword_end)),
|
@@ -1836,34 +1836,34 @@ _match:
|
|
1836
1836
|
}
|
1837
1837
|
break;
|
1838
1838
|
case 12:
|
1839
|
-
#line 143 "
|
1839
|
+
#line 143 "ragel/i18n/ru.c.rl"
|
1840
1840
|
{
|
1841
1841
|
STORE_ATTR(comment);
|
1842
1842
|
lexer->mark = 0;
|
1843
1843
|
}
|
1844
1844
|
break;
|
1845
1845
|
case 13:
|
1846
|
-
#line 148 "
|
1846
|
+
#line 148 "ragel/i18n/ru.c.rl"
|
1847
1847
|
{
|
1848
1848
|
STORE_ATTR(tag);
|
1849
1849
|
lexer->mark = 0;
|
1850
1850
|
}
|
1851
1851
|
break;
|
1852
1852
|
case 14:
|
1853
|
-
#line 153 "
|
1853
|
+
#line 153 "ragel/i18n/ru.c.rl"
|
1854
1854
|
{
|
1855
1855
|
lexer->line_number += 1;
|
1856
1856
|
MARK(final_newline, p);
|
1857
1857
|
}
|
1858
1858
|
break;
|
1859
1859
|
case 15:
|
1860
|
-
#line 158 "
|
1860
|
+
#line 158 "ragel/i18n/ru.c.rl"
|
1861
1861
|
{
|
1862
1862
|
MARK(last_newline, p + 1);
|
1863
1863
|
}
|
1864
1864
|
break;
|
1865
1865
|
case 16:
|
1866
|
-
#line 162 "
|
1866
|
+
#line 162 "ragel/i18n/ru.c.rl"
|
1867
1867
|
{
|
1868
1868
|
if (lexer->mark == 0) {
|
1869
1869
|
MARK(mark, p);
|
@@ -1871,7 +1871,7 @@ _match:
|
|
1871
1871
|
}
|
1872
1872
|
break;
|
1873
1873
|
case 17:
|
1874
|
-
#line 168 "
|
1874
|
+
#line 168 "ragel/i18n/ru.c.rl"
|
1875
1875
|
{
|
1876
1876
|
MARK(keyword_end, p);
|
1877
1877
|
MARK(keyword_start, PTR_TO(mark));
|
@@ -1880,13 +1880,13 @@ _match:
|
|
1880
1880
|
}
|
1881
1881
|
break;
|
1882
1882
|
case 18:
|
1883
|
-
#line 175 "
|
1883
|
+
#line 175 "ragel/i18n/ru.c.rl"
|
1884
1884
|
{
|
1885
1885
|
MARK(content_end, p);
|
1886
1886
|
}
|
1887
1887
|
break;
|
1888
1888
|
case 19:
|
1889
|
-
#line 179 "
|
1889
|
+
#line 179 "ragel/i18n/ru.c.rl"
|
1890
1890
|
{
|
1891
1891
|
p = p - 1;
|
1892
1892
|
lexer->current_line = lexer->line_number;
|
@@ -1894,13 +1894,13 @@ _match:
|
|
1894
1894
|
}
|
1895
1895
|
break;
|
1896
1896
|
case 20:
|
1897
|
-
#line 185 "
|
1897
|
+
#line 185 "ragel/i18n/ru.c.rl"
|
1898
1898
|
{
|
1899
1899
|
MARK(content_start, p);
|
1900
1900
|
}
|
1901
1901
|
break;
|
1902
1902
|
case 21:
|
1903
|
-
#line 189 "
|
1903
|
+
#line 189 "ragel/i18n/ru.c.rl"
|
1904
1904
|
{
|
1905
1905
|
VALUE re_pipe, re_newline, re_backslash;
|
1906
1906
|
VALUE con = ENCODED_STR_NEW(PTR_TO(content_start), LEN(content_start, p));
|
@@ -1916,13 +1916,13 @@ _match:
|
|
1916
1916
|
}
|
1917
1917
|
break;
|
1918
1918
|
case 22:
|
1919
|
-
#line 203 "
|
1919
|
+
#line 203 "ragel/i18n/ru.c.rl"
|
1920
1920
|
{
|
1921
1921
|
rb_funcall(listener, rb_intern("row"), 2, current_row, INT2FIX(lexer->current_line));
|
1922
1922
|
}
|
1923
1923
|
break;
|
1924
1924
|
case 23:
|
1925
|
-
#line 207 "
|
1925
|
+
#line 207 "ragel/i18n/ru.c.rl"
|
1926
1926
|
{
|
1927
1927
|
int line;
|
1928
1928
|
if (cs < lexer_first_final) {
|
@@ -1985,7 +1985,7 @@ _again:
|
|
1985
1985
|
while ( __nacts-- > 0 ) {
|
1986
1986
|
switch ( *__acts++ ) {
|
1987
1987
|
case 23:
|
1988
|
-
#line 207 "
|
1988
|
+
#line 207 "ragel/i18n/ru.c.rl"
|
1989
1989
|
{
|
1990
1990
|
int line;
|
1991
1991
|
if (cs < lexer_first_final) {
|
@@ -2039,7 +2039,7 @@ _again:
|
|
2039
2039
|
_out: {}
|
2040
2040
|
}
|
2041
2041
|
|
2042
|
-
#line 426 "
|
2042
|
+
#line 426 "ragel/i18n/ru.c.rl"
|
2043
2043
|
|
2044
2044
|
assert(p <= pe && "data overflow after parsing execute");
|
2045
2045
|
assert(lexer->content_start <= len && "content starts after data end");
|