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/sr_cyrl.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/sr_cyrl.c.rl"
|
84
84
|
|
85
85
|
|
86
86
|
/** Data **/
|
@@ -1544,7 +1544,7 @@ static const int lexer_error = 0;
|
|
1544
1544
|
static const int lexer_en_main = 1;
|
1545
1545
|
|
1546
1546
|
|
1547
|
-
#line 258 "/Users/ahellesoy/
|
1547
|
+
#line 258 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/sr_cyrl.c.rl"
|
1548
1548
|
|
1549
1549
|
static VALUE
|
1550
1550
|
unindent(VALUE con, int start_col)
|
@@ -1717,7 +1717,7 @@ static VALUE CLexer_scan(VALUE self, VALUE input)
|
|
1717
1717
|
cs = lexer_start;
|
1718
1718
|
}
|
1719
1719
|
|
1720
|
-
#line 425 "/Users/ahellesoy/
|
1720
|
+
#line 425 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/sr_cyrl.c.rl"
|
1721
1721
|
|
1722
1722
|
#line 1723 "ext/gherkin_lexer_sr_cyrl/gherkin_lexer_sr_cyrl.c"
|
1723
1723
|
{
|
@@ -1793,7 +1793,7 @@ _match:
|
|
1793
1793
|
switch ( *_acts++ )
|
1794
1794
|
{
|
1795
1795
|
case 0:
|
1796
|
-
#line 83 "/Users/ahellesoy/
|
1796
|
+
#line 83 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/sr_cyrl.c.rl"
|
1797
1797
|
{
|
1798
1798
|
MARK(content_start, p);
|
1799
1799
|
lexer->current_line = lexer->line_number;
|
@@ -1801,20 +1801,20 @@ _match:
|
|
1801
1801
|
}
|
1802
1802
|
break;
|
1803
1803
|
case 1:
|
1804
|
-
#line 89 "/Users/ahellesoy/
|
1804
|
+
#line 89 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/sr_cyrl.c.rl"
|
1805
1805
|
{
|
1806
1806
|
MARK(content_start, p);
|
1807
1807
|
}
|
1808
1808
|
break;
|
1809
1809
|
case 2:
|
1810
|
-
#line 93 "/Users/ahellesoy/
|
1810
|
+
#line 93 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/sr_cyrl.c.rl"
|
1811
1811
|
{
|
1812
1812
|
lexer->current_line = lexer->line_number;
|
1813
1813
|
lexer->start_col = p - data - lexer->last_newline;
|
1814
1814
|
}
|
1815
1815
|
break;
|
1816
1816
|
case 3:
|
1817
|
-
#line 98 "/Users/ahellesoy/
|
1817
|
+
#line 98 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/sr_cyrl.c.rl"
|
1818
1818
|
{
|
1819
1819
|
int len = LEN(content_start, PTR_TO(final_newline));
|
1820
1820
|
int type_len = LEN(docstring_content_type_start, PTR_TO(docstring_content_type_end));
|
@@ -1826,49 +1826,49 @@ _match:
|
|
1826
1826
|
}
|
1827
1827
|
break;
|
1828
1828
|
case 4:
|
1829
|
-
#line 108 "/Users/ahellesoy/
|
1829
|
+
#line 108 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/sr_cyrl.c.rl"
|
1830
1830
|
{
|
1831
1831
|
MARK(docstring_content_type_start, p);
|
1832
1832
|
}
|
1833
1833
|
break;
|
1834
1834
|
case 5:
|
1835
|
-
#line 112 "/Users/ahellesoy/
|
1835
|
+
#line 112 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/sr_cyrl.c.rl"
|
1836
1836
|
{
|
1837
1837
|
MARK(docstring_content_type_end, p);
|
1838
1838
|
}
|
1839
1839
|
break;
|
1840
1840
|
case 6:
|
1841
|
-
#line 116 "/Users/ahellesoy/
|
1841
|
+
#line 116 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/sr_cyrl.c.rl"
|
1842
1842
|
{
|
1843
1843
|
STORE_KW_END_CON(feature);
|
1844
1844
|
}
|
1845
1845
|
break;
|
1846
1846
|
case 7:
|
1847
|
-
#line 120 "/Users/ahellesoy/
|
1847
|
+
#line 120 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/sr_cyrl.c.rl"
|
1848
1848
|
{
|
1849
1849
|
STORE_KW_END_CON(background);
|
1850
1850
|
}
|
1851
1851
|
break;
|
1852
1852
|
case 8:
|
1853
|
-
#line 124 "/Users/ahellesoy/
|
1853
|
+
#line 124 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/sr_cyrl.c.rl"
|
1854
1854
|
{
|
1855
1855
|
STORE_KW_END_CON(scenario);
|
1856
1856
|
}
|
1857
1857
|
break;
|
1858
1858
|
case 9:
|
1859
|
-
#line 128 "/Users/ahellesoy/
|
1859
|
+
#line 128 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/sr_cyrl.c.rl"
|
1860
1860
|
{
|
1861
1861
|
STORE_KW_END_CON(scenario_outline);
|
1862
1862
|
}
|
1863
1863
|
break;
|
1864
1864
|
case 10:
|
1865
|
-
#line 132 "/Users/ahellesoy/
|
1865
|
+
#line 132 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/sr_cyrl.c.rl"
|
1866
1866
|
{
|
1867
1867
|
STORE_KW_END_CON(examples);
|
1868
1868
|
}
|
1869
1869
|
break;
|
1870
1870
|
case 11:
|
1871
|
-
#line 136 "/Users/ahellesoy/
|
1871
|
+
#line 136 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/sr_cyrl.c.rl"
|
1872
1872
|
{
|
1873
1873
|
store_kw_con(listener, "step",
|
1874
1874
|
PTR_TO(keyword_start), LEN(keyword_start, PTR_TO(keyword_end)),
|
@@ -1877,34 +1877,34 @@ _match:
|
|
1877
1877
|
}
|
1878
1878
|
break;
|
1879
1879
|
case 12:
|
1880
|
-
#line 143 "/Users/ahellesoy/
|
1880
|
+
#line 143 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/sr_cyrl.c.rl"
|
1881
1881
|
{
|
1882
1882
|
STORE_ATTR(comment);
|
1883
1883
|
lexer->mark = 0;
|
1884
1884
|
}
|
1885
1885
|
break;
|
1886
1886
|
case 13:
|
1887
|
-
#line 148 "/Users/ahellesoy/
|
1887
|
+
#line 148 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/sr_cyrl.c.rl"
|
1888
1888
|
{
|
1889
1889
|
STORE_ATTR(tag);
|
1890
1890
|
lexer->mark = 0;
|
1891
1891
|
}
|
1892
1892
|
break;
|
1893
1893
|
case 14:
|
1894
|
-
#line 153 "/Users/ahellesoy/
|
1894
|
+
#line 153 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/sr_cyrl.c.rl"
|
1895
1895
|
{
|
1896
1896
|
lexer->line_number += 1;
|
1897
1897
|
MARK(final_newline, p);
|
1898
1898
|
}
|
1899
1899
|
break;
|
1900
1900
|
case 15:
|
1901
|
-
#line 158 "/Users/ahellesoy/
|
1901
|
+
#line 158 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/sr_cyrl.c.rl"
|
1902
1902
|
{
|
1903
1903
|
MARK(last_newline, p + 1);
|
1904
1904
|
}
|
1905
1905
|
break;
|
1906
1906
|
case 16:
|
1907
|
-
#line 162 "/Users/ahellesoy/
|
1907
|
+
#line 162 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/sr_cyrl.c.rl"
|
1908
1908
|
{
|
1909
1909
|
if (lexer->mark == 0) {
|
1910
1910
|
MARK(mark, p);
|
@@ -1912,7 +1912,7 @@ _match:
|
|
1912
1912
|
}
|
1913
1913
|
break;
|
1914
1914
|
case 17:
|
1915
|
-
#line 168 "/Users/ahellesoy/
|
1915
|
+
#line 168 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/sr_cyrl.c.rl"
|
1916
1916
|
{
|
1917
1917
|
MARK(keyword_end, p);
|
1918
1918
|
MARK(keyword_start, PTR_TO(mark));
|
@@ -1921,13 +1921,13 @@ _match:
|
|
1921
1921
|
}
|
1922
1922
|
break;
|
1923
1923
|
case 18:
|
1924
|
-
#line 175 "/Users/ahellesoy/
|
1924
|
+
#line 175 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/sr_cyrl.c.rl"
|
1925
1925
|
{
|
1926
1926
|
MARK(content_end, p);
|
1927
1927
|
}
|
1928
1928
|
break;
|
1929
1929
|
case 19:
|
1930
|
-
#line 179 "/Users/ahellesoy/
|
1930
|
+
#line 179 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/sr_cyrl.c.rl"
|
1931
1931
|
{
|
1932
1932
|
p = p - 1;
|
1933
1933
|
lexer->current_line = lexer->line_number;
|
@@ -1935,13 +1935,13 @@ _match:
|
|
1935
1935
|
}
|
1936
1936
|
break;
|
1937
1937
|
case 20:
|
1938
|
-
#line 185 "/Users/ahellesoy/
|
1938
|
+
#line 185 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/sr_cyrl.c.rl"
|
1939
1939
|
{
|
1940
1940
|
MARK(content_start, p);
|
1941
1941
|
}
|
1942
1942
|
break;
|
1943
1943
|
case 21:
|
1944
|
-
#line 189 "/Users/ahellesoy/
|
1944
|
+
#line 189 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/sr_cyrl.c.rl"
|
1945
1945
|
{
|
1946
1946
|
VALUE re_pipe, re_newline, re_backslash;
|
1947
1947
|
VALUE con = ENCODED_STR_NEW(PTR_TO(content_start), LEN(content_start, p));
|
@@ -1957,13 +1957,13 @@ _match:
|
|
1957
1957
|
}
|
1958
1958
|
break;
|
1959
1959
|
case 22:
|
1960
|
-
#line 203 "/Users/ahellesoy/
|
1960
|
+
#line 203 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/sr_cyrl.c.rl"
|
1961
1961
|
{
|
1962
1962
|
rb_funcall(listener, rb_intern("row"), 2, current_row, INT2FIX(lexer->current_line));
|
1963
1963
|
}
|
1964
1964
|
break;
|
1965
1965
|
case 23:
|
1966
|
-
#line 207 "/Users/ahellesoy/
|
1966
|
+
#line 207 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/sr_cyrl.c.rl"
|
1967
1967
|
{
|
1968
1968
|
int line;
|
1969
1969
|
if (cs < lexer_first_final) {
|
@@ -2026,7 +2026,7 @@ _again:
|
|
2026
2026
|
while ( __nacts-- > 0 ) {
|
2027
2027
|
switch ( *__acts++ ) {
|
2028
2028
|
case 23:
|
2029
|
-
#line 207 "/Users/ahellesoy/
|
2029
|
+
#line 207 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/sr_cyrl.c.rl"
|
2030
2030
|
{
|
2031
2031
|
int line;
|
2032
2032
|
if (cs < lexer_first_final) {
|
@@ -2080,7 +2080,7 @@ _again:
|
|
2080
2080
|
_out: {}
|
2081
2081
|
}
|
2082
2082
|
|
2083
|
-
#line 426 "/Users/ahellesoy/
|
2083
|
+
#line 426 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/sr_cyrl.c.rl"
|
2084
2084
|
|
2085
2085
|
assert(p <= pe && "data overflow after parsing execute");
|
2086
2086
|
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/sr_latn.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/sr_latn.c.rl"
|
84
84
|
|
85
85
|
|
86
86
|
/** Data **/
|
@@ -999,7 +999,7 @@ static const int lexer_error = 0;
|
|
999
999
|
static const int lexer_en_main = 1;
|
1000
1000
|
|
1001
1001
|
|
1002
|
-
#line 258 "/Users/ahellesoy/
|
1002
|
+
#line 258 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/sr_latn.c.rl"
|
1003
1003
|
|
1004
1004
|
static VALUE
|
1005
1005
|
unindent(VALUE con, int start_col)
|
@@ -1172,7 +1172,7 @@ static VALUE CLexer_scan(VALUE self, VALUE input)
|
|
1172
1172
|
cs = lexer_start;
|
1173
1173
|
}
|
1174
1174
|
|
1175
|
-
#line 425 "/Users/ahellesoy/
|
1175
|
+
#line 425 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/sr_latn.c.rl"
|
1176
1176
|
|
1177
1177
|
#line 1178 "ext/gherkin_lexer_sr_latn/gherkin_lexer_sr_latn.c"
|
1178
1178
|
{
|
@@ -1248,7 +1248,7 @@ _match:
|
|
1248
1248
|
switch ( *_acts++ )
|
1249
1249
|
{
|
1250
1250
|
case 0:
|
1251
|
-
#line 83 "/Users/ahellesoy/
|
1251
|
+
#line 83 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/sr_latn.c.rl"
|
1252
1252
|
{
|
1253
1253
|
MARK(content_start, p);
|
1254
1254
|
lexer->current_line = lexer->line_number;
|
@@ -1256,20 +1256,20 @@ _match:
|
|
1256
1256
|
}
|
1257
1257
|
break;
|
1258
1258
|
case 1:
|
1259
|
-
#line 89 "/Users/ahellesoy/
|
1259
|
+
#line 89 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/sr_latn.c.rl"
|
1260
1260
|
{
|
1261
1261
|
MARK(content_start, p);
|
1262
1262
|
}
|
1263
1263
|
break;
|
1264
1264
|
case 2:
|
1265
|
-
#line 93 "/Users/ahellesoy/
|
1265
|
+
#line 93 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/sr_latn.c.rl"
|
1266
1266
|
{
|
1267
1267
|
lexer->current_line = lexer->line_number;
|
1268
1268
|
lexer->start_col = p - data - lexer->last_newline;
|
1269
1269
|
}
|
1270
1270
|
break;
|
1271
1271
|
case 3:
|
1272
|
-
#line 98 "/Users/ahellesoy/
|
1272
|
+
#line 98 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/sr_latn.c.rl"
|
1273
1273
|
{
|
1274
1274
|
int len = LEN(content_start, PTR_TO(final_newline));
|
1275
1275
|
int type_len = LEN(docstring_content_type_start, PTR_TO(docstring_content_type_end));
|
@@ -1281,49 +1281,49 @@ _match:
|
|
1281
1281
|
}
|
1282
1282
|
break;
|
1283
1283
|
case 4:
|
1284
|
-
#line 108 "/Users/ahellesoy/
|
1284
|
+
#line 108 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/sr_latn.c.rl"
|
1285
1285
|
{
|
1286
1286
|
MARK(docstring_content_type_start, p);
|
1287
1287
|
}
|
1288
1288
|
break;
|
1289
1289
|
case 5:
|
1290
|
-
#line 112 "/Users/ahellesoy/
|
1290
|
+
#line 112 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/sr_latn.c.rl"
|
1291
1291
|
{
|
1292
1292
|
MARK(docstring_content_type_end, p);
|
1293
1293
|
}
|
1294
1294
|
break;
|
1295
1295
|
case 6:
|
1296
|
-
#line 116 "/Users/ahellesoy/
|
1296
|
+
#line 116 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/sr_latn.c.rl"
|
1297
1297
|
{
|
1298
1298
|
STORE_KW_END_CON(feature);
|
1299
1299
|
}
|
1300
1300
|
break;
|
1301
1301
|
case 7:
|
1302
|
-
#line 120 "/Users/ahellesoy/
|
1302
|
+
#line 120 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/sr_latn.c.rl"
|
1303
1303
|
{
|
1304
1304
|
STORE_KW_END_CON(background);
|
1305
1305
|
}
|
1306
1306
|
break;
|
1307
1307
|
case 8:
|
1308
|
-
#line 124 "/Users/ahellesoy/
|
1308
|
+
#line 124 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/sr_latn.c.rl"
|
1309
1309
|
{
|
1310
1310
|
STORE_KW_END_CON(scenario);
|
1311
1311
|
}
|
1312
1312
|
break;
|
1313
1313
|
case 9:
|
1314
|
-
#line 128 "/Users/ahellesoy/
|
1314
|
+
#line 128 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/sr_latn.c.rl"
|
1315
1315
|
{
|
1316
1316
|
STORE_KW_END_CON(scenario_outline);
|
1317
1317
|
}
|
1318
1318
|
break;
|
1319
1319
|
case 10:
|
1320
|
-
#line 132 "/Users/ahellesoy/
|
1320
|
+
#line 132 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/sr_latn.c.rl"
|
1321
1321
|
{
|
1322
1322
|
STORE_KW_END_CON(examples);
|
1323
1323
|
}
|
1324
1324
|
break;
|
1325
1325
|
case 11:
|
1326
|
-
#line 136 "/Users/ahellesoy/
|
1326
|
+
#line 136 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/sr_latn.c.rl"
|
1327
1327
|
{
|
1328
1328
|
store_kw_con(listener, "step",
|
1329
1329
|
PTR_TO(keyword_start), LEN(keyword_start, PTR_TO(keyword_end)),
|
@@ -1332,34 +1332,34 @@ _match:
|
|
1332
1332
|
}
|
1333
1333
|
break;
|
1334
1334
|
case 12:
|
1335
|
-
#line 143 "/Users/ahellesoy/
|
1335
|
+
#line 143 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/sr_latn.c.rl"
|
1336
1336
|
{
|
1337
1337
|
STORE_ATTR(comment);
|
1338
1338
|
lexer->mark = 0;
|
1339
1339
|
}
|
1340
1340
|
break;
|
1341
1341
|
case 13:
|
1342
|
-
#line 148 "/Users/ahellesoy/
|
1342
|
+
#line 148 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/sr_latn.c.rl"
|
1343
1343
|
{
|
1344
1344
|
STORE_ATTR(tag);
|
1345
1345
|
lexer->mark = 0;
|
1346
1346
|
}
|
1347
1347
|
break;
|
1348
1348
|
case 14:
|
1349
|
-
#line 153 "/Users/ahellesoy/
|
1349
|
+
#line 153 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/sr_latn.c.rl"
|
1350
1350
|
{
|
1351
1351
|
lexer->line_number += 1;
|
1352
1352
|
MARK(final_newline, p);
|
1353
1353
|
}
|
1354
1354
|
break;
|
1355
1355
|
case 15:
|
1356
|
-
#line 158 "/Users/ahellesoy/
|
1356
|
+
#line 158 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/sr_latn.c.rl"
|
1357
1357
|
{
|
1358
1358
|
MARK(last_newline, p + 1);
|
1359
1359
|
}
|
1360
1360
|
break;
|
1361
1361
|
case 16:
|
1362
|
-
#line 162 "/Users/ahellesoy/
|
1362
|
+
#line 162 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/sr_latn.c.rl"
|
1363
1363
|
{
|
1364
1364
|
if (lexer->mark == 0) {
|
1365
1365
|
MARK(mark, p);
|
@@ -1367,7 +1367,7 @@ _match:
|
|
1367
1367
|
}
|
1368
1368
|
break;
|
1369
1369
|
case 17:
|
1370
|
-
#line 168 "/Users/ahellesoy/
|
1370
|
+
#line 168 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/sr_latn.c.rl"
|
1371
1371
|
{
|
1372
1372
|
MARK(keyword_end, p);
|
1373
1373
|
MARK(keyword_start, PTR_TO(mark));
|
@@ -1376,13 +1376,13 @@ _match:
|
|
1376
1376
|
}
|
1377
1377
|
break;
|
1378
1378
|
case 18:
|
1379
|
-
#line 175 "/Users/ahellesoy/
|
1379
|
+
#line 175 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/sr_latn.c.rl"
|
1380
1380
|
{
|
1381
1381
|
MARK(content_end, p);
|
1382
1382
|
}
|
1383
1383
|
break;
|
1384
1384
|
case 19:
|
1385
|
-
#line 179 "/Users/ahellesoy/
|
1385
|
+
#line 179 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/sr_latn.c.rl"
|
1386
1386
|
{
|
1387
1387
|
p = p - 1;
|
1388
1388
|
lexer->current_line = lexer->line_number;
|
@@ -1390,13 +1390,13 @@ _match:
|
|
1390
1390
|
}
|
1391
1391
|
break;
|
1392
1392
|
case 20:
|
1393
|
-
#line 185 "/Users/ahellesoy/
|
1393
|
+
#line 185 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/sr_latn.c.rl"
|
1394
1394
|
{
|
1395
1395
|
MARK(content_start, p);
|
1396
1396
|
}
|
1397
1397
|
break;
|
1398
1398
|
case 21:
|
1399
|
-
#line 189 "/Users/ahellesoy/
|
1399
|
+
#line 189 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/sr_latn.c.rl"
|
1400
1400
|
{
|
1401
1401
|
VALUE re_pipe, re_newline, re_backslash;
|
1402
1402
|
VALUE con = ENCODED_STR_NEW(PTR_TO(content_start), LEN(content_start, p));
|
@@ -1412,13 +1412,13 @@ _match:
|
|
1412
1412
|
}
|
1413
1413
|
break;
|
1414
1414
|
case 22:
|
1415
|
-
#line 203 "/Users/ahellesoy/
|
1415
|
+
#line 203 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/sr_latn.c.rl"
|
1416
1416
|
{
|
1417
1417
|
rb_funcall(listener, rb_intern("row"), 2, current_row, INT2FIX(lexer->current_line));
|
1418
1418
|
}
|
1419
1419
|
break;
|
1420
1420
|
case 23:
|
1421
|
-
#line 207 "/Users/ahellesoy/
|
1421
|
+
#line 207 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/sr_latn.c.rl"
|
1422
1422
|
{
|
1423
1423
|
int line;
|
1424
1424
|
if (cs < lexer_first_final) {
|
@@ -1481,7 +1481,7 @@ _again:
|
|
1481
1481
|
while ( __nacts-- > 0 ) {
|
1482
1482
|
switch ( *__acts++ ) {
|
1483
1483
|
case 23:
|
1484
|
-
#line 207 "/Users/ahellesoy/
|
1484
|
+
#line 207 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/sr_latn.c.rl"
|
1485
1485
|
{
|
1486
1486
|
int line;
|
1487
1487
|
if (cs < lexer_first_final) {
|
@@ -1535,7 +1535,7 @@ _again:
|
|
1535
1535
|
_out: {}
|
1536
1536
|
}
|
1537
1537
|
|
1538
|
-
#line 426 "/Users/ahellesoy/
|
1538
|
+
#line 426 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/sr_latn.c.rl"
|
1539
1539
|
|
1540
1540
|
assert(p <= pe && "data overflow after parsing execute");
|
1541
1541
|
assert(lexer->content_start <= len && "content starts after data end");
|