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/uk.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/uk.c.rl"
|
84
84
|
|
85
85
|
|
86
86
|
/** Data **/
|
@@ -1373,7 +1373,7 @@ static const int lexer_error = 0;
|
|
1373
1373
|
static const int lexer_en_main = 1;
|
1374
1374
|
|
1375
1375
|
|
1376
|
-
#line 258 "/Users/ahellesoy/
|
1376
|
+
#line 258 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/uk.c.rl"
|
1377
1377
|
|
1378
1378
|
static VALUE
|
1379
1379
|
unindent(VALUE con, int start_col)
|
@@ -1546,7 +1546,7 @@ static VALUE CLexer_scan(VALUE self, VALUE input)
|
|
1546
1546
|
cs = lexer_start;
|
1547
1547
|
}
|
1548
1548
|
|
1549
|
-
#line 425 "/Users/ahellesoy/
|
1549
|
+
#line 425 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/uk.c.rl"
|
1550
1550
|
|
1551
1551
|
#line 1552 "ext/gherkin_lexer_uk/gherkin_lexer_uk.c"
|
1552
1552
|
{
|
@@ -1622,7 +1622,7 @@ _match:
|
|
1622
1622
|
switch ( *_acts++ )
|
1623
1623
|
{
|
1624
1624
|
case 0:
|
1625
|
-
#line 83 "/Users/ahellesoy/
|
1625
|
+
#line 83 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/uk.c.rl"
|
1626
1626
|
{
|
1627
1627
|
MARK(content_start, p);
|
1628
1628
|
lexer->current_line = lexer->line_number;
|
@@ -1630,20 +1630,20 @@ _match:
|
|
1630
1630
|
}
|
1631
1631
|
break;
|
1632
1632
|
case 1:
|
1633
|
-
#line 89 "/Users/ahellesoy/
|
1633
|
+
#line 89 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/uk.c.rl"
|
1634
1634
|
{
|
1635
1635
|
MARK(content_start, p);
|
1636
1636
|
}
|
1637
1637
|
break;
|
1638
1638
|
case 2:
|
1639
|
-
#line 93 "/Users/ahellesoy/
|
1639
|
+
#line 93 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/uk.c.rl"
|
1640
1640
|
{
|
1641
1641
|
lexer->current_line = lexer->line_number;
|
1642
1642
|
lexer->start_col = p - data - lexer->last_newline;
|
1643
1643
|
}
|
1644
1644
|
break;
|
1645
1645
|
case 3:
|
1646
|
-
#line 98 "/Users/ahellesoy/
|
1646
|
+
#line 98 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/uk.c.rl"
|
1647
1647
|
{
|
1648
1648
|
int len = LEN(content_start, PTR_TO(final_newline));
|
1649
1649
|
int type_len = LEN(docstring_content_type_start, PTR_TO(docstring_content_type_end));
|
@@ -1655,49 +1655,49 @@ _match:
|
|
1655
1655
|
}
|
1656
1656
|
break;
|
1657
1657
|
case 4:
|
1658
|
-
#line 108 "/Users/ahellesoy/
|
1658
|
+
#line 108 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/uk.c.rl"
|
1659
1659
|
{
|
1660
1660
|
MARK(docstring_content_type_start, p);
|
1661
1661
|
}
|
1662
1662
|
break;
|
1663
1663
|
case 5:
|
1664
|
-
#line 112 "/Users/ahellesoy/
|
1664
|
+
#line 112 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/uk.c.rl"
|
1665
1665
|
{
|
1666
1666
|
MARK(docstring_content_type_end, p);
|
1667
1667
|
}
|
1668
1668
|
break;
|
1669
1669
|
case 6:
|
1670
|
-
#line 116 "/Users/ahellesoy/
|
1670
|
+
#line 116 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/uk.c.rl"
|
1671
1671
|
{
|
1672
1672
|
STORE_KW_END_CON(feature);
|
1673
1673
|
}
|
1674
1674
|
break;
|
1675
1675
|
case 7:
|
1676
|
-
#line 120 "/Users/ahellesoy/
|
1676
|
+
#line 120 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/uk.c.rl"
|
1677
1677
|
{
|
1678
1678
|
STORE_KW_END_CON(background);
|
1679
1679
|
}
|
1680
1680
|
break;
|
1681
1681
|
case 8:
|
1682
|
-
#line 124 "/Users/ahellesoy/
|
1682
|
+
#line 124 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/uk.c.rl"
|
1683
1683
|
{
|
1684
1684
|
STORE_KW_END_CON(scenario);
|
1685
1685
|
}
|
1686
1686
|
break;
|
1687
1687
|
case 9:
|
1688
|
-
#line 128 "/Users/ahellesoy/
|
1688
|
+
#line 128 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/uk.c.rl"
|
1689
1689
|
{
|
1690
1690
|
STORE_KW_END_CON(scenario_outline);
|
1691
1691
|
}
|
1692
1692
|
break;
|
1693
1693
|
case 10:
|
1694
|
-
#line 132 "/Users/ahellesoy/
|
1694
|
+
#line 132 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/uk.c.rl"
|
1695
1695
|
{
|
1696
1696
|
STORE_KW_END_CON(examples);
|
1697
1697
|
}
|
1698
1698
|
break;
|
1699
1699
|
case 11:
|
1700
|
-
#line 136 "/Users/ahellesoy/
|
1700
|
+
#line 136 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/uk.c.rl"
|
1701
1701
|
{
|
1702
1702
|
store_kw_con(listener, "step",
|
1703
1703
|
PTR_TO(keyword_start), LEN(keyword_start, PTR_TO(keyword_end)),
|
@@ -1706,34 +1706,34 @@ _match:
|
|
1706
1706
|
}
|
1707
1707
|
break;
|
1708
1708
|
case 12:
|
1709
|
-
#line 143 "/Users/ahellesoy/
|
1709
|
+
#line 143 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/uk.c.rl"
|
1710
1710
|
{
|
1711
1711
|
STORE_ATTR(comment);
|
1712
1712
|
lexer->mark = 0;
|
1713
1713
|
}
|
1714
1714
|
break;
|
1715
1715
|
case 13:
|
1716
|
-
#line 148 "/Users/ahellesoy/
|
1716
|
+
#line 148 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/uk.c.rl"
|
1717
1717
|
{
|
1718
1718
|
STORE_ATTR(tag);
|
1719
1719
|
lexer->mark = 0;
|
1720
1720
|
}
|
1721
1721
|
break;
|
1722
1722
|
case 14:
|
1723
|
-
#line 153 "/Users/ahellesoy/
|
1723
|
+
#line 153 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/uk.c.rl"
|
1724
1724
|
{
|
1725
1725
|
lexer->line_number += 1;
|
1726
1726
|
MARK(final_newline, p);
|
1727
1727
|
}
|
1728
1728
|
break;
|
1729
1729
|
case 15:
|
1730
|
-
#line 158 "/Users/ahellesoy/
|
1730
|
+
#line 158 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/uk.c.rl"
|
1731
1731
|
{
|
1732
1732
|
MARK(last_newline, p + 1);
|
1733
1733
|
}
|
1734
1734
|
break;
|
1735
1735
|
case 16:
|
1736
|
-
#line 162 "/Users/ahellesoy/
|
1736
|
+
#line 162 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/uk.c.rl"
|
1737
1737
|
{
|
1738
1738
|
if (lexer->mark == 0) {
|
1739
1739
|
MARK(mark, p);
|
@@ -1741,7 +1741,7 @@ _match:
|
|
1741
1741
|
}
|
1742
1742
|
break;
|
1743
1743
|
case 17:
|
1744
|
-
#line 168 "/Users/ahellesoy/
|
1744
|
+
#line 168 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/uk.c.rl"
|
1745
1745
|
{
|
1746
1746
|
MARK(keyword_end, p);
|
1747
1747
|
MARK(keyword_start, PTR_TO(mark));
|
@@ -1750,13 +1750,13 @@ _match:
|
|
1750
1750
|
}
|
1751
1751
|
break;
|
1752
1752
|
case 18:
|
1753
|
-
#line 175 "/Users/ahellesoy/
|
1753
|
+
#line 175 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/uk.c.rl"
|
1754
1754
|
{
|
1755
1755
|
MARK(content_end, p);
|
1756
1756
|
}
|
1757
1757
|
break;
|
1758
1758
|
case 19:
|
1759
|
-
#line 179 "/Users/ahellesoy/
|
1759
|
+
#line 179 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/uk.c.rl"
|
1760
1760
|
{
|
1761
1761
|
p = p - 1;
|
1762
1762
|
lexer->current_line = lexer->line_number;
|
@@ -1764,13 +1764,13 @@ _match:
|
|
1764
1764
|
}
|
1765
1765
|
break;
|
1766
1766
|
case 20:
|
1767
|
-
#line 185 "/Users/ahellesoy/
|
1767
|
+
#line 185 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/uk.c.rl"
|
1768
1768
|
{
|
1769
1769
|
MARK(content_start, p);
|
1770
1770
|
}
|
1771
1771
|
break;
|
1772
1772
|
case 21:
|
1773
|
-
#line 189 "/Users/ahellesoy/
|
1773
|
+
#line 189 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/uk.c.rl"
|
1774
1774
|
{
|
1775
1775
|
VALUE re_pipe, re_newline, re_backslash;
|
1776
1776
|
VALUE con = ENCODED_STR_NEW(PTR_TO(content_start), LEN(content_start, p));
|
@@ -1786,13 +1786,13 @@ _match:
|
|
1786
1786
|
}
|
1787
1787
|
break;
|
1788
1788
|
case 22:
|
1789
|
-
#line 203 "/Users/ahellesoy/
|
1789
|
+
#line 203 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/uk.c.rl"
|
1790
1790
|
{
|
1791
1791
|
rb_funcall(listener, rb_intern("row"), 2, current_row, INT2FIX(lexer->current_line));
|
1792
1792
|
}
|
1793
1793
|
break;
|
1794
1794
|
case 23:
|
1795
|
-
#line 207 "/Users/ahellesoy/
|
1795
|
+
#line 207 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/uk.c.rl"
|
1796
1796
|
{
|
1797
1797
|
int line;
|
1798
1798
|
if (cs < lexer_first_final) {
|
@@ -1855,7 +1855,7 @@ _again:
|
|
1855
1855
|
while ( __nacts-- > 0 ) {
|
1856
1856
|
switch ( *__acts++ ) {
|
1857
1857
|
case 23:
|
1858
|
-
#line 207 "/Users/ahellesoy/
|
1858
|
+
#line 207 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/uk.c.rl"
|
1859
1859
|
{
|
1860
1860
|
int line;
|
1861
1861
|
if (cs < lexer_first_final) {
|
@@ -1909,7 +1909,7 @@ _again:
|
|
1909
1909
|
_out: {}
|
1910
1910
|
}
|
1911
1911
|
|
1912
|
-
#line 426 "/Users/ahellesoy/
|
1912
|
+
#line 426 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/uk.c.rl"
|
1913
1913
|
|
1914
1914
|
assert(p <= pe && "data overflow after parsing execute");
|
1915
1915
|
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/uz.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/uz.c.rl"
|
84
84
|
|
85
85
|
|
86
86
|
/** Data **/
|
@@ -1083,7 +1083,7 @@ static const int lexer_error = 0;
|
|
1083
1083
|
static const int lexer_en_main = 1;
|
1084
1084
|
|
1085
1085
|
|
1086
|
-
#line 258 "/Users/ahellesoy/
|
1086
|
+
#line 258 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/uz.c.rl"
|
1087
1087
|
|
1088
1088
|
static VALUE
|
1089
1089
|
unindent(VALUE con, int start_col)
|
@@ -1256,7 +1256,7 @@ static VALUE CLexer_scan(VALUE self, VALUE input)
|
|
1256
1256
|
cs = lexer_start;
|
1257
1257
|
}
|
1258
1258
|
|
1259
|
-
#line 425 "/Users/ahellesoy/
|
1259
|
+
#line 425 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/uz.c.rl"
|
1260
1260
|
|
1261
1261
|
#line 1262 "ext/gherkin_lexer_uz/gherkin_lexer_uz.c"
|
1262
1262
|
{
|
@@ -1332,7 +1332,7 @@ _match:
|
|
1332
1332
|
switch ( *_acts++ )
|
1333
1333
|
{
|
1334
1334
|
case 0:
|
1335
|
-
#line 83 "/Users/ahellesoy/
|
1335
|
+
#line 83 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/uz.c.rl"
|
1336
1336
|
{
|
1337
1337
|
MARK(content_start, p);
|
1338
1338
|
lexer->current_line = lexer->line_number;
|
@@ -1340,20 +1340,20 @@ _match:
|
|
1340
1340
|
}
|
1341
1341
|
break;
|
1342
1342
|
case 1:
|
1343
|
-
#line 89 "/Users/ahellesoy/
|
1343
|
+
#line 89 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/uz.c.rl"
|
1344
1344
|
{
|
1345
1345
|
MARK(content_start, p);
|
1346
1346
|
}
|
1347
1347
|
break;
|
1348
1348
|
case 2:
|
1349
|
-
#line 93 "/Users/ahellesoy/
|
1349
|
+
#line 93 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/uz.c.rl"
|
1350
1350
|
{
|
1351
1351
|
lexer->current_line = lexer->line_number;
|
1352
1352
|
lexer->start_col = p - data - lexer->last_newline;
|
1353
1353
|
}
|
1354
1354
|
break;
|
1355
1355
|
case 3:
|
1356
|
-
#line 98 "/Users/ahellesoy/
|
1356
|
+
#line 98 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/uz.c.rl"
|
1357
1357
|
{
|
1358
1358
|
int len = LEN(content_start, PTR_TO(final_newline));
|
1359
1359
|
int type_len = LEN(docstring_content_type_start, PTR_TO(docstring_content_type_end));
|
@@ -1365,49 +1365,49 @@ _match:
|
|
1365
1365
|
}
|
1366
1366
|
break;
|
1367
1367
|
case 4:
|
1368
|
-
#line 108 "/Users/ahellesoy/
|
1368
|
+
#line 108 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/uz.c.rl"
|
1369
1369
|
{
|
1370
1370
|
MARK(docstring_content_type_start, p);
|
1371
1371
|
}
|
1372
1372
|
break;
|
1373
1373
|
case 5:
|
1374
|
-
#line 112 "/Users/ahellesoy/
|
1374
|
+
#line 112 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/uz.c.rl"
|
1375
1375
|
{
|
1376
1376
|
MARK(docstring_content_type_end, p);
|
1377
1377
|
}
|
1378
1378
|
break;
|
1379
1379
|
case 6:
|
1380
|
-
#line 116 "/Users/ahellesoy/
|
1380
|
+
#line 116 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/uz.c.rl"
|
1381
1381
|
{
|
1382
1382
|
STORE_KW_END_CON(feature);
|
1383
1383
|
}
|
1384
1384
|
break;
|
1385
1385
|
case 7:
|
1386
|
-
#line 120 "/Users/ahellesoy/
|
1386
|
+
#line 120 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/uz.c.rl"
|
1387
1387
|
{
|
1388
1388
|
STORE_KW_END_CON(background);
|
1389
1389
|
}
|
1390
1390
|
break;
|
1391
1391
|
case 8:
|
1392
|
-
#line 124 "/Users/ahellesoy/
|
1392
|
+
#line 124 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/uz.c.rl"
|
1393
1393
|
{
|
1394
1394
|
STORE_KW_END_CON(scenario);
|
1395
1395
|
}
|
1396
1396
|
break;
|
1397
1397
|
case 9:
|
1398
|
-
#line 128 "/Users/ahellesoy/
|
1398
|
+
#line 128 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/uz.c.rl"
|
1399
1399
|
{
|
1400
1400
|
STORE_KW_END_CON(scenario_outline);
|
1401
1401
|
}
|
1402
1402
|
break;
|
1403
1403
|
case 10:
|
1404
|
-
#line 132 "/Users/ahellesoy/
|
1404
|
+
#line 132 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/uz.c.rl"
|
1405
1405
|
{
|
1406
1406
|
STORE_KW_END_CON(examples);
|
1407
1407
|
}
|
1408
1408
|
break;
|
1409
1409
|
case 11:
|
1410
|
-
#line 136 "/Users/ahellesoy/
|
1410
|
+
#line 136 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/uz.c.rl"
|
1411
1411
|
{
|
1412
1412
|
store_kw_con(listener, "step",
|
1413
1413
|
PTR_TO(keyword_start), LEN(keyword_start, PTR_TO(keyword_end)),
|
@@ -1416,34 +1416,34 @@ _match:
|
|
1416
1416
|
}
|
1417
1417
|
break;
|
1418
1418
|
case 12:
|
1419
|
-
#line 143 "/Users/ahellesoy/
|
1419
|
+
#line 143 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/uz.c.rl"
|
1420
1420
|
{
|
1421
1421
|
STORE_ATTR(comment);
|
1422
1422
|
lexer->mark = 0;
|
1423
1423
|
}
|
1424
1424
|
break;
|
1425
1425
|
case 13:
|
1426
|
-
#line 148 "/Users/ahellesoy/
|
1426
|
+
#line 148 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/uz.c.rl"
|
1427
1427
|
{
|
1428
1428
|
STORE_ATTR(tag);
|
1429
1429
|
lexer->mark = 0;
|
1430
1430
|
}
|
1431
1431
|
break;
|
1432
1432
|
case 14:
|
1433
|
-
#line 153 "/Users/ahellesoy/
|
1433
|
+
#line 153 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/uz.c.rl"
|
1434
1434
|
{
|
1435
1435
|
lexer->line_number += 1;
|
1436
1436
|
MARK(final_newline, p);
|
1437
1437
|
}
|
1438
1438
|
break;
|
1439
1439
|
case 15:
|
1440
|
-
#line 158 "/Users/ahellesoy/
|
1440
|
+
#line 158 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/uz.c.rl"
|
1441
1441
|
{
|
1442
1442
|
MARK(last_newline, p + 1);
|
1443
1443
|
}
|
1444
1444
|
break;
|
1445
1445
|
case 16:
|
1446
|
-
#line 162 "/Users/ahellesoy/
|
1446
|
+
#line 162 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/uz.c.rl"
|
1447
1447
|
{
|
1448
1448
|
if (lexer->mark == 0) {
|
1449
1449
|
MARK(mark, p);
|
@@ -1451,7 +1451,7 @@ _match:
|
|
1451
1451
|
}
|
1452
1452
|
break;
|
1453
1453
|
case 17:
|
1454
|
-
#line 168 "/Users/ahellesoy/
|
1454
|
+
#line 168 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/uz.c.rl"
|
1455
1455
|
{
|
1456
1456
|
MARK(keyword_end, p);
|
1457
1457
|
MARK(keyword_start, PTR_TO(mark));
|
@@ -1460,13 +1460,13 @@ _match:
|
|
1460
1460
|
}
|
1461
1461
|
break;
|
1462
1462
|
case 18:
|
1463
|
-
#line 175 "/Users/ahellesoy/
|
1463
|
+
#line 175 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/uz.c.rl"
|
1464
1464
|
{
|
1465
1465
|
MARK(content_end, p);
|
1466
1466
|
}
|
1467
1467
|
break;
|
1468
1468
|
case 19:
|
1469
|
-
#line 179 "/Users/ahellesoy/
|
1469
|
+
#line 179 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/uz.c.rl"
|
1470
1470
|
{
|
1471
1471
|
p = p - 1;
|
1472
1472
|
lexer->current_line = lexer->line_number;
|
@@ -1474,13 +1474,13 @@ _match:
|
|
1474
1474
|
}
|
1475
1475
|
break;
|
1476
1476
|
case 20:
|
1477
|
-
#line 185 "/Users/ahellesoy/
|
1477
|
+
#line 185 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/uz.c.rl"
|
1478
1478
|
{
|
1479
1479
|
MARK(content_start, p);
|
1480
1480
|
}
|
1481
1481
|
break;
|
1482
1482
|
case 21:
|
1483
|
-
#line 189 "/Users/ahellesoy/
|
1483
|
+
#line 189 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/uz.c.rl"
|
1484
1484
|
{
|
1485
1485
|
VALUE re_pipe, re_newline, re_backslash;
|
1486
1486
|
VALUE con = ENCODED_STR_NEW(PTR_TO(content_start), LEN(content_start, p));
|
@@ -1496,13 +1496,13 @@ _match:
|
|
1496
1496
|
}
|
1497
1497
|
break;
|
1498
1498
|
case 22:
|
1499
|
-
#line 203 "/Users/ahellesoy/
|
1499
|
+
#line 203 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/uz.c.rl"
|
1500
1500
|
{
|
1501
1501
|
rb_funcall(listener, rb_intern("row"), 2, current_row, INT2FIX(lexer->current_line));
|
1502
1502
|
}
|
1503
1503
|
break;
|
1504
1504
|
case 23:
|
1505
|
-
#line 207 "/Users/ahellesoy/
|
1505
|
+
#line 207 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/uz.c.rl"
|
1506
1506
|
{
|
1507
1507
|
int line;
|
1508
1508
|
if (cs < lexer_first_final) {
|
@@ -1565,7 +1565,7 @@ _again:
|
|
1565
1565
|
while ( __nacts-- > 0 ) {
|
1566
1566
|
switch ( *__acts++ ) {
|
1567
1567
|
case 23:
|
1568
|
-
#line 207 "/Users/ahellesoy/
|
1568
|
+
#line 207 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/uz.c.rl"
|
1569
1569
|
{
|
1570
1570
|
int line;
|
1571
1571
|
if (cs < lexer_first_final) {
|
@@ -1619,7 +1619,7 @@ _again:
|
|
1619
1619
|
_out: {}
|
1620
1620
|
}
|
1621
1621
|
|
1622
|
-
#line 426 "/Users/ahellesoy/
|
1622
|
+
#line 426 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/uz.c.rl"
|
1623
1623
|
|
1624
1624
|
assert(p <= pe && "data overflow after parsing execute");
|
1625
1625
|
assert(lexer->content_start <= len && "content starts after data end");
|