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/sk.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/sk.c.rl"
|
84
84
|
|
85
85
|
|
86
86
|
/** Data **/
|
@@ -1171,7 +1171,7 @@ static const int lexer_error = 0;
|
|
1171
1171
|
static const int lexer_en_main = 1;
|
1172
1172
|
|
1173
1173
|
|
1174
|
-
#line 258 "
|
1174
|
+
#line 258 "ragel/i18n/sk.c.rl"
|
1175
1175
|
|
1176
1176
|
static VALUE
|
1177
1177
|
unindent(VALUE con, int start_col)
|
@@ -1344,7 +1344,7 @@ static VALUE CLexer_scan(VALUE self, VALUE input)
|
|
1344
1344
|
cs = lexer_start;
|
1345
1345
|
}
|
1346
1346
|
|
1347
|
-
#line 425 "
|
1347
|
+
#line 425 "ragel/i18n/sk.c.rl"
|
1348
1348
|
|
1349
1349
|
#line 1350 "ext/gherkin_lexer_sk/gherkin_lexer_sk.c"
|
1350
1350
|
{
|
@@ -1420,7 +1420,7 @@ _match:
|
|
1420
1420
|
switch ( *_acts++ )
|
1421
1421
|
{
|
1422
1422
|
case 0:
|
1423
|
-
#line 83 "
|
1423
|
+
#line 83 "ragel/i18n/sk.c.rl"
|
1424
1424
|
{
|
1425
1425
|
MARK(content_start, p);
|
1426
1426
|
lexer->current_line = lexer->line_number;
|
@@ -1428,20 +1428,20 @@ _match:
|
|
1428
1428
|
}
|
1429
1429
|
break;
|
1430
1430
|
case 1:
|
1431
|
-
#line 89 "
|
1431
|
+
#line 89 "ragel/i18n/sk.c.rl"
|
1432
1432
|
{
|
1433
1433
|
MARK(content_start, p);
|
1434
1434
|
}
|
1435
1435
|
break;
|
1436
1436
|
case 2:
|
1437
|
-
#line 93 "
|
1437
|
+
#line 93 "ragel/i18n/sk.c.rl"
|
1438
1438
|
{
|
1439
1439
|
lexer->current_line = lexer->line_number;
|
1440
1440
|
lexer->start_col = p - data - lexer->last_newline;
|
1441
1441
|
}
|
1442
1442
|
break;
|
1443
1443
|
case 3:
|
1444
|
-
#line 98 "
|
1444
|
+
#line 98 "ragel/i18n/sk.c.rl"
|
1445
1445
|
{
|
1446
1446
|
int len = LEN(content_start, PTR_TO(final_newline));
|
1447
1447
|
int type_len = LEN(docstring_content_type_start, PTR_TO(docstring_content_type_end));
|
@@ -1453,49 +1453,49 @@ _match:
|
|
1453
1453
|
}
|
1454
1454
|
break;
|
1455
1455
|
case 4:
|
1456
|
-
#line 108 "
|
1456
|
+
#line 108 "ragel/i18n/sk.c.rl"
|
1457
1457
|
{
|
1458
1458
|
MARK(docstring_content_type_start, p);
|
1459
1459
|
}
|
1460
1460
|
break;
|
1461
1461
|
case 5:
|
1462
|
-
#line 112 "
|
1462
|
+
#line 112 "ragel/i18n/sk.c.rl"
|
1463
1463
|
{
|
1464
1464
|
MARK(docstring_content_type_end, p);
|
1465
1465
|
}
|
1466
1466
|
break;
|
1467
1467
|
case 6:
|
1468
|
-
#line 116 "
|
1468
|
+
#line 116 "ragel/i18n/sk.c.rl"
|
1469
1469
|
{
|
1470
1470
|
STORE_KW_END_CON(feature);
|
1471
1471
|
}
|
1472
1472
|
break;
|
1473
1473
|
case 7:
|
1474
|
-
#line 120 "
|
1474
|
+
#line 120 "ragel/i18n/sk.c.rl"
|
1475
1475
|
{
|
1476
1476
|
STORE_KW_END_CON(background);
|
1477
1477
|
}
|
1478
1478
|
break;
|
1479
1479
|
case 8:
|
1480
|
-
#line 124 "
|
1480
|
+
#line 124 "ragel/i18n/sk.c.rl"
|
1481
1481
|
{
|
1482
1482
|
STORE_KW_END_CON(scenario);
|
1483
1483
|
}
|
1484
1484
|
break;
|
1485
1485
|
case 9:
|
1486
|
-
#line 128 "
|
1486
|
+
#line 128 "ragel/i18n/sk.c.rl"
|
1487
1487
|
{
|
1488
1488
|
STORE_KW_END_CON(scenario_outline);
|
1489
1489
|
}
|
1490
1490
|
break;
|
1491
1491
|
case 10:
|
1492
|
-
#line 132 "
|
1492
|
+
#line 132 "ragel/i18n/sk.c.rl"
|
1493
1493
|
{
|
1494
1494
|
STORE_KW_END_CON(examples);
|
1495
1495
|
}
|
1496
1496
|
break;
|
1497
1497
|
case 11:
|
1498
|
-
#line 136 "
|
1498
|
+
#line 136 "ragel/i18n/sk.c.rl"
|
1499
1499
|
{
|
1500
1500
|
store_kw_con(listener, "step",
|
1501
1501
|
PTR_TO(keyword_start), LEN(keyword_start, PTR_TO(keyword_end)),
|
@@ -1504,34 +1504,34 @@ _match:
|
|
1504
1504
|
}
|
1505
1505
|
break;
|
1506
1506
|
case 12:
|
1507
|
-
#line 143 "
|
1507
|
+
#line 143 "ragel/i18n/sk.c.rl"
|
1508
1508
|
{
|
1509
1509
|
STORE_ATTR(comment);
|
1510
1510
|
lexer->mark = 0;
|
1511
1511
|
}
|
1512
1512
|
break;
|
1513
1513
|
case 13:
|
1514
|
-
#line 148 "
|
1514
|
+
#line 148 "ragel/i18n/sk.c.rl"
|
1515
1515
|
{
|
1516
1516
|
STORE_ATTR(tag);
|
1517
1517
|
lexer->mark = 0;
|
1518
1518
|
}
|
1519
1519
|
break;
|
1520
1520
|
case 14:
|
1521
|
-
#line 153 "
|
1521
|
+
#line 153 "ragel/i18n/sk.c.rl"
|
1522
1522
|
{
|
1523
1523
|
lexer->line_number += 1;
|
1524
1524
|
MARK(final_newline, p);
|
1525
1525
|
}
|
1526
1526
|
break;
|
1527
1527
|
case 15:
|
1528
|
-
#line 158 "
|
1528
|
+
#line 158 "ragel/i18n/sk.c.rl"
|
1529
1529
|
{
|
1530
1530
|
MARK(last_newline, p + 1);
|
1531
1531
|
}
|
1532
1532
|
break;
|
1533
1533
|
case 16:
|
1534
|
-
#line 162 "
|
1534
|
+
#line 162 "ragel/i18n/sk.c.rl"
|
1535
1535
|
{
|
1536
1536
|
if (lexer->mark == 0) {
|
1537
1537
|
MARK(mark, p);
|
@@ -1539,7 +1539,7 @@ _match:
|
|
1539
1539
|
}
|
1540
1540
|
break;
|
1541
1541
|
case 17:
|
1542
|
-
#line 168 "
|
1542
|
+
#line 168 "ragel/i18n/sk.c.rl"
|
1543
1543
|
{
|
1544
1544
|
MARK(keyword_end, p);
|
1545
1545
|
MARK(keyword_start, PTR_TO(mark));
|
@@ -1548,13 +1548,13 @@ _match:
|
|
1548
1548
|
}
|
1549
1549
|
break;
|
1550
1550
|
case 18:
|
1551
|
-
#line 175 "
|
1551
|
+
#line 175 "ragel/i18n/sk.c.rl"
|
1552
1552
|
{
|
1553
1553
|
MARK(content_end, p);
|
1554
1554
|
}
|
1555
1555
|
break;
|
1556
1556
|
case 19:
|
1557
|
-
#line 179 "
|
1557
|
+
#line 179 "ragel/i18n/sk.c.rl"
|
1558
1558
|
{
|
1559
1559
|
p = p - 1;
|
1560
1560
|
lexer->current_line = lexer->line_number;
|
@@ -1562,13 +1562,13 @@ _match:
|
|
1562
1562
|
}
|
1563
1563
|
break;
|
1564
1564
|
case 20:
|
1565
|
-
#line 185 "
|
1565
|
+
#line 185 "ragel/i18n/sk.c.rl"
|
1566
1566
|
{
|
1567
1567
|
MARK(content_start, p);
|
1568
1568
|
}
|
1569
1569
|
break;
|
1570
1570
|
case 21:
|
1571
|
-
#line 189 "
|
1571
|
+
#line 189 "ragel/i18n/sk.c.rl"
|
1572
1572
|
{
|
1573
1573
|
VALUE re_pipe, re_newline, re_backslash;
|
1574
1574
|
VALUE con = ENCODED_STR_NEW(PTR_TO(content_start), LEN(content_start, p));
|
@@ -1584,13 +1584,13 @@ _match:
|
|
1584
1584
|
}
|
1585
1585
|
break;
|
1586
1586
|
case 22:
|
1587
|
-
#line 203 "
|
1587
|
+
#line 203 "ragel/i18n/sk.c.rl"
|
1588
1588
|
{
|
1589
1589
|
rb_funcall(listener, rb_intern("row"), 2, current_row, INT2FIX(lexer->current_line));
|
1590
1590
|
}
|
1591
1591
|
break;
|
1592
1592
|
case 23:
|
1593
|
-
#line 207 "
|
1593
|
+
#line 207 "ragel/i18n/sk.c.rl"
|
1594
1594
|
{
|
1595
1595
|
int line;
|
1596
1596
|
if (cs < lexer_first_final) {
|
@@ -1653,7 +1653,7 @@ _again:
|
|
1653
1653
|
while ( __nacts-- > 0 ) {
|
1654
1654
|
switch ( *__acts++ ) {
|
1655
1655
|
case 23:
|
1656
|
-
#line 207 "
|
1656
|
+
#line 207 "ragel/i18n/sk.c.rl"
|
1657
1657
|
{
|
1658
1658
|
int line;
|
1659
1659
|
if (cs < lexer_first_final) {
|
@@ -1707,7 +1707,7 @@ _again:
|
|
1707
1707
|
_out: {}
|
1708
1708
|
}
|
1709
1709
|
|
1710
|
-
#line 426 "
|
1710
|
+
#line 426 "ragel/i18n/sk.c.rl"
|
1711
1711
|
|
1712
1712
|
assert(p <= pe && "data overflow after parsing execute");
|
1713
1713
|
assert(lexer->content_start <= len && "content starts after data end");
|
@@ -1,5 +1,5 @@
|
|
1
1
|
|
2
|
-
#line 1 "
|
2
|
+
#line 1 "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 "
|
83
|
+
#line 254 "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 "
|
1547
|
+
#line 258 "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 "
|
1720
|
+
#line 425 "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 "
|
1796
|
+
#line 83 "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 "
|
1804
|
+
#line 89 "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 "
|
1810
|
+
#line 93 "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 "
|
1817
|
+
#line 98 "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 "
|
1829
|
+
#line 108 "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 "
|
1835
|
+
#line 112 "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 "
|
1841
|
+
#line 116 "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 "
|
1847
|
+
#line 120 "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 "
|
1853
|
+
#line 124 "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 "
|
1859
|
+
#line 128 "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 "
|
1865
|
+
#line 132 "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 "
|
1871
|
+
#line 136 "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 "
|
1880
|
+
#line 143 "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 "
|
1887
|
+
#line 148 "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 "
|
1894
|
+
#line 153 "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 "
|
1901
|
+
#line 158 "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 "
|
1907
|
+
#line 162 "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 "
|
1915
|
+
#line 168 "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 "
|
1924
|
+
#line 175 "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 "
|
1930
|
+
#line 179 "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 "
|
1938
|
+
#line 185 "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 "
|
1944
|
+
#line 189 "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 "
|
1960
|
+
#line 203 "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 "
|
1966
|
+
#line 207 "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 "
|
2029
|
+
#line 207 "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 "
|
2083
|
+
#line 426 "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");
|