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/hr.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/hr.c.rl"
|
84
84
|
|
85
85
|
|
86
86
|
/** Data **/
|
@@ -755,7 +755,7 @@ static const int lexer_error = 0;
|
|
755
755
|
static const int lexer_en_main = 1;
|
756
756
|
|
757
757
|
|
758
|
-
#line 258 "
|
758
|
+
#line 258 "ragel/i18n/hr.c.rl"
|
759
759
|
|
760
760
|
static VALUE
|
761
761
|
unindent(VALUE con, int start_col)
|
@@ -928,7 +928,7 @@ static VALUE CLexer_scan(VALUE self, VALUE input)
|
|
928
928
|
cs = lexer_start;
|
929
929
|
}
|
930
930
|
|
931
|
-
#line 425 "
|
931
|
+
#line 425 "ragel/i18n/hr.c.rl"
|
932
932
|
|
933
933
|
#line 934 "ext/gherkin_lexer_hr/gherkin_lexer_hr.c"
|
934
934
|
{
|
@@ -1004,7 +1004,7 @@ _match:
|
|
1004
1004
|
switch ( *_acts++ )
|
1005
1005
|
{
|
1006
1006
|
case 0:
|
1007
|
-
#line 83 "
|
1007
|
+
#line 83 "ragel/i18n/hr.c.rl"
|
1008
1008
|
{
|
1009
1009
|
MARK(content_start, p);
|
1010
1010
|
lexer->current_line = lexer->line_number;
|
@@ -1012,20 +1012,20 @@ _match:
|
|
1012
1012
|
}
|
1013
1013
|
break;
|
1014
1014
|
case 1:
|
1015
|
-
#line 89 "
|
1015
|
+
#line 89 "ragel/i18n/hr.c.rl"
|
1016
1016
|
{
|
1017
1017
|
MARK(content_start, p);
|
1018
1018
|
}
|
1019
1019
|
break;
|
1020
1020
|
case 2:
|
1021
|
-
#line 93 "
|
1021
|
+
#line 93 "ragel/i18n/hr.c.rl"
|
1022
1022
|
{
|
1023
1023
|
lexer->current_line = lexer->line_number;
|
1024
1024
|
lexer->start_col = p - data - lexer->last_newline;
|
1025
1025
|
}
|
1026
1026
|
break;
|
1027
1027
|
case 3:
|
1028
|
-
#line 98 "
|
1028
|
+
#line 98 "ragel/i18n/hr.c.rl"
|
1029
1029
|
{
|
1030
1030
|
int len = LEN(content_start, PTR_TO(final_newline));
|
1031
1031
|
int type_len = LEN(docstring_content_type_start, PTR_TO(docstring_content_type_end));
|
@@ -1037,49 +1037,49 @@ _match:
|
|
1037
1037
|
}
|
1038
1038
|
break;
|
1039
1039
|
case 4:
|
1040
|
-
#line 108 "
|
1040
|
+
#line 108 "ragel/i18n/hr.c.rl"
|
1041
1041
|
{
|
1042
1042
|
MARK(docstring_content_type_start, p);
|
1043
1043
|
}
|
1044
1044
|
break;
|
1045
1045
|
case 5:
|
1046
|
-
#line 112 "
|
1046
|
+
#line 112 "ragel/i18n/hr.c.rl"
|
1047
1047
|
{
|
1048
1048
|
MARK(docstring_content_type_end, p);
|
1049
1049
|
}
|
1050
1050
|
break;
|
1051
1051
|
case 6:
|
1052
|
-
#line 116 "
|
1052
|
+
#line 116 "ragel/i18n/hr.c.rl"
|
1053
1053
|
{
|
1054
1054
|
STORE_KW_END_CON(feature);
|
1055
1055
|
}
|
1056
1056
|
break;
|
1057
1057
|
case 7:
|
1058
|
-
#line 120 "
|
1058
|
+
#line 120 "ragel/i18n/hr.c.rl"
|
1059
1059
|
{
|
1060
1060
|
STORE_KW_END_CON(background);
|
1061
1061
|
}
|
1062
1062
|
break;
|
1063
1063
|
case 8:
|
1064
|
-
#line 124 "
|
1064
|
+
#line 124 "ragel/i18n/hr.c.rl"
|
1065
1065
|
{
|
1066
1066
|
STORE_KW_END_CON(scenario);
|
1067
1067
|
}
|
1068
1068
|
break;
|
1069
1069
|
case 9:
|
1070
|
-
#line 128 "
|
1070
|
+
#line 128 "ragel/i18n/hr.c.rl"
|
1071
1071
|
{
|
1072
1072
|
STORE_KW_END_CON(scenario_outline);
|
1073
1073
|
}
|
1074
1074
|
break;
|
1075
1075
|
case 10:
|
1076
|
-
#line 132 "
|
1076
|
+
#line 132 "ragel/i18n/hr.c.rl"
|
1077
1077
|
{
|
1078
1078
|
STORE_KW_END_CON(examples);
|
1079
1079
|
}
|
1080
1080
|
break;
|
1081
1081
|
case 11:
|
1082
|
-
#line 136 "
|
1082
|
+
#line 136 "ragel/i18n/hr.c.rl"
|
1083
1083
|
{
|
1084
1084
|
store_kw_con(listener, "step",
|
1085
1085
|
PTR_TO(keyword_start), LEN(keyword_start, PTR_TO(keyword_end)),
|
@@ -1088,34 +1088,34 @@ _match:
|
|
1088
1088
|
}
|
1089
1089
|
break;
|
1090
1090
|
case 12:
|
1091
|
-
#line 143 "
|
1091
|
+
#line 143 "ragel/i18n/hr.c.rl"
|
1092
1092
|
{
|
1093
1093
|
STORE_ATTR(comment);
|
1094
1094
|
lexer->mark = 0;
|
1095
1095
|
}
|
1096
1096
|
break;
|
1097
1097
|
case 13:
|
1098
|
-
#line 148 "
|
1098
|
+
#line 148 "ragel/i18n/hr.c.rl"
|
1099
1099
|
{
|
1100
1100
|
STORE_ATTR(tag);
|
1101
1101
|
lexer->mark = 0;
|
1102
1102
|
}
|
1103
1103
|
break;
|
1104
1104
|
case 14:
|
1105
|
-
#line 153 "
|
1105
|
+
#line 153 "ragel/i18n/hr.c.rl"
|
1106
1106
|
{
|
1107
1107
|
lexer->line_number += 1;
|
1108
1108
|
MARK(final_newline, p);
|
1109
1109
|
}
|
1110
1110
|
break;
|
1111
1111
|
case 15:
|
1112
|
-
#line 158 "
|
1112
|
+
#line 158 "ragel/i18n/hr.c.rl"
|
1113
1113
|
{
|
1114
1114
|
MARK(last_newline, p + 1);
|
1115
1115
|
}
|
1116
1116
|
break;
|
1117
1117
|
case 16:
|
1118
|
-
#line 162 "
|
1118
|
+
#line 162 "ragel/i18n/hr.c.rl"
|
1119
1119
|
{
|
1120
1120
|
if (lexer->mark == 0) {
|
1121
1121
|
MARK(mark, p);
|
@@ -1123,7 +1123,7 @@ _match:
|
|
1123
1123
|
}
|
1124
1124
|
break;
|
1125
1125
|
case 17:
|
1126
|
-
#line 168 "
|
1126
|
+
#line 168 "ragel/i18n/hr.c.rl"
|
1127
1127
|
{
|
1128
1128
|
MARK(keyword_end, p);
|
1129
1129
|
MARK(keyword_start, PTR_TO(mark));
|
@@ -1132,13 +1132,13 @@ _match:
|
|
1132
1132
|
}
|
1133
1133
|
break;
|
1134
1134
|
case 18:
|
1135
|
-
#line 175 "
|
1135
|
+
#line 175 "ragel/i18n/hr.c.rl"
|
1136
1136
|
{
|
1137
1137
|
MARK(content_end, p);
|
1138
1138
|
}
|
1139
1139
|
break;
|
1140
1140
|
case 19:
|
1141
|
-
#line 179 "
|
1141
|
+
#line 179 "ragel/i18n/hr.c.rl"
|
1142
1142
|
{
|
1143
1143
|
p = p - 1;
|
1144
1144
|
lexer->current_line = lexer->line_number;
|
@@ -1146,13 +1146,13 @@ _match:
|
|
1146
1146
|
}
|
1147
1147
|
break;
|
1148
1148
|
case 20:
|
1149
|
-
#line 185 "
|
1149
|
+
#line 185 "ragel/i18n/hr.c.rl"
|
1150
1150
|
{
|
1151
1151
|
MARK(content_start, p);
|
1152
1152
|
}
|
1153
1153
|
break;
|
1154
1154
|
case 21:
|
1155
|
-
#line 189 "
|
1155
|
+
#line 189 "ragel/i18n/hr.c.rl"
|
1156
1156
|
{
|
1157
1157
|
VALUE re_pipe, re_newline, re_backslash;
|
1158
1158
|
VALUE con = ENCODED_STR_NEW(PTR_TO(content_start), LEN(content_start, p));
|
@@ -1168,13 +1168,13 @@ _match:
|
|
1168
1168
|
}
|
1169
1169
|
break;
|
1170
1170
|
case 22:
|
1171
|
-
#line 203 "
|
1171
|
+
#line 203 "ragel/i18n/hr.c.rl"
|
1172
1172
|
{
|
1173
1173
|
rb_funcall(listener, rb_intern("row"), 2, current_row, INT2FIX(lexer->current_line));
|
1174
1174
|
}
|
1175
1175
|
break;
|
1176
1176
|
case 23:
|
1177
|
-
#line 207 "
|
1177
|
+
#line 207 "ragel/i18n/hr.c.rl"
|
1178
1178
|
{
|
1179
1179
|
int line;
|
1180
1180
|
if (cs < lexer_first_final) {
|
@@ -1237,7 +1237,7 @@ _again:
|
|
1237
1237
|
while ( __nacts-- > 0 ) {
|
1238
1238
|
switch ( *__acts++ ) {
|
1239
1239
|
case 23:
|
1240
|
-
#line 207 "
|
1240
|
+
#line 207 "ragel/i18n/hr.c.rl"
|
1241
1241
|
{
|
1242
1242
|
int line;
|
1243
1243
|
if (cs < lexer_first_final) {
|
@@ -1291,7 +1291,7 @@ _again:
|
|
1291
1291
|
_out: {}
|
1292
1292
|
}
|
1293
1293
|
|
1294
|
-
#line 426 "
|
1294
|
+
#line 426 "ragel/i18n/hr.c.rl"
|
1295
1295
|
|
1296
1296
|
assert(p <= pe && "data overflow after parsing execute");
|
1297
1297
|
assert(lexer->content_start <= len && "content starts after data end");
|
@@ -1,5 +1,5 @@
|
|
1
1
|
|
2
|
-
#line 1 "
|
2
|
+
#line 1 "ragel/i18n/hu.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/hu.c.rl"
|
84
84
|
|
85
85
|
|
86
86
|
/** Data **/
|
@@ -808,7 +808,7 @@ static const int lexer_error = 0;
|
|
808
808
|
static const int lexer_en_main = 1;
|
809
809
|
|
810
810
|
|
811
|
-
#line 258 "
|
811
|
+
#line 258 "ragel/i18n/hu.c.rl"
|
812
812
|
|
813
813
|
static VALUE
|
814
814
|
unindent(VALUE con, int start_col)
|
@@ -981,7 +981,7 @@ static VALUE CLexer_scan(VALUE self, VALUE input)
|
|
981
981
|
cs = lexer_start;
|
982
982
|
}
|
983
983
|
|
984
|
-
#line 425 "
|
984
|
+
#line 425 "ragel/i18n/hu.c.rl"
|
985
985
|
|
986
986
|
#line 987 "ext/gherkin_lexer_hu/gherkin_lexer_hu.c"
|
987
987
|
{
|
@@ -1057,7 +1057,7 @@ _match:
|
|
1057
1057
|
switch ( *_acts++ )
|
1058
1058
|
{
|
1059
1059
|
case 0:
|
1060
|
-
#line 83 "
|
1060
|
+
#line 83 "ragel/i18n/hu.c.rl"
|
1061
1061
|
{
|
1062
1062
|
MARK(content_start, p);
|
1063
1063
|
lexer->current_line = lexer->line_number;
|
@@ -1065,20 +1065,20 @@ _match:
|
|
1065
1065
|
}
|
1066
1066
|
break;
|
1067
1067
|
case 1:
|
1068
|
-
#line 89 "
|
1068
|
+
#line 89 "ragel/i18n/hu.c.rl"
|
1069
1069
|
{
|
1070
1070
|
MARK(content_start, p);
|
1071
1071
|
}
|
1072
1072
|
break;
|
1073
1073
|
case 2:
|
1074
|
-
#line 93 "
|
1074
|
+
#line 93 "ragel/i18n/hu.c.rl"
|
1075
1075
|
{
|
1076
1076
|
lexer->current_line = lexer->line_number;
|
1077
1077
|
lexer->start_col = p - data - lexer->last_newline;
|
1078
1078
|
}
|
1079
1079
|
break;
|
1080
1080
|
case 3:
|
1081
|
-
#line 98 "
|
1081
|
+
#line 98 "ragel/i18n/hu.c.rl"
|
1082
1082
|
{
|
1083
1083
|
int len = LEN(content_start, PTR_TO(final_newline));
|
1084
1084
|
int type_len = LEN(docstring_content_type_start, PTR_TO(docstring_content_type_end));
|
@@ -1090,49 +1090,49 @@ _match:
|
|
1090
1090
|
}
|
1091
1091
|
break;
|
1092
1092
|
case 4:
|
1093
|
-
#line 108 "
|
1093
|
+
#line 108 "ragel/i18n/hu.c.rl"
|
1094
1094
|
{
|
1095
1095
|
MARK(docstring_content_type_start, p);
|
1096
1096
|
}
|
1097
1097
|
break;
|
1098
1098
|
case 5:
|
1099
|
-
#line 112 "
|
1099
|
+
#line 112 "ragel/i18n/hu.c.rl"
|
1100
1100
|
{
|
1101
1101
|
MARK(docstring_content_type_end, p);
|
1102
1102
|
}
|
1103
1103
|
break;
|
1104
1104
|
case 6:
|
1105
|
-
#line 116 "
|
1105
|
+
#line 116 "ragel/i18n/hu.c.rl"
|
1106
1106
|
{
|
1107
1107
|
STORE_KW_END_CON(feature);
|
1108
1108
|
}
|
1109
1109
|
break;
|
1110
1110
|
case 7:
|
1111
|
-
#line 120 "
|
1111
|
+
#line 120 "ragel/i18n/hu.c.rl"
|
1112
1112
|
{
|
1113
1113
|
STORE_KW_END_CON(background);
|
1114
1114
|
}
|
1115
1115
|
break;
|
1116
1116
|
case 8:
|
1117
|
-
#line 124 "
|
1117
|
+
#line 124 "ragel/i18n/hu.c.rl"
|
1118
1118
|
{
|
1119
1119
|
STORE_KW_END_CON(scenario);
|
1120
1120
|
}
|
1121
1121
|
break;
|
1122
1122
|
case 9:
|
1123
|
-
#line 128 "
|
1123
|
+
#line 128 "ragel/i18n/hu.c.rl"
|
1124
1124
|
{
|
1125
1125
|
STORE_KW_END_CON(scenario_outline);
|
1126
1126
|
}
|
1127
1127
|
break;
|
1128
1128
|
case 10:
|
1129
|
-
#line 132 "
|
1129
|
+
#line 132 "ragel/i18n/hu.c.rl"
|
1130
1130
|
{
|
1131
1131
|
STORE_KW_END_CON(examples);
|
1132
1132
|
}
|
1133
1133
|
break;
|
1134
1134
|
case 11:
|
1135
|
-
#line 136 "
|
1135
|
+
#line 136 "ragel/i18n/hu.c.rl"
|
1136
1136
|
{
|
1137
1137
|
store_kw_con(listener, "step",
|
1138
1138
|
PTR_TO(keyword_start), LEN(keyword_start, PTR_TO(keyword_end)),
|
@@ -1141,34 +1141,34 @@ _match:
|
|
1141
1141
|
}
|
1142
1142
|
break;
|
1143
1143
|
case 12:
|
1144
|
-
#line 143 "
|
1144
|
+
#line 143 "ragel/i18n/hu.c.rl"
|
1145
1145
|
{
|
1146
1146
|
STORE_ATTR(comment);
|
1147
1147
|
lexer->mark = 0;
|
1148
1148
|
}
|
1149
1149
|
break;
|
1150
1150
|
case 13:
|
1151
|
-
#line 148 "
|
1151
|
+
#line 148 "ragel/i18n/hu.c.rl"
|
1152
1152
|
{
|
1153
1153
|
STORE_ATTR(tag);
|
1154
1154
|
lexer->mark = 0;
|
1155
1155
|
}
|
1156
1156
|
break;
|
1157
1157
|
case 14:
|
1158
|
-
#line 153 "
|
1158
|
+
#line 153 "ragel/i18n/hu.c.rl"
|
1159
1159
|
{
|
1160
1160
|
lexer->line_number += 1;
|
1161
1161
|
MARK(final_newline, p);
|
1162
1162
|
}
|
1163
1163
|
break;
|
1164
1164
|
case 15:
|
1165
|
-
#line 158 "
|
1165
|
+
#line 158 "ragel/i18n/hu.c.rl"
|
1166
1166
|
{
|
1167
1167
|
MARK(last_newline, p + 1);
|
1168
1168
|
}
|
1169
1169
|
break;
|
1170
1170
|
case 16:
|
1171
|
-
#line 162 "
|
1171
|
+
#line 162 "ragel/i18n/hu.c.rl"
|
1172
1172
|
{
|
1173
1173
|
if (lexer->mark == 0) {
|
1174
1174
|
MARK(mark, p);
|
@@ -1176,7 +1176,7 @@ _match:
|
|
1176
1176
|
}
|
1177
1177
|
break;
|
1178
1178
|
case 17:
|
1179
|
-
#line 168 "
|
1179
|
+
#line 168 "ragel/i18n/hu.c.rl"
|
1180
1180
|
{
|
1181
1181
|
MARK(keyword_end, p);
|
1182
1182
|
MARK(keyword_start, PTR_TO(mark));
|
@@ -1185,13 +1185,13 @@ _match:
|
|
1185
1185
|
}
|
1186
1186
|
break;
|
1187
1187
|
case 18:
|
1188
|
-
#line 175 "
|
1188
|
+
#line 175 "ragel/i18n/hu.c.rl"
|
1189
1189
|
{
|
1190
1190
|
MARK(content_end, p);
|
1191
1191
|
}
|
1192
1192
|
break;
|
1193
1193
|
case 19:
|
1194
|
-
#line 179 "
|
1194
|
+
#line 179 "ragel/i18n/hu.c.rl"
|
1195
1195
|
{
|
1196
1196
|
p = p - 1;
|
1197
1197
|
lexer->current_line = lexer->line_number;
|
@@ -1199,13 +1199,13 @@ _match:
|
|
1199
1199
|
}
|
1200
1200
|
break;
|
1201
1201
|
case 20:
|
1202
|
-
#line 185 "
|
1202
|
+
#line 185 "ragel/i18n/hu.c.rl"
|
1203
1203
|
{
|
1204
1204
|
MARK(content_start, p);
|
1205
1205
|
}
|
1206
1206
|
break;
|
1207
1207
|
case 21:
|
1208
|
-
#line 189 "
|
1208
|
+
#line 189 "ragel/i18n/hu.c.rl"
|
1209
1209
|
{
|
1210
1210
|
VALUE re_pipe, re_newline, re_backslash;
|
1211
1211
|
VALUE con = ENCODED_STR_NEW(PTR_TO(content_start), LEN(content_start, p));
|
@@ -1221,13 +1221,13 @@ _match:
|
|
1221
1221
|
}
|
1222
1222
|
break;
|
1223
1223
|
case 22:
|
1224
|
-
#line 203 "
|
1224
|
+
#line 203 "ragel/i18n/hu.c.rl"
|
1225
1225
|
{
|
1226
1226
|
rb_funcall(listener, rb_intern("row"), 2, current_row, INT2FIX(lexer->current_line));
|
1227
1227
|
}
|
1228
1228
|
break;
|
1229
1229
|
case 23:
|
1230
|
-
#line 207 "
|
1230
|
+
#line 207 "ragel/i18n/hu.c.rl"
|
1231
1231
|
{
|
1232
1232
|
int line;
|
1233
1233
|
if (cs < lexer_first_final) {
|
@@ -1290,7 +1290,7 @@ _again:
|
|
1290
1290
|
while ( __nacts-- > 0 ) {
|
1291
1291
|
switch ( *__acts++ ) {
|
1292
1292
|
case 23:
|
1293
|
-
#line 207 "
|
1293
|
+
#line 207 "ragel/i18n/hu.c.rl"
|
1294
1294
|
{
|
1295
1295
|
int line;
|
1296
1296
|
if (cs < lexer_first_final) {
|
@@ -1344,7 +1344,7 @@ _again:
|
|
1344
1344
|
_out: {}
|
1345
1345
|
}
|
1346
1346
|
|
1347
|
-
#line 426 "
|
1347
|
+
#line 426 "ragel/i18n/hu.c.rl"
|
1348
1348
|
|
1349
1349
|
assert(p <= pe && "data overflow after parsing execute");
|
1350
1350
|
assert(lexer->content_start <= len && "content starts after data end");
|