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/fi.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/fi.c.rl"
|
84
84
|
|
85
85
|
|
86
86
|
/** Data **/
|
@@ -647,7 +647,7 @@ static const int lexer_error = 0;
|
|
647
647
|
static const int lexer_en_main = 1;
|
648
648
|
|
649
649
|
|
650
|
-
#line 258 "/Users/ahellesoy/
|
650
|
+
#line 258 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/fi.c.rl"
|
651
651
|
|
652
652
|
static VALUE
|
653
653
|
unindent(VALUE con, int start_col)
|
@@ -820,7 +820,7 @@ static VALUE CLexer_scan(VALUE self, VALUE input)
|
|
820
820
|
cs = lexer_start;
|
821
821
|
}
|
822
822
|
|
823
|
-
#line 425 "/Users/ahellesoy/
|
823
|
+
#line 425 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/fi.c.rl"
|
824
824
|
|
825
825
|
#line 826 "ext/gherkin_lexer_fi/gherkin_lexer_fi.c"
|
826
826
|
{
|
@@ -896,7 +896,7 @@ _match:
|
|
896
896
|
switch ( *_acts++ )
|
897
897
|
{
|
898
898
|
case 0:
|
899
|
-
#line 83 "/Users/ahellesoy/
|
899
|
+
#line 83 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/fi.c.rl"
|
900
900
|
{
|
901
901
|
MARK(content_start, p);
|
902
902
|
lexer->current_line = lexer->line_number;
|
@@ -904,20 +904,20 @@ _match:
|
|
904
904
|
}
|
905
905
|
break;
|
906
906
|
case 1:
|
907
|
-
#line 89 "/Users/ahellesoy/
|
907
|
+
#line 89 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/fi.c.rl"
|
908
908
|
{
|
909
909
|
MARK(content_start, p);
|
910
910
|
}
|
911
911
|
break;
|
912
912
|
case 2:
|
913
|
-
#line 93 "/Users/ahellesoy/
|
913
|
+
#line 93 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/fi.c.rl"
|
914
914
|
{
|
915
915
|
lexer->current_line = lexer->line_number;
|
916
916
|
lexer->start_col = p - data - lexer->last_newline;
|
917
917
|
}
|
918
918
|
break;
|
919
919
|
case 3:
|
920
|
-
#line 98 "/Users/ahellesoy/
|
920
|
+
#line 98 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/fi.c.rl"
|
921
921
|
{
|
922
922
|
int len = LEN(content_start, PTR_TO(final_newline));
|
923
923
|
int type_len = LEN(docstring_content_type_start, PTR_TO(docstring_content_type_end));
|
@@ -929,49 +929,49 @@ _match:
|
|
929
929
|
}
|
930
930
|
break;
|
931
931
|
case 4:
|
932
|
-
#line 108 "/Users/ahellesoy/
|
932
|
+
#line 108 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/fi.c.rl"
|
933
933
|
{
|
934
934
|
MARK(docstring_content_type_start, p);
|
935
935
|
}
|
936
936
|
break;
|
937
937
|
case 5:
|
938
|
-
#line 112 "/Users/ahellesoy/
|
938
|
+
#line 112 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/fi.c.rl"
|
939
939
|
{
|
940
940
|
MARK(docstring_content_type_end, p);
|
941
941
|
}
|
942
942
|
break;
|
943
943
|
case 6:
|
944
|
-
#line 116 "/Users/ahellesoy/
|
944
|
+
#line 116 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/fi.c.rl"
|
945
945
|
{
|
946
946
|
STORE_KW_END_CON(feature);
|
947
947
|
}
|
948
948
|
break;
|
949
949
|
case 7:
|
950
|
-
#line 120 "/Users/ahellesoy/
|
950
|
+
#line 120 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/fi.c.rl"
|
951
951
|
{
|
952
952
|
STORE_KW_END_CON(background);
|
953
953
|
}
|
954
954
|
break;
|
955
955
|
case 8:
|
956
|
-
#line 124 "/Users/ahellesoy/
|
956
|
+
#line 124 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/fi.c.rl"
|
957
957
|
{
|
958
958
|
STORE_KW_END_CON(scenario);
|
959
959
|
}
|
960
960
|
break;
|
961
961
|
case 9:
|
962
|
-
#line 128 "/Users/ahellesoy/
|
962
|
+
#line 128 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/fi.c.rl"
|
963
963
|
{
|
964
964
|
STORE_KW_END_CON(scenario_outline);
|
965
965
|
}
|
966
966
|
break;
|
967
967
|
case 10:
|
968
|
-
#line 132 "/Users/ahellesoy/
|
968
|
+
#line 132 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/fi.c.rl"
|
969
969
|
{
|
970
970
|
STORE_KW_END_CON(examples);
|
971
971
|
}
|
972
972
|
break;
|
973
973
|
case 11:
|
974
|
-
#line 136 "/Users/ahellesoy/
|
974
|
+
#line 136 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/fi.c.rl"
|
975
975
|
{
|
976
976
|
store_kw_con(listener, "step",
|
977
977
|
PTR_TO(keyword_start), LEN(keyword_start, PTR_TO(keyword_end)),
|
@@ -980,34 +980,34 @@ _match:
|
|
980
980
|
}
|
981
981
|
break;
|
982
982
|
case 12:
|
983
|
-
#line 143 "/Users/ahellesoy/
|
983
|
+
#line 143 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/fi.c.rl"
|
984
984
|
{
|
985
985
|
STORE_ATTR(comment);
|
986
986
|
lexer->mark = 0;
|
987
987
|
}
|
988
988
|
break;
|
989
989
|
case 13:
|
990
|
-
#line 148 "/Users/ahellesoy/
|
990
|
+
#line 148 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/fi.c.rl"
|
991
991
|
{
|
992
992
|
STORE_ATTR(tag);
|
993
993
|
lexer->mark = 0;
|
994
994
|
}
|
995
995
|
break;
|
996
996
|
case 14:
|
997
|
-
#line 153 "/Users/ahellesoy/
|
997
|
+
#line 153 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/fi.c.rl"
|
998
998
|
{
|
999
999
|
lexer->line_number += 1;
|
1000
1000
|
MARK(final_newline, p);
|
1001
1001
|
}
|
1002
1002
|
break;
|
1003
1003
|
case 15:
|
1004
|
-
#line 158 "/Users/ahellesoy/
|
1004
|
+
#line 158 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/fi.c.rl"
|
1005
1005
|
{
|
1006
1006
|
MARK(last_newline, p + 1);
|
1007
1007
|
}
|
1008
1008
|
break;
|
1009
1009
|
case 16:
|
1010
|
-
#line 162 "/Users/ahellesoy/
|
1010
|
+
#line 162 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/fi.c.rl"
|
1011
1011
|
{
|
1012
1012
|
if (lexer->mark == 0) {
|
1013
1013
|
MARK(mark, p);
|
@@ -1015,7 +1015,7 @@ _match:
|
|
1015
1015
|
}
|
1016
1016
|
break;
|
1017
1017
|
case 17:
|
1018
|
-
#line 168 "/Users/ahellesoy/
|
1018
|
+
#line 168 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/fi.c.rl"
|
1019
1019
|
{
|
1020
1020
|
MARK(keyword_end, p);
|
1021
1021
|
MARK(keyword_start, PTR_TO(mark));
|
@@ -1024,13 +1024,13 @@ _match:
|
|
1024
1024
|
}
|
1025
1025
|
break;
|
1026
1026
|
case 18:
|
1027
|
-
#line 175 "/Users/ahellesoy/
|
1027
|
+
#line 175 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/fi.c.rl"
|
1028
1028
|
{
|
1029
1029
|
MARK(content_end, p);
|
1030
1030
|
}
|
1031
1031
|
break;
|
1032
1032
|
case 19:
|
1033
|
-
#line 179 "/Users/ahellesoy/
|
1033
|
+
#line 179 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/fi.c.rl"
|
1034
1034
|
{
|
1035
1035
|
p = p - 1;
|
1036
1036
|
lexer->current_line = lexer->line_number;
|
@@ -1038,13 +1038,13 @@ _match:
|
|
1038
1038
|
}
|
1039
1039
|
break;
|
1040
1040
|
case 20:
|
1041
|
-
#line 185 "/Users/ahellesoy/
|
1041
|
+
#line 185 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/fi.c.rl"
|
1042
1042
|
{
|
1043
1043
|
MARK(content_start, p);
|
1044
1044
|
}
|
1045
1045
|
break;
|
1046
1046
|
case 21:
|
1047
|
-
#line 189 "/Users/ahellesoy/
|
1047
|
+
#line 189 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/fi.c.rl"
|
1048
1048
|
{
|
1049
1049
|
VALUE re_pipe, re_newline, re_backslash;
|
1050
1050
|
VALUE con = ENCODED_STR_NEW(PTR_TO(content_start), LEN(content_start, p));
|
@@ -1060,13 +1060,13 @@ _match:
|
|
1060
1060
|
}
|
1061
1061
|
break;
|
1062
1062
|
case 22:
|
1063
|
-
#line 203 "/Users/ahellesoy/
|
1063
|
+
#line 203 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/fi.c.rl"
|
1064
1064
|
{
|
1065
1065
|
rb_funcall(listener, rb_intern("row"), 2, current_row, INT2FIX(lexer->current_line));
|
1066
1066
|
}
|
1067
1067
|
break;
|
1068
1068
|
case 23:
|
1069
|
-
#line 207 "/Users/ahellesoy/
|
1069
|
+
#line 207 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/fi.c.rl"
|
1070
1070
|
{
|
1071
1071
|
int line;
|
1072
1072
|
if (cs < lexer_first_final) {
|
@@ -1129,7 +1129,7 @@ _again:
|
|
1129
1129
|
while ( __nacts-- > 0 ) {
|
1130
1130
|
switch ( *__acts++ ) {
|
1131
1131
|
case 23:
|
1132
|
-
#line 207 "/Users/ahellesoy/
|
1132
|
+
#line 207 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/fi.c.rl"
|
1133
1133
|
{
|
1134
1134
|
int line;
|
1135
1135
|
if (cs < lexer_first_final) {
|
@@ -1183,7 +1183,7 @@ _again:
|
|
1183
1183
|
_out: {}
|
1184
1184
|
}
|
1185
1185
|
|
1186
|
-
#line 426 "/Users/ahellesoy/
|
1186
|
+
#line 426 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/fi.c.rl"
|
1187
1187
|
|
1188
1188
|
assert(p <= pe && "data overflow after parsing execute");
|
1189
1189
|
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/fr.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/fr.c.rl"
|
84
84
|
|
85
85
|
|
86
86
|
/** Data **/
|
@@ -925,7 +925,7 @@ static const int lexer_error = 0;
|
|
925
925
|
static const int lexer_en_main = 1;
|
926
926
|
|
927
927
|
|
928
|
-
#line 258 "/Users/ahellesoy/
|
928
|
+
#line 258 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/fr.c.rl"
|
929
929
|
|
930
930
|
static VALUE
|
931
931
|
unindent(VALUE con, int start_col)
|
@@ -1098,7 +1098,7 @@ static VALUE CLexer_scan(VALUE self, VALUE input)
|
|
1098
1098
|
cs = lexer_start;
|
1099
1099
|
}
|
1100
1100
|
|
1101
|
-
#line 425 "/Users/ahellesoy/
|
1101
|
+
#line 425 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/fr.c.rl"
|
1102
1102
|
|
1103
1103
|
#line 1104 "ext/gherkin_lexer_fr/gherkin_lexer_fr.c"
|
1104
1104
|
{
|
@@ -1174,7 +1174,7 @@ _match:
|
|
1174
1174
|
switch ( *_acts++ )
|
1175
1175
|
{
|
1176
1176
|
case 0:
|
1177
|
-
#line 83 "/Users/ahellesoy/
|
1177
|
+
#line 83 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/fr.c.rl"
|
1178
1178
|
{
|
1179
1179
|
MARK(content_start, p);
|
1180
1180
|
lexer->current_line = lexer->line_number;
|
@@ -1182,20 +1182,20 @@ _match:
|
|
1182
1182
|
}
|
1183
1183
|
break;
|
1184
1184
|
case 1:
|
1185
|
-
#line 89 "/Users/ahellesoy/
|
1185
|
+
#line 89 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/fr.c.rl"
|
1186
1186
|
{
|
1187
1187
|
MARK(content_start, p);
|
1188
1188
|
}
|
1189
1189
|
break;
|
1190
1190
|
case 2:
|
1191
|
-
#line 93 "/Users/ahellesoy/
|
1191
|
+
#line 93 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/fr.c.rl"
|
1192
1192
|
{
|
1193
1193
|
lexer->current_line = lexer->line_number;
|
1194
1194
|
lexer->start_col = p - data - lexer->last_newline;
|
1195
1195
|
}
|
1196
1196
|
break;
|
1197
1197
|
case 3:
|
1198
|
-
#line 98 "/Users/ahellesoy/
|
1198
|
+
#line 98 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/fr.c.rl"
|
1199
1199
|
{
|
1200
1200
|
int len = LEN(content_start, PTR_TO(final_newline));
|
1201
1201
|
int type_len = LEN(docstring_content_type_start, PTR_TO(docstring_content_type_end));
|
@@ -1207,49 +1207,49 @@ _match:
|
|
1207
1207
|
}
|
1208
1208
|
break;
|
1209
1209
|
case 4:
|
1210
|
-
#line 108 "/Users/ahellesoy/
|
1210
|
+
#line 108 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/fr.c.rl"
|
1211
1211
|
{
|
1212
1212
|
MARK(docstring_content_type_start, p);
|
1213
1213
|
}
|
1214
1214
|
break;
|
1215
1215
|
case 5:
|
1216
|
-
#line 112 "/Users/ahellesoy/
|
1216
|
+
#line 112 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/fr.c.rl"
|
1217
1217
|
{
|
1218
1218
|
MARK(docstring_content_type_end, p);
|
1219
1219
|
}
|
1220
1220
|
break;
|
1221
1221
|
case 6:
|
1222
|
-
#line 116 "/Users/ahellesoy/
|
1222
|
+
#line 116 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/fr.c.rl"
|
1223
1223
|
{
|
1224
1224
|
STORE_KW_END_CON(feature);
|
1225
1225
|
}
|
1226
1226
|
break;
|
1227
1227
|
case 7:
|
1228
|
-
#line 120 "/Users/ahellesoy/
|
1228
|
+
#line 120 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/fr.c.rl"
|
1229
1229
|
{
|
1230
1230
|
STORE_KW_END_CON(background);
|
1231
1231
|
}
|
1232
1232
|
break;
|
1233
1233
|
case 8:
|
1234
|
-
#line 124 "/Users/ahellesoy/
|
1234
|
+
#line 124 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/fr.c.rl"
|
1235
1235
|
{
|
1236
1236
|
STORE_KW_END_CON(scenario);
|
1237
1237
|
}
|
1238
1238
|
break;
|
1239
1239
|
case 9:
|
1240
|
-
#line 128 "/Users/ahellesoy/
|
1240
|
+
#line 128 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/fr.c.rl"
|
1241
1241
|
{
|
1242
1242
|
STORE_KW_END_CON(scenario_outline);
|
1243
1243
|
}
|
1244
1244
|
break;
|
1245
1245
|
case 10:
|
1246
|
-
#line 132 "/Users/ahellesoy/
|
1246
|
+
#line 132 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/fr.c.rl"
|
1247
1247
|
{
|
1248
1248
|
STORE_KW_END_CON(examples);
|
1249
1249
|
}
|
1250
1250
|
break;
|
1251
1251
|
case 11:
|
1252
|
-
#line 136 "/Users/ahellesoy/
|
1252
|
+
#line 136 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/fr.c.rl"
|
1253
1253
|
{
|
1254
1254
|
store_kw_con(listener, "step",
|
1255
1255
|
PTR_TO(keyword_start), LEN(keyword_start, PTR_TO(keyword_end)),
|
@@ -1258,34 +1258,34 @@ _match:
|
|
1258
1258
|
}
|
1259
1259
|
break;
|
1260
1260
|
case 12:
|
1261
|
-
#line 143 "/Users/ahellesoy/
|
1261
|
+
#line 143 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/fr.c.rl"
|
1262
1262
|
{
|
1263
1263
|
STORE_ATTR(comment);
|
1264
1264
|
lexer->mark = 0;
|
1265
1265
|
}
|
1266
1266
|
break;
|
1267
1267
|
case 13:
|
1268
|
-
#line 148 "/Users/ahellesoy/
|
1268
|
+
#line 148 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/fr.c.rl"
|
1269
1269
|
{
|
1270
1270
|
STORE_ATTR(tag);
|
1271
1271
|
lexer->mark = 0;
|
1272
1272
|
}
|
1273
1273
|
break;
|
1274
1274
|
case 14:
|
1275
|
-
#line 153 "/Users/ahellesoy/
|
1275
|
+
#line 153 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/fr.c.rl"
|
1276
1276
|
{
|
1277
1277
|
lexer->line_number += 1;
|
1278
1278
|
MARK(final_newline, p);
|
1279
1279
|
}
|
1280
1280
|
break;
|
1281
1281
|
case 15:
|
1282
|
-
#line 158 "/Users/ahellesoy/
|
1282
|
+
#line 158 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/fr.c.rl"
|
1283
1283
|
{
|
1284
1284
|
MARK(last_newline, p + 1);
|
1285
1285
|
}
|
1286
1286
|
break;
|
1287
1287
|
case 16:
|
1288
|
-
#line 162 "/Users/ahellesoy/
|
1288
|
+
#line 162 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/fr.c.rl"
|
1289
1289
|
{
|
1290
1290
|
if (lexer->mark == 0) {
|
1291
1291
|
MARK(mark, p);
|
@@ -1293,7 +1293,7 @@ _match:
|
|
1293
1293
|
}
|
1294
1294
|
break;
|
1295
1295
|
case 17:
|
1296
|
-
#line 168 "/Users/ahellesoy/
|
1296
|
+
#line 168 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/fr.c.rl"
|
1297
1297
|
{
|
1298
1298
|
MARK(keyword_end, p);
|
1299
1299
|
MARK(keyword_start, PTR_TO(mark));
|
@@ -1302,13 +1302,13 @@ _match:
|
|
1302
1302
|
}
|
1303
1303
|
break;
|
1304
1304
|
case 18:
|
1305
|
-
#line 175 "/Users/ahellesoy/
|
1305
|
+
#line 175 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/fr.c.rl"
|
1306
1306
|
{
|
1307
1307
|
MARK(content_end, p);
|
1308
1308
|
}
|
1309
1309
|
break;
|
1310
1310
|
case 19:
|
1311
|
-
#line 179 "/Users/ahellesoy/
|
1311
|
+
#line 179 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/fr.c.rl"
|
1312
1312
|
{
|
1313
1313
|
p = p - 1;
|
1314
1314
|
lexer->current_line = lexer->line_number;
|
@@ -1316,13 +1316,13 @@ _match:
|
|
1316
1316
|
}
|
1317
1317
|
break;
|
1318
1318
|
case 20:
|
1319
|
-
#line 185 "/Users/ahellesoy/
|
1319
|
+
#line 185 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/fr.c.rl"
|
1320
1320
|
{
|
1321
1321
|
MARK(content_start, p);
|
1322
1322
|
}
|
1323
1323
|
break;
|
1324
1324
|
case 21:
|
1325
|
-
#line 189 "/Users/ahellesoy/
|
1325
|
+
#line 189 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/fr.c.rl"
|
1326
1326
|
{
|
1327
1327
|
VALUE re_pipe, re_newline, re_backslash;
|
1328
1328
|
VALUE con = ENCODED_STR_NEW(PTR_TO(content_start), LEN(content_start, p));
|
@@ -1338,13 +1338,13 @@ _match:
|
|
1338
1338
|
}
|
1339
1339
|
break;
|
1340
1340
|
case 22:
|
1341
|
-
#line 203 "/Users/ahellesoy/
|
1341
|
+
#line 203 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/fr.c.rl"
|
1342
1342
|
{
|
1343
1343
|
rb_funcall(listener, rb_intern("row"), 2, current_row, INT2FIX(lexer->current_line));
|
1344
1344
|
}
|
1345
1345
|
break;
|
1346
1346
|
case 23:
|
1347
|
-
#line 207 "/Users/ahellesoy/
|
1347
|
+
#line 207 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/fr.c.rl"
|
1348
1348
|
{
|
1349
1349
|
int line;
|
1350
1350
|
if (cs < lexer_first_final) {
|
@@ -1407,7 +1407,7 @@ _again:
|
|
1407
1407
|
while ( __nacts-- > 0 ) {
|
1408
1408
|
switch ( *__acts++ ) {
|
1409
1409
|
case 23:
|
1410
|
-
#line 207 "/Users/ahellesoy/
|
1410
|
+
#line 207 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/fr.c.rl"
|
1411
1411
|
{
|
1412
1412
|
int line;
|
1413
1413
|
if (cs < lexer_first_final) {
|
@@ -1461,7 +1461,7 @@ _again:
|
|
1461
1461
|
_out: {}
|
1462
1462
|
}
|
1463
1463
|
|
1464
|
-
#line 426 "/Users/ahellesoy/
|
1464
|
+
#line 426 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/fr.c.rl"
|
1465
1465
|
|
1466
1466
|
assert(p <= pe && "data overflow after parsing execute");
|
1467
1467
|
assert(lexer->content_start <= len && "content starts after data end");
|