gherkin 2.9.0 → 2.9.1
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +2 -1
- data/History.md +5 -0
- data/README.md +29 -12
- data/ext/gherkin_lexer_ar/gherkin_lexer_ar.c +30 -30
- data/ext/gherkin_lexer_bg/gherkin_lexer_bg.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_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_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_fi/gherkin_lexer_fi.c +30 -30
- data/ext/gherkin_lexer_fr/gherkin_lexer_fr.c +30 -30
- data/ext/gherkin_lexer_he/gherkin_lexer_he.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 +30 -30
- data/ext/gherkin_lexer_sv/gherkin_lexer_sv.c +30 -30
- data/ext/gherkin_lexer_tr/gherkin_lexer_tr.c +30 -30
- data/ext/gherkin_lexer_uk/gherkin_lexer_uk.c +30 -30
- data/ext/gherkin_lexer_uz/gherkin_lexer_uz.c +30 -30
- 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 +5 -5
- data/lib/gherkin/rb_lexer/ar.rb +30 -30
- data/lib/gherkin/rb_lexer/bg.rb +30 -30
- data/lib/gherkin/rb_lexer/ca.rb +30 -30
- data/lib/gherkin/rb_lexer/cs.rb +30 -30
- data/lib/gherkin/rb_lexer/cy_gb.rb +30 -30
- data/lib/gherkin/rb_lexer/da.rb +30 -30
- data/lib/gherkin/rb_lexer/de.rb +30 -30
- data/lib/gherkin/rb_lexer/en.rb +30 -30
- data/lib/gherkin/rb_lexer/en_au.rb +30 -30
- data/lib/gherkin/rb_lexer/en_lol.rb +30 -30
- data/lib/gherkin/rb_lexer/en_pirate.rb +30 -30
- data/lib/gherkin/rb_lexer/en_scouse.rb +30 -30
- data/lib/gherkin/rb_lexer/en_tx.rb +30 -30
- data/lib/gherkin/rb_lexer/eo.rb +30 -30
- data/lib/gherkin/rb_lexer/es.rb +30 -30
- data/lib/gherkin/rb_lexer/et.rb +30 -30
- data/lib/gherkin/rb_lexer/fi.rb +30 -30
- data/lib/gherkin/rb_lexer/fr.rb +30 -30
- data/lib/gherkin/rb_lexer/he.rb +30 -30
- data/lib/gherkin/rb_lexer/hr.rb +30 -30
- data/lib/gherkin/rb_lexer/hu.rb +30 -30
- data/lib/gherkin/rb_lexer/id.rb +30 -30
- data/lib/gherkin/rb_lexer/is.rb +30 -30
- data/lib/gherkin/rb_lexer/it.rb +30 -30
- data/lib/gherkin/rb_lexer/ja.rb +30 -30
- data/lib/gherkin/rb_lexer/ko.rb +30 -30
- data/lib/gherkin/rb_lexer/lt.rb +30 -30
- data/lib/gherkin/rb_lexer/lu.rb +30 -30
- data/lib/gherkin/rb_lexer/lv.rb +30 -30
- data/lib/gherkin/rb_lexer/nl.rb +30 -30
- data/lib/gherkin/rb_lexer/no.rb +30 -30
- data/lib/gherkin/rb_lexer/pl.rb +30 -30
- data/lib/gherkin/rb_lexer/pt.rb +30 -30
- data/lib/gherkin/rb_lexer/ro.rb +30 -30
- data/lib/gherkin/rb_lexer/ru.rb +30 -30
- data/lib/gherkin/rb_lexer/sk.rb +30 -30
- data/lib/gherkin/rb_lexer/sr_cyrl.rb +30 -30
- data/lib/gherkin/rb_lexer/sr_latn.rb +30 -30
- data/lib/gherkin/rb_lexer/sv.rb +30 -30
- data/lib/gherkin/rb_lexer/tr.rb +30 -30
- data/lib/gherkin/rb_lexer/uk.rb +30 -30
- data/lib/gherkin/rb_lexer/uz.rb +30 -30
- data/lib/gherkin/rb_lexer/vi.rb +30 -30
- data/lib/gherkin/rb_lexer/zh_cn.rb +30 -30
- data/lib/gherkin/rb_lexer/zh_tw.rb +30 -30
- data/tasks/ikvm.rake +3 -2
- metadata +91 -31
@@ -1,5 +1,5 @@
|
|
1
1
|
|
2
|
-
#line 1 "/Users/ahellesoy/
|
2
|
+
#line 1 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/no.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/
|
83
|
+
#line 254 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/no.c.rl"
|
84
84
|
|
85
85
|
|
86
86
|
/** Data **/
|
@@ -743,7 +743,7 @@ static const int lexer_error = 0;
|
|
743
743
|
static const int lexer_en_main = 1;
|
744
744
|
|
745
745
|
|
746
|
-
#line 258 "/Users/ahellesoy/
|
746
|
+
#line 258 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/no.c.rl"
|
747
747
|
|
748
748
|
static VALUE
|
749
749
|
unindent(VALUE con, int start_col)
|
@@ -916,7 +916,7 @@ static VALUE CLexer_scan(VALUE self, VALUE input)
|
|
916
916
|
cs = lexer_start;
|
917
917
|
}
|
918
918
|
|
919
|
-
#line 425 "/Users/ahellesoy/
|
919
|
+
#line 425 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/no.c.rl"
|
920
920
|
|
921
921
|
#line 922 "ext/gherkin_lexer_no/gherkin_lexer_no.c"
|
922
922
|
{
|
@@ -992,7 +992,7 @@ _match:
|
|
992
992
|
switch ( *_acts++ )
|
993
993
|
{
|
994
994
|
case 0:
|
995
|
-
#line 83 "/Users/ahellesoy/
|
995
|
+
#line 83 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/no.c.rl"
|
996
996
|
{
|
997
997
|
MARK(content_start, p);
|
998
998
|
lexer->current_line = lexer->line_number;
|
@@ -1000,20 +1000,20 @@ _match:
|
|
1000
1000
|
}
|
1001
1001
|
break;
|
1002
1002
|
case 1:
|
1003
|
-
#line 89 "/Users/ahellesoy/
|
1003
|
+
#line 89 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/no.c.rl"
|
1004
1004
|
{
|
1005
1005
|
MARK(content_start, p);
|
1006
1006
|
}
|
1007
1007
|
break;
|
1008
1008
|
case 2:
|
1009
|
-
#line 93 "/Users/ahellesoy/
|
1009
|
+
#line 93 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/no.c.rl"
|
1010
1010
|
{
|
1011
1011
|
lexer->current_line = lexer->line_number;
|
1012
1012
|
lexer->start_col = p - data - lexer->last_newline;
|
1013
1013
|
}
|
1014
1014
|
break;
|
1015
1015
|
case 3:
|
1016
|
-
#line 98 "/Users/ahellesoy/
|
1016
|
+
#line 98 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/no.c.rl"
|
1017
1017
|
{
|
1018
1018
|
int len = LEN(content_start, PTR_TO(final_newline));
|
1019
1019
|
int type_len = LEN(docstring_content_type_start, PTR_TO(docstring_content_type_end));
|
@@ -1025,49 +1025,49 @@ _match:
|
|
1025
1025
|
}
|
1026
1026
|
break;
|
1027
1027
|
case 4:
|
1028
|
-
#line 108 "/Users/ahellesoy/
|
1028
|
+
#line 108 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/no.c.rl"
|
1029
1029
|
{
|
1030
1030
|
MARK(docstring_content_type_start, p);
|
1031
1031
|
}
|
1032
1032
|
break;
|
1033
1033
|
case 5:
|
1034
|
-
#line 112 "/Users/ahellesoy/
|
1034
|
+
#line 112 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/no.c.rl"
|
1035
1035
|
{
|
1036
1036
|
MARK(docstring_content_type_end, p);
|
1037
1037
|
}
|
1038
1038
|
break;
|
1039
1039
|
case 6:
|
1040
|
-
#line 116 "/Users/ahellesoy/
|
1040
|
+
#line 116 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/no.c.rl"
|
1041
1041
|
{
|
1042
1042
|
STORE_KW_END_CON(feature);
|
1043
1043
|
}
|
1044
1044
|
break;
|
1045
1045
|
case 7:
|
1046
|
-
#line 120 "/Users/ahellesoy/
|
1046
|
+
#line 120 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/no.c.rl"
|
1047
1047
|
{
|
1048
1048
|
STORE_KW_END_CON(background);
|
1049
1049
|
}
|
1050
1050
|
break;
|
1051
1051
|
case 8:
|
1052
|
-
#line 124 "/Users/ahellesoy/
|
1052
|
+
#line 124 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/no.c.rl"
|
1053
1053
|
{
|
1054
1054
|
STORE_KW_END_CON(scenario);
|
1055
1055
|
}
|
1056
1056
|
break;
|
1057
1057
|
case 9:
|
1058
|
-
#line 128 "/Users/ahellesoy/
|
1058
|
+
#line 128 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/no.c.rl"
|
1059
1059
|
{
|
1060
1060
|
STORE_KW_END_CON(scenario_outline);
|
1061
1061
|
}
|
1062
1062
|
break;
|
1063
1063
|
case 10:
|
1064
|
-
#line 132 "/Users/ahellesoy/
|
1064
|
+
#line 132 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/no.c.rl"
|
1065
1065
|
{
|
1066
1066
|
STORE_KW_END_CON(examples);
|
1067
1067
|
}
|
1068
1068
|
break;
|
1069
1069
|
case 11:
|
1070
|
-
#line 136 "/Users/ahellesoy/
|
1070
|
+
#line 136 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/no.c.rl"
|
1071
1071
|
{
|
1072
1072
|
store_kw_con(listener, "step",
|
1073
1073
|
PTR_TO(keyword_start), LEN(keyword_start, PTR_TO(keyword_end)),
|
@@ -1076,34 +1076,34 @@ _match:
|
|
1076
1076
|
}
|
1077
1077
|
break;
|
1078
1078
|
case 12:
|
1079
|
-
#line 143 "/Users/ahellesoy/
|
1079
|
+
#line 143 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/no.c.rl"
|
1080
1080
|
{
|
1081
1081
|
STORE_ATTR(comment);
|
1082
1082
|
lexer->mark = 0;
|
1083
1083
|
}
|
1084
1084
|
break;
|
1085
1085
|
case 13:
|
1086
|
-
#line 148 "/Users/ahellesoy/
|
1086
|
+
#line 148 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/no.c.rl"
|
1087
1087
|
{
|
1088
1088
|
STORE_ATTR(tag);
|
1089
1089
|
lexer->mark = 0;
|
1090
1090
|
}
|
1091
1091
|
break;
|
1092
1092
|
case 14:
|
1093
|
-
#line 153 "/Users/ahellesoy/
|
1093
|
+
#line 153 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/no.c.rl"
|
1094
1094
|
{
|
1095
1095
|
lexer->line_number += 1;
|
1096
1096
|
MARK(final_newline, p);
|
1097
1097
|
}
|
1098
1098
|
break;
|
1099
1099
|
case 15:
|
1100
|
-
#line 158 "/Users/ahellesoy/
|
1100
|
+
#line 158 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/no.c.rl"
|
1101
1101
|
{
|
1102
1102
|
MARK(last_newline, p + 1);
|
1103
1103
|
}
|
1104
1104
|
break;
|
1105
1105
|
case 16:
|
1106
|
-
#line 162 "/Users/ahellesoy/
|
1106
|
+
#line 162 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/no.c.rl"
|
1107
1107
|
{
|
1108
1108
|
if (lexer->mark == 0) {
|
1109
1109
|
MARK(mark, p);
|
@@ -1111,7 +1111,7 @@ _match:
|
|
1111
1111
|
}
|
1112
1112
|
break;
|
1113
1113
|
case 17:
|
1114
|
-
#line 168 "/Users/ahellesoy/
|
1114
|
+
#line 168 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/no.c.rl"
|
1115
1115
|
{
|
1116
1116
|
MARK(keyword_end, p);
|
1117
1117
|
MARK(keyword_start, PTR_TO(mark));
|
@@ -1120,13 +1120,13 @@ _match:
|
|
1120
1120
|
}
|
1121
1121
|
break;
|
1122
1122
|
case 18:
|
1123
|
-
#line 175 "/Users/ahellesoy/
|
1123
|
+
#line 175 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/no.c.rl"
|
1124
1124
|
{
|
1125
1125
|
MARK(content_end, p);
|
1126
1126
|
}
|
1127
1127
|
break;
|
1128
1128
|
case 19:
|
1129
|
-
#line 179 "/Users/ahellesoy/
|
1129
|
+
#line 179 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/no.c.rl"
|
1130
1130
|
{
|
1131
1131
|
p = p - 1;
|
1132
1132
|
lexer->current_line = lexer->line_number;
|
@@ -1134,13 +1134,13 @@ _match:
|
|
1134
1134
|
}
|
1135
1135
|
break;
|
1136
1136
|
case 20:
|
1137
|
-
#line 185 "/Users/ahellesoy/
|
1137
|
+
#line 185 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/no.c.rl"
|
1138
1138
|
{
|
1139
1139
|
MARK(content_start, p);
|
1140
1140
|
}
|
1141
1141
|
break;
|
1142
1142
|
case 21:
|
1143
|
-
#line 189 "/Users/ahellesoy/
|
1143
|
+
#line 189 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/no.c.rl"
|
1144
1144
|
{
|
1145
1145
|
VALUE re_pipe, re_newline, re_backslash;
|
1146
1146
|
VALUE con = ENCODED_STR_NEW(PTR_TO(content_start), LEN(content_start, p));
|
@@ -1156,13 +1156,13 @@ _match:
|
|
1156
1156
|
}
|
1157
1157
|
break;
|
1158
1158
|
case 22:
|
1159
|
-
#line 203 "/Users/ahellesoy/
|
1159
|
+
#line 203 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/no.c.rl"
|
1160
1160
|
{
|
1161
1161
|
rb_funcall(listener, rb_intern("row"), 2, current_row, INT2FIX(lexer->current_line));
|
1162
1162
|
}
|
1163
1163
|
break;
|
1164
1164
|
case 23:
|
1165
|
-
#line 207 "/Users/ahellesoy/
|
1165
|
+
#line 207 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/no.c.rl"
|
1166
1166
|
{
|
1167
1167
|
int line;
|
1168
1168
|
if (cs < lexer_first_final) {
|
@@ -1225,7 +1225,7 @@ _again:
|
|
1225
1225
|
while ( __nacts-- > 0 ) {
|
1226
1226
|
switch ( *__acts++ ) {
|
1227
1227
|
case 23:
|
1228
|
-
#line 207 "/Users/ahellesoy/
|
1228
|
+
#line 207 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/no.c.rl"
|
1229
1229
|
{
|
1230
1230
|
int line;
|
1231
1231
|
if (cs < lexer_first_final) {
|
@@ -1279,7 +1279,7 @@ _again:
|
|
1279
1279
|
_out: {}
|
1280
1280
|
}
|
1281
1281
|
|
1282
|
-
#line 426 "/Users/ahellesoy/
|
1282
|
+
#line 426 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/no.c.rl"
|
1283
1283
|
|
1284
1284
|
assert(p <= pe && "data overflow after parsing execute");
|
1285
1285
|
assert(lexer->content_start <= len && "content starts after data end");
|
@@ -1,5 +1,5 @@
|
|
1
1
|
|
2
|
-
#line 1 "/Users/ahellesoy/
|
2
|
+
#line 1 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/pl.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/
|
83
|
+
#line 254 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/pl.c.rl"
|
84
84
|
|
85
85
|
|
86
86
|
/** Data **/
|
@@ -909,7 +909,7 @@ static const int lexer_error = 0;
|
|
909
909
|
static const int lexer_en_main = 1;
|
910
910
|
|
911
911
|
|
912
|
-
#line 258 "/Users/ahellesoy/
|
912
|
+
#line 258 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/pl.c.rl"
|
913
913
|
|
914
914
|
static VALUE
|
915
915
|
unindent(VALUE con, int start_col)
|
@@ -1082,7 +1082,7 @@ static VALUE CLexer_scan(VALUE self, VALUE input)
|
|
1082
1082
|
cs = lexer_start;
|
1083
1083
|
}
|
1084
1084
|
|
1085
|
-
#line 425 "/Users/ahellesoy/
|
1085
|
+
#line 425 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/pl.c.rl"
|
1086
1086
|
|
1087
1087
|
#line 1088 "ext/gherkin_lexer_pl/gherkin_lexer_pl.c"
|
1088
1088
|
{
|
@@ -1158,7 +1158,7 @@ _match:
|
|
1158
1158
|
switch ( *_acts++ )
|
1159
1159
|
{
|
1160
1160
|
case 0:
|
1161
|
-
#line 83 "/Users/ahellesoy/
|
1161
|
+
#line 83 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/pl.c.rl"
|
1162
1162
|
{
|
1163
1163
|
MARK(content_start, p);
|
1164
1164
|
lexer->current_line = lexer->line_number;
|
@@ -1166,20 +1166,20 @@ _match:
|
|
1166
1166
|
}
|
1167
1167
|
break;
|
1168
1168
|
case 1:
|
1169
|
-
#line 89 "/Users/ahellesoy/
|
1169
|
+
#line 89 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/pl.c.rl"
|
1170
1170
|
{
|
1171
1171
|
MARK(content_start, p);
|
1172
1172
|
}
|
1173
1173
|
break;
|
1174
1174
|
case 2:
|
1175
|
-
#line 93 "/Users/ahellesoy/
|
1175
|
+
#line 93 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/pl.c.rl"
|
1176
1176
|
{
|
1177
1177
|
lexer->current_line = lexer->line_number;
|
1178
1178
|
lexer->start_col = p - data - lexer->last_newline;
|
1179
1179
|
}
|
1180
1180
|
break;
|
1181
1181
|
case 3:
|
1182
|
-
#line 98 "/Users/ahellesoy/
|
1182
|
+
#line 98 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/pl.c.rl"
|
1183
1183
|
{
|
1184
1184
|
int len = LEN(content_start, PTR_TO(final_newline));
|
1185
1185
|
int type_len = LEN(docstring_content_type_start, PTR_TO(docstring_content_type_end));
|
@@ -1191,49 +1191,49 @@ _match:
|
|
1191
1191
|
}
|
1192
1192
|
break;
|
1193
1193
|
case 4:
|
1194
|
-
#line 108 "/Users/ahellesoy/
|
1194
|
+
#line 108 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/pl.c.rl"
|
1195
1195
|
{
|
1196
1196
|
MARK(docstring_content_type_start, p);
|
1197
1197
|
}
|
1198
1198
|
break;
|
1199
1199
|
case 5:
|
1200
|
-
#line 112 "/Users/ahellesoy/
|
1200
|
+
#line 112 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/pl.c.rl"
|
1201
1201
|
{
|
1202
1202
|
MARK(docstring_content_type_end, p);
|
1203
1203
|
}
|
1204
1204
|
break;
|
1205
1205
|
case 6:
|
1206
|
-
#line 116 "/Users/ahellesoy/
|
1206
|
+
#line 116 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/pl.c.rl"
|
1207
1207
|
{
|
1208
1208
|
STORE_KW_END_CON(feature);
|
1209
1209
|
}
|
1210
1210
|
break;
|
1211
1211
|
case 7:
|
1212
|
-
#line 120 "/Users/ahellesoy/
|
1212
|
+
#line 120 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/pl.c.rl"
|
1213
1213
|
{
|
1214
1214
|
STORE_KW_END_CON(background);
|
1215
1215
|
}
|
1216
1216
|
break;
|
1217
1217
|
case 8:
|
1218
|
-
#line 124 "/Users/ahellesoy/
|
1218
|
+
#line 124 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/pl.c.rl"
|
1219
1219
|
{
|
1220
1220
|
STORE_KW_END_CON(scenario);
|
1221
1221
|
}
|
1222
1222
|
break;
|
1223
1223
|
case 9:
|
1224
|
-
#line 128 "/Users/ahellesoy/
|
1224
|
+
#line 128 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/pl.c.rl"
|
1225
1225
|
{
|
1226
1226
|
STORE_KW_END_CON(scenario_outline);
|
1227
1227
|
}
|
1228
1228
|
break;
|
1229
1229
|
case 10:
|
1230
|
-
#line 132 "/Users/ahellesoy/
|
1230
|
+
#line 132 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/pl.c.rl"
|
1231
1231
|
{
|
1232
1232
|
STORE_KW_END_CON(examples);
|
1233
1233
|
}
|
1234
1234
|
break;
|
1235
1235
|
case 11:
|
1236
|
-
#line 136 "/Users/ahellesoy/
|
1236
|
+
#line 136 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/pl.c.rl"
|
1237
1237
|
{
|
1238
1238
|
store_kw_con(listener, "step",
|
1239
1239
|
PTR_TO(keyword_start), LEN(keyword_start, PTR_TO(keyword_end)),
|
@@ -1242,34 +1242,34 @@ _match:
|
|
1242
1242
|
}
|
1243
1243
|
break;
|
1244
1244
|
case 12:
|
1245
|
-
#line 143 "/Users/ahellesoy/
|
1245
|
+
#line 143 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/pl.c.rl"
|
1246
1246
|
{
|
1247
1247
|
STORE_ATTR(comment);
|
1248
1248
|
lexer->mark = 0;
|
1249
1249
|
}
|
1250
1250
|
break;
|
1251
1251
|
case 13:
|
1252
|
-
#line 148 "/Users/ahellesoy/
|
1252
|
+
#line 148 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/pl.c.rl"
|
1253
1253
|
{
|
1254
1254
|
STORE_ATTR(tag);
|
1255
1255
|
lexer->mark = 0;
|
1256
1256
|
}
|
1257
1257
|
break;
|
1258
1258
|
case 14:
|
1259
|
-
#line 153 "/Users/ahellesoy/
|
1259
|
+
#line 153 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/pl.c.rl"
|
1260
1260
|
{
|
1261
1261
|
lexer->line_number += 1;
|
1262
1262
|
MARK(final_newline, p);
|
1263
1263
|
}
|
1264
1264
|
break;
|
1265
1265
|
case 15:
|
1266
|
-
#line 158 "/Users/ahellesoy/
|
1266
|
+
#line 158 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/pl.c.rl"
|
1267
1267
|
{
|
1268
1268
|
MARK(last_newline, p + 1);
|
1269
1269
|
}
|
1270
1270
|
break;
|
1271
1271
|
case 16:
|
1272
|
-
#line 162 "/Users/ahellesoy/
|
1272
|
+
#line 162 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/pl.c.rl"
|
1273
1273
|
{
|
1274
1274
|
if (lexer->mark == 0) {
|
1275
1275
|
MARK(mark, p);
|
@@ -1277,7 +1277,7 @@ _match:
|
|
1277
1277
|
}
|
1278
1278
|
break;
|
1279
1279
|
case 17:
|
1280
|
-
#line 168 "/Users/ahellesoy/
|
1280
|
+
#line 168 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/pl.c.rl"
|
1281
1281
|
{
|
1282
1282
|
MARK(keyword_end, p);
|
1283
1283
|
MARK(keyword_start, PTR_TO(mark));
|
@@ -1286,13 +1286,13 @@ _match:
|
|
1286
1286
|
}
|
1287
1287
|
break;
|
1288
1288
|
case 18:
|
1289
|
-
#line 175 "/Users/ahellesoy/
|
1289
|
+
#line 175 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/pl.c.rl"
|
1290
1290
|
{
|
1291
1291
|
MARK(content_end, p);
|
1292
1292
|
}
|
1293
1293
|
break;
|
1294
1294
|
case 19:
|
1295
|
-
#line 179 "/Users/ahellesoy/
|
1295
|
+
#line 179 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/pl.c.rl"
|
1296
1296
|
{
|
1297
1297
|
p = p - 1;
|
1298
1298
|
lexer->current_line = lexer->line_number;
|
@@ -1300,13 +1300,13 @@ _match:
|
|
1300
1300
|
}
|
1301
1301
|
break;
|
1302
1302
|
case 20:
|
1303
|
-
#line 185 "/Users/ahellesoy/
|
1303
|
+
#line 185 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/pl.c.rl"
|
1304
1304
|
{
|
1305
1305
|
MARK(content_start, p);
|
1306
1306
|
}
|
1307
1307
|
break;
|
1308
1308
|
case 21:
|
1309
|
-
#line 189 "/Users/ahellesoy/
|
1309
|
+
#line 189 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/pl.c.rl"
|
1310
1310
|
{
|
1311
1311
|
VALUE re_pipe, re_newline, re_backslash;
|
1312
1312
|
VALUE con = ENCODED_STR_NEW(PTR_TO(content_start), LEN(content_start, p));
|
@@ -1322,13 +1322,13 @@ _match:
|
|
1322
1322
|
}
|
1323
1323
|
break;
|
1324
1324
|
case 22:
|
1325
|
-
#line 203 "/Users/ahellesoy/
|
1325
|
+
#line 203 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/pl.c.rl"
|
1326
1326
|
{
|
1327
1327
|
rb_funcall(listener, rb_intern("row"), 2, current_row, INT2FIX(lexer->current_line));
|
1328
1328
|
}
|
1329
1329
|
break;
|
1330
1330
|
case 23:
|
1331
|
-
#line 207 "/Users/ahellesoy/
|
1331
|
+
#line 207 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/pl.c.rl"
|
1332
1332
|
{
|
1333
1333
|
int line;
|
1334
1334
|
if (cs < lexer_first_final) {
|
@@ -1391,7 +1391,7 @@ _again:
|
|
1391
1391
|
while ( __nacts-- > 0 ) {
|
1392
1392
|
switch ( *__acts++ ) {
|
1393
1393
|
case 23:
|
1394
|
-
#line 207 "/Users/ahellesoy/
|
1394
|
+
#line 207 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/pl.c.rl"
|
1395
1395
|
{
|
1396
1396
|
int line;
|
1397
1397
|
if (cs < lexer_first_final) {
|
@@ -1445,7 +1445,7 @@ _again:
|
|
1445
1445
|
_out: {}
|
1446
1446
|
}
|
1447
1447
|
|
1448
|
-
#line 426 "/Users/ahellesoy/
|
1448
|
+
#line 426 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/pl.c.rl"
|
1449
1449
|
|
1450
1450
|
assert(p <= pe && "data overflow after parsing execute");
|
1451
1451
|
assert(lexer->content_start <= len && "content starts after data end");
|