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/pl.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/pl.c.rl"
|
84
84
|
|
85
85
|
|
86
86
|
/** Data **/
|
@@ -1170,7 +1170,7 @@ static const int lexer_error = 0;
|
|
1170
1170
|
static const int lexer_en_main = 1;
|
1171
1171
|
|
1172
1172
|
|
1173
|
-
#line 258 "
|
1173
|
+
#line 258 "ragel/i18n/pl.c.rl"
|
1174
1174
|
|
1175
1175
|
static VALUE
|
1176
1176
|
unindent(VALUE con, int start_col)
|
@@ -1343,7 +1343,7 @@ static VALUE CLexer_scan(VALUE self, VALUE input)
|
|
1343
1343
|
cs = lexer_start;
|
1344
1344
|
}
|
1345
1345
|
|
1346
|
-
#line 425 "
|
1346
|
+
#line 425 "ragel/i18n/pl.c.rl"
|
1347
1347
|
|
1348
1348
|
#line 1349 "ext/gherkin_lexer_pl/gherkin_lexer_pl.c"
|
1349
1349
|
{
|
@@ -1419,7 +1419,7 @@ _match:
|
|
1419
1419
|
switch ( *_acts++ )
|
1420
1420
|
{
|
1421
1421
|
case 0:
|
1422
|
-
#line 83 "
|
1422
|
+
#line 83 "ragel/i18n/pl.c.rl"
|
1423
1423
|
{
|
1424
1424
|
MARK(content_start, p);
|
1425
1425
|
lexer->current_line = lexer->line_number;
|
@@ -1427,20 +1427,20 @@ _match:
|
|
1427
1427
|
}
|
1428
1428
|
break;
|
1429
1429
|
case 1:
|
1430
|
-
#line 89 "
|
1430
|
+
#line 89 "ragel/i18n/pl.c.rl"
|
1431
1431
|
{
|
1432
1432
|
MARK(content_start, p);
|
1433
1433
|
}
|
1434
1434
|
break;
|
1435
1435
|
case 2:
|
1436
|
-
#line 93 "
|
1436
|
+
#line 93 "ragel/i18n/pl.c.rl"
|
1437
1437
|
{
|
1438
1438
|
lexer->current_line = lexer->line_number;
|
1439
1439
|
lexer->start_col = p - data - lexer->last_newline;
|
1440
1440
|
}
|
1441
1441
|
break;
|
1442
1442
|
case 3:
|
1443
|
-
#line 98 "
|
1443
|
+
#line 98 "ragel/i18n/pl.c.rl"
|
1444
1444
|
{
|
1445
1445
|
int len = LEN(content_start, PTR_TO(final_newline));
|
1446
1446
|
int type_len = LEN(docstring_content_type_start, PTR_TO(docstring_content_type_end));
|
@@ -1452,49 +1452,49 @@ _match:
|
|
1452
1452
|
}
|
1453
1453
|
break;
|
1454
1454
|
case 4:
|
1455
|
-
#line 108 "
|
1455
|
+
#line 108 "ragel/i18n/pl.c.rl"
|
1456
1456
|
{
|
1457
1457
|
MARK(docstring_content_type_start, p);
|
1458
1458
|
}
|
1459
1459
|
break;
|
1460
1460
|
case 5:
|
1461
|
-
#line 112 "
|
1461
|
+
#line 112 "ragel/i18n/pl.c.rl"
|
1462
1462
|
{
|
1463
1463
|
MARK(docstring_content_type_end, p);
|
1464
1464
|
}
|
1465
1465
|
break;
|
1466
1466
|
case 6:
|
1467
|
-
#line 116 "
|
1467
|
+
#line 116 "ragel/i18n/pl.c.rl"
|
1468
1468
|
{
|
1469
1469
|
STORE_KW_END_CON(feature);
|
1470
1470
|
}
|
1471
1471
|
break;
|
1472
1472
|
case 7:
|
1473
|
-
#line 120 "
|
1473
|
+
#line 120 "ragel/i18n/pl.c.rl"
|
1474
1474
|
{
|
1475
1475
|
STORE_KW_END_CON(background);
|
1476
1476
|
}
|
1477
1477
|
break;
|
1478
1478
|
case 8:
|
1479
|
-
#line 124 "
|
1479
|
+
#line 124 "ragel/i18n/pl.c.rl"
|
1480
1480
|
{
|
1481
1481
|
STORE_KW_END_CON(scenario);
|
1482
1482
|
}
|
1483
1483
|
break;
|
1484
1484
|
case 9:
|
1485
|
-
#line 128 "
|
1485
|
+
#line 128 "ragel/i18n/pl.c.rl"
|
1486
1486
|
{
|
1487
1487
|
STORE_KW_END_CON(scenario_outline);
|
1488
1488
|
}
|
1489
1489
|
break;
|
1490
1490
|
case 10:
|
1491
|
-
#line 132 "
|
1491
|
+
#line 132 "ragel/i18n/pl.c.rl"
|
1492
1492
|
{
|
1493
1493
|
STORE_KW_END_CON(examples);
|
1494
1494
|
}
|
1495
1495
|
break;
|
1496
1496
|
case 11:
|
1497
|
-
#line 136 "
|
1497
|
+
#line 136 "ragel/i18n/pl.c.rl"
|
1498
1498
|
{
|
1499
1499
|
store_kw_con(listener, "step",
|
1500
1500
|
PTR_TO(keyword_start), LEN(keyword_start, PTR_TO(keyword_end)),
|
@@ -1503,34 +1503,34 @@ _match:
|
|
1503
1503
|
}
|
1504
1504
|
break;
|
1505
1505
|
case 12:
|
1506
|
-
#line 143 "
|
1506
|
+
#line 143 "ragel/i18n/pl.c.rl"
|
1507
1507
|
{
|
1508
1508
|
STORE_ATTR(comment);
|
1509
1509
|
lexer->mark = 0;
|
1510
1510
|
}
|
1511
1511
|
break;
|
1512
1512
|
case 13:
|
1513
|
-
#line 148 "
|
1513
|
+
#line 148 "ragel/i18n/pl.c.rl"
|
1514
1514
|
{
|
1515
1515
|
STORE_ATTR(tag);
|
1516
1516
|
lexer->mark = 0;
|
1517
1517
|
}
|
1518
1518
|
break;
|
1519
1519
|
case 14:
|
1520
|
-
#line 153 "
|
1520
|
+
#line 153 "ragel/i18n/pl.c.rl"
|
1521
1521
|
{
|
1522
1522
|
lexer->line_number += 1;
|
1523
1523
|
MARK(final_newline, p);
|
1524
1524
|
}
|
1525
1525
|
break;
|
1526
1526
|
case 15:
|
1527
|
-
#line 158 "
|
1527
|
+
#line 158 "ragel/i18n/pl.c.rl"
|
1528
1528
|
{
|
1529
1529
|
MARK(last_newline, p + 1);
|
1530
1530
|
}
|
1531
1531
|
break;
|
1532
1532
|
case 16:
|
1533
|
-
#line 162 "
|
1533
|
+
#line 162 "ragel/i18n/pl.c.rl"
|
1534
1534
|
{
|
1535
1535
|
if (lexer->mark == 0) {
|
1536
1536
|
MARK(mark, p);
|
@@ -1538,7 +1538,7 @@ _match:
|
|
1538
1538
|
}
|
1539
1539
|
break;
|
1540
1540
|
case 17:
|
1541
|
-
#line 168 "
|
1541
|
+
#line 168 "ragel/i18n/pl.c.rl"
|
1542
1542
|
{
|
1543
1543
|
MARK(keyword_end, p);
|
1544
1544
|
MARK(keyword_start, PTR_TO(mark));
|
@@ -1547,13 +1547,13 @@ _match:
|
|
1547
1547
|
}
|
1548
1548
|
break;
|
1549
1549
|
case 18:
|
1550
|
-
#line 175 "
|
1550
|
+
#line 175 "ragel/i18n/pl.c.rl"
|
1551
1551
|
{
|
1552
1552
|
MARK(content_end, p);
|
1553
1553
|
}
|
1554
1554
|
break;
|
1555
1555
|
case 19:
|
1556
|
-
#line 179 "
|
1556
|
+
#line 179 "ragel/i18n/pl.c.rl"
|
1557
1557
|
{
|
1558
1558
|
p = p - 1;
|
1559
1559
|
lexer->current_line = lexer->line_number;
|
@@ -1561,13 +1561,13 @@ _match:
|
|
1561
1561
|
}
|
1562
1562
|
break;
|
1563
1563
|
case 20:
|
1564
|
-
#line 185 "
|
1564
|
+
#line 185 "ragel/i18n/pl.c.rl"
|
1565
1565
|
{
|
1566
1566
|
MARK(content_start, p);
|
1567
1567
|
}
|
1568
1568
|
break;
|
1569
1569
|
case 21:
|
1570
|
-
#line 189 "
|
1570
|
+
#line 189 "ragel/i18n/pl.c.rl"
|
1571
1571
|
{
|
1572
1572
|
VALUE re_pipe, re_newline, re_backslash;
|
1573
1573
|
VALUE con = ENCODED_STR_NEW(PTR_TO(content_start), LEN(content_start, p));
|
@@ -1583,13 +1583,13 @@ _match:
|
|
1583
1583
|
}
|
1584
1584
|
break;
|
1585
1585
|
case 22:
|
1586
|
-
#line 203 "
|
1586
|
+
#line 203 "ragel/i18n/pl.c.rl"
|
1587
1587
|
{
|
1588
1588
|
rb_funcall(listener, rb_intern("row"), 2, current_row, INT2FIX(lexer->current_line));
|
1589
1589
|
}
|
1590
1590
|
break;
|
1591
1591
|
case 23:
|
1592
|
-
#line 207 "
|
1592
|
+
#line 207 "ragel/i18n/pl.c.rl"
|
1593
1593
|
{
|
1594
1594
|
int line;
|
1595
1595
|
if (cs < lexer_first_final) {
|
@@ -1652,7 +1652,7 @@ _again:
|
|
1652
1652
|
while ( __nacts-- > 0 ) {
|
1653
1653
|
switch ( *__acts++ ) {
|
1654
1654
|
case 23:
|
1655
|
-
#line 207 "
|
1655
|
+
#line 207 "ragel/i18n/pl.c.rl"
|
1656
1656
|
{
|
1657
1657
|
int line;
|
1658
1658
|
if (cs < lexer_first_final) {
|
@@ -1706,7 +1706,7 @@ _again:
|
|
1706
1706
|
_out: {}
|
1707
1707
|
}
|
1708
1708
|
|
1709
|
-
#line 426 "
|
1709
|
+
#line 426 "ragel/i18n/pl.c.rl"
|
1710
1710
|
|
1711
1711
|
assert(p <= pe && "data overflow after parsing execute");
|
1712
1712
|
assert(lexer->content_start <= len && "content starts after data end");
|
@@ -1,5 +1,5 @@
|
|
1
1
|
|
2
|
-
#line 1 "
|
2
|
+
#line 1 "ragel/i18n/pt.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/pt.c.rl"
|
84
84
|
|
85
85
|
|
86
86
|
/** Data **/
|
@@ -1143,7 +1143,7 @@ static const int lexer_error = 0;
|
|
1143
1143
|
static const int lexer_en_main = 1;
|
1144
1144
|
|
1145
1145
|
|
1146
|
-
#line 258 "
|
1146
|
+
#line 258 "ragel/i18n/pt.c.rl"
|
1147
1147
|
|
1148
1148
|
static VALUE
|
1149
1149
|
unindent(VALUE con, int start_col)
|
@@ -1316,7 +1316,7 @@ static VALUE CLexer_scan(VALUE self, VALUE input)
|
|
1316
1316
|
cs = lexer_start;
|
1317
1317
|
}
|
1318
1318
|
|
1319
|
-
#line 425 "
|
1319
|
+
#line 425 "ragel/i18n/pt.c.rl"
|
1320
1320
|
|
1321
1321
|
#line 1322 "ext/gherkin_lexer_pt/gherkin_lexer_pt.c"
|
1322
1322
|
{
|
@@ -1392,7 +1392,7 @@ _match:
|
|
1392
1392
|
switch ( *_acts++ )
|
1393
1393
|
{
|
1394
1394
|
case 0:
|
1395
|
-
#line 83 "
|
1395
|
+
#line 83 "ragel/i18n/pt.c.rl"
|
1396
1396
|
{
|
1397
1397
|
MARK(content_start, p);
|
1398
1398
|
lexer->current_line = lexer->line_number;
|
@@ -1400,20 +1400,20 @@ _match:
|
|
1400
1400
|
}
|
1401
1401
|
break;
|
1402
1402
|
case 1:
|
1403
|
-
#line 89 "
|
1403
|
+
#line 89 "ragel/i18n/pt.c.rl"
|
1404
1404
|
{
|
1405
1405
|
MARK(content_start, p);
|
1406
1406
|
}
|
1407
1407
|
break;
|
1408
1408
|
case 2:
|
1409
|
-
#line 93 "
|
1409
|
+
#line 93 "ragel/i18n/pt.c.rl"
|
1410
1410
|
{
|
1411
1411
|
lexer->current_line = lexer->line_number;
|
1412
1412
|
lexer->start_col = p - data - lexer->last_newline;
|
1413
1413
|
}
|
1414
1414
|
break;
|
1415
1415
|
case 3:
|
1416
|
-
#line 98 "
|
1416
|
+
#line 98 "ragel/i18n/pt.c.rl"
|
1417
1417
|
{
|
1418
1418
|
int len = LEN(content_start, PTR_TO(final_newline));
|
1419
1419
|
int type_len = LEN(docstring_content_type_start, PTR_TO(docstring_content_type_end));
|
@@ -1425,49 +1425,49 @@ _match:
|
|
1425
1425
|
}
|
1426
1426
|
break;
|
1427
1427
|
case 4:
|
1428
|
-
#line 108 "
|
1428
|
+
#line 108 "ragel/i18n/pt.c.rl"
|
1429
1429
|
{
|
1430
1430
|
MARK(docstring_content_type_start, p);
|
1431
1431
|
}
|
1432
1432
|
break;
|
1433
1433
|
case 5:
|
1434
|
-
#line 112 "
|
1434
|
+
#line 112 "ragel/i18n/pt.c.rl"
|
1435
1435
|
{
|
1436
1436
|
MARK(docstring_content_type_end, p);
|
1437
1437
|
}
|
1438
1438
|
break;
|
1439
1439
|
case 6:
|
1440
|
-
#line 116 "
|
1440
|
+
#line 116 "ragel/i18n/pt.c.rl"
|
1441
1441
|
{
|
1442
1442
|
STORE_KW_END_CON(feature);
|
1443
1443
|
}
|
1444
1444
|
break;
|
1445
1445
|
case 7:
|
1446
|
-
#line 120 "
|
1446
|
+
#line 120 "ragel/i18n/pt.c.rl"
|
1447
1447
|
{
|
1448
1448
|
STORE_KW_END_CON(background);
|
1449
1449
|
}
|
1450
1450
|
break;
|
1451
1451
|
case 8:
|
1452
|
-
#line 124 "
|
1452
|
+
#line 124 "ragel/i18n/pt.c.rl"
|
1453
1453
|
{
|
1454
1454
|
STORE_KW_END_CON(scenario);
|
1455
1455
|
}
|
1456
1456
|
break;
|
1457
1457
|
case 9:
|
1458
|
-
#line 128 "
|
1458
|
+
#line 128 "ragel/i18n/pt.c.rl"
|
1459
1459
|
{
|
1460
1460
|
STORE_KW_END_CON(scenario_outline);
|
1461
1461
|
}
|
1462
1462
|
break;
|
1463
1463
|
case 10:
|
1464
|
-
#line 132 "
|
1464
|
+
#line 132 "ragel/i18n/pt.c.rl"
|
1465
1465
|
{
|
1466
1466
|
STORE_KW_END_CON(examples);
|
1467
1467
|
}
|
1468
1468
|
break;
|
1469
1469
|
case 11:
|
1470
|
-
#line 136 "
|
1470
|
+
#line 136 "ragel/i18n/pt.c.rl"
|
1471
1471
|
{
|
1472
1472
|
store_kw_con(listener, "step",
|
1473
1473
|
PTR_TO(keyword_start), LEN(keyword_start, PTR_TO(keyword_end)),
|
@@ -1476,34 +1476,34 @@ _match:
|
|
1476
1476
|
}
|
1477
1477
|
break;
|
1478
1478
|
case 12:
|
1479
|
-
#line 143 "
|
1479
|
+
#line 143 "ragel/i18n/pt.c.rl"
|
1480
1480
|
{
|
1481
1481
|
STORE_ATTR(comment);
|
1482
1482
|
lexer->mark = 0;
|
1483
1483
|
}
|
1484
1484
|
break;
|
1485
1485
|
case 13:
|
1486
|
-
#line 148 "
|
1486
|
+
#line 148 "ragel/i18n/pt.c.rl"
|
1487
1487
|
{
|
1488
1488
|
STORE_ATTR(tag);
|
1489
1489
|
lexer->mark = 0;
|
1490
1490
|
}
|
1491
1491
|
break;
|
1492
1492
|
case 14:
|
1493
|
-
#line 153 "
|
1493
|
+
#line 153 "ragel/i18n/pt.c.rl"
|
1494
1494
|
{
|
1495
1495
|
lexer->line_number += 1;
|
1496
1496
|
MARK(final_newline, p);
|
1497
1497
|
}
|
1498
1498
|
break;
|
1499
1499
|
case 15:
|
1500
|
-
#line 158 "
|
1500
|
+
#line 158 "ragel/i18n/pt.c.rl"
|
1501
1501
|
{
|
1502
1502
|
MARK(last_newline, p + 1);
|
1503
1503
|
}
|
1504
1504
|
break;
|
1505
1505
|
case 16:
|
1506
|
-
#line 162 "
|
1506
|
+
#line 162 "ragel/i18n/pt.c.rl"
|
1507
1507
|
{
|
1508
1508
|
if (lexer->mark == 0) {
|
1509
1509
|
MARK(mark, p);
|
@@ -1511,7 +1511,7 @@ _match:
|
|
1511
1511
|
}
|
1512
1512
|
break;
|
1513
1513
|
case 17:
|
1514
|
-
#line 168 "
|
1514
|
+
#line 168 "ragel/i18n/pt.c.rl"
|
1515
1515
|
{
|
1516
1516
|
MARK(keyword_end, p);
|
1517
1517
|
MARK(keyword_start, PTR_TO(mark));
|
@@ -1520,13 +1520,13 @@ _match:
|
|
1520
1520
|
}
|
1521
1521
|
break;
|
1522
1522
|
case 18:
|
1523
|
-
#line 175 "
|
1523
|
+
#line 175 "ragel/i18n/pt.c.rl"
|
1524
1524
|
{
|
1525
1525
|
MARK(content_end, p);
|
1526
1526
|
}
|
1527
1527
|
break;
|
1528
1528
|
case 19:
|
1529
|
-
#line 179 "
|
1529
|
+
#line 179 "ragel/i18n/pt.c.rl"
|
1530
1530
|
{
|
1531
1531
|
p = p - 1;
|
1532
1532
|
lexer->current_line = lexer->line_number;
|
@@ -1534,13 +1534,13 @@ _match:
|
|
1534
1534
|
}
|
1535
1535
|
break;
|
1536
1536
|
case 20:
|
1537
|
-
#line 185 "
|
1537
|
+
#line 185 "ragel/i18n/pt.c.rl"
|
1538
1538
|
{
|
1539
1539
|
MARK(content_start, p);
|
1540
1540
|
}
|
1541
1541
|
break;
|
1542
1542
|
case 21:
|
1543
|
-
#line 189 "
|
1543
|
+
#line 189 "ragel/i18n/pt.c.rl"
|
1544
1544
|
{
|
1545
1545
|
VALUE re_pipe, re_newline, re_backslash;
|
1546
1546
|
VALUE con = ENCODED_STR_NEW(PTR_TO(content_start), LEN(content_start, p));
|
@@ -1556,13 +1556,13 @@ _match:
|
|
1556
1556
|
}
|
1557
1557
|
break;
|
1558
1558
|
case 22:
|
1559
|
-
#line 203 "
|
1559
|
+
#line 203 "ragel/i18n/pt.c.rl"
|
1560
1560
|
{
|
1561
1561
|
rb_funcall(listener, rb_intern("row"), 2, current_row, INT2FIX(lexer->current_line));
|
1562
1562
|
}
|
1563
1563
|
break;
|
1564
1564
|
case 23:
|
1565
|
-
#line 207 "
|
1565
|
+
#line 207 "ragel/i18n/pt.c.rl"
|
1566
1566
|
{
|
1567
1567
|
int line;
|
1568
1568
|
if (cs < lexer_first_final) {
|
@@ -1625,7 +1625,7 @@ _again:
|
|
1625
1625
|
while ( __nacts-- > 0 ) {
|
1626
1626
|
switch ( *__acts++ ) {
|
1627
1627
|
case 23:
|
1628
|
-
#line 207 "
|
1628
|
+
#line 207 "ragel/i18n/pt.c.rl"
|
1629
1629
|
{
|
1630
1630
|
int line;
|
1631
1631
|
if (cs < lexer_first_final) {
|
@@ -1679,7 +1679,7 @@ _again:
|
|
1679
1679
|
_out: {}
|
1680
1680
|
}
|
1681
1681
|
|
1682
|
-
#line 426 "
|
1682
|
+
#line 426 "ragel/i18n/pt.c.rl"
|
1683
1683
|
|
1684
1684
|
assert(p <= pe && "data overflow after parsing execute");
|
1685
1685
|
assert(lexer->content_start <= len && "content starts after data end");
|