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/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 "
|
83
|
+
#line 254 "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 "
|
612
|
+
#line 258 "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 "
|
785
|
+
#line 425 "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 "
|
861
|
+
#line 83 "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 "
|
869
|
+
#line 89 "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 "
|
875
|
+
#line 93 "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 "
|
882
|
+
#line 98 "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 "
|
894
|
+
#line 108 "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 "
|
900
|
+
#line 112 "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 "
|
906
|
+
#line 116 "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 "
|
912
|
+
#line 120 "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 "
|
918
|
+
#line 124 "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 "
|
924
|
+
#line 128 "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 "
|
930
|
+
#line 132 "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 "
|
936
|
+
#line 136 "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 "
|
945
|
+
#line 143 "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 "
|
952
|
+
#line 148 "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 "
|
959
|
+
#line 153 "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 "
|
966
|
+
#line 158 "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 "
|
972
|
+
#line 162 "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 "
|
980
|
+
#line 168 "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 "
|
989
|
+
#line 175 "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 "
|
995
|
+
#line 179 "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 "
|
1003
|
+
#line 185 "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 "
|
1009
|
+
#line 189 "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 "
|
1025
|
+
#line 203 "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 "
|
1031
|
+
#line 207 "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 "
|
1094
|
+
#line 207 "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 "
|
1148
|
+
#line 426 "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");
|
@@ -1,5 +1,5 @@
|
|
1
1
|
|
2
|
-
#line 1 "
|
2
|
+
#line 1 "ragel/i18n/en_old.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/en_old.c.rl"
|
84
84
|
|
85
85
|
|
86
86
|
/** Data **/
|
@@ -741,7 +741,7 @@ static const int lexer_error = 0;
|
|
741
741
|
static const int lexer_en_main = 1;
|
742
742
|
|
743
743
|
|
744
|
-
#line 258 "
|
744
|
+
#line 258 "ragel/i18n/en_old.c.rl"
|
745
745
|
|
746
746
|
static VALUE
|
747
747
|
unindent(VALUE con, int start_col)
|
@@ -914,7 +914,7 @@ static VALUE CLexer_scan(VALUE self, VALUE input)
|
|
914
914
|
cs = lexer_start;
|
915
915
|
}
|
916
916
|
|
917
|
-
#line 425 "
|
917
|
+
#line 425 "ragel/i18n/en_old.c.rl"
|
918
918
|
|
919
919
|
#line 920 "ext/gherkin_lexer_en_old/gherkin_lexer_en_old.c"
|
920
920
|
{
|
@@ -990,7 +990,7 @@ _match:
|
|
990
990
|
switch ( *_acts++ )
|
991
991
|
{
|
992
992
|
case 0:
|
993
|
-
#line 83 "
|
993
|
+
#line 83 "ragel/i18n/en_old.c.rl"
|
994
994
|
{
|
995
995
|
MARK(content_start, p);
|
996
996
|
lexer->current_line = lexer->line_number;
|
@@ -998,20 +998,20 @@ _match:
|
|
998
998
|
}
|
999
999
|
break;
|
1000
1000
|
case 1:
|
1001
|
-
#line 89 "
|
1001
|
+
#line 89 "ragel/i18n/en_old.c.rl"
|
1002
1002
|
{
|
1003
1003
|
MARK(content_start, p);
|
1004
1004
|
}
|
1005
1005
|
break;
|
1006
1006
|
case 2:
|
1007
|
-
#line 93 "
|
1007
|
+
#line 93 "ragel/i18n/en_old.c.rl"
|
1008
1008
|
{
|
1009
1009
|
lexer->current_line = lexer->line_number;
|
1010
1010
|
lexer->start_col = p - data - lexer->last_newline;
|
1011
1011
|
}
|
1012
1012
|
break;
|
1013
1013
|
case 3:
|
1014
|
-
#line 98 "
|
1014
|
+
#line 98 "ragel/i18n/en_old.c.rl"
|
1015
1015
|
{
|
1016
1016
|
int len = LEN(content_start, PTR_TO(final_newline));
|
1017
1017
|
int type_len = LEN(docstring_content_type_start, PTR_TO(docstring_content_type_end));
|
@@ -1023,49 +1023,49 @@ _match:
|
|
1023
1023
|
}
|
1024
1024
|
break;
|
1025
1025
|
case 4:
|
1026
|
-
#line 108 "
|
1026
|
+
#line 108 "ragel/i18n/en_old.c.rl"
|
1027
1027
|
{
|
1028
1028
|
MARK(docstring_content_type_start, p);
|
1029
1029
|
}
|
1030
1030
|
break;
|
1031
1031
|
case 5:
|
1032
|
-
#line 112 "
|
1032
|
+
#line 112 "ragel/i18n/en_old.c.rl"
|
1033
1033
|
{
|
1034
1034
|
MARK(docstring_content_type_end, p);
|
1035
1035
|
}
|
1036
1036
|
break;
|
1037
1037
|
case 6:
|
1038
|
-
#line 116 "
|
1038
|
+
#line 116 "ragel/i18n/en_old.c.rl"
|
1039
1039
|
{
|
1040
1040
|
STORE_KW_END_CON(feature);
|
1041
1041
|
}
|
1042
1042
|
break;
|
1043
1043
|
case 7:
|
1044
|
-
#line 120 "
|
1044
|
+
#line 120 "ragel/i18n/en_old.c.rl"
|
1045
1045
|
{
|
1046
1046
|
STORE_KW_END_CON(background);
|
1047
1047
|
}
|
1048
1048
|
break;
|
1049
1049
|
case 8:
|
1050
|
-
#line 124 "
|
1050
|
+
#line 124 "ragel/i18n/en_old.c.rl"
|
1051
1051
|
{
|
1052
1052
|
STORE_KW_END_CON(scenario);
|
1053
1053
|
}
|
1054
1054
|
break;
|
1055
1055
|
case 9:
|
1056
|
-
#line 128 "
|
1056
|
+
#line 128 "ragel/i18n/en_old.c.rl"
|
1057
1057
|
{
|
1058
1058
|
STORE_KW_END_CON(scenario_outline);
|
1059
1059
|
}
|
1060
1060
|
break;
|
1061
1061
|
case 10:
|
1062
|
-
#line 132 "
|
1062
|
+
#line 132 "ragel/i18n/en_old.c.rl"
|
1063
1063
|
{
|
1064
1064
|
STORE_KW_END_CON(examples);
|
1065
1065
|
}
|
1066
1066
|
break;
|
1067
1067
|
case 11:
|
1068
|
-
#line 136 "
|
1068
|
+
#line 136 "ragel/i18n/en_old.c.rl"
|
1069
1069
|
{
|
1070
1070
|
store_kw_con(listener, "step",
|
1071
1071
|
PTR_TO(keyword_start), LEN(keyword_start, PTR_TO(keyword_end)),
|
@@ -1074,34 +1074,34 @@ _match:
|
|
1074
1074
|
}
|
1075
1075
|
break;
|
1076
1076
|
case 12:
|
1077
|
-
#line 143 "
|
1077
|
+
#line 143 "ragel/i18n/en_old.c.rl"
|
1078
1078
|
{
|
1079
1079
|
STORE_ATTR(comment);
|
1080
1080
|
lexer->mark = 0;
|
1081
1081
|
}
|
1082
1082
|
break;
|
1083
1083
|
case 13:
|
1084
|
-
#line 148 "
|
1084
|
+
#line 148 "ragel/i18n/en_old.c.rl"
|
1085
1085
|
{
|
1086
1086
|
STORE_ATTR(tag);
|
1087
1087
|
lexer->mark = 0;
|
1088
1088
|
}
|
1089
1089
|
break;
|
1090
1090
|
case 14:
|
1091
|
-
#line 153 "
|
1091
|
+
#line 153 "ragel/i18n/en_old.c.rl"
|
1092
1092
|
{
|
1093
1093
|
lexer->line_number += 1;
|
1094
1094
|
MARK(final_newline, p);
|
1095
1095
|
}
|
1096
1096
|
break;
|
1097
1097
|
case 15:
|
1098
|
-
#line 158 "
|
1098
|
+
#line 158 "ragel/i18n/en_old.c.rl"
|
1099
1099
|
{
|
1100
1100
|
MARK(last_newline, p + 1);
|
1101
1101
|
}
|
1102
1102
|
break;
|
1103
1103
|
case 16:
|
1104
|
-
#line 162 "
|
1104
|
+
#line 162 "ragel/i18n/en_old.c.rl"
|
1105
1105
|
{
|
1106
1106
|
if (lexer->mark == 0) {
|
1107
1107
|
MARK(mark, p);
|
@@ -1109,7 +1109,7 @@ _match:
|
|
1109
1109
|
}
|
1110
1110
|
break;
|
1111
1111
|
case 17:
|
1112
|
-
#line 168 "
|
1112
|
+
#line 168 "ragel/i18n/en_old.c.rl"
|
1113
1113
|
{
|
1114
1114
|
MARK(keyword_end, p);
|
1115
1115
|
MARK(keyword_start, PTR_TO(mark));
|
@@ -1118,13 +1118,13 @@ _match:
|
|
1118
1118
|
}
|
1119
1119
|
break;
|
1120
1120
|
case 18:
|
1121
|
-
#line 175 "
|
1121
|
+
#line 175 "ragel/i18n/en_old.c.rl"
|
1122
1122
|
{
|
1123
1123
|
MARK(content_end, p);
|
1124
1124
|
}
|
1125
1125
|
break;
|
1126
1126
|
case 19:
|
1127
|
-
#line 179 "
|
1127
|
+
#line 179 "ragel/i18n/en_old.c.rl"
|
1128
1128
|
{
|
1129
1129
|
p = p - 1;
|
1130
1130
|
lexer->current_line = lexer->line_number;
|
@@ -1132,13 +1132,13 @@ _match:
|
|
1132
1132
|
}
|
1133
1133
|
break;
|
1134
1134
|
case 20:
|
1135
|
-
#line 185 "
|
1135
|
+
#line 185 "ragel/i18n/en_old.c.rl"
|
1136
1136
|
{
|
1137
1137
|
MARK(content_start, p);
|
1138
1138
|
}
|
1139
1139
|
break;
|
1140
1140
|
case 21:
|
1141
|
-
#line 189 "
|
1141
|
+
#line 189 "ragel/i18n/en_old.c.rl"
|
1142
1142
|
{
|
1143
1143
|
VALUE re_pipe, re_newline, re_backslash;
|
1144
1144
|
VALUE con = ENCODED_STR_NEW(PTR_TO(content_start), LEN(content_start, p));
|
@@ -1154,13 +1154,13 @@ _match:
|
|
1154
1154
|
}
|
1155
1155
|
break;
|
1156
1156
|
case 22:
|
1157
|
-
#line 203 "
|
1157
|
+
#line 203 "ragel/i18n/en_old.c.rl"
|
1158
1158
|
{
|
1159
1159
|
rb_funcall(listener, rb_intern("row"), 2, current_row, INT2FIX(lexer->current_line));
|
1160
1160
|
}
|
1161
1161
|
break;
|
1162
1162
|
case 23:
|
1163
|
-
#line 207 "
|
1163
|
+
#line 207 "ragel/i18n/en_old.c.rl"
|
1164
1164
|
{
|
1165
1165
|
int line;
|
1166
1166
|
if (cs < lexer_first_final) {
|
@@ -1223,7 +1223,7 @@ _again:
|
|
1223
1223
|
while ( __nacts-- > 0 ) {
|
1224
1224
|
switch ( *__acts++ ) {
|
1225
1225
|
case 23:
|
1226
|
-
#line 207 "
|
1226
|
+
#line 207 "ragel/i18n/en_old.c.rl"
|
1227
1227
|
{
|
1228
1228
|
int line;
|
1229
1229
|
if (cs < lexer_first_final) {
|
@@ -1277,7 +1277,7 @@ _again:
|
|
1277
1277
|
_out: {}
|
1278
1278
|
}
|
1279
1279
|
|
1280
|
-
#line 426 "
|
1280
|
+
#line 426 "ragel/i18n/en_old.c.rl"
|
1281
1281
|
|
1282
1282
|
assert(p <= pe && "data overflow after parsing execute");
|
1283
1283
|
assert(lexer->content_start <= len && "content starts after data end");
|