BBRedCloth 0.8.7 → 0.8.8
Sign up to get free protection for your applications and to get access to all the features.
- data/BBRedCloth.gemspec +17 -18
- data/ext/redcloth_scan/redcloth.h +1 -1
- data/ext/redcloth_scan/redcloth_attributes.c +27 -27
- data/ext/redcloth_scan/redcloth_bbcode.c +100 -100
- data/ext/redcloth_scan/redcloth_bbcode_inline.c +53 -53
- data/ext/redcloth_scan/redcloth_inline.c +165 -165
- data/ext/redcloth_scan/redcloth_scan.c +217 -217
- data/lib/redcloth/version.rb +1 -1
- data/test/basic.yml +13 -0
- metadata +25 -29
data/BBRedCloth.gemspec
CHANGED
@@ -1,27 +1,26 @@
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
|
-
s.name =
|
5
|
-
s.version = "0.8.
|
4
|
+
s.name = "BBRedCloth"
|
5
|
+
s.version = "0.8.8"
|
6
6
|
|
7
7
|
s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
|
8
|
-
s.authors = [
|
9
|
-
s.date =
|
10
|
-
s.description =
|
11
|
-
|
12
|
-
s.
|
13
|
-
s.
|
14
|
-
s.
|
15
|
-
s.
|
16
|
-
s.
|
17
|
-
s.
|
18
|
-
s.
|
19
|
-
s.require_paths = [%q{lib}, %q{ext}, %q{lib/case_sensitive_require}]
|
8
|
+
s.authors = ["Ryan Alyea"]
|
9
|
+
s.date = "2013-02-26"
|
10
|
+
s.description = "BBRedCloth-0.8.8 - Textile parser for Ruby. Includes BBCode additions.\nhttp://redcloth.org/"
|
11
|
+
s.email = "ryan@fangamer.com"
|
12
|
+
s.executables = ["redcloth"]
|
13
|
+
s.extensions = ["ext/redcloth_scan/extconf.rb"]
|
14
|
+
s.extra_rdoc_files = ["CHANGELOG", "lib/case_sensitive_require/RedCloth.rb", "lib/redcloth/erb_extension.rb", "lib/redcloth/formatters/base.rb", "lib/redcloth/formatters/html.rb", "lib/redcloth/formatters/latex.rb", "lib/redcloth/textile_doc.rb", "lib/redcloth/version.rb", "lib/redcloth.rb", "README.textile"]
|
15
|
+
s.files = ["bin/redcloth", "CHANGELOG", "COPYING", "ext/mingw-rbconfig.rb", "ext/redcloth_scan/extconf.rb", "ext/redcloth_scan/redcloth.h", "ext/redcloth_scan/redcloth_attributes.c.rl", "ext/redcloth_scan/redcloth_attributes.java.rl", "ext/redcloth_scan/redcloth_attributes.rl", "ext/redcloth_scan/redcloth_bbcode.c.rl", "ext/redcloth_scan/redcloth_bbcode.rl", "ext/redcloth_scan/redcloth_bbcode_inline.rl", "ext/redcloth_scan/redcloth_bbcode_inline.c.rl", "ext/redcloth_scan/redcloth_common.c.rl", "ext/redcloth_scan/redcloth_common.java.rl", "ext/redcloth_scan/redcloth_common.rl", "ext/redcloth_scan/redcloth_inline.c.rl", "ext/redcloth_scan/redcloth_inline.java.rl", "ext/redcloth_scan/redcloth_inline.rl", "ext/redcloth_scan/redcloth_scan.c.rl", "ext/redcloth_scan/redcloth_scan.java.rl", "ext/redcloth_scan/redcloth_scan.rl", "extras/ragel_profiler.rb", "lib/case_sensitive_require/RedCloth.rb", "lib/redcloth/erb_extension.rb", "lib/redcloth/formatters/base.rb", "lib/redcloth/formatters/html.rb", "lib/redcloth/formatters/latex.rb", "lib/redcloth/formatters/latex_entities.yml", "lib/redcloth/textile_doc.rb", "lib/redcloth/version.rb", "lib/redcloth.rb", "Manifest", "Rakefile", "README.textile", "setup.rb", "test/basic.yml", "test/code.yml", "test/definitions.yml", "test/extra_whitespace.yml", "test/filter_html.yml", "test/filter_pba.yml", "test/helper.rb", "test/html.yml", "test/images.yml", "test/instiki.yml", "test/links.yml", "test/lists.yml", "test/poignant.yml", "test/sanitize_html.yml", "test/table.yml", "test/test_custom_tags.rb", "test/test_erb.rb", "test/test_extensions.rb", "test/test_formatters.rb", "test/test_parser.rb", "test/test_restrictions.rb", "test/textism.yml", "test/threshold.yml", "test/validate_fixtures.rb", "BBRedCloth.gemspec", "ext/redcloth_scan/redcloth_attributes.c", "ext/redcloth_scan/redcloth_inline.c", "ext/redcloth_scan/redcloth_scan.c", "ext/redcloth_scan/redcloth_bbcode.c", "ext/redcloth_scan/redcloth_bbcode_inline.c"]
|
16
|
+
s.homepage = "http://redcloth.org"
|
17
|
+
s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "BBRedCloth", "--main", "README.textile"]
|
18
|
+
s.require_paths = ["lib", "ext", "lib/case_sensitive_require"]
|
20
19
|
s.required_ruby_version = Gem::Requirement.new(">= 1.8.4")
|
21
|
-
s.rubyforge_project =
|
22
|
-
s.rubygems_version =
|
23
|
-
s.summary =
|
24
|
-
s.test_files = [
|
20
|
+
s.rubyforge_project = "bbredcloth"
|
21
|
+
s.rubygems_version = "1.8.24"
|
22
|
+
s.summary = "BBRedCloth-0.8.8 - Textile parser for Ruby. Includes BBCode additions. http://redcloth.org/"
|
23
|
+
s.test_files = ["test/test_custom_tags.rb", "test/test_erb.rb", "test/test_extensions.rb", "test/test_formatters.rb", "test/test_parser.rb", "test/test_restrictions.rb"]
|
25
24
|
|
26
25
|
if s.respond_to? :specification_version then
|
27
26
|
s.specification_version = 3
|
@@ -86,7 +86,7 @@ VALUE redcloth_bbcode_inline2(VALUE, VALUE, VALUE);
|
|
86
86
|
extend = Qnil; \
|
87
87
|
CLEAR(block); \
|
88
88
|
CLEAR_REGS()
|
89
|
-
#define ADD_EXTENDED_BLOCK() rb_str_append(html, red_block(self, regs, block, refs)); CLEAR(block);
|
89
|
+
#define ADD_EXTENDED_BLOCK() rb_str_append(html, red_block(self, regs, block, refs)); CLEAR(block); rb_hash_aset(regs,ID2SYM(rb_intern("fallback")),Qnil);
|
90
90
|
#define END_EXTENDED() extend = Qnil; CLEAR_REGS();
|
91
91
|
#define IS_NOT_EXTENDED() NIL_P(extend)
|
92
92
|
#define ADD_BLOCKCODE() rb_str_append(html, red_blockcode(self, regs, block)); CLEAR(block); CLEAR_REGS()
|
@@ -421,7 +421,7 @@ _resume:
|
|
421
421
|
while ( _nacts-- > 0 ) {
|
422
422
|
switch ( *_acts++ ) {
|
423
423
|
case 12:
|
424
|
-
#line 1 "
|
424
|
+
#line 1 "NONE"
|
425
425
|
{ts = p;}
|
426
426
|
break;
|
427
427
|
#line 428 "ext/redcloth_scan/redcloth_attributes.c"
|
@@ -446,7 +446,7 @@ _resume:
|
|
446
446
|
else if ( (*p) > *_mid )
|
447
447
|
_lower = _mid + 1;
|
448
448
|
else {
|
449
|
-
_trans += (_mid - _keys);
|
449
|
+
_trans += (unsigned int)(_mid - _keys);
|
450
450
|
goto _match;
|
451
451
|
}
|
452
452
|
}
|
@@ -469,7 +469,7 @@ _resume:
|
|
469
469
|
else if ( (*p) > _mid[1] )
|
470
470
|
_lower = _mid + 2;
|
471
471
|
else {
|
472
|
-
_trans += ((_mid - _keys)>>1);
|
472
|
+
_trans += (unsigned int)((_mid - _keys)>>1);
|
473
473
|
goto _match;
|
474
474
|
}
|
475
475
|
}
|
@@ -491,63 +491,63 @@ _eof_trans:
|
|
491
491
|
switch ( *_acts++ )
|
492
492
|
{
|
493
493
|
case 0:
|
494
|
-
#line 5 "ext/redcloth_scan/
|
494
|
+
#line 5 "ext/redcloth_scan/redcloth_common.rl"
|
495
495
|
{ reg = p; }
|
496
496
|
break;
|
497
497
|
case 1:
|
498
|
-
#line 6 "ext/redcloth_scan/
|
498
|
+
#line 6 "ext/redcloth_scan/redcloth_common.rl"
|
499
499
|
{ bck = p; }
|
500
500
|
break;
|
501
501
|
case 2:
|
502
|
-
#line 7 "ext/redcloth_scan/
|
502
|
+
#line 7 "ext/redcloth_scan/redcloth_common.rl"
|
503
503
|
{ STORE("text"); }
|
504
504
|
break;
|
505
505
|
case 3:
|
506
|
-
#line 8 "ext/redcloth_scan/
|
506
|
+
#line 8 "ext/redcloth_scan/redcloth_common.rl"
|
507
507
|
{ CLEAR_REGS(); RESET_REG(); }
|
508
508
|
break;
|
509
509
|
case 4:
|
510
|
-
#line 10 "ext/redcloth_scan/redcloth_attributes.
|
510
|
+
#line 10 "ext/redcloth_scan/redcloth_attributes.rl"
|
511
511
|
{ STORE("class_buf"); }
|
512
512
|
break;
|
513
513
|
case 5:
|
514
|
-
#line 10 "ext/redcloth_scan/redcloth_attributes.
|
514
|
+
#line 10 "ext/redcloth_scan/redcloth_attributes.rl"
|
515
515
|
{STORE("id_buf");}
|
516
516
|
break;
|
517
517
|
case 6:
|
518
|
-
#line 11 "ext/redcloth_scan/redcloth_attributes.
|
518
|
+
#line 11 "ext/redcloth_scan/redcloth_attributes.rl"
|
519
519
|
{ STORE("lang_buf"); }
|
520
520
|
break;
|
521
521
|
case 7:
|
522
|
-
#line 12 "ext/redcloth_scan/redcloth_attributes.
|
522
|
+
#line 12 "ext/redcloth_scan/redcloth_attributes.rl"
|
523
523
|
{ STORE("style_buf"); }
|
524
524
|
break;
|
525
525
|
case 8:
|
526
|
-
#line 23 "ext/redcloth_scan/redcloth_attributes.
|
526
|
+
#line 23 "ext/redcloth_scan/redcloth_attributes.rl"
|
527
527
|
{ STORE("name"); }
|
528
528
|
break;
|
529
529
|
case 9:
|
530
|
-
#line 24 "ext/redcloth_scan/redcloth_attributes.
|
530
|
+
#line 24 "ext/redcloth_scan/redcloth_attributes.rl"
|
531
531
|
{ STORE_B("name_without_attributes"); }
|
532
532
|
break;
|
533
533
|
case 13:
|
534
|
-
#line 1 "
|
534
|
+
#line 1 "NONE"
|
535
535
|
{te = p+1;}
|
536
536
|
break;
|
537
537
|
case 14:
|
538
|
-
#line 19 "ext/redcloth_scan/redcloth_attributes.
|
538
|
+
#line 19 "ext/redcloth_scan/redcloth_attributes.rl"
|
539
539
|
{act = 1;}
|
540
540
|
break;
|
541
541
|
case 15:
|
542
|
-
#line 19 "ext/redcloth_scan/redcloth_attributes.
|
542
|
+
#line 19 "ext/redcloth_scan/redcloth_attributes.rl"
|
543
543
|
{te = p;p--;{ SET_ATTRIBUTES(); }}
|
544
544
|
break;
|
545
545
|
case 16:
|
546
|
-
#line 19 "ext/redcloth_scan/redcloth_attributes.
|
546
|
+
#line 19 "ext/redcloth_scan/redcloth_attributes.rl"
|
547
547
|
{{p = ((te))-1;}{ SET_ATTRIBUTES(); }}
|
548
548
|
break;
|
549
549
|
case 17:
|
550
|
-
#line 1 "
|
550
|
+
#line 1 "NONE"
|
551
551
|
{ switch( act ) {
|
552
552
|
case 0:
|
553
553
|
{{cs = 0; goto _again;}}
|
@@ -559,31 +559,31 @@ _eof_trans:
|
|
559
559
|
}
|
560
560
|
break;
|
561
561
|
case 18:
|
562
|
-
#line 28 "ext/redcloth_scan/redcloth_attributes.
|
562
|
+
#line 28 "ext/redcloth_scan/redcloth_attributes.rl"
|
563
563
|
{act = 2;}
|
564
564
|
break;
|
565
565
|
case 19:
|
566
|
-
#line 29 "ext/redcloth_scan/redcloth_attributes.
|
566
|
+
#line 29 "ext/redcloth_scan/redcloth_attributes.rl"
|
567
567
|
{act = 3;}
|
568
568
|
break;
|
569
569
|
case 20:
|
570
|
-
#line 28 "ext/redcloth_scan/redcloth_attributes.
|
570
|
+
#line 28 "ext/redcloth_scan/redcloth_attributes.rl"
|
571
571
|
{te = p;p--;{ SET_ATTRIBUTES(); }}
|
572
572
|
break;
|
573
573
|
case 21:
|
574
|
-
#line 29 "ext/redcloth_scan/redcloth_attributes.
|
574
|
+
#line 29 "ext/redcloth_scan/redcloth_attributes.rl"
|
575
575
|
{te = p;p--;{ SET_ATTRIBUTE("name_without_attributes", "name"); }}
|
576
576
|
break;
|
577
577
|
case 22:
|
578
|
-
#line 28 "ext/redcloth_scan/redcloth_attributes.
|
578
|
+
#line 28 "ext/redcloth_scan/redcloth_attributes.rl"
|
579
579
|
{{p = ((te))-1;}{ SET_ATTRIBUTES(); }}
|
580
580
|
break;
|
581
581
|
case 23:
|
582
|
-
#line 29 "ext/redcloth_scan/redcloth_attributes.
|
582
|
+
#line 29 "ext/redcloth_scan/redcloth_attributes.rl"
|
583
583
|
{{p = ((te))-1;}{ SET_ATTRIBUTE("name_without_attributes", "name"); }}
|
584
584
|
break;
|
585
585
|
case 24:
|
586
|
-
#line 1 "
|
586
|
+
#line 1 "NONE"
|
587
587
|
{ switch( act ) {
|
588
588
|
case 2:
|
589
589
|
{{p = ((te))-1;} SET_ATTRIBUTES(); }
|
@@ -604,11 +604,11 @@ _again:
|
|
604
604
|
while ( _nacts-- > 0 ) {
|
605
605
|
switch ( *_acts++ ) {
|
606
606
|
case 10:
|
607
|
-
#line 1 "
|
607
|
+
#line 1 "NONE"
|
608
608
|
{ts = 0;}
|
609
609
|
break;
|
610
610
|
case 11:
|
611
|
-
#line 1 "
|
611
|
+
#line 1 "NONE"
|
612
612
|
{act = 0;}
|
613
613
|
break;
|
614
614
|
#line 615 "ext/redcloth_scan/redcloth_attributes.c"
|
@@ -1581,7 +1581,7 @@ _resume:
|
|
1581
1581
|
while ( _nacts-- > 0 ) {
|
1582
1582
|
switch ( *_acts++ ) {
|
1583
1583
|
case 18:
|
1584
|
-
#line 1 "
|
1584
|
+
#line 1 "NONE"
|
1585
1585
|
{ts = p;}
|
1586
1586
|
break;
|
1587
1587
|
#line 1588 "ext/redcloth_scan/redcloth_bbcode.c"
|
@@ -1606,7 +1606,7 @@ _resume:
|
|
1606
1606
|
else if ( (*p) > *_mid )
|
1607
1607
|
_lower = _mid + 1;
|
1608
1608
|
else {
|
1609
|
-
_trans += (_mid - _keys);
|
1609
|
+
_trans += (unsigned int)(_mid - _keys);
|
1610
1610
|
goto _match;
|
1611
1611
|
}
|
1612
1612
|
}
|
@@ -1629,7 +1629,7 @@ _resume:
|
|
1629
1629
|
else if ( (*p) > _mid[1] )
|
1630
1630
|
_lower = _mid + 2;
|
1631
1631
|
else {
|
1632
|
-
_trans += ((_mid - _keys)>>1);
|
1632
|
+
_trans += (unsigned int)((_mid - _keys)>>1);
|
1633
1633
|
goto _match;
|
1634
1634
|
}
|
1635
1635
|
}
|
@@ -1651,79 +1651,79 @@ _eof_trans:
|
|
1651
1651
|
switch ( *_acts++ )
|
1652
1652
|
{
|
1653
1653
|
case 0:
|
1654
|
-
#line 5 "ext/redcloth_scan/
|
1654
|
+
#line 5 "ext/redcloth_scan/redcloth_common.rl"
|
1655
1655
|
{ reg = p; }
|
1656
1656
|
break;
|
1657
1657
|
case 1:
|
1658
|
-
#line 7 "ext/redcloth_scan/
|
1658
|
+
#line 7 "ext/redcloth_scan/redcloth_common.rl"
|
1659
1659
|
{ STORE("text"); }
|
1660
1660
|
break;
|
1661
1661
|
case 2:
|
1662
|
-
#line 8 "ext/redcloth_scan/
|
1662
|
+
#line 8 "ext/redcloth_scan/redcloth_common.rl"
|
1663
1663
|
{ CLEAR_REGS(); RESET_REG(); }
|
1664
1664
|
break;
|
1665
1665
|
case 3:
|
1666
|
-
#line 24 "ext/redcloth_scan/
|
1666
|
+
#line 24 "ext/redcloth_scan/redcloth_bbcode_inline.rl"
|
1667
1667
|
{ STORE("color"); }
|
1668
1668
|
break;
|
1669
1669
|
case 4:
|
1670
|
-
#line 26 "ext/redcloth_scan/
|
1670
|
+
#line 26 "ext/redcloth_scan/redcloth_bbcode_inline.rl"
|
1671
1671
|
{ STORE("size"); }
|
1672
1672
|
break;
|
1673
1673
|
case 5:
|
1674
|
-
#line 28 "ext/redcloth_scan/
|
1674
|
+
#line 28 "ext/redcloth_scan/redcloth_bbcode_inline.rl"
|
1675
1675
|
{ STORE("bbalign"); }
|
1676
1676
|
break;
|
1677
1677
|
case 6:
|
1678
|
-
#line 30 "ext/redcloth_scan/
|
1678
|
+
#line 30 "ext/redcloth_scan/redcloth_bbcode_inline.rl"
|
1679
1679
|
{ STORE("title"); }
|
1680
1680
|
break;
|
1681
1681
|
case 7:
|
1682
|
-
#line 32 "ext/redcloth_scan/
|
1682
|
+
#line 32 "ext/redcloth_scan/redcloth_bbcode_inline.rl"
|
1683
1683
|
{ STORE("href"); }
|
1684
1684
|
break;
|
1685
1685
|
case 8:
|
1686
|
-
#line 33 "ext/redcloth_scan/
|
1686
|
+
#line 33 "ext/redcloth_scan/redcloth_bbcode_inline.rl"
|
1687
1687
|
{ STORE("href"); }
|
1688
1688
|
break;
|
1689
1689
|
case 9:
|
1690
|
-
#line 33 "ext/redcloth_scan/
|
1690
|
+
#line 33 "ext/redcloth_scan/redcloth_bbcode_inline.rl"
|
1691
1691
|
{ STORE("name"); }
|
1692
1692
|
break;
|
1693
1693
|
case 10:
|
1694
|
-
#line 35 "ext/redcloth_scan/
|
1694
|
+
#line 35 "ext/redcloth_scan/redcloth_bbcode_inline.rl"
|
1695
1695
|
{ STORE("src"); }
|
1696
1696
|
break;
|
1697
1697
|
case 11:
|
1698
|
-
#line 36 "ext/redcloth_scan/
|
1698
|
+
#line 36 "ext/redcloth_scan/redcloth_bbcode_inline.rl"
|
1699
1699
|
{ STORE("src"); }
|
1700
1700
|
break;
|
1701
1701
|
case 12:
|
1702
|
-
#line 36 "ext/redcloth_scan/
|
1702
|
+
#line 36 "ext/redcloth_scan/redcloth_bbcode_inline.rl"
|
1703
1703
|
{ STORE("title"); }
|
1704
1704
|
break;
|
1705
1705
|
case 13:
|
1706
|
-
#line 41 "ext/redcloth_scan/
|
1706
|
+
#line 41 "ext/redcloth_scan/redcloth_bbcode_inline.rl"
|
1707
1707
|
{ STORE("title"); }
|
1708
1708
|
break;
|
1709
1709
|
case 14:
|
1710
|
-
#line 14 "ext/redcloth_scan/redcloth_bbcode.
|
1710
|
+
#line 14 "ext/redcloth_scan/redcloth_bbcode.rl"
|
1711
1711
|
{ if(store_cite) STORE("cite"); }
|
1712
1712
|
break;
|
1713
1713
|
case 15:
|
1714
|
-
#line 18 "ext/redcloth_scan/redcloth_bbcode.
|
1714
|
+
#line 18 "ext/redcloth_scan/redcloth_bbcode.rl"
|
1715
1715
|
{ if(store_title) STORE("title"); }
|
1716
1716
|
break;
|
1717
1717
|
case 16:
|
1718
|
-
#line 29 "ext/redcloth_scan/redcloth_bbcode.
|
1718
|
+
#line 29 "ext/redcloth_scan/redcloth_bbcode.rl"
|
1719
1719
|
{ STORE_URL("href"); }
|
1720
1720
|
break;
|
1721
1721
|
case 19:
|
1722
|
-
#line 1 "
|
1722
|
+
#line 1 "NONE"
|
1723
1723
|
{te = p+1;}
|
1724
1724
|
break;
|
1725
1725
|
case 20:
|
1726
|
-
#line 50 "ext/redcloth_scan/
|
1726
|
+
#line 50 "ext/redcloth_scan/redcloth_bbcode_inline.rl"
|
1727
1727
|
{te = p+1;{
|
1728
1728
|
rb_hash_aset(regs, ID2SYM(rb_intern("text")), rb_funcall(self, rb_intern("escape_pre"), 1, html));
|
1729
1729
|
rb_str_append(block,rb_funcall(self, rb_intern("bb_pre"), 1, regs));
|
@@ -1732,15 +1732,15 @@ _eof_trans:
|
|
1732
1732
|
}}
|
1733
1733
|
break;
|
1734
1734
|
case 21:
|
1735
|
-
#line 46 "ext/redcloth_scan/
|
1735
|
+
#line 46 "ext/redcloth_scan/redcloth_bbcode_inline.rl"
|
1736
1736
|
{te = p+1;{ CAT(html); }}
|
1737
1737
|
break;
|
1738
1738
|
case 22:
|
1739
|
-
#line 47 "ext/redcloth_scan/
|
1739
|
+
#line 47 "ext/redcloth_scan/redcloth_bbcode_inline.rl"
|
1740
1740
|
{te = p+1;{ rb_str_append(block,failed_start); rb_str_append(block,rb_funcall(self, rb_intern("escape"), 1, html)); {cs = 650; goto _again;} }}
|
1741
1741
|
break;
|
1742
1742
|
case 23:
|
1743
|
-
#line 50 "ext/redcloth_scan/
|
1743
|
+
#line 50 "ext/redcloth_scan/redcloth_bbcode_inline.rl"
|
1744
1744
|
{te = p;p--;{
|
1745
1745
|
rb_hash_aset(regs, ID2SYM(rb_intern("text")), rb_funcall(self, rb_intern("escape_pre"), 1, html));
|
1746
1746
|
rb_str_append(block,rb_funcall(self, rb_intern("bb_pre"), 1, regs));
|
@@ -1749,115 +1749,115 @@ _eof_trans:
|
|
1749
1749
|
}}
|
1750
1750
|
break;
|
1751
1751
|
case 24:
|
1752
|
-
#line 46 "ext/redcloth_scan/
|
1752
|
+
#line 46 "ext/redcloth_scan/redcloth_bbcode_inline.rl"
|
1753
1753
|
{te = p;p--;{ CAT(html); }}
|
1754
1754
|
break;
|
1755
1755
|
case 25:
|
1756
|
-
#line 46 "ext/redcloth_scan/
|
1756
|
+
#line 46 "ext/redcloth_scan/redcloth_bbcode_inline.rl"
|
1757
1757
|
{{p = ((te))-1;}{ CAT(html); }}
|
1758
1758
|
break;
|
1759
1759
|
case 26:
|
1760
|
-
#line 61 "ext/redcloth_scan/
|
1760
|
+
#line 61 "ext/redcloth_scan/redcloth_bbcode_inline.rl"
|
1761
1761
|
{te = p+1;{ UNLESS_DISABLED_INLINE(block,strong,PASS(block, "text", "strong");) }}
|
1762
1762
|
break;
|
1763
1763
|
case 27:
|
1764
|
-
#line 62 "ext/redcloth_scan/
|
1764
|
+
#line 62 "ext/redcloth_scan/redcloth_bbcode_inline.rl"
|
1765
1765
|
{te = p+1;{ UNLESS_DISABLED_INLINE(block,em,PASS(block, "text", "em");) }}
|
1766
1766
|
break;
|
1767
1767
|
case 28:
|
1768
|
-
#line 63 "ext/redcloth_scan/
|
1768
|
+
#line 63 "ext/redcloth_scan/redcloth_bbcode_inline.rl"
|
1769
1769
|
{te = p+1;{ UNLESS_DISABLED_INLINE(block,ins,PASS(block, "text", "ins");) }}
|
1770
1770
|
break;
|
1771
1771
|
case 29:
|
1772
|
-
#line 64 "ext/redcloth_scan/
|
1772
|
+
#line 64 "ext/redcloth_scan/redcloth_bbcode_inline.rl"
|
1773
1773
|
{te = p+1;{ UNLESS_DISABLED_INLINE(block,s,PASS(block, "text", "del");) }}
|
1774
1774
|
break;
|
1775
1775
|
case 30:
|
1776
|
-
#line 65 "ext/redcloth_scan/
|
1776
|
+
#line 65 "ext/redcloth_scan/redcloth_bbcode_inline.rl"
|
1777
1777
|
{te = p+1;{ UNLESS_DISABLED_INLINE(block,del,PASS(block, "text", "del");) }}
|
1778
1778
|
break;
|
1779
1779
|
case 31:
|
1780
|
-
#line 66 "ext/redcloth_scan/
|
1780
|
+
#line 66 "ext/redcloth_scan/redcloth_bbcode_inline.rl"
|
1781
1781
|
{te = p+1;{ UNLESS_DISABLED_INLINE(block,ins,PASS(block, "text", "ins");) }}
|
1782
1782
|
break;
|
1783
1783
|
case 32:
|
1784
|
-
#line 67 "ext/redcloth_scan/
|
1784
|
+
#line 67 "ext/redcloth_scan/redcloth_bbcode_inline.rl"
|
1785
1785
|
{te = p+1;{ UNLESS_DISABLED_INLINE(block,sub,PASS(block, "text", "sub");) }}
|
1786
1786
|
break;
|
1787
1787
|
case 33:
|
1788
|
-
#line 68 "ext/redcloth_scan/
|
1788
|
+
#line 68 "ext/redcloth_scan/redcloth_bbcode_inline.rl"
|
1789
1789
|
{te = p+1;{ UNLESS_DISABLED_INLINE(block,sup,PASS(block, "text", "sup");) }}
|
1790
1790
|
break;
|
1791
1791
|
case 34:
|
1792
|
-
#line 8 "ext/redcloth_scan/
|
1792
|
+
#line 8 "ext/redcloth_scan/redcloth_common.c.rl"
|
1793
1793
|
{te = p+1;{ rb_str_append(block, rb_funcall(self, rb_intern("ignore"), 1, regs)); }}
|
1794
1794
|
break;
|
1795
1795
|
case 35:
|
1796
|
-
#line 70 "ext/redcloth_scan/
|
1796
|
+
#line 70 "ext/redcloth_scan/redcloth_bbcode_inline.rl"
|
1797
1797
|
{te = p+1;{ UNLESS_DISABLED_INLINE(block,color,PASS(block, "text", "color");) }}
|
1798
1798
|
break;
|
1799
1799
|
case 36:
|
1800
|
-
#line 71 "ext/redcloth_scan/
|
1800
|
+
#line 71 "ext/redcloth_scan/redcloth_bbcode_inline.rl"
|
1801
1801
|
{te = p+1;{ UNLESS_DISABLED_INLINE(block,size,PASS(block, "text", "bbsize");) }}
|
1802
1802
|
break;
|
1803
1803
|
case 37:
|
1804
|
-
#line 72 "ext/redcloth_scan/
|
1804
|
+
#line 72 "ext/redcloth_scan/redcloth_bbcode_inline.rl"
|
1805
1805
|
{te = p+1;{ UNLESS_DISABLED_INLINE(block,align,PASS(block, "text", "bbalign");) }}
|
1806
1806
|
break;
|
1807
1807
|
case 38:
|
1808
|
-
#line 73 "ext/redcloth_scan/
|
1808
|
+
#line 73 "ext/redcloth_scan/redcloth_bbcode_inline.rl"
|
1809
1809
|
{te = p+1;{ UNLESS_DISABLED_INLINE(block,acronym,PASS(block, "text", "acronym");) }}
|
1810
1810
|
break;
|
1811
1811
|
case 39:
|
1812
|
-
#line 74 "ext/redcloth_scan/
|
1812
|
+
#line 74 "ext/redcloth_scan/redcloth_bbcode_inline.rl"
|
1813
1813
|
{te = p+1;{ UNLESS_DISABLED_INLINE(block,link,PASS(block, "name", "link");) }}
|
1814
1814
|
break;
|
1815
1815
|
case 40:
|
1816
|
-
#line 75 "ext/redcloth_scan/
|
1816
|
+
#line 75 "ext/redcloth_scan/redcloth_bbcode_inline.rl"
|
1817
1817
|
{te = p+1;{ UNLESS_DISABLED_INLINE(block,link,PASS(block, "name", "link");) }}
|
1818
1818
|
break;
|
1819
1819
|
case 41:
|
1820
|
-
#line 76 "ext/redcloth_scan/
|
1820
|
+
#line 76 "ext/redcloth_scan/redcloth_bbcode_inline.rl"
|
1821
1821
|
{te = p+1;{ UNLESS_DISABLED_INLINE(block,image,PASS(block, "name", "image");); }}
|
1822
1822
|
break;
|
1823
1823
|
case 42:
|
1824
|
-
#line 77 "ext/redcloth_scan/
|
1824
|
+
#line 77 "ext/redcloth_scan/redcloth_bbcode_inline.rl"
|
1825
1825
|
{te = p+1;{ UNLESS_DISABLED_INLINE(block,image,PASS(block, "name", "image");); }}
|
1826
1826
|
break;
|
1827
1827
|
case 43:
|
1828
|
-
#line 78 "ext/redcloth_scan/
|
1828
|
+
#line 78 "ext/redcloth_scan/redcloth_bbcode_inline.rl"
|
1829
1829
|
{te = p+1;{ PASS(block, "name", "bb_spoiler"); CLEAR_REGS();}}
|
1830
1830
|
break;
|
1831
1831
|
case 44:
|
1832
|
-
#line 80 "ext/redcloth_scan/
|
1832
|
+
#line 80 "ext/redcloth_scan/redcloth_bbcode_inline.rl"
|
1833
1833
|
{te = p+1;{ ASET("type", "notextile"); rb_str_append(failed_start,STR_NEW(ts,te-ts)); {cs = 647; goto _again;} }}
|
1834
1834
|
break;
|
1835
1835
|
case 45:
|
1836
|
-
#line 81 "ext/redcloth_scan/
|
1836
|
+
#line 81 "ext/redcloth_scan/redcloth_bbcode_inline.rl"
|
1837
1837
|
{te = p+1;{ p--; {cs = stack[--top]; goto _again;} }}
|
1838
1838
|
break;
|
1839
1839
|
case 46:
|
1840
|
-
#line 82 "ext/redcloth_scan/
|
1840
|
+
#line 82 "ext/redcloth_scan/redcloth_bbcode_inline.rl"
|
1841
1841
|
{te = p+1;{ CAT(block); {cs = stack[--top]; goto _again;}}}
|
1842
1842
|
break;
|
1843
1843
|
case 47:
|
1844
|
-
#line 80 "ext/redcloth_scan/
|
1844
|
+
#line 80 "ext/redcloth_scan/redcloth_bbcode_inline.rl"
|
1845
1845
|
{te = p;p--;{ ASET("type", "notextile"); rb_str_append(failed_start,STR_NEW(ts,te-ts)); {cs = 647; goto _again;} }}
|
1846
1846
|
break;
|
1847
1847
|
case 48:
|
1848
|
-
#line 82 "ext/redcloth_scan/
|
1848
|
+
#line 82 "ext/redcloth_scan/redcloth_bbcode_inline.rl"
|
1849
1849
|
{te = p;p--;{ CAT(block); {cs = stack[--top]; goto _again;}}}
|
1850
1850
|
break;
|
1851
1851
|
case 49:
|
1852
|
-
#line 80 "ext/redcloth_scan/
|
1852
|
+
#line 80 "ext/redcloth_scan/redcloth_bbcode_inline.rl"
|
1853
1853
|
{{p = ((te))-1;}{ ASET("type", "notextile"); rb_str_append(failed_start,STR_NEW(ts,te-ts)); {cs = 647; goto _again;} }}
|
1854
1854
|
break;
|
1855
1855
|
case 50:
|
1856
|
-
#line 82 "ext/redcloth_scan/
|
1856
|
+
#line 82 "ext/redcloth_scan/redcloth_bbcode_inline.rl"
|
1857
1857
|
{{p = ((te))-1;}{ CAT(block); {cs = stack[--top]; goto _again;}}}
|
1858
1858
|
break;
|
1859
1859
|
case 51:
|
1860
|
-
#line 32 "ext/redcloth_scan/redcloth_bbcode.
|
1860
|
+
#line 32 "ext/redcloth_scan/redcloth_bbcode.rl"
|
1861
1861
|
{te = p+1;{
|
1862
1862
|
rb_hash_aset(regs, ID2SYM(rb_intern("text")), rb_funcall(self, rb_intern("escape_pre"), 1, rb_funcall(block,rb_intern("strip"),0)));
|
1863
1863
|
rb_str_append(html,rb_funcall(self, rb_intern("bb_block_pre"), 1, regs));
|
@@ -1867,15 +1867,15 @@ _eof_trans:
|
|
1867
1867
|
}}
|
1868
1868
|
break;
|
1869
1869
|
case 52:
|
1870
|
-
#line 9 "ext/redcloth_scan/
|
1870
|
+
#line 9 "ext/redcloth_scan/redcloth_common.rl"
|
1871
1871
|
{te = p+1;{ CAT(block); }}
|
1872
1872
|
break;
|
1873
1873
|
case 53:
|
1874
|
-
#line 40 "ext/redcloth_scan/redcloth_bbcode.
|
1874
|
+
#line 40 "ext/redcloth_scan/redcloth_bbcode.rl"
|
1875
1875
|
{te = p+1;{ CLEAR(block); CLEAR_REGS(); rb_str_append(block,failed_start); failed_start = STR_NEW2(""); p = failed_start_point_p; ts = failed_start_point_ts; te = failed_start_point_te; {cs = 663; goto _again;} }}
|
1876
1876
|
break;
|
1877
1877
|
case 54:
|
1878
|
-
#line 32 "ext/redcloth_scan/redcloth_bbcode.
|
1878
|
+
#line 32 "ext/redcloth_scan/redcloth_bbcode.rl"
|
1879
1879
|
{te = p;p--;{
|
1880
1880
|
rb_hash_aset(regs, ID2SYM(rb_intern("text")), rb_funcall(self, rb_intern("escape_pre"), 1, rb_funcall(block,rb_intern("strip"),0)));
|
1881
1881
|
rb_str_append(html,rb_funcall(self, rb_intern("bb_block_pre"), 1, regs));
|
@@ -1885,19 +1885,19 @@ _eof_trans:
|
|
1885
1885
|
}}
|
1886
1886
|
break;
|
1887
1887
|
case 55:
|
1888
|
-
#line 9 "ext/redcloth_scan/
|
1888
|
+
#line 9 "ext/redcloth_scan/redcloth_common.rl"
|
1889
1889
|
{te = p;p--;{ CAT(block); }}
|
1890
1890
|
break;
|
1891
1891
|
case 56:
|
1892
|
-
#line 9 "ext/redcloth_scan/
|
1892
|
+
#line 9 "ext/redcloth_scan/redcloth_common.rl"
|
1893
1893
|
{{p = ((te))-1;}{ CAT(block); }}
|
1894
1894
|
break;
|
1895
1895
|
case 57:
|
1896
|
-
#line 44 "ext/redcloth_scan/redcloth_bbcode.
|
1896
|
+
#line 44 "ext/redcloth_scan/redcloth_bbcode.rl"
|
1897
1897
|
{te = p+1;{ CAT(block); ++nested_quote; }}
|
1898
1898
|
break;
|
1899
1899
|
case 58:
|
1900
|
-
#line 45 "ext/redcloth_scan/redcloth_bbcode.
|
1900
|
+
#line 45 "ext/redcloth_scan/redcloth_bbcode.rl"
|
1901
1901
|
{te = p+1;{
|
1902
1902
|
if (nested_quote-- == 0) {
|
1903
1903
|
//printf("\n\nQUOTE TAG: %s \n\n",RSTRING_PTR(rb_funcall(block,rb_intern("strip"),0)));
|
@@ -1913,15 +1913,15 @@ _eof_trans:
|
|
1913
1913
|
}}
|
1914
1914
|
break;
|
1915
1915
|
case 59:
|
1916
|
-
#line 9 "ext/redcloth_scan/
|
1916
|
+
#line 9 "ext/redcloth_scan/redcloth_common.rl"
|
1917
1917
|
{te = p+1;{ CAT(block); }}
|
1918
1918
|
break;
|
1919
1919
|
case 60:
|
1920
|
-
#line 59 "ext/redcloth_scan/redcloth_bbcode.
|
1920
|
+
#line 59 "ext/redcloth_scan/redcloth_bbcode.rl"
|
1921
1921
|
{te = p+1;{ CLEAR(block); CLEAR_REGS(); rb_str_append(block,failed_start); failed_start = STR_NEW2(""); p = failed_start_point_p; ts = failed_start_point_ts; te = failed_start_point_te; {cs = 663; goto _again;} }}
|
1922
1922
|
break;
|
1923
1923
|
case 61:
|
1924
|
-
#line 45 "ext/redcloth_scan/redcloth_bbcode.
|
1924
|
+
#line 45 "ext/redcloth_scan/redcloth_bbcode.rl"
|
1925
1925
|
{te = p;p--;{
|
1926
1926
|
if (nested_quote-- == 0) {
|
1927
1927
|
//printf("\n\nQUOTE TAG: %s \n\n",RSTRING_PTR(rb_funcall(block,rb_intern("strip"),0)));
|
@@ -1937,19 +1937,19 @@ _eof_trans:
|
|
1937
1937
|
}}
|
1938
1938
|
break;
|
1939
1939
|
case 62:
|
1940
|
-
#line 9 "ext/redcloth_scan/
|
1940
|
+
#line 9 "ext/redcloth_scan/redcloth_common.rl"
|
1941
1941
|
{te = p;p--;{ CAT(block); }}
|
1942
1942
|
break;
|
1943
1943
|
case 63:
|
1944
|
-
#line 9 "ext/redcloth_scan/
|
1944
|
+
#line 9 "ext/redcloth_scan/redcloth_common.rl"
|
1945
1945
|
{{p = ((te))-1;}{ CAT(block); }}
|
1946
1946
|
break;
|
1947
1947
|
case 64:
|
1948
|
-
#line 63 "ext/redcloth_scan/redcloth_bbcode.
|
1948
|
+
#line 63 "ext/redcloth_scan/redcloth_bbcode.rl"
|
1949
1949
|
{te = p+1;{ CAT(block); ++nested_spoiler; }}
|
1950
1950
|
break;
|
1951
1951
|
case 65:
|
1952
|
-
#line 64 "ext/redcloth_scan/redcloth_bbcode.
|
1952
|
+
#line 64 "ext/redcloth_scan/redcloth_bbcode.rl"
|
1953
1953
|
{te = p+1;{
|
1954
1954
|
if (nested_spoiler-- == 0) {
|
1955
1955
|
rb_hash_aset(regs, ID2SYM(rb_intern("text")), redcloth_bbcode2(self,rb_funcall(block,rb_intern("strip"),0),rb_hash_new()));
|
@@ -1964,15 +1964,15 @@ _eof_trans:
|
|
1964
1964
|
}}
|
1965
1965
|
break;
|
1966
1966
|
case 66:
|
1967
|
-
#line 9 "ext/redcloth_scan/
|
1967
|
+
#line 9 "ext/redcloth_scan/redcloth_common.rl"
|
1968
1968
|
{te = p+1;{ CAT(block); }}
|
1969
1969
|
break;
|
1970
1970
|
case 67:
|
1971
|
-
#line 77 "ext/redcloth_scan/redcloth_bbcode.
|
1971
|
+
#line 77 "ext/redcloth_scan/redcloth_bbcode.rl"
|
1972
1972
|
{te = p+1;{ CLEAR(block); CLEAR_REGS(); rb_str_append(block,failed_start); failed_start = STR_NEW2(""); p = failed_start_point_p; ts = failed_start_point_ts; te = failed_start_point_te; {cs = 663; goto _again;} }}
|
1973
1973
|
break;
|
1974
1974
|
case 68:
|
1975
|
-
#line 64 "ext/redcloth_scan/redcloth_bbcode.
|
1975
|
+
#line 64 "ext/redcloth_scan/redcloth_bbcode.rl"
|
1976
1976
|
{te = p;p--;{
|
1977
1977
|
if (nested_spoiler-- == 0) {
|
1978
1978
|
rb_hash_aset(regs, ID2SYM(rb_intern("text")), redcloth_bbcode2(self,rb_funcall(block,rb_intern("strip"),0),rb_hash_new()));
|
@@ -1987,31 +1987,31 @@ _eof_trans:
|
|
1987
1987
|
}}
|
1988
1988
|
break;
|
1989
1989
|
case 69:
|
1990
|
-
#line 9 "ext/redcloth_scan/
|
1990
|
+
#line 9 "ext/redcloth_scan/redcloth_common.rl"
|
1991
1991
|
{te = p;p--;{ CAT(block); }}
|
1992
1992
|
break;
|
1993
1993
|
case 70:
|
1994
|
-
#line 9 "ext/redcloth_scan/
|
1994
|
+
#line 9 "ext/redcloth_scan/redcloth_common.rl"
|
1995
1995
|
{{p = ((te))-1;}{ CAT(block); }}
|
1996
1996
|
break;
|
1997
1997
|
case 71:
|
1998
|
-
#line 81 "ext/redcloth_scan/redcloth_bbcode.
|
1998
|
+
#line 81 "ext/redcloth_scan/redcloth_bbcode.rl"
|
1999
1999
|
{te = p+1;}
|
2000
2000
|
break;
|
2001
2001
|
case 72:
|
2002
|
-
#line 100 "ext/redcloth_scan/redcloth_bbcode.
|
2002
|
+
#line 100 "ext/redcloth_scan/redcloth_bbcode.rl"
|
2003
2003
|
{act = 39;}
|
2004
2004
|
break;
|
2005
2005
|
case 73:
|
2006
|
-
#line 101 "ext/redcloth_scan/redcloth_bbcode.
|
2006
|
+
#line 101 "ext/redcloth_scan/redcloth_bbcode.rl"
|
2007
2007
|
{act = 40;}
|
2008
2008
|
break;
|
2009
2009
|
case 74:
|
2010
|
-
#line 6 "ext/redcloth_scan/
|
2010
|
+
#line 6 "ext/redcloth_scan/redcloth_common.c.rl"
|
2011
2011
|
{act = 42;}
|
2012
2012
|
break;
|
2013
2013
|
case 75:
|
2014
|
-
#line 85 "ext/redcloth_scan/redcloth_bbcode.
|
2014
|
+
#line 85 "ext/redcloth_scan/redcloth_bbcode.rl"
|
2015
2015
|
{te = p+1;{
|
2016
2016
|
rb_hash_aset(regs, ID2SYM(rb_intern("text")), rb_funcall(block,rb_intern("strip"),0));
|
2017
2017
|
rb_str_append(html, rb_funcall(self, rb_intern("p"), 1, regs));
|
@@ -2021,7 +2021,7 @@ _eof_trans:
|
|
2021
2021
|
}}
|
2022
2022
|
break;
|
2023
2023
|
case 76:
|
2024
|
-
#line 92 "ext/redcloth_scan/redcloth_bbcode.
|
2024
|
+
#line 92 "ext/redcloth_scan/redcloth_bbcode.rl"
|
2025
2025
|
{te = p+1;{
|
2026
2026
|
rb_hash_aset(regs, ID2SYM(rb_intern("text")), rb_funcall(block,rb_intern("strip"),0));
|
2027
2027
|
rb_str_append(html, rb_funcall(self, rb_intern("p"), 1, regs));
|
@@ -2032,22 +2032,22 @@ _eof_trans:
|
|
2032
2032
|
}}
|
2033
2033
|
break;
|
2034
2034
|
case 77:
|
2035
|
-
#line 6 "ext/redcloth_scan/
|
2035
|
+
#line 6 "ext/redcloth_scan/redcloth_common.c.rl"
|
2036
2036
|
{te = p+1;{ rb_str_cat_escaped(self, block, ts, te); }}
|
2037
2037
|
break;
|
2038
2038
|
case 78:
|
2039
|
-
#line 100 "ext/redcloth_scan/redcloth_bbcode.
|
2039
|
+
#line 100 "ext/redcloth_scan/redcloth_bbcode.rl"
|
2040
2040
|
{te = p;p--;{ UNLESS_DISABLED_INLINE(block,link,PASS(block, "name", "link");) }}
|
2041
2041
|
break;
|
2042
2042
|
case 79:
|
2043
|
-
#line 101 "ext/redcloth_scan/redcloth_bbcode.
|
2043
|
+
#line 101 "ext/redcloth_scan/redcloth_bbcode.rl"
|
2044
2044
|
{te = p;p--;{
|
2045
2045
|
p--;
|
2046
2046
|
{stack[top++] = cs; cs = 650; goto _again;}
|
2047
2047
|
}}
|
2048
2048
|
break;
|
2049
2049
|
case 80:
|
2050
|
-
#line 105 "ext/redcloth_scan/redcloth_bbcode.
|
2050
|
+
#line 105 "ext/redcloth_scan/redcloth_bbcode.rl"
|
2051
2051
|
{te = p;p--;{
|
2052
2052
|
rb_hash_aset(regs, ID2SYM(rb_intern("text")), rb_funcall(block,rb_intern("strip"),0));
|
2053
2053
|
rb_str_append(html, rb_funcall(self, rb_intern("p"), 1, regs));
|
@@ -2057,19 +2057,19 @@ _eof_trans:
|
|
2057
2057
|
}}
|
2058
2058
|
break;
|
2059
2059
|
case 81:
|
2060
|
-
#line 6 "ext/redcloth_scan/
|
2060
|
+
#line 6 "ext/redcloth_scan/redcloth_common.c.rl"
|
2061
2061
|
{te = p;p--;{ rb_str_cat_escaped(self, block, ts, te); }}
|
2062
2062
|
break;
|
2063
2063
|
case 82:
|
2064
|
-
#line 100 "ext/redcloth_scan/redcloth_bbcode.
|
2064
|
+
#line 100 "ext/redcloth_scan/redcloth_bbcode.rl"
|
2065
2065
|
{{p = ((te))-1;}{ UNLESS_DISABLED_INLINE(block,link,PASS(block, "name", "link");) }}
|
2066
2066
|
break;
|
2067
2067
|
case 83:
|
2068
|
-
#line 6 "ext/redcloth_scan/
|
2068
|
+
#line 6 "ext/redcloth_scan/redcloth_common.c.rl"
|
2069
2069
|
{{p = ((te))-1;}{ rb_str_cat_escaped(self, block, ts, te); }}
|
2070
2070
|
break;
|
2071
2071
|
case 84:
|
2072
|
-
#line 1 "
|
2072
|
+
#line 1 "NONE"
|
2073
2073
|
{ switch( act ) {
|
2074
2074
|
case 39:
|
2075
2075
|
{{p = ((te))-1;} UNLESS_DISABLED_INLINE(block,link,PASS(block, "name", "link");) }
|
@@ -2087,55 +2087,55 @@ _eof_trans:
|
|
2087
2087
|
}
|
2088
2088
|
break;
|
2089
2089
|
case 85:
|
2090
|
-
#line 9 "ext/redcloth_scan/
|
2090
|
+
#line 9 "ext/redcloth_scan/redcloth_common.rl"
|
2091
2091
|
{act = 46;}
|
2092
2092
|
break;
|
2093
2093
|
case 86:
|
2094
|
-
#line 124 "ext/redcloth_scan/redcloth_bbcode.
|
2094
|
+
#line 124 "ext/redcloth_scan/redcloth_bbcode.rl"
|
2095
2095
|
{act = 47;}
|
2096
2096
|
break;
|
2097
2097
|
case 87:
|
2098
|
-
#line 120 "ext/redcloth_scan/redcloth_bbcode.
|
2098
|
+
#line 120 "ext/redcloth_scan/redcloth_bbcode.rl"
|
2099
2099
|
{te = p+1;{ rb_str_append(failed_start,STR_NEW(ts,te-ts)); failed_start_point_p = p; failed_start_point_ts = ts; failed_start_point_te = te; {cs = 653; goto _again;} }}
|
2100
2100
|
break;
|
2101
2101
|
case 88:
|
2102
|
-
#line 121 "ext/redcloth_scan/redcloth_bbcode.
|
2102
|
+
#line 121 "ext/redcloth_scan/redcloth_bbcode.rl"
|
2103
2103
|
{te = p+1;{ rb_str_append(failed_start,STR_NEW(ts,te-ts)); failed_start_point_p = p; failed_start_point_ts = ts; failed_start_point_te = te; store_cite = 0; {cs = 656; goto _again;} }}
|
2104
2104
|
break;
|
2105
2105
|
case 89:
|
2106
|
-
#line 122 "ext/redcloth_scan/redcloth_bbcode.
|
2106
|
+
#line 122 "ext/redcloth_scan/redcloth_bbcode.rl"
|
2107
2107
|
{te = p+1;{ rb_str_append(failed_start,STR_NEW(ts,te-ts)); failed_start_point_p = p; failed_start_point_ts = ts; failed_start_point_te = te; store_title = 0; {cs = 660; goto _again;} }}
|
2108
2108
|
break;
|
2109
2109
|
case 90:
|
2110
|
-
#line 124 "ext/redcloth_scan/redcloth_bbcode.
|
2110
|
+
#line 124 "ext/redcloth_scan/redcloth_bbcode.rl"
|
2111
2111
|
{te = p+1;{ p--; {cs = 664; goto _again;} }}
|
2112
2112
|
break;
|
2113
2113
|
case 91:
|
2114
|
-
#line 120 "ext/redcloth_scan/redcloth_bbcode.
|
2114
|
+
#line 120 "ext/redcloth_scan/redcloth_bbcode.rl"
|
2115
2115
|
{te = p;p--;{ rb_str_append(failed_start,STR_NEW(ts,te-ts)); failed_start_point_p = p; failed_start_point_ts = ts; failed_start_point_te = te; {cs = 653; goto _again;} }}
|
2116
2116
|
break;
|
2117
2117
|
case 92:
|
2118
|
-
#line 9 "ext/redcloth_scan/
|
2118
|
+
#line 9 "ext/redcloth_scan/redcloth_common.rl"
|
2119
2119
|
{te = p;p--;{ CAT(block); }}
|
2120
2120
|
break;
|
2121
2121
|
case 93:
|
2122
|
-
#line 124 "ext/redcloth_scan/redcloth_bbcode.
|
2122
|
+
#line 124 "ext/redcloth_scan/redcloth_bbcode.rl"
|
2123
2123
|
{te = p;p--;{ p--; {cs = 664; goto _again;} }}
|
2124
2124
|
break;
|
2125
2125
|
case 94:
|
2126
|
-
#line 120 "ext/redcloth_scan/redcloth_bbcode.
|
2126
|
+
#line 120 "ext/redcloth_scan/redcloth_bbcode.rl"
|
2127
2127
|
{{p = ((te))-1;}{ rb_str_append(failed_start,STR_NEW(ts,te-ts)); failed_start_point_p = p; failed_start_point_ts = ts; failed_start_point_te = te; {cs = 653; goto _again;} }}
|
2128
2128
|
break;
|
2129
2129
|
case 95:
|
2130
|
-
#line 9 "ext/redcloth_scan/
|
2130
|
+
#line 9 "ext/redcloth_scan/redcloth_common.rl"
|
2131
2131
|
{{p = ((te))-1;}{ CAT(block); }}
|
2132
2132
|
break;
|
2133
2133
|
case 96:
|
2134
|
-
#line 124 "ext/redcloth_scan/redcloth_bbcode.
|
2134
|
+
#line 124 "ext/redcloth_scan/redcloth_bbcode.rl"
|
2135
2135
|
{{p = ((te))-1;}{ p--; {cs = 664; goto _again;} }}
|
2136
2136
|
break;
|
2137
2137
|
case 97:
|
2138
|
-
#line 1 "
|
2138
|
+
#line 1 "NONE"
|
2139
2139
|
{ switch( act ) {
|
2140
2140
|
case 46:
|
2141
2141
|
{{p = ((te))-1;} CAT(block); }
|
@@ -2156,7 +2156,7 @@ _again:
|
|
2156
2156
|
while ( _nacts-- > 0 ) {
|
2157
2157
|
switch ( *_acts++ ) {
|
2158
2158
|
case 17:
|
2159
|
-
#line 1 "
|
2159
|
+
#line 1 "NONE"
|
2160
2160
|
{ts = 0;}
|
2161
2161
|
break;
|
2162
2162
|
#line 2163 "ext/redcloth_scan/redcloth_bbcode.c"
|