breakout_parser 0.0.14 → 0.0.15

Sign up to get free protection for your applications and to get access to all the features.
data/ChangeLog CHANGED
@@ -1,3 +1,7 @@
1
+ [ 0.0.15 ]
2
+
3
+ * allow spaces in links to wiki pages, re http://www.assembla.com/spaces/breakout/tickets/5916
4
+
1
5
  [ 0.0.14 ]
2
6
 
3
7
  * fix handling of broken multilevel lists, re https://www.assembla.com/spaces/breakout/tickets/5902
@@ -485,52 +485,52 @@ static yyconst flex_int32_t yy_meta[51] =
485
485
  static yyconst flex_int16_t yy_base[423] =
486
486
  { 0,
487
487
  0, 49, 59, 64, 82, 86, 91, 114, 118, 123,
488
- 53, 54, 95, 138, 74, 145, 887, 2126, 177, 172,
489
- 181, 36, 865, 90, 116, 860, 176, 178, 2126, 143,
490
- 188, 87, 0, 231, 244, 2126, 209, 866, 2126, 2126,
491
- 214, 865, 2126, 2126, 268, 864, 2126, 2126, 272, 838,
492
- 2126, 280, 290, 156, 0, 204, 339, 205, 363, 219,
493
- 384, 0, 295, 299, 826, 0, 839, 2126, 304, 64,
488
+ 53, 54, 95, 138, 74, 145, 887, 2129, 177, 172,
489
+ 181, 36, 865, 90, 116, 860, 176, 178, 2129, 143,
490
+ 188, 87, 0, 231, 244, 2129, 209, 866, 2129, 2129,
491
+ 214, 865, 2129, 2129, 268, 864, 2129, 2129, 272, 838,
492
+ 2129, 280, 290, 156, 0, 204, 339, 205, 363, 219,
493
+ 384, 0, 295, 299, 826, 0, 839, 2129, 304, 64,
494
494
  828, 0, 58, 808, 807, 804, 281, 90, 91, 0,
495
- 157, 242, 840, 164, 2126, 839, 60, 0, 819, 2126,
496
- 0, 818, 0, 246, 333, 823, 2126, 809, 408, 821,
495
+ 157, 242, 840, 164, 2129, 839, 60, 0, 819, 2129,
496
+ 0, 818, 0, 246, 333, 823, 2129, 809, 408, 821,
497
497
 
498
- 2126, 794, 412, 819, 2126, 805, 416, 817, 2126, 792,
499
- 329, 356, 0, 243, 2126, 0, 421, 825, 2126, 0,
500
- 0, 224, 2126, 808, 0, 2126, 0, 807, 2126, 0,
501
- 806, 2126, 0, 2126, 0, 797, 781, 794, 0, 0,
498
+ 2129, 794, 412, 819, 2129, 805, 416, 817, 2129, 792,
499
+ 329, 356, 0, 243, 2129, 0, 421, 825, 2129, 0,
500
+ 0, 224, 2129, 808, 0, 2129, 0, 807, 2129, 0,
501
+ 806, 2129, 0, 2129, 0, 797, 781, 794, 0, 0,
502
502
  789, 784, 248, 787, 778, 785, 269, 302, 813, 812,
503
- 809, 807, 2126, 435, 2126, 376, 771, 767, 768, 763,
504
- 309, 315, 319, 2126, 439, 2126, 788, 769, 767, 776,
503
+ 809, 807, 2129, 435, 2129, 376, 771, 767, 768, 763,
504
+ 309, 315, 319, 2129, 439, 2129, 788, 769, 767, 776,
505
505
  771, 331, 333, 424, 113, 376, 428, 430, 421, 443,
506
- 489, 785, 784, 2126, 371, 759, 757, 757, 741, 2126,
506
+ 489, 785, 784, 2129, 371, 759, 757, 757, 741, 2129,
507
507
  770, 0, 763, 734, 512, 757, 755, 0, 406, 439,
508
508
 
509
509
  476, 435, 472, 475, 454, 484, 763, 458, 518, 542,
510
510
  592, 477, 747, 756, 745, 744, 509, 565, 727, 463,
511
- 191, 741, 2126, 2126, 744, 522, 496, 346, 743, 0,
511
+ 191, 741, 2129, 2129, 744, 522, 496, 346, 743, 0,
512
512
  740, 0, 504, 525, 642, 534, 747, 561, 692, 742,
513
- 792, 532, 2126, 558, 741, 2126, 739, 710, 563, 576,
514
- 721, 709, 0, 571, 679, 548, 2126, 708, 2126, 707,
515
- 562, 575, 828, 697, 594, 0, 0, 876, 612, 2126,
513
+ 792, 532, 2129, 558, 741, 2129, 739, 710, 563, 576,
514
+ 721, 709, 0, 571, 679, 548, 2129, 708, 2129, 707,
515
+ 562, 575, 828, 697, 594, 0, 0, 876, 612, 2129,
516
516
  670, 629, 611, 578, 0, 614, 0, 602, 0, 581,
517
517
  681, 566, 563, 549, 535, 926, 976, 620, 522, 495,
518
- 489, 479, 481, 0, 579, 2126, 459, 2126, 450, 673,
519
-
520
- 412, 2126, 445, 449, 400, 1026, 1076, 360, 334, 349,
521
- 336, 2126, 323, 315, 0, 684, 703, 2126, 305, 2126,
522
- 0, 285, 275, 629, 631, 2126, 272, 620, 255, 0,
523
- 238, 206, 214, 714, 720, 721, 685, 2126, 199, 184,
524
- 180, 2126, 709, 163, 0, 136, 0, 2126, 2126, 756,
525
- 687, 2126, 128, 2126, 115, 107, 0, 100, 0, 2126,
526
- 89, 2126, 53, 2126, 1126, 1147, 1168, 1189, 1199, 1208,
518
+ 489, 479, 481, 0, 579, 2129, 459, 2129, 450, 673,
519
+
520
+ 412, 2129, 445, 449, 400, 1026, 1076, 360, 334, 349,
521
+ 336, 2129, 323, 315, 0, 684, 703, 2129, 305, 2129,
522
+ 0, 285, 275, 629, 631, 2129, 272, 620, 255, 0,
523
+ 238, 206, 214, 714, 720, 721, 685, 2129, 199, 184,
524
+ 180, 2129, 709, 163, 0, 136, 0, 2129, 2129, 756,
525
+ 687, 2129, 128, 2129, 115, 107, 0, 100, 0, 2129,
526
+ 89, 2129, 53, 2129, 1126, 1147, 1168, 1189, 1199, 1208,
527
527
  1228, 1249, 1269, 1289, 1308, 1329, 1349, 1369, 1372, 1386,
528
- 1406, 1427, 1448, 1469, 1479, 1499, 1514, 1523, 609, 1543,
529
- 1564, 1574, 1594, 1615, 1636, 1657, 1678, 1688, 715, 1708,
528
+ 1406, 1427, 1448, 1469, 1479, 1499, 1517, 1526, 609, 1546,
529
+ 1567, 1577, 1597, 1618, 1639, 1660, 1681, 1691, 715, 1711,
530
530
 
531
- 1729, 1750, 1760, 1780, 1801, 1822, 1843, 1853, 1873, 1894,
532
- 1915, 1936, 1957, 1978, 1999, 726, 2020, 733, 2041, 2062,
533
- 2083, 2104
531
+ 1732, 1753, 1763, 1783, 1804, 1825, 1846, 1856, 1876, 1897,
532
+ 1918, 1939, 1960, 1981, 2002, 726, 2023, 733, 2044, 2065,
533
+ 2086, 2107
534
534
  } ;
535
535
 
536
536
  static yyconst flex_int16_t yy_def[423] =
@@ -584,7 +584,7 @@ static yyconst flex_int16_t yy_def[423] =
584
584
  364, 364
585
585
  } ;
586
586
 
587
- static yyconst flex_int16_t yy_nxt[2177] =
587
+ static yyconst flex_int16_t yy_nxt[2180] =
588
588
  { 0,
589
589
  18, 19, 20, 21, 19, 18, 18, 22, 18, 18,
590
590
  18, 18, 23, 23, 18, 24, 24, 18, 25, 18,
@@ -753,81 +753,81 @@ static yyconst flex_int16_t yy_nxt[2177] =
753
753
 
754
754
  171, 364, 171, 171, 171, 171, 171, 171, 171, 171,
755
755
  171, 171, 171, 171, 171, 364, 364, 171, 171, 171,
756
- 172, 364, 364, 364, 364, 172, 364, 172, 364, 172,
757
- 364, 364, 172, 172, 191, 191, 191, 364, 191, 364,
758
- 364, 191, 191, 210, 210, 364, 364, 210, 364, 210,
759
- 210, 364, 364, 210, 210, 210, 210, 210, 210, 210,
760
- 210, 210, 210, 210, 212, 212, 364, 212, 212, 212,
756
+ 172, 364, 364, 172, 364, 364, 364, 364, 172, 364,
757
+ 172, 364, 172, 364, 364, 172, 172, 191, 191, 191,
758
+ 364, 191, 364, 364, 191, 191, 210, 210, 364, 364,
759
+ 210, 364, 210, 210, 364, 364, 210, 210, 210, 210,
760
+ 210, 210, 210, 210, 210, 210, 210, 212, 212, 364,
761
761
  212, 212, 212, 212, 212, 212, 212, 212, 212, 212,
762
- 212, 212, 212, 212, 212, 217, 217, 217, 364, 217,
763
- 364, 364, 217, 217, 225, 225, 225, 225, 225, 225,
762
+ 212, 212, 212, 212, 212, 212, 212, 212, 217, 217,
763
+ 217, 364, 217, 364, 364, 217, 217, 225, 225, 225,
764
764
 
765
765
  225, 225, 225, 225, 225, 225, 225, 225, 225, 225,
766
- 364, 364, 225, 225, 225, 238, 238, 364, 364, 238,
767
- 364, 238, 238, 364, 364, 238, 238, 238, 238, 238,
768
- 238, 238, 238, 238, 238, 238, 239, 239, 364, 364,
769
- 239, 364, 239, 239, 364, 364, 239, 239, 239, 239,
770
- 239, 239, 239, 239, 239, 239, 239, 241, 241, 364,
771
- 364, 241, 364, 241, 241, 364, 364, 241, 241, 241,
772
- 241, 241, 241, 241, 241, 241, 241, 241, 242, 242,
766
+ 225, 225, 225, 364, 364, 225, 225, 225, 238, 238,
767
+ 364, 364, 238, 364, 238, 238, 364, 364, 238, 238,
768
+ 238, 238, 238, 238, 238, 238, 238, 238, 238, 239,
769
+ 239, 364, 364, 239, 364, 239, 239, 364, 364, 239,
770
+ 239, 239, 239, 239, 239, 239, 239, 239, 239, 239,
771
+ 241, 241, 364, 364, 241, 364, 241, 241, 364, 364,
772
+ 241, 241, 241, 241, 241, 241, 241, 241, 241, 241,
773
+ 241, 242, 242, 242, 242, 242, 242, 242, 242, 242,
773
774
  242, 242, 242, 242, 242, 242, 242, 242, 242, 242,
774
- 242, 242, 242, 242, 242, 242, 242, 242, 242, 249,
775
-
776
- 249, 249, 364, 249, 364, 364, 249, 249, 258, 258,
777
- 258, 258, 258, 258, 258, 258, 258, 258, 258, 258,
778
- 258, 258, 258, 258, 364, 364, 258, 258, 258, 260,
779
- 260, 260, 260, 260, 260, 260, 260, 260, 260, 260,
780
- 260, 260, 260, 260, 260, 364, 364, 260, 260, 260,
781
- 268, 268, 364, 364, 268, 364, 268, 268, 364, 364,
782
- 268, 268, 268, 268, 268, 268, 268, 268, 268, 268,
783
- 268, 274, 274, 274, 364, 274, 364, 364, 274, 274,
784
- 283, 283, 283, 283, 283, 283, 283, 283, 283, 283,
775
+
776
+ 242, 242, 249, 249, 249, 364, 249, 364, 364, 249,
777
+ 249, 258, 258, 258, 258, 258, 258, 258, 258, 258,
778
+ 258, 258, 258, 258, 258, 258, 258, 364, 364, 258,
779
+ 258, 258, 260, 260, 260, 260, 260, 260, 260, 260,
780
+ 260, 260, 260, 260, 260, 260, 260, 260, 364, 364,
781
+ 260, 260, 260, 268, 268, 364, 364, 268, 364, 268,
782
+ 268, 364, 364, 268, 268, 268, 268, 268, 268, 268,
783
+ 268, 268, 268, 268, 274, 274, 274, 364, 274, 364,
784
+ 364, 274, 274, 283, 283, 283, 283, 283, 283, 283,
785
785
  283, 283, 283, 283, 283, 283, 283, 283, 283, 283,
786
786
 
787
- 283, 285, 285, 285, 285, 285, 285, 285, 285, 285,
788
- 285, 285, 285, 285, 285, 285, 285, 285, 364, 285,
789
- 285, 285, 209, 209, 364, 364, 209, 364, 209, 209,
790
- 364, 364, 209, 209, 209, 209, 209, 209, 209, 209,
791
- 209, 209, 209, 286, 286, 364, 364, 286, 364, 286,
792
- 286, 364, 364, 286, 286, 286, 286, 286, 286, 286,
793
- 286, 286, 286, 286, 295, 295, 295, 364, 295, 364,
794
- 364, 295, 295, 297, 297, 297, 297, 297, 297, 297,
795
- 297, 297, 297, 297, 297, 297, 297, 297, 297, 364,
796
- 364, 297, 297, 297, 299, 299, 299, 299, 299, 299,
787
+ 283, 283, 283, 283, 285, 285, 285, 285, 285, 285,
788
+ 285, 285, 285, 285, 285, 285, 285, 285, 285, 285,
789
+ 285, 364, 285, 285, 285, 209, 209, 364, 364, 209,
790
+ 364, 209, 209, 364, 364, 209, 209, 209, 209, 209,
791
+ 209, 209, 209, 209, 209, 209, 286, 286, 364, 364,
792
+ 286, 364, 286, 286, 364, 364, 286, 286, 286, 286,
793
+ 286, 286, 286, 286, 286, 286, 286, 295, 295, 295,
794
+ 364, 295, 364, 364, 295, 295, 297, 297, 297, 297,
795
+ 297, 297, 297, 297, 297, 297, 297, 297, 297, 297,
796
+ 297, 297, 364, 364, 297, 297, 297, 299, 299, 299,
797
797
 
798
798
  299, 299, 299, 299, 299, 299, 299, 299, 299, 299,
799
- 364, 364, 299, 299, 299, 306, 306, 364, 364, 306,
800
- 364, 306, 306, 364, 364, 306, 306, 306, 306, 306,
801
- 306, 306, 306, 306, 306, 306, 313, 313, 313, 313,
799
+ 299, 299, 299, 364, 364, 299, 299, 299, 306, 306,
800
+ 364, 364, 306, 364, 306, 306, 364, 364, 306, 306,
801
+ 306, 306, 306, 306, 306, 306, 306, 306, 306, 313,
802
802
  313, 313, 313, 313, 313, 313, 313, 313, 313, 313,
803
- 313, 313, 364, 364, 313, 313, 313, 321, 321, 364,
804
- 364, 321, 364, 321, 321, 364, 364, 321, 321, 321,
805
- 321, 321, 321, 321, 321, 321, 321, 321, 327, 327,
806
- 327, 327, 327, 327, 327, 327, 327, 327, 327, 327,
807
- 327, 327, 327, 327, 364, 364, 327, 327, 327, 331,
803
+ 313, 313, 313, 313, 313, 364, 364, 313, 313, 313,
804
+ 321, 321, 364, 364, 321, 364, 321, 321, 364, 364,
805
+ 321, 321, 321, 321, 321, 321, 321, 321, 321, 321,
806
+ 321, 327, 327, 327, 327, 327, 327, 327, 327, 327,
807
+ 327, 327, 327, 327, 327, 327, 327, 364, 364, 327,
808
808
 
809
+ 327, 327, 331, 331, 331, 331, 331, 331, 331, 331,
809
810
  331, 331, 331, 331, 331, 331, 331, 331, 331, 331,
810
- 331, 331, 331, 331, 331, 331, 331, 331, 331, 331,
811
- 339, 339, 339, 339, 339, 339, 339, 339, 339, 339,
812
- 339, 339, 339, 339, 339, 339, 364, 364, 339, 339,
813
- 339, 353, 353, 353, 353, 353, 353, 353, 353, 353,
814
- 353, 353, 353, 353, 353, 353, 353, 364, 364, 353,
815
- 353, 353, 355, 355, 355, 355, 355, 355, 355, 355,
816
- 355, 355, 355, 355, 355, 355, 355, 355, 364, 364,
817
- 355, 355, 355, 361, 361, 361, 361, 361, 361, 361,
818
- 361, 361, 361, 361, 361, 361, 361, 361, 361, 364,
819
-
820
- 364, 361, 361, 361, 363, 363, 363, 363, 363, 363,
811
+ 331, 331, 331, 339, 339, 339, 339, 339, 339, 339,
812
+ 339, 339, 339, 339, 339, 339, 339, 339, 339, 364,
813
+ 364, 339, 339, 339, 353, 353, 353, 353, 353, 353,
814
+ 353, 353, 353, 353, 353, 353, 353, 353, 353, 353,
815
+ 364, 364, 353, 353, 353, 355, 355, 355, 355, 355,
816
+ 355, 355, 355, 355, 355, 355, 355, 355, 355, 355,
817
+ 355, 364, 364, 355, 355, 355, 361, 361, 361, 361,
818
+ 361, 361, 361, 361, 361, 361, 361, 361, 361, 361,
819
+
820
+ 361, 361, 364, 364, 361, 361, 361, 363, 363, 363,
821
821
  363, 363, 363, 363, 363, 363, 363, 363, 363, 363,
822
- 364, 364, 363, 363, 363, 17, 364, 364, 364, 364,
822
+ 363, 363, 363, 364, 364, 363, 363, 363, 17, 364,
823
823
  364, 364, 364, 364, 364, 364, 364, 364, 364, 364,
824
824
  364, 364, 364, 364, 364, 364, 364, 364, 364, 364,
825
825
  364, 364, 364, 364, 364, 364, 364, 364, 364, 364,
826
826
  364, 364, 364, 364, 364, 364, 364, 364, 364, 364,
827
- 364, 364, 364, 364, 364, 364
827
+ 364, 364, 364, 364, 364, 364, 364, 364, 364
828
828
  } ;
829
829
 
830
- static yyconst flex_int16_t yy_chk[2177] =
830
+ static yyconst flex_int16_t yy_chk[2180] =
831
831
  { 0,
832
832
  1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
833
833
  1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
@@ -996,78 +996,78 @@ static yyconst flex_int16_t yy_chk[2177] =
996
996
 
997
997
  386, 0, 386, 386, 386, 386, 386, 386, 386, 386,
998
998
  386, 386, 386, 386, 386, 0, 0, 386, 386, 386,
999
- 387, 0, 0, 0, 0, 387, 0, 387, 0, 387,
1000
- 0, 0, 387, 387, 388, 388, 388, 0, 388, 0,
1001
- 0, 388, 388, 390, 390, 0, 0, 390, 0, 390,
1002
- 390, 0, 0, 390, 390, 390, 390, 390, 390, 390,
1003
- 390, 390, 390, 390, 391, 391, 0, 391, 391, 391,
999
+ 387, 0, 0, 387, 0, 0, 0, 0, 387, 0,
1000
+ 387, 0, 387, 0, 0, 387, 387, 388, 388, 388,
1001
+ 0, 388, 0, 0, 388, 388, 390, 390, 0, 0,
1002
+ 390, 0, 390, 390, 0, 0, 390, 390, 390, 390,
1003
+ 390, 390, 390, 390, 390, 390, 390, 391, 391, 0,
1004
1004
  391, 391, 391, 391, 391, 391, 391, 391, 391, 391,
1005
- 391, 391, 391, 391, 391, 392, 392, 392, 0, 392,
1006
- 0, 0, 392, 392, 393, 393, 393, 393, 393, 393,
1005
+ 391, 391, 391, 391, 391, 391, 391, 391, 392, 392,
1006
+ 392, 0, 392, 0, 0, 392, 392, 393, 393, 393,
1007
1007
 
1008
1008
  393, 393, 393, 393, 393, 393, 393, 393, 393, 393,
1009
- 0, 0, 393, 393, 393, 394, 394, 0, 0, 394,
1010
- 0, 394, 394, 0, 0, 394, 394, 394, 394, 394,
1011
- 394, 394, 394, 394, 394, 394, 395, 395, 0, 0,
1012
- 395, 0, 395, 395, 0, 0, 395, 395, 395, 395,
1013
- 395, 395, 395, 395, 395, 395, 395, 396, 396, 0,
1014
- 0, 396, 0, 396, 396, 0, 0, 396, 396, 396,
1015
- 396, 396, 396, 396, 396, 396, 396, 396, 397, 397,
1009
+ 393, 393, 393, 0, 0, 393, 393, 393, 394, 394,
1010
+ 0, 0, 394, 0, 394, 394, 0, 0, 394, 394,
1011
+ 394, 394, 394, 394, 394, 394, 394, 394, 394, 395,
1012
+ 395, 0, 0, 395, 0, 395, 395, 0, 0, 395,
1013
+ 395, 395, 395, 395, 395, 395, 395, 395, 395, 395,
1014
+ 396, 396, 0, 0, 396, 0, 396, 396, 0, 0,
1015
+ 396, 396, 396, 396, 396, 396, 396, 396, 396, 396,
1016
+ 396, 397, 397, 397, 397, 397, 397, 397, 397, 397,
1016
1017
  397, 397, 397, 397, 397, 397, 397, 397, 397, 397,
1017
- 397, 397, 397, 397, 397, 397, 397, 397, 397, 398,
1018
-
1019
- 398, 398, 0, 398, 0, 0, 398, 398, 400, 400,
1020
- 400, 400, 400, 400, 400, 400, 400, 400, 400, 400,
1021
- 400, 400, 400, 400, 0, 0, 400, 400, 400, 401,
1022
- 401, 401, 401, 401, 401, 401, 401, 401, 401, 401,
1023
- 401, 401, 401, 401, 401, 0, 0, 401, 401, 401,
1024
- 402, 402, 0, 0, 402, 0, 402, 402, 0, 0,
1025
- 402, 402, 402, 402, 402, 402, 402, 402, 402, 402,
1026
- 402, 403, 403, 403, 0, 403, 0, 0, 403, 403,
1027
- 404, 404, 404, 404, 404, 404, 404, 404, 404, 404,
1018
+
1019
+ 397, 397, 398, 398, 398, 0, 398, 0, 0, 398,
1020
+ 398, 400, 400, 400, 400, 400, 400, 400, 400, 400,
1021
+ 400, 400, 400, 400, 400, 400, 400, 0, 0, 400,
1022
+ 400, 400, 401, 401, 401, 401, 401, 401, 401, 401,
1023
+ 401, 401, 401, 401, 401, 401, 401, 401, 0, 0,
1024
+ 401, 401, 401, 402, 402, 0, 0, 402, 0, 402,
1025
+ 402, 0, 0, 402, 402, 402, 402, 402, 402, 402,
1026
+ 402, 402, 402, 402, 403, 403, 403, 0, 403, 0,
1027
+ 0, 403, 403, 404, 404, 404, 404, 404, 404, 404,
1028
1028
  404, 404, 404, 404, 404, 404, 404, 404, 404, 404,
1029
1029
 
1030
- 404, 405, 405, 405, 405, 405, 405, 405, 405, 405,
1031
- 405, 405, 405, 405, 405, 405, 405, 405, 0, 405,
1032
- 405, 405, 406, 406, 0, 0, 406, 0, 406, 406,
1033
- 0, 0, 406, 406, 406, 406, 406, 406, 406, 406,
1034
- 406, 406, 406, 407, 407, 0, 0, 407, 0, 407,
1035
- 407, 0, 0, 407, 407, 407, 407, 407, 407, 407,
1036
- 407, 407, 407, 407, 408, 408, 408, 0, 408, 0,
1037
- 0, 408, 408, 409, 409, 409, 409, 409, 409, 409,
1038
- 409, 409, 409, 409, 409, 409, 409, 409, 409, 0,
1039
- 0, 409, 409, 409, 410, 410, 410, 410, 410, 410,
1030
+ 404, 404, 404, 404, 405, 405, 405, 405, 405, 405,
1031
+ 405, 405, 405, 405, 405, 405, 405, 405, 405, 405,
1032
+ 405, 0, 405, 405, 405, 406, 406, 0, 0, 406,
1033
+ 0, 406, 406, 0, 0, 406, 406, 406, 406, 406,
1034
+ 406, 406, 406, 406, 406, 406, 407, 407, 0, 0,
1035
+ 407, 0, 407, 407, 0, 0, 407, 407, 407, 407,
1036
+ 407, 407, 407, 407, 407, 407, 407, 408, 408, 408,
1037
+ 0, 408, 0, 0, 408, 408, 409, 409, 409, 409,
1038
+ 409, 409, 409, 409, 409, 409, 409, 409, 409, 409,
1039
+ 409, 409, 0, 0, 409, 409, 409, 410, 410, 410,
1040
1040
 
1041
1041
  410, 410, 410, 410, 410, 410, 410, 410, 410, 410,
1042
- 0, 0, 410, 410, 410, 411, 411, 0, 0, 411,
1043
- 0, 411, 411, 0, 0, 411, 411, 411, 411, 411,
1044
- 411, 411, 411, 411, 411, 411, 412, 412, 412, 412,
1042
+ 410, 410, 410, 0, 0, 410, 410, 410, 411, 411,
1043
+ 0, 0, 411, 0, 411, 411, 0, 0, 411, 411,
1044
+ 411, 411, 411, 411, 411, 411, 411, 411, 411, 412,
1045
1045
  412, 412, 412, 412, 412, 412, 412, 412, 412, 412,
1046
- 412, 412, 0, 0, 412, 412, 412, 413, 413, 0,
1047
- 0, 413, 0, 413, 413, 0, 0, 413, 413, 413,
1048
- 413, 413, 413, 413, 413, 413, 413, 413, 414, 414,
1049
- 414, 414, 414, 414, 414, 414, 414, 414, 414, 414,
1050
- 414, 414, 414, 414, 0, 0, 414, 414, 414, 415,
1046
+ 412, 412, 412, 412, 412, 0, 0, 412, 412, 412,
1047
+ 413, 413, 0, 0, 413, 0, 413, 413, 0, 0,
1048
+ 413, 413, 413, 413, 413, 413, 413, 413, 413, 413,
1049
+ 413, 414, 414, 414, 414, 414, 414, 414, 414, 414,
1050
+ 414, 414, 414, 414, 414, 414, 414, 0, 0, 414,
1051
1051
 
1052
+ 414, 414, 415, 415, 415, 415, 415, 415, 415, 415,
1052
1053
  415, 415, 415, 415, 415, 415, 415, 415, 415, 415,
1053
- 415, 415, 415, 415, 415, 415, 415, 415, 415, 415,
1054
- 417, 417, 417, 417, 417, 417, 417, 417, 417, 417,
1055
- 417, 417, 417, 417, 417, 417, 0, 0, 417, 417,
1056
- 417, 419, 419, 419, 419, 419, 419, 419, 419, 419,
1057
- 419, 419, 419, 419, 419, 419, 419, 0, 0, 419,
1058
- 419, 419, 420, 420, 420, 420, 420, 420, 420, 420,
1059
- 420, 420, 420, 420, 420, 420, 420, 420, 0, 0,
1060
- 420, 420, 420, 421, 421, 421, 421, 421, 421, 421,
1061
- 421, 421, 421, 421, 421, 421, 421, 421, 421, 0,
1062
-
1063
- 0, 421, 421, 421, 422, 422, 422, 422, 422, 422,
1054
+ 415, 415, 415, 417, 417, 417, 417, 417, 417, 417,
1055
+ 417, 417, 417, 417, 417, 417, 417, 417, 417, 0,
1056
+ 0, 417, 417, 417, 419, 419, 419, 419, 419, 419,
1057
+ 419, 419, 419, 419, 419, 419, 419, 419, 419, 419,
1058
+ 0, 0, 419, 419, 419, 420, 420, 420, 420, 420,
1059
+ 420, 420, 420, 420, 420, 420, 420, 420, 420, 420,
1060
+ 420, 0, 0, 420, 420, 420, 421, 421, 421, 421,
1061
+ 421, 421, 421, 421, 421, 421, 421, 421, 421, 421,
1062
+
1063
+ 421, 421, 0, 0, 421, 421, 421, 422, 422, 422,
1064
1064
  422, 422, 422, 422, 422, 422, 422, 422, 422, 422,
1065
- 0, 0, 422, 422, 422, 364, 364, 364, 364, 364,
1065
+ 422, 422, 422, 0, 0, 422, 422, 422, 364, 364,
1066
1066
  364, 364, 364, 364, 364, 364, 364, 364, 364, 364,
1067
1067
  364, 364, 364, 364, 364, 364, 364, 364, 364, 364,
1068
1068
  364, 364, 364, 364, 364, 364, 364, 364, 364, 364,
1069
1069
  364, 364, 364, 364, 364, 364, 364, 364, 364, 364,
1070
- 364, 364, 364, 364, 364, 364
1070
+ 364, 364, 364, 364, 364, 364, 364, 364, 364
1071
1071
  } ;
1072
1072
 
1073
1073
  extern int yy_flex_debug;
@@ -1448,7 +1448,7 @@ yy_match:
1448
1448
  *(yy_state_ptr)++ = yy_current_state;
1449
1449
  ++yy_cp;
1450
1450
  }
1451
- while ( yy_base[yy_current_state] != 2126 );
1451
+ while ( yy_base[yy_current_state] != 2129 );
1452
1452
 
1453
1453
  yy_find_action:
1454
1454
  yy_current_state = *--(yy_state_ptr);
@@ -156,7 +156,7 @@ extern size_t in_buf_len;
156
156
  \[\[url:[^]]+\]\] { yylval.svalue = yytext+6; return URL_WITHOUT_PROTO_LINK; }
157
157
 
158
158
  \[\[wiki:[^]]+\]\] { yylval.svalue = yytext+7; return WIKI_LINK; }
159
- \[\[[a-zA-Z0-9_-][a-zA-Z0-9_#-]+(\|[^\[\]]+)?\]\] { yylval.svalue = yytext+2; return WIKI_LINK; }
159
+ \[\[[a-zA-Z0-9_-][a-zA-Z0-9_# -]+(\|[^\[\]]+)?\]\] { yylval.svalue = yytext+2; return WIKI_LINK; }
160
160
 
161
161
  \[\[#[^\r\n\[\]]+\]\] { yylval.svalue = yytext+3; return ANCHOR_LINK; }
162
162
 
@@ -2331,7 +2331,7 @@ process_wiki_link(const char*target){
2331
2331
  concat("/wiki/show/",11);
2332
2332
  concat(space_name,space_name_len);
2333
2333
  concat_raw_char('/');
2334
- for(c=target; *c && *c!=']' && *c!='|' && *c!='#'; c++) concat_raw_char(*c);
2334
+ for(c=target; *c && *c!=']' && *c!='|' && *c!='#'; c++) concat_raw_char( *c == ' ' ? '_' : *c );
2335
2335
  if( *c == '#' ){
2336
2336
  concat_raw_char('#');
2337
2337
  //if(memcmp(c, "#h-", 3) != 0){
@@ -407,7 +407,7 @@ process_wiki_link(const char*target){
407
407
  concat("/wiki/show/",11);
408
408
  concat(space_name,space_name_len);
409
409
  concat_raw_char('/');
410
- for(c=target; *c && *c!=']' && *c!='|' && *c!='#'; c++) concat_raw_char(*c);
410
+ for(c=target; *c && *c!=']' && *c!='|' && *c!='#'; c++) concat_raw_char( *c == ' ' ? '_' : *c );
411
411
  if( *c == '#' ){
412
412
  concat_raw_char('#');
413
413
  //if(memcmp(c, "#h-", 3) != 0){
data/spec/parser_spec.rb CHANGED
@@ -809,7 +809,9 @@ describe 'BreakoutParser' do
809
809
  describe "Assembla Links" do
810
810
  a = {}
811
811
  a["wiki:Name"] = '<a class="wiki_link" title="Name" href="/wiki/show/test_space/Name">Name</a>'
812
+ a["wiki:Name With Space"] = '<a class="wiki_link" title="Name With Space" href="/wiki/show/test_space/Name_With_Space">Name With Space</a>'
812
813
  a["Name"] = '<a class="wiki_link" title="Name" href="/wiki/show/test_space/Name">Name</a>'
814
+ a["Name With Space"] = '<a class="wiki_link" title="Name With Space" href="/wiki/show/test_space/Name_With_Space">Name With Space</a>'
813
815
  a["Name#Ref"] = '<a class="wiki_link" title="Name#Ref" href="/wiki/show/test_space/Name#h-Ref">Name#Ref</a>'
814
816
  a["Name#h-Ref"] = '<a class="wiki_link" title="Name#h-Ref" href="/wiki/show/test_space/Name#h-h-Ref">Name#h-Ref</a>'
815
817
  a["#Ref"] = '<a href="#h-Ref" title="#Ref" class="wiki_link">#Ref</a>'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: breakout_parser
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.14
4
+ version: 0.0.15
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrey "Zed" Zaikin
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2010-05-11 00:00:00 +06:00
12
+ date: 2010-05-13 00:00:00 +06:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency