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/en_au.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/en_au.c.rl"
|
84
84
|
|
85
85
|
|
86
86
|
/** Data **/
|
@@ -655,7 +655,7 @@ static const int lexer_error = 0;
|
|
655
655
|
static const int lexer_en_main = 1;
|
656
656
|
|
657
657
|
|
658
|
-
#line 258 "/Users/ahellesoy/
|
658
|
+
#line 258 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/en_au.c.rl"
|
659
659
|
|
660
660
|
static VALUE
|
661
661
|
unindent(VALUE con, int start_col)
|
@@ -828,7 +828,7 @@ static VALUE CLexer_scan(VALUE self, VALUE input)
|
|
828
828
|
cs = lexer_start;
|
829
829
|
}
|
830
830
|
|
831
|
-
#line 425 "/Users/ahellesoy/
|
831
|
+
#line 425 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/en_au.c.rl"
|
832
832
|
|
833
833
|
#line 834 "ext/gherkin_lexer_en_au/gherkin_lexer_en_au.c"
|
834
834
|
{
|
@@ -904,7 +904,7 @@ _match:
|
|
904
904
|
switch ( *_acts++ )
|
905
905
|
{
|
906
906
|
case 0:
|
907
|
-
#line 83 "/Users/ahellesoy/
|
907
|
+
#line 83 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/en_au.c.rl"
|
908
908
|
{
|
909
909
|
MARK(content_start, p);
|
910
910
|
lexer->current_line = lexer->line_number;
|
@@ -912,20 +912,20 @@ _match:
|
|
912
912
|
}
|
913
913
|
break;
|
914
914
|
case 1:
|
915
|
-
#line 89 "/Users/ahellesoy/
|
915
|
+
#line 89 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/en_au.c.rl"
|
916
916
|
{
|
917
917
|
MARK(content_start, p);
|
918
918
|
}
|
919
919
|
break;
|
920
920
|
case 2:
|
921
|
-
#line 93 "/Users/ahellesoy/
|
921
|
+
#line 93 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/en_au.c.rl"
|
922
922
|
{
|
923
923
|
lexer->current_line = lexer->line_number;
|
924
924
|
lexer->start_col = p - data - lexer->last_newline;
|
925
925
|
}
|
926
926
|
break;
|
927
927
|
case 3:
|
928
|
-
#line 98 "/Users/ahellesoy/
|
928
|
+
#line 98 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/en_au.c.rl"
|
929
929
|
{
|
930
930
|
int len = LEN(content_start, PTR_TO(final_newline));
|
931
931
|
int type_len = LEN(docstring_content_type_start, PTR_TO(docstring_content_type_end));
|
@@ -937,49 +937,49 @@ _match:
|
|
937
937
|
}
|
938
938
|
break;
|
939
939
|
case 4:
|
940
|
-
#line 108 "/Users/ahellesoy/
|
940
|
+
#line 108 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/en_au.c.rl"
|
941
941
|
{
|
942
942
|
MARK(docstring_content_type_start, p);
|
943
943
|
}
|
944
944
|
break;
|
945
945
|
case 5:
|
946
|
-
#line 112 "/Users/ahellesoy/
|
946
|
+
#line 112 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/en_au.c.rl"
|
947
947
|
{
|
948
948
|
MARK(docstring_content_type_end, p);
|
949
949
|
}
|
950
950
|
break;
|
951
951
|
case 6:
|
952
|
-
#line 116 "/Users/ahellesoy/
|
952
|
+
#line 116 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/en_au.c.rl"
|
953
953
|
{
|
954
954
|
STORE_KW_END_CON(feature);
|
955
955
|
}
|
956
956
|
break;
|
957
957
|
case 7:
|
958
|
-
#line 120 "/Users/ahellesoy/
|
958
|
+
#line 120 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/en_au.c.rl"
|
959
959
|
{
|
960
960
|
STORE_KW_END_CON(background);
|
961
961
|
}
|
962
962
|
break;
|
963
963
|
case 8:
|
964
|
-
#line 124 "/Users/ahellesoy/
|
964
|
+
#line 124 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/en_au.c.rl"
|
965
965
|
{
|
966
966
|
STORE_KW_END_CON(scenario);
|
967
967
|
}
|
968
968
|
break;
|
969
969
|
case 9:
|
970
|
-
#line 128 "/Users/ahellesoy/
|
970
|
+
#line 128 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/en_au.c.rl"
|
971
971
|
{
|
972
972
|
STORE_KW_END_CON(scenario_outline);
|
973
973
|
}
|
974
974
|
break;
|
975
975
|
case 10:
|
976
|
-
#line 132 "/Users/ahellesoy/
|
976
|
+
#line 132 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/en_au.c.rl"
|
977
977
|
{
|
978
978
|
STORE_KW_END_CON(examples);
|
979
979
|
}
|
980
980
|
break;
|
981
981
|
case 11:
|
982
|
-
#line 136 "/Users/ahellesoy/
|
982
|
+
#line 136 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/en_au.c.rl"
|
983
983
|
{
|
984
984
|
store_kw_con(listener, "step",
|
985
985
|
PTR_TO(keyword_start), LEN(keyword_start, PTR_TO(keyword_end)),
|
@@ -988,34 +988,34 @@ _match:
|
|
988
988
|
}
|
989
989
|
break;
|
990
990
|
case 12:
|
991
|
-
#line 143 "/Users/ahellesoy/
|
991
|
+
#line 143 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/en_au.c.rl"
|
992
992
|
{
|
993
993
|
STORE_ATTR(comment);
|
994
994
|
lexer->mark = 0;
|
995
995
|
}
|
996
996
|
break;
|
997
997
|
case 13:
|
998
|
-
#line 148 "/Users/ahellesoy/
|
998
|
+
#line 148 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/en_au.c.rl"
|
999
999
|
{
|
1000
1000
|
STORE_ATTR(tag);
|
1001
1001
|
lexer->mark = 0;
|
1002
1002
|
}
|
1003
1003
|
break;
|
1004
1004
|
case 14:
|
1005
|
-
#line 153 "/Users/ahellesoy/
|
1005
|
+
#line 153 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/en_au.c.rl"
|
1006
1006
|
{
|
1007
1007
|
lexer->line_number += 1;
|
1008
1008
|
MARK(final_newline, p);
|
1009
1009
|
}
|
1010
1010
|
break;
|
1011
1011
|
case 15:
|
1012
|
-
#line 158 "/Users/ahellesoy/
|
1012
|
+
#line 158 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/en_au.c.rl"
|
1013
1013
|
{
|
1014
1014
|
MARK(last_newline, p + 1);
|
1015
1015
|
}
|
1016
1016
|
break;
|
1017
1017
|
case 16:
|
1018
|
-
#line 162 "/Users/ahellesoy/
|
1018
|
+
#line 162 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/en_au.c.rl"
|
1019
1019
|
{
|
1020
1020
|
if (lexer->mark == 0) {
|
1021
1021
|
MARK(mark, p);
|
@@ -1023,7 +1023,7 @@ _match:
|
|
1023
1023
|
}
|
1024
1024
|
break;
|
1025
1025
|
case 17:
|
1026
|
-
#line 168 "/Users/ahellesoy/
|
1026
|
+
#line 168 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/en_au.c.rl"
|
1027
1027
|
{
|
1028
1028
|
MARK(keyword_end, p);
|
1029
1029
|
MARK(keyword_start, PTR_TO(mark));
|
@@ -1032,13 +1032,13 @@ _match:
|
|
1032
1032
|
}
|
1033
1033
|
break;
|
1034
1034
|
case 18:
|
1035
|
-
#line 175 "/Users/ahellesoy/
|
1035
|
+
#line 175 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/en_au.c.rl"
|
1036
1036
|
{
|
1037
1037
|
MARK(content_end, p);
|
1038
1038
|
}
|
1039
1039
|
break;
|
1040
1040
|
case 19:
|
1041
|
-
#line 179 "/Users/ahellesoy/
|
1041
|
+
#line 179 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/en_au.c.rl"
|
1042
1042
|
{
|
1043
1043
|
p = p - 1;
|
1044
1044
|
lexer->current_line = lexer->line_number;
|
@@ -1046,13 +1046,13 @@ _match:
|
|
1046
1046
|
}
|
1047
1047
|
break;
|
1048
1048
|
case 20:
|
1049
|
-
#line 185 "/Users/ahellesoy/
|
1049
|
+
#line 185 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/en_au.c.rl"
|
1050
1050
|
{
|
1051
1051
|
MARK(content_start, p);
|
1052
1052
|
}
|
1053
1053
|
break;
|
1054
1054
|
case 21:
|
1055
|
-
#line 189 "/Users/ahellesoy/
|
1055
|
+
#line 189 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/en_au.c.rl"
|
1056
1056
|
{
|
1057
1057
|
VALUE re_pipe, re_newline, re_backslash;
|
1058
1058
|
VALUE con = ENCODED_STR_NEW(PTR_TO(content_start), LEN(content_start, p));
|
@@ -1068,13 +1068,13 @@ _match:
|
|
1068
1068
|
}
|
1069
1069
|
break;
|
1070
1070
|
case 22:
|
1071
|
-
#line 203 "/Users/ahellesoy/
|
1071
|
+
#line 203 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/en_au.c.rl"
|
1072
1072
|
{
|
1073
1073
|
rb_funcall(listener, rb_intern("row"), 2, current_row, INT2FIX(lexer->current_line));
|
1074
1074
|
}
|
1075
1075
|
break;
|
1076
1076
|
case 23:
|
1077
|
-
#line 207 "/Users/ahellesoy/
|
1077
|
+
#line 207 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/en_au.c.rl"
|
1078
1078
|
{
|
1079
1079
|
int line;
|
1080
1080
|
if (cs < lexer_first_final) {
|
@@ -1137,7 +1137,7 @@ _again:
|
|
1137
1137
|
while ( __nacts-- > 0 ) {
|
1138
1138
|
switch ( *__acts++ ) {
|
1139
1139
|
case 23:
|
1140
|
-
#line 207 "/Users/ahellesoy/
|
1140
|
+
#line 207 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/en_au.c.rl"
|
1141
1141
|
{
|
1142
1142
|
int line;
|
1143
1143
|
if (cs < lexer_first_final) {
|
@@ -1191,7 +1191,7 @@ _again:
|
|
1191
1191
|
_out: {}
|
1192
1192
|
}
|
1193
1193
|
|
1194
|
-
#line 426 "/Users/ahellesoy/
|
1194
|
+
#line 426 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/en_au.c.rl"
|
1195
1195
|
|
1196
1196
|
assert(p <= pe && "data overflow after parsing execute");
|
1197
1197
|
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/en_lol.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/en_lol.c.rl"
|
84
84
|
|
85
85
|
|
86
86
|
/** Data **/
|
@@ -609,7 +609,7 @@ static const int lexer_error = 0;
|
|
609
609
|
static const int lexer_en_main = 1;
|
610
610
|
|
611
611
|
|
612
|
-
#line 258 "/Users/ahellesoy/
|
612
|
+
#line 258 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/en_lol.c.rl"
|
613
613
|
|
614
614
|
static VALUE
|
615
615
|
unindent(VALUE con, int start_col)
|
@@ -782,7 +782,7 @@ static VALUE CLexer_scan(VALUE self, VALUE input)
|
|
782
782
|
cs = lexer_start;
|
783
783
|
}
|
784
784
|
|
785
|
-
#line 425 "/Users/ahellesoy/
|
785
|
+
#line 425 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/en_lol.c.rl"
|
786
786
|
|
787
787
|
#line 788 "ext/gherkin_lexer_en_lol/gherkin_lexer_en_lol.c"
|
788
788
|
{
|
@@ -858,7 +858,7 @@ _match:
|
|
858
858
|
switch ( *_acts++ )
|
859
859
|
{
|
860
860
|
case 0:
|
861
|
-
#line 83 "/Users/ahellesoy/
|
861
|
+
#line 83 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/en_lol.c.rl"
|
862
862
|
{
|
863
863
|
MARK(content_start, p);
|
864
864
|
lexer->current_line = lexer->line_number;
|
@@ -866,20 +866,20 @@ _match:
|
|
866
866
|
}
|
867
867
|
break;
|
868
868
|
case 1:
|
869
|
-
#line 89 "/Users/ahellesoy/
|
869
|
+
#line 89 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/en_lol.c.rl"
|
870
870
|
{
|
871
871
|
MARK(content_start, p);
|
872
872
|
}
|
873
873
|
break;
|
874
874
|
case 2:
|
875
|
-
#line 93 "/Users/ahellesoy/
|
875
|
+
#line 93 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/en_lol.c.rl"
|
876
876
|
{
|
877
877
|
lexer->current_line = lexer->line_number;
|
878
878
|
lexer->start_col = p - data - lexer->last_newline;
|
879
879
|
}
|
880
880
|
break;
|
881
881
|
case 3:
|
882
|
-
#line 98 "/Users/ahellesoy/
|
882
|
+
#line 98 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/en_lol.c.rl"
|
883
883
|
{
|
884
884
|
int len = LEN(content_start, PTR_TO(final_newline));
|
885
885
|
int type_len = LEN(docstring_content_type_start, PTR_TO(docstring_content_type_end));
|
@@ -891,49 +891,49 @@ _match:
|
|
891
891
|
}
|
892
892
|
break;
|
893
893
|
case 4:
|
894
|
-
#line 108 "/Users/ahellesoy/
|
894
|
+
#line 108 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/en_lol.c.rl"
|
895
895
|
{
|
896
896
|
MARK(docstring_content_type_start, p);
|
897
897
|
}
|
898
898
|
break;
|
899
899
|
case 5:
|
900
|
-
#line 112 "/Users/ahellesoy/
|
900
|
+
#line 112 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/en_lol.c.rl"
|
901
901
|
{
|
902
902
|
MARK(docstring_content_type_end, p);
|
903
903
|
}
|
904
904
|
break;
|
905
905
|
case 6:
|
906
|
-
#line 116 "/Users/ahellesoy/
|
906
|
+
#line 116 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/en_lol.c.rl"
|
907
907
|
{
|
908
908
|
STORE_KW_END_CON(feature);
|
909
909
|
}
|
910
910
|
break;
|
911
911
|
case 7:
|
912
|
-
#line 120 "/Users/ahellesoy/
|
912
|
+
#line 120 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/en_lol.c.rl"
|
913
913
|
{
|
914
914
|
STORE_KW_END_CON(background);
|
915
915
|
}
|
916
916
|
break;
|
917
917
|
case 8:
|
918
|
-
#line 124 "/Users/ahellesoy/
|
918
|
+
#line 124 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/en_lol.c.rl"
|
919
919
|
{
|
920
920
|
STORE_KW_END_CON(scenario);
|
921
921
|
}
|
922
922
|
break;
|
923
923
|
case 9:
|
924
|
-
#line 128 "/Users/ahellesoy/
|
924
|
+
#line 128 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/en_lol.c.rl"
|
925
925
|
{
|
926
926
|
STORE_KW_END_CON(scenario_outline);
|
927
927
|
}
|
928
928
|
break;
|
929
929
|
case 10:
|
930
|
-
#line 132 "/Users/ahellesoy/
|
930
|
+
#line 132 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/en_lol.c.rl"
|
931
931
|
{
|
932
932
|
STORE_KW_END_CON(examples);
|
933
933
|
}
|
934
934
|
break;
|
935
935
|
case 11:
|
936
|
-
#line 136 "/Users/ahellesoy/
|
936
|
+
#line 136 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/en_lol.c.rl"
|
937
937
|
{
|
938
938
|
store_kw_con(listener, "step",
|
939
939
|
PTR_TO(keyword_start), LEN(keyword_start, PTR_TO(keyword_end)),
|
@@ -942,34 +942,34 @@ _match:
|
|
942
942
|
}
|
943
943
|
break;
|
944
944
|
case 12:
|
945
|
-
#line 143 "/Users/ahellesoy/
|
945
|
+
#line 143 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/en_lol.c.rl"
|
946
946
|
{
|
947
947
|
STORE_ATTR(comment);
|
948
948
|
lexer->mark = 0;
|
949
949
|
}
|
950
950
|
break;
|
951
951
|
case 13:
|
952
|
-
#line 148 "/Users/ahellesoy/
|
952
|
+
#line 148 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/en_lol.c.rl"
|
953
953
|
{
|
954
954
|
STORE_ATTR(tag);
|
955
955
|
lexer->mark = 0;
|
956
956
|
}
|
957
957
|
break;
|
958
958
|
case 14:
|
959
|
-
#line 153 "/Users/ahellesoy/
|
959
|
+
#line 153 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/en_lol.c.rl"
|
960
960
|
{
|
961
961
|
lexer->line_number += 1;
|
962
962
|
MARK(final_newline, p);
|
963
963
|
}
|
964
964
|
break;
|
965
965
|
case 15:
|
966
|
-
#line 158 "/Users/ahellesoy/
|
966
|
+
#line 158 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/en_lol.c.rl"
|
967
967
|
{
|
968
968
|
MARK(last_newline, p + 1);
|
969
969
|
}
|
970
970
|
break;
|
971
971
|
case 16:
|
972
|
-
#line 162 "/Users/ahellesoy/
|
972
|
+
#line 162 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/en_lol.c.rl"
|
973
973
|
{
|
974
974
|
if (lexer->mark == 0) {
|
975
975
|
MARK(mark, p);
|
@@ -977,7 +977,7 @@ _match:
|
|
977
977
|
}
|
978
978
|
break;
|
979
979
|
case 17:
|
980
|
-
#line 168 "/Users/ahellesoy/
|
980
|
+
#line 168 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/en_lol.c.rl"
|
981
981
|
{
|
982
982
|
MARK(keyword_end, p);
|
983
983
|
MARK(keyword_start, PTR_TO(mark));
|
@@ -986,13 +986,13 @@ _match:
|
|
986
986
|
}
|
987
987
|
break;
|
988
988
|
case 18:
|
989
|
-
#line 175 "/Users/ahellesoy/
|
989
|
+
#line 175 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/en_lol.c.rl"
|
990
990
|
{
|
991
991
|
MARK(content_end, p);
|
992
992
|
}
|
993
993
|
break;
|
994
994
|
case 19:
|
995
|
-
#line 179 "/Users/ahellesoy/
|
995
|
+
#line 179 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/en_lol.c.rl"
|
996
996
|
{
|
997
997
|
p = p - 1;
|
998
998
|
lexer->current_line = lexer->line_number;
|
@@ -1000,13 +1000,13 @@ _match:
|
|
1000
1000
|
}
|
1001
1001
|
break;
|
1002
1002
|
case 20:
|
1003
|
-
#line 185 "/Users/ahellesoy/
|
1003
|
+
#line 185 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/en_lol.c.rl"
|
1004
1004
|
{
|
1005
1005
|
MARK(content_start, p);
|
1006
1006
|
}
|
1007
1007
|
break;
|
1008
1008
|
case 21:
|
1009
|
-
#line 189 "/Users/ahellesoy/
|
1009
|
+
#line 189 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/en_lol.c.rl"
|
1010
1010
|
{
|
1011
1011
|
VALUE re_pipe, re_newline, re_backslash;
|
1012
1012
|
VALUE con = ENCODED_STR_NEW(PTR_TO(content_start), LEN(content_start, p));
|
@@ -1022,13 +1022,13 @@ _match:
|
|
1022
1022
|
}
|
1023
1023
|
break;
|
1024
1024
|
case 22:
|
1025
|
-
#line 203 "/Users/ahellesoy/
|
1025
|
+
#line 203 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/en_lol.c.rl"
|
1026
1026
|
{
|
1027
1027
|
rb_funcall(listener, rb_intern("row"), 2, current_row, INT2FIX(lexer->current_line));
|
1028
1028
|
}
|
1029
1029
|
break;
|
1030
1030
|
case 23:
|
1031
|
-
#line 207 "/Users/ahellesoy/
|
1031
|
+
#line 207 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/en_lol.c.rl"
|
1032
1032
|
{
|
1033
1033
|
int line;
|
1034
1034
|
if (cs < lexer_first_final) {
|
@@ -1091,7 +1091,7 @@ _again:
|
|
1091
1091
|
while ( __nacts-- > 0 ) {
|
1092
1092
|
switch ( *__acts++ ) {
|
1093
1093
|
case 23:
|
1094
|
-
#line 207 "/Users/ahellesoy/
|
1094
|
+
#line 207 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/en_lol.c.rl"
|
1095
1095
|
{
|
1096
1096
|
int line;
|
1097
1097
|
if (cs < lexer_first_final) {
|
@@ -1145,7 +1145,7 @@ _again:
|
|
1145
1145
|
_out: {}
|
1146
1146
|
}
|
1147
1147
|
|
1148
|
-
#line 426 "/Users/ahellesoy/
|
1148
|
+
#line 426 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/en_lol.c.rl"
|
1149
1149
|
|
1150
1150
|
assert(p <= pe && "data overflow after parsing execute");
|
1151
1151
|
assert(lexer->content_start <= len && "content starts after data end");
|