rpeg-markdown 1.4.4 → 1.4.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/Rakefile +1 -1
- data/ext/markdown_lib.c +2 -2
- data/ext/markdown_output.c +2 -2
- data/ext/markdown_parser.c +300 -296
- metadata +6 -6
data/Rakefile
CHANGED
data/ext/markdown_lib.c
CHANGED
@@ -4,8 +4,8 @@
|
|
4
4
|
(c) 2008 John MacFarlane (jgm at berkeley dot edu).
|
5
5
|
|
6
6
|
This program is free software; you can redistribute it and/or modify
|
7
|
-
it under the terms of the GNU General Public License
|
8
|
-
|
7
|
+
it under the terms of the GNU General Public License or the MIT
|
8
|
+
license. See LICENSE for details.
|
9
9
|
|
10
10
|
This program is distributed in the hope that it will be useful,
|
11
11
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
data/ext/markdown_output.c
CHANGED
@@ -5,8 +5,8 @@
|
|
5
5
|
(c) 2008 John MacFarlane (jgm at berkeley dot edu).
|
6
6
|
|
7
7
|
This program is free software; you can redistribute it and/or modify
|
8
|
-
it under the terms of the GNU General Public License
|
9
|
-
|
8
|
+
it under the terms of the GNU General Public License or the MIT
|
9
|
+
license. See LICENSE for details.
|
10
10
|
|
11
11
|
This program is distributed in the hope that it will be useful,
|
12
12
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
data/ext/markdown_parser.c
CHANGED
@@ -2358,7 +2358,7 @@ YY_RULE(int) yy_NormalEndline()
|
|
2358
2358
|
{ int yypos295= yypos, yythunkpos295= yythunkpos; if (!yy_BlankLine()) goto l295; goto l294;
|
2359
2359
|
l295:; yypos= yypos295; yythunkpos= yythunkpos295;
|
2360
2360
|
}
|
2361
|
-
{ int yypos296= yypos, yythunkpos296= yythunkpos; if (!
|
2361
|
+
{ int yypos296= yypos, yythunkpos296= yythunkpos; if (!yymatchChar('>')) goto l296; goto l294;
|
2362
2362
|
l296:; yypos= yypos296; yythunkpos= yythunkpos296;
|
2363
2363
|
}
|
2364
2364
|
{ int yypos297= yypos, yythunkpos297= yythunkpos; if (!yy_AtxStart()) goto l297; goto l294;
|
@@ -2977,9 +2977,9 @@ YY_RULE(int) yy_UlOrStarLine()
|
|
2977
2977
|
{ int yypos0= yypos, yythunkpos0= yythunkpos;
|
2978
2978
|
yyprintf((stderr, "%s\n", "UlOrStarLine"));
|
2979
2979
|
{ int yypos516= yypos, yythunkpos516= yythunkpos; if (!yy_UlLine()) goto l517; goto l516;
|
2980
|
-
l517:; yypos= yypos516; yythunkpos= yythunkpos516; if (!yy_StarLine()) goto l515;
|
2980
|
+
l517:; yypos= yypos516; yythunkpos= yythunkpos516; if (!yy_StarLine()) goto l515;
|
2981
2981
|
}
|
2982
|
-
l516:;
|
2982
|
+
l516:; yyDo(yy_1_UlOrStarLine, yybegin, yyend);
|
2983
2983
|
yyprintf((stderr, " ok %s @ %s\n", "UlOrStarLine", yybuf+yypos));
|
2984
2984
|
return 1;
|
2985
2985
|
l515:; yypos= yypos0; yythunkpos= yythunkpos0;
|
@@ -4746,7 +4746,11 @@ YY_RULE(int) yy_ListTight()
|
|
4746
4746
|
{ int yypos1133= yypos, yythunkpos1133= yythunkpos; if (!yy_BlankLine()) goto l1133; goto l1132;
|
4747
4747
|
l1133:; yypos= yypos1133; yythunkpos= yythunkpos1133;
|
4748
4748
|
}
|
4749
|
-
{ int yypos1134= yypos, yythunkpos1134= yythunkpos;
|
4749
|
+
{ int yypos1134= yypos, yythunkpos1134= yythunkpos;
|
4750
|
+
{ int yypos1135= yypos, yythunkpos1135= yythunkpos; if (!yy_Bullet()) goto l1136; goto l1135;
|
4751
|
+
l1136:; yypos= yypos1135; yythunkpos= yythunkpos1135; if (!yy_Enumerator()) goto l1134;
|
4752
|
+
}
|
4753
|
+
l1135:; goto l1129;
|
4750
4754
|
l1134:; yypos= yypos1134; yythunkpos= yythunkpos1134;
|
4751
4755
|
} yyDo(yy_2_ListTight, yybegin, yyend);
|
4752
4756
|
yyprintf((stderr, " ok %s @ %s\n", "ListTight", yybuf+yypos)); yyDo(yyPop, 1, 0);
|
@@ -4758,277 +4762,277 @@ YY_RULE(int) yy_ListTight()
|
|
4758
4762
|
YY_RULE(int) yy_Spacechar()
|
4759
4763
|
{ int yypos0= yypos, yythunkpos0= yythunkpos;
|
4760
4764
|
yyprintf((stderr, "%s\n", "Spacechar"));
|
4761
|
-
{ int
|
4762
|
-
|
4765
|
+
{ int yypos1138= yypos, yythunkpos1138= yythunkpos; if (!yymatchChar(' ')) goto l1139; goto l1138;
|
4766
|
+
l1139:; yypos= yypos1138; yythunkpos= yythunkpos1138; if (!yymatchChar('\t')) goto l1137;
|
4763
4767
|
}
|
4764
|
-
|
4768
|
+
l1138:;
|
4765
4769
|
yyprintf((stderr, " ok %s @ %s\n", "Spacechar", yybuf+yypos));
|
4766
4770
|
return 1;
|
4767
|
-
|
4771
|
+
l1137:; yypos= yypos0; yythunkpos= yythunkpos0;
|
4768
4772
|
yyprintf((stderr, " fail %s @ %s\n", "Spacechar", yybuf+yypos));
|
4769
4773
|
return 0;
|
4770
4774
|
}
|
4771
4775
|
YY_RULE(int) yy_Bullet()
|
4772
4776
|
{ int yypos0= yypos, yythunkpos0= yythunkpos;
|
4773
4777
|
yyprintf((stderr, "%s\n", "Bullet"));
|
4774
|
-
{ int
|
4775
|
-
|
4776
|
-
} if (!yy_NonindentSpace()) goto
|
4777
|
-
{ int
|
4778
|
-
|
4779
|
-
|
4780
|
-
}
|
4781
|
-
|
4782
|
-
|
4783
|
-
{ int
|
4784
|
-
|
4778
|
+
{ int yypos1141= yypos, yythunkpos1141= yythunkpos; if (!yy_HorizontalRule()) goto l1141; goto l1140;
|
4779
|
+
l1141:; yypos= yypos1141; yythunkpos= yythunkpos1141;
|
4780
|
+
} if (!yy_NonindentSpace()) goto l1140;
|
4781
|
+
{ int yypos1142= yypos, yythunkpos1142= yythunkpos; if (!yymatchChar('+')) goto l1143; goto l1142;
|
4782
|
+
l1143:; yypos= yypos1142; yythunkpos= yythunkpos1142; if (!yymatchChar('*')) goto l1144; goto l1142;
|
4783
|
+
l1144:; yypos= yypos1142; yythunkpos= yythunkpos1142; if (!yymatchChar('-')) goto l1140;
|
4784
|
+
}
|
4785
|
+
l1142:; if (!yy_Spacechar()) goto l1140;
|
4786
|
+
l1145:;
|
4787
|
+
{ int yypos1146= yypos, yythunkpos1146= yythunkpos; if (!yy_Spacechar()) goto l1146; goto l1145;
|
4788
|
+
l1146:; yypos= yypos1146; yythunkpos= yythunkpos1146;
|
4785
4789
|
}
|
4786
4790
|
yyprintf((stderr, " ok %s @ %s\n", "Bullet", yybuf+yypos));
|
4787
4791
|
return 1;
|
4788
|
-
|
4792
|
+
l1140:; yypos= yypos0; yythunkpos= yythunkpos0;
|
4789
4793
|
yyprintf((stderr, " fail %s @ %s\n", "Bullet", yybuf+yypos));
|
4790
4794
|
return 0;
|
4791
4795
|
}
|
4792
4796
|
YY_RULE(int) yy_VerbatimChunk()
|
4793
4797
|
{ int yypos0= yypos, yythunkpos0= yythunkpos; yyDo(yyPush, 1, 0);
|
4794
|
-
yyprintf((stderr, "%s\n", "VerbatimChunk")); if (!yy_StartList()) goto
|
4795
|
-
l1146:;
|
4796
|
-
{ int yypos1147= yypos, yythunkpos1147= yythunkpos; if (!yy_BlankLine()) goto l1147; yyDo(yy_1_VerbatimChunk, yybegin, yyend); goto l1146;
|
4797
|
-
l1147:; yypos= yypos1147; yythunkpos= yythunkpos1147;
|
4798
|
-
} if (!yy_NonblankIndentedLine()) goto l1145; yyDo(yy_2_VerbatimChunk, yybegin, yyend);
|
4798
|
+
yyprintf((stderr, "%s\n", "VerbatimChunk")); if (!yy_StartList()) goto l1147; yyDo(yySet, -1, 0);
|
4799
4799
|
l1148:;
|
4800
|
-
{ int yypos1149= yypos, yythunkpos1149= yythunkpos; if (!
|
4800
|
+
{ int yypos1149= yypos, yythunkpos1149= yythunkpos; if (!yy_BlankLine()) goto l1149; yyDo(yy_1_VerbatimChunk, yybegin, yyend); goto l1148;
|
4801
4801
|
l1149:; yypos= yypos1149; yythunkpos= yythunkpos1149;
|
4802
|
+
} if (!yy_NonblankIndentedLine()) goto l1147; yyDo(yy_2_VerbatimChunk, yybegin, yyend);
|
4803
|
+
l1150:;
|
4804
|
+
{ int yypos1151= yypos, yythunkpos1151= yythunkpos; if (!yy_NonblankIndentedLine()) goto l1151; yyDo(yy_2_VerbatimChunk, yybegin, yyend); goto l1150;
|
4805
|
+
l1151:; yypos= yypos1151; yythunkpos= yythunkpos1151;
|
4802
4806
|
} yyDo(yy_3_VerbatimChunk, yybegin, yyend);
|
4803
4807
|
yyprintf((stderr, " ok %s @ %s\n", "VerbatimChunk", yybuf+yypos)); yyDo(yyPop, 1, 0);
|
4804
4808
|
return 1;
|
4805
|
-
|
4809
|
+
l1147:; yypos= yypos0; yythunkpos= yythunkpos0;
|
4806
4810
|
yyprintf((stderr, " fail %s @ %s\n", "VerbatimChunk", yybuf+yypos));
|
4807
4811
|
return 0;
|
4808
4812
|
}
|
4809
4813
|
YY_RULE(int) yy_IndentedLine()
|
4810
4814
|
{ int yypos0= yypos, yythunkpos0= yythunkpos;
|
4811
|
-
yyprintf((stderr, "%s\n", "IndentedLine")); if (!yy_Indent()) goto
|
4815
|
+
yyprintf((stderr, "%s\n", "IndentedLine")); if (!yy_Indent()) goto l1152; if (!yy_Line()) goto l1152;
|
4812
4816
|
yyprintf((stderr, " ok %s @ %s\n", "IndentedLine", yybuf+yypos));
|
4813
4817
|
return 1;
|
4814
|
-
|
4818
|
+
l1152:; yypos= yypos0; yythunkpos= yythunkpos0;
|
4815
4819
|
yyprintf((stderr, " fail %s @ %s\n", "IndentedLine", yybuf+yypos));
|
4816
4820
|
return 0;
|
4817
4821
|
}
|
4818
4822
|
YY_RULE(int) yy_NonblankIndentedLine()
|
4819
4823
|
{ int yypos0= yypos, yythunkpos0= yythunkpos;
|
4820
4824
|
yyprintf((stderr, "%s\n", "NonblankIndentedLine"));
|
4821
|
-
{ int
|
4822
|
-
|
4823
|
-
} if (!yy_IndentedLine()) goto
|
4825
|
+
{ int yypos1154= yypos, yythunkpos1154= yythunkpos; if (!yy_BlankLine()) goto l1154; goto l1153;
|
4826
|
+
l1154:; yypos= yypos1154; yythunkpos= yythunkpos1154;
|
4827
|
+
} if (!yy_IndentedLine()) goto l1153;
|
4824
4828
|
yyprintf((stderr, " ok %s @ %s\n", "NonblankIndentedLine", yybuf+yypos));
|
4825
4829
|
return 1;
|
4826
|
-
|
4830
|
+
l1153:; yypos= yypos0; yythunkpos= yythunkpos0;
|
4827
4831
|
yyprintf((stderr, " fail %s @ %s\n", "NonblankIndentedLine", yybuf+yypos));
|
4828
4832
|
return 0;
|
4829
4833
|
}
|
4830
4834
|
YY_RULE(int) yy_Line()
|
4831
4835
|
{ int yypos0= yypos, yythunkpos0= yythunkpos;
|
4832
|
-
yyprintf((stderr, "%s\n", "Line")); if (!yy_RawLine()) goto
|
4836
|
+
yyprintf((stderr, "%s\n", "Line")); if (!yy_RawLine()) goto l1155; yyDo(yy_1_Line, yybegin, yyend);
|
4833
4837
|
yyprintf((stderr, " ok %s @ %s\n", "Line", yybuf+yypos));
|
4834
4838
|
return 1;
|
4835
|
-
|
4839
|
+
l1155:; yypos= yypos0; yythunkpos= yythunkpos0;
|
4836
4840
|
yyprintf((stderr, " fail %s @ %s\n", "Line", yybuf+yypos));
|
4837
4841
|
return 0;
|
4838
4842
|
}
|
4839
4843
|
YY_RULE(int) yy_BlockQuoteRaw()
|
4840
4844
|
{ int yypos0= yypos, yythunkpos0= yythunkpos; yyDo(yyPush, 1, 0);
|
4841
|
-
yyprintf((stderr, "%s\n", "BlockQuoteRaw")); if (!yy_StartList()) goto
|
4842
|
-
{ int
|
4843
|
-
|
4845
|
+
yyprintf((stderr, "%s\n", "BlockQuoteRaw")); if (!yy_StartList()) goto l1156; yyDo(yySet, -1, 0); if (!yymatchChar('>')) goto l1156;
|
4846
|
+
{ int yypos1159= yypos, yythunkpos1159= yythunkpos; if (!yymatchChar(' ')) goto l1159; goto l1160;
|
4847
|
+
l1159:; yypos= yypos1159; yythunkpos= yythunkpos1159;
|
4844
4848
|
}
|
4845
|
-
|
4846
|
-
|
4847
|
-
{ int
|
4848
|
-
{ int
|
4849
|
-
|
4849
|
+
l1160:; if (!yy_Line()) goto l1156; yyDo(yy_1_BlockQuoteRaw, yybegin, yyend);
|
4850
|
+
l1161:;
|
4851
|
+
{ int yypos1162= yypos, yythunkpos1162= yythunkpos;
|
4852
|
+
{ int yypos1163= yypos, yythunkpos1163= yythunkpos; if (!yymatchChar('>')) goto l1163; goto l1162;
|
4853
|
+
l1163:; yypos= yypos1163; yythunkpos= yythunkpos1163;
|
4850
4854
|
}
|
4851
|
-
{ int
|
4855
|
+
{ int yypos1164= yypos, yythunkpos1164= yythunkpos; if (!yy_BlankLine()) goto l1164; goto l1162;
|
4856
|
+
l1164:; yypos= yypos1164; yythunkpos= yythunkpos1164;
|
4857
|
+
} if (!yy_Line()) goto l1162; yyDo(yy_2_BlockQuoteRaw, yybegin, yyend); goto l1161;
|
4852
4858
|
l1162:; yypos= yypos1162; yythunkpos= yythunkpos1162;
|
4853
|
-
} if (!yy_Line()) goto l1160; yyDo(yy_2_BlockQuoteRaw, yybegin, yyend); goto l1159;
|
4854
|
-
l1160:; yypos= yypos1160; yythunkpos= yythunkpos1160;
|
4855
4859
|
}
|
4856
|
-
|
4857
|
-
{ int
|
4858
|
-
|
4860
|
+
l1165:;
|
4861
|
+
{ int yypos1166= yypos, yythunkpos1166= yythunkpos; if (!yy_BlankLine()) goto l1166; yyDo(yy_3_BlockQuoteRaw, yybegin, yyend); goto l1165;
|
4862
|
+
l1166:; yypos= yypos1166; yythunkpos= yythunkpos1166;
|
4859
4863
|
}
|
4860
|
-
|
4861
|
-
{ int
|
4862
|
-
{ int
|
4863
|
-
|
4864
|
+
l1157:;
|
4865
|
+
{ int yypos1158= yypos, yythunkpos1158= yythunkpos; if (!yymatchChar('>')) goto l1158;
|
4866
|
+
{ int yypos1167= yypos, yythunkpos1167= yythunkpos; if (!yymatchChar(' ')) goto l1167; goto l1168;
|
4867
|
+
l1167:; yypos= yypos1167; yythunkpos= yythunkpos1167;
|
4864
4868
|
}
|
4865
|
-
|
4866
|
-
|
4867
|
-
{ int
|
4868
|
-
{ int
|
4869
|
-
|
4869
|
+
l1168:; if (!yy_Line()) goto l1158; yyDo(yy_1_BlockQuoteRaw, yybegin, yyend);
|
4870
|
+
l1169:;
|
4871
|
+
{ int yypos1170= yypos, yythunkpos1170= yythunkpos;
|
4872
|
+
{ int yypos1171= yypos, yythunkpos1171= yythunkpos; if (!yymatchChar('>')) goto l1171; goto l1170;
|
4873
|
+
l1171:; yypos= yypos1171; yythunkpos= yythunkpos1171;
|
4870
4874
|
}
|
4871
|
-
{ int
|
4875
|
+
{ int yypos1172= yypos, yythunkpos1172= yythunkpos; if (!yy_BlankLine()) goto l1172; goto l1170;
|
4876
|
+
l1172:; yypos= yypos1172; yythunkpos= yythunkpos1172;
|
4877
|
+
} if (!yy_Line()) goto l1170; yyDo(yy_2_BlockQuoteRaw, yybegin, yyend); goto l1169;
|
4872
4878
|
l1170:; yypos= yypos1170; yythunkpos= yythunkpos1170;
|
4873
|
-
} if (!yy_Line()) goto l1168; yyDo(yy_2_BlockQuoteRaw, yybegin, yyend); goto l1167;
|
4874
|
-
l1168:; yypos= yypos1168; yythunkpos= yythunkpos1168;
|
4875
4879
|
}
|
4876
|
-
|
4877
|
-
{ int
|
4878
|
-
|
4879
|
-
} goto
|
4880
|
-
|
4880
|
+
l1173:;
|
4881
|
+
{ int yypos1174= yypos, yythunkpos1174= yythunkpos; if (!yy_BlankLine()) goto l1174; yyDo(yy_3_BlockQuoteRaw, yybegin, yyend); goto l1173;
|
4882
|
+
l1174:; yypos= yypos1174; yythunkpos= yythunkpos1174;
|
4883
|
+
} goto l1157;
|
4884
|
+
l1158:; yypos= yypos1158; yythunkpos= yythunkpos1158;
|
4881
4885
|
} yyDo(yy_4_BlockQuoteRaw, yybegin, yyend);
|
4882
4886
|
yyprintf((stderr, " ok %s @ %s\n", "BlockQuoteRaw", yybuf+yypos)); yyDo(yyPop, 1, 0);
|
4883
4887
|
return 1;
|
4884
|
-
|
4888
|
+
l1156:; yypos= yypos0; yythunkpos= yythunkpos0;
|
4885
4889
|
yyprintf((stderr, " fail %s @ %s\n", "BlockQuoteRaw", yybuf+yypos));
|
4886
4890
|
return 0;
|
4887
4891
|
}
|
4888
4892
|
YY_RULE(int) yy_Endline()
|
4889
4893
|
{ int yypos0= yypos, yythunkpos0= yythunkpos;
|
4890
4894
|
yyprintf((stderr, "%s\n", "Endline"));
|
4891
|
-
{ int
|
4892
|
-
|
4893
|
-
|
4895
|
+
{ int yypos1176= yypos, yythunkpos1176= yythunkpos; if (!yy_LineBreak()) goto l1177; goto l1176;
|
4896
|
+
l1177:; yypos= yypos1176; yythunkpos= yythunkpos1176; if (!yy_TerminalEndline()) goto l1178; goto l1176;
|
4897
|
+
l1178:; yypos= yypos1176; yythunkpos= yythunkpos1176; if (!yy_NormalEndline()) goto l1175;
|
4894
4898
|
}
|
4895
|
-
|
4899
|
+
l1176:;
|
4896
4900
|
yyprintf((stderr, " ok %s @ %s\n", "Endline", yybuf+yypos));
|
4897
4901
|
return 1;
|
4898
|
-
|
4902
|
+
l1175:; yypos= yypos0; yythunkpos= yythunkpos0;
|
4899
4903
|
yyprintf((stderr, " fail %s @ %s\n", "Endline", yybuf+yypos));
|
4900
4904
|
return 0;
|
4901
4905
|
}
|
4902
4906
|
YY_RULE(int) yy_SetextHeading2()
|
4903
4907
|
{ int yypos0= yypos, yythunkpos0= yythunkpos; yyDo(yyPush, 1, 0);
|
4904
|
-
yyprintf((stderr, "%s\n", "SetextHeading2")); if (!yy_StartList()) goto
|
4905
|
-
{ int
|
4906
|
-
|
4907
|
-
} if (!yy_Inline()) goto
|
4908
|
-
|
4909
|
-
{ int
|
4910
|
-
{ int
|
4911
|
-
l1181:; yypos= yypos1181; yythunkpos= yythunkpos1181;
|
4912
|
-
} if (!yy_Inline()) goto l1179; yyDo(yy_1_SetextHeading2, yybegin, yyend); goto l1178;
|
4913
|
-
l1179:; yypos= yypos1179; yythunkpos= yythunkpos1179;
|
4914
|
-
} if (!yy_Newline()) goto l1177; if (!yymatchString("---")) goto l1177;
|
4915
|
-
l1182:;
|
4916
|
-
{ int yypos1183= yypos, yythunkpos1183= yythunkpos; if (!yymatchChar('-')) goto l1183; goto l1182;
|
4908
|
+
yyprintf((stderr, "%s\n", "SetextHeading2")); if (!yy_StartList()) goto l1179; yyDo(yySet, -1, 0);
|
4909
|
+
{ int yypos1182= yypos, yythunkpos1182= yythunkpos; if (!yy_Endline()) goto l1182; goto l1179;
|
4910
|
+
l1182:; yypos= yypos1182; yythunkpos= yythunkpos1182;
|
4911
|
+
} if (!yy_Inline()) goto l1179; yyDo(yy_1_SetextHeading2, yybegin, yyend);
|
4912
|
+
l1180:;
|
4913
|
+
{ int yypos1181= yypos, yythunkpos1181= yythunkpos;
|
4914
|
+
{ int yypos1183= yypos, yythunkpos1183= yythunkpos; if (!yy_Endline()) goto l1183; goto l1181;
|
4917
4915
|
l1183:; yypos= yypos1183; yythunkpos= yythunkpos1183;
|
4918
|
-
} if (!
|
4916
|
+
} if (!yy_Inline()) goto l1181; yyDo(yy_1_SetextHeading2, yybegin, yyend); goto l1180;
|
4917
|
+
l1181:; yypos= yypos1181; yythunkpos= yythunkpos1181;
|
4918
|
+
} if (!yy_Newline()) goto l1179; if (!yymatchString("---")) goto l1179;
|
4919
|
+
l1184:;
|
4920
|
+
{ int yypos1185= yypos, yythunkpos1185= yythunkpos; if (!yymatchChar('-')) goto l1185; goto l1184;
|
4921
|
+
l1185:; yypos= yypos1185; yythunkpos= yythunkpos1185;
|
4922
|
+
} if (!yy_Newline()) goto l1179; yyDo(yy_2_SetextHeading2, yybegin, yyend);
|
4919
4923
|
yyprintf((stderr, " ok %s @ %s\n", "SetextHeading2", yybuf+yypos)); yyDo(yyPop, 1, 0);
|
4920
4924
|
return 1;
|
4921
|
-
|
4925
|
+
l1179:; yypos= yypos0; yythunkpos= yythunkpos0;
|
4922
4926
|
yyprintf((stderr, " fail %s @ %s\n", "SetextHeading2", yybuf+yypos));
|
4923
4927
|
return 0;
|
4924
4928
|
}
|
4925
4929
|
YY_RULE(int) yy_SetextHeading1()
|
4926
4930
|
{ int yypos0= yypos, yythunkpos0= yythunkpos; yyDo(yyPush, 1, 0);
|
4927
|
-
yyprintf((stderr, "%s\n", "SetextHeading1")); if (!yy_StartList()) goto
|
4928
|
-
{ int
|
4929
|
-
|
4930
|
-
} if (!yy_Inline()) goto
|
4931
|
-
|
4932
|
-
{ int
|
4933
|
-
{ int
|
4934
|
-
l1188:; yypos= yypos1188; yythunkpos= yythunkpos1188;
|
4935
|
-
} if (!yy_Inline()) goto l1186; yyDo(yy_1_SetextHeading1, yybegin, yyend); goto l1185;
|
4936
|
-
l1186:; yypos= yypos1186; yythunkpos= yythunkpos1186;
|
4937
|
-
} if (!yy_Newline()) goto l1184; if (!yymatchString("===")) goto l1184;
|
4938
|
-
l1189:;
|
4939
|
-
{ int yypos1190= yypos, yythunkpos1190= yythunkpos; if (!yymatchChar('=')) goto l1190; goto l1189;
|
4931
|
+
yyprintf((stderr, "%s\n", "SetextHeading1")); if (!yy_StartList()) goto l1186; yyDo(yySet, -1, 0);
|
4932
|
+
{ int yypos1189= yypos, yythunkpos1189= yythunkpos; if (!yy_Endline()) goto l1189; goto l1186;
|
4933
|
+
l1189:; yypos= yypos1189; yythunkpos= yythunkpos1189;
|
4934
|
+
} if (!yy_Inline()) goto l1186; yyDo(yy_1_SetextHeading1, yybegin, yyend);
|
4935
|
+
l1187:;
|
4936
|
+
{ int yypos1188= yypos, yythunkpos1188= yythunkpos;
|
4937
|
+
{ int yypos1190= yypos, yythunkpos1190= yythunkpos; if (!yy_Endline()) goto l1190; goto l1188;
|
4940
4938
|
l1190:; yypos= yypos1190; yythunkpos= yythunkpos1190;
|
4941
|
-
} if (!
|
4939
|
+
} if (!yy_Inline()) goto l1188; yyDo(yy_1_SetextHeading1, yybegin, yyend); goto l1187;
|
4940
|
+
l1188:; yypos= yypos1188; yythunkpos= yythunkpos1188;
|
4941
|
+
} if (!yy_Newline()) goto l1186; if (!yymatchString("===")) goto l1186;
|
4942
|
+
l1191:;
|
4943
|
+
{ int yypos1192= yypos, yythunkpos1192= yythunkpos; if (!yymatchChar('=')) goto l1192; goto l1191;
|
4944
|
+
l1192:; yypos= yypos1192; yythunkpos= yythunkpos1192;
|
4945
|
+
} if (!yy_Newline()) goto l1186; yyDo(yy_2_SetextHeading1, yybegin, yyend);
|
4942
4946
|
yyprintf((stderr, " ok %s @ %s\n", "SetextHeading1", yybuf+yypos)); yyDo(yyPop, 1, 0);
|
4943
4947
|
return 1;
|
4944
|
-
|
4948
|
+
l1186:; yypos= yypos0; yythunkpos= yythunkpos0;
|
4945
4949
|
yyprintf((stderr, " fail %s @ %s\n", "SetextHeading1", yybuf+yypos));
|
4946
4950
|
return 0;
|
4947
4951
|
}
|
4948
4952
|
YY_RULE(int) yy_SetextHeading()
|
4949
4953
|
{ int yypos0= yypos, yythunkpos0= yythunkpos;
|
4950
4954
|
yyprintf((stderr, "%s\n", "SetextHeading"));
|
4951
|
-
{ int
|
4952
|
-
|
4955
|
+
{ int yypos1194= yypos, yythunkpos1194= yythunkpos; if (!yy_SetextHeading1()) goto l1195; goto l1194;
|
4956
|
+
l1195:; yypos= yypos1194; yythunkpos= yythunkpos1194; if (!yy_SetextHeading2()) goto l1193;
|
4953
4957
|
}
|
4954
|
-
|
4958
|
+
l1194:;
|
4955
4959
|
yyprintf((stderr, " ok %s @ %s\n", "SetextHeading", yybuf+yypos));
|
4956
4960
|
return 1;
|
4957
|
-
|
4961
|
+
l1193:; yypos= yypos0; yythunkpos= yythunkpos0;
|
4958
4962
|
yyprintf((stderr, " fail %s @ %s\n", "SetextHeading", yybuf+yypos));
|
4959
4963
|
return 0;
|
4960
4964
|
}
|
4961
4965
|
YY_RULE(int) yy_AtxHeading()
|
4962
4966
|
{ int yypos0= yypos, yythunkpos0= yythunkpos; yyDo(yyPush, 2, 0);
|
4963
|
-
yyprintf((stderr, "%s\n", "AtxHeading")); if (!yy_AtxStart()) goto
|
4964
|
-
|
4965
|
-
{ int
|
4966
|
-
|
4967
|
-
}
|
4968
|
-
{ int
|
4969
|
-
|
4970
|
-
{ int
|
4971
|
-
|
4972
|
-
} if (!yy_Sp()) goto
|
4973
|
-
|
4974
|
-
}
|
4975
|
-
|
4967
|
+
yyprintf((stderr, "%s\n", "AtxHeading")); if (!yy_AtxStart()) goto l1196; yyDo(yySet, -2, 0); if (!yy_Sp()) goto l1196; if (!yy_StartList()) goto l1196; yyDo(yySet, -1, 0); if (!yy_AtxInline()) goto l1196; yyDo(yy_1_AtxHeading, yybegin, yyend);
|
4968
|
+
l1197:;
|
4969
|
+
{ int yypos1198= yypos, yythunkpos1198= yythunkpos; if (!yy_AtxInline()) goto l1198; yyDo(yy_1_AtxHeading, yybegin, yyend); goto l1197;
|
4970
|
+
l1198:; yypos= yypos1198; yythunkpos= yythunkpos1198;
|
4971
|
+
}
|
4972
|
+
{ int yypos1199= yypos, yythunkpos1199= yythunkpos; if (!yy_Sp()) goto l1199;
|
4973
|
+
l1201:;
|
4974
|
+
{ int yypos1202= yypos, yythunkpos1202= yythunkpos; if (!yymatchChar('#')) goto l1202; goto l1201;
|
4975
|
+
l1202:; yypos= yypos1202; yythunkpos= yythunkpos1202;
|
4976
|
+
} if (!yy_Sp()) goto l1199; goto l1200;
|
4977
|
+
l1199:; yypos= yypos1199; yythunkpos= yythunkpos1199;
|
4978
|
+
}
|
4979
|
+
l1200:; if (!yy_Newline()) goto l1196; yyDo(yy_2_AtxHeading, yybegin, yyend);
|
4976
4980
|
yyprintf((stderr, " ok %s @ %s\n", "AtxHeading", yybuf+yypos)); yyDo(yyPop, 2, 0);
|
4977
4981
|
return 1;
|
4978
|
-
|
4982
|
+
l1196:; yypos= yypos0; yythunkpos= yythunkpos0;
|
4979
4983
|
yyprintf((stderr, " fail %s @ %s\n", "AtxHeading", yybuf+yypos));
|
4980
4984
|
return 0;
|
4981
4985
|
}
|
4982
4986
|
YY_RULE(int) yy_AtxStart()
|
4983
4987
|
{ int yypos0= yypos, yythunkpos0= yythunkpos;
|
4984
|
-
yyprintf((stderr, "%s\n", "AtxStart")); yyText(yybegin, yyend); if (!(YY_BEGIN)) goto
|
4985
|
-
{ int
|
4986
|
-
|
4987
|
-
|
4988
|
-
|
4989
|
-
|
4990
|
-
|
4988
|
+
yyprintf((stderr, "%s\n", "AtxStart")); yyText(yybegin, yyend); if (!(YY_BEGIN)) goto l1203;
|
4989
|
+
{ int yypos1204= yypos, yythunkpos1204= yythunkpos; if (!yymatchString("######")) goto l1205; goto l1204;
|
4990
|
+
l1205:; yypos= yypos1204; yythunkpos= yythunkpos1204; if (!yymatchString("#####")) goto l1206; goto l1204;
|
4991
|
+
l1206:; yypos= yypos1204; yythunkpos= yythunkpos1204; if (!yymatchString("####")) goto l1207; goto l1204;
|
4992
|
+
l1207:; yypos= yypos1204; yythunkpos= yythunkpos1204; if (!yymatchString("###")) goto l1208; goto l1204;
|
4993
|
+
l1208:; yypos= yypos1204; yythunkpos= yythunkpos1204; if (!yymatchString("##")) goto l1209; goto l1204;
|
4994
|
+
l1209:; yypos= yypos1204; yythunkpos= yythunkpos1204; if (!yymatchChar('#')) goto l1203;
|
4991
4995
|
}
|
4992
|
-
|
4996
|
+
l1204:; yyText(yybegin, yyend); if (!(YY_END)) goto l1203; yyDo(yy_1_AtxStart, yybegin, yyend);
|
4993
4997
|
yyprintf((stderr, " ok %s @ %s\n", "AtxStart", yybuf+yypos));
|
4994
4998
|
return 1;
|
4995
|
-
|
4999
|
+
l1203:; yypos= yypos0; yythunkpos= yythunkpos0;
|
4996
5000
|
yyprintf((stderr, " fail %s @ %s\n", "AtxStart", yybuf+yypos));
|
4997
5001
|
return 0;
|
4998
5002
|
}
|
4999
5003
|
YY_RULE(int) yy_Inline()
|
5000
5004
|
{ int yypos0= yypos, yythunkpos0= yythunkpos;
|
5001
5005
|
yyprintf((stderr, "%s\n", "Inline"));
|
5002
|
-
{ int
|
5003
|
-
|
5004
|
-
|
5005
|
-
|
5006
|
-
|
5007
|
-
|
5008
|
-
|
5009
|
-
|
5010
|
-
|
5011
|
-
|
5012
|
-
|
5013
|
-
|
5014
|
-
|
5015
|
-
|
5016
|
-
|
5017
|
-
|
5018
|
-
}
|
5019
|
-
|
5006
|
+
{ int yypos1211= yypos, yythunkpos1211= yythunkpos; if (!yy_Str()) goto l1212; goto l1211;
|
5007
|
+
l1212:; yypos= yypos1211; yythunkpos= yythunkpos1211; if (!yy_Endline()) goto l1213; goto l1211;
|
5008
|
+
l1213:; yypos= yypos1211; yythunkpos= yythunkpos1211; if (!yy_UlOrStarLine()) goto l1214; goto l1211;
|
5009
|
+
l1214:; yypos= yypos1211; yythunkpos= yythunkpos1211; if (!yy_Space()) goto l1215; goto l1211;
|
5010
|
+
l1215:; yypos= yypos1211; yythunkpos= yythunkpos1211; if (!yy_Strong()) goto l1216; goto l1211;
|
5011
|
+
l1216:; yypos= yypos1211; yythunkpos= yythunkpos1211; if (!yy_Emph()) goto l1217; goto l1211;
|
5012
|
+
l1217:; yypos= yypos1211; yythunkpos= yythunkpos1211; if (!yy_Image()) goto l1218; goto l1211;
|
5013
|
+
l1218:; yypos= yypos1211; yythunkpos= yythunkpos1211; if (!yy_Link()) goto l1219; goto l1211;
|
5014
|
+
l1219:; yypos= yypos1211; yythunkpos= yythunkpos1211; if (!yy_NoteReference()) goto l1220; goto l1211;
|
5015
|
+
l1220:; yypos= yypos1211; yythunkpos= yythunkpos1211; if (!yy_InlineNote()) goto l1221; goto l1211;
|
5016
|
+
l1221:; yypos= yypos1211; yythunkpos= yythunkpos1211; if (!yy_Code()) goto l1222; goto l1211;
|
5017
|
+
l1222:; yypos= yypos1211; yythunkpos= yythunkpos1211; if (!yy_RawHtml()) goto l1223; goto l1211;
|
5018
|
+
l1223:; yypos= yypos1211; yythunkpos= yythunkpos1211; if (!yy_Entity()) goto l1224; goto l1211;
|
5019
|
+
l1224:; yypos= yypos1211; yythunkpos= yythunkpos1211; if (!yy_EscapedChar()) goto l1225; goto l1211;
|
5020
|
+
l1225:; yypos= yypos1211; yythunkpos= yythunkpos1211; if (!yy_Smart()) goto l1226; goto l1211;
|
5021
|
+
l1226:; yypos= yypos1211; yythunkpos= yythunkpos1211; if (!yy_Symbol()) goto l1210;
|
5022
|
+
}
|
5023
|
+
l1211:;
|
5020
5024
|
yyprintf((stderr, " ok %s @ %s\n", "Inline", yybuf+yypos));
|
5021
5025
|
return 1;
|
5022
|
-
|
5026
|
+
l1210:; yypos= yypos0; yythunkpos= yythunkpos0;
|
5023
5027
|
yyprintf((stderr, " fail %s @ %s\n", "Inline", yybuf+yypos));
|
5024
5028
|
return 0;
|
5025
5029
|
}
|
5026
5030
|
YY_RULE(int) yy_Sp()
|
5027
5031
|
{
|
5028
5032
|
yyprintf((stderr, "%s\n", "Sp"));
|
5029
|
-
|
5030
|
-
{ int
|
5031
|
-
|
5033
|
+
l1228:;
|
5034
|
+
{ int yypos1229= yypos, yythunkpos1229= yythunkpos; if (!yy_Spacechar()) goto l1229; goto l1228;
|
5035
|
+
l1229:; yypos= yypos1229; yythunkpos= yythunkpos1229;
|
5032
5036
|
}
|
5033
5037
|
yyprintf((stderr, " ok %s @ %s\n", "Sp", yybuf+yypos));
|
5034
5038
|
return 1;
|
@@ -5036,325 +5040,325 @@ YY_RULE(int) yy_Sp()
|
|
5036
5040
|
YY_RULE(int) yy_Newline()
|
5037
5041
|
{ int yypos0= yypos, yythunkpos0= yythunkpos;
|
5038
5042
|
yyprintf((stderr, "%s\n", "Newline"));
|
5039
|
-
{ int
|
5040
|
-
|
5041
|
-
{ int
|
5042
|
-
|
5043
|
+
{ int yypos1231= yypos, yythunkpos1231= yythunkpos; if (!yymatchChar('\n')) goto l1232; goto l1231;
|
5044
|
+
l1232:; yypos= yypos1231; yythunkpos= yythunkpos1231; if (!yymatchChar('\r')) goto l1230;
|
5045
|
+
{ int yypos1233= yypos, yythunkpos1233= yythunkpos; if (!yymatchChar('\n')) goto l1233; goto l1234;
|
5046
|
+
l1233:; yypos= yypos1233; yythunkpos= yythunkpos1233;
|
5043
5047
|
}
|
5044
|
-
|
5048
|
+
l1234:;
|
5045
5049
|
}
|
5046
|
-
|
5050
|
+
l1231:;
|
5047
5051
|
yyprintf((stderr, " ok %s @ %s\n", "Newline", yybuf+yypos));
|
5048
5052
|
return 1;
|
5049
|
-
|
5053
|
+
l1230:; yypos= yypos0; yythunkpos= yythunkpos0;
|
5050
5054
|
yyprintf((stderr, " fail %s @ %s\n", "Newline", yybuf+yypos));
|
5051
5055
|
return 0;
|
5052
5056
|
}
|
5053
5057
|
YY_RULE(int) yy_AtxInline()
|
5054
5058
|
{ int yypos0= yypos, yythunkpos0= yythunkpos;
|
5055
5059
|
yyprintf((stderr, "%s\n", "AtxInline"));
|
5056
|
-
{ int
|
5057
|
-
|
5058
|
-
}
|
5059
|
-
{ int
|
5060
|
-
|
5061
|
-
{ int
|
5060
|
+
{ int yypos1236= yypos, yythunkpos1236= yythunkpos; if (!yy_Newline()) goto l1236; goto l1235;
|
5061
|
+
l1236:; yypos= yypos1236; yythunkpos= yythunkpos1236;
|
5062
|
+
}
|
5063
|
+
{ int yypos1237= yypos, yythunkpos1237= yythunkpos; if (!yy_Sp()) goto l1237;
|
5064
|
+
l1238:;
|
5065
|
+
{ int yypos1239= yypos, yythunkpos1239= yythunkpos; if (!yymatchChar('#')) goto l1239; goto l1238;
|
5066
|
+
l1239:; yypos= yypos1239; yythunkpos= yythunkpos1239;
|
5067
|
+
} if (!yy_Sp()) goto l1237; if (!yy_Newline()) goto l1237; goto l1235;
|
5062
5068
|
l1237:; yypos= yypos1237; yythunkpos= yythunkpos1237;
|
5063
|
-
} if (!
|
5064
|
-
l1235:; yypos= yypos1235; yythunkpos= yythunkpos1235;
|
5065
|
-
} if (!yy_Inline()) goto l1233;
|
5069
|
+
} if (!yy_Inline()) goto l1235;
|
5066
5070
|
yyprintf((stderr, " ok %s @ %s\n", "AtxInline", yybuf+yypos));
|
5067
5071
|
return 1;
|
5068
|
-
|
5072
|
+
l1235:; yypos= yypos0; yythunkpos= yythunkpos0;
|
5069
5073
|
yyprintf((stderr, " fail %s @ %s\n", "AtxInline", yybuf+yypos));
|
5070
5074
|
return 0;
|
5071
5075
|
}
|
5072
5076
|
YY_RULE(int) yy_Inlines()
|
5073
5077
|
{ int yypos0= yypos, yythunkpos0= yythunkpos; yyDo(yyPush, 2, 0);
|
5074
|
-
yyprintf((stderr, "%s\n", "Inlines")); if (!yy_StartList()) goto
|
5075
|
-
{ int
|
5076
|
-
{ int
|
5077
|
-
|
5078
|
-
} if (!yy_Inline()) goto
|
5079
|
-
|
5080
|
-
{ int
|
5078
|
+
yyprintf((stderr, "%s\n", "Inlines")); if (!yy_StartList()) goto l1240; yyDo(yySet, -2, 0);
|
5079
|
+
{ int yypos1243= yypos, yythunkpos1243= yythunkpos;
|
5080
|
+
{ int yypos1245= yypos, yythunkpos1245= yythunkpos; if (!yy_Endline()) goto l1245; goto l1244;
|
5081
|
+
l1245:; yypos= yypos1245; yythunkpos= yythunkpos1245;
|
5082
|
+
} if (!yy_Inline()) goto l1244; yyDo(yy_1_Inlines, yybegin, yyend); goto l1243;
|
5083
|
+
l1244:; yypos= yypos1243; yythunkpos= yythunkpos1243; if (!yy_Endline()) goto l1240; yyDo(yySet, -1, 0);
|
5084
|
+
{ int yypos1246= yypos, yythunkpos1246= yythunkpos; if (!yy_Inline()) goto l1240; yypos= yypos1246; yythunkpos= yythunkpos1246;
|
5081
5085
|
} yyDo(yy_2_Inlines, yybegin, yyend);
|
5082
5086
|
}
|
5087
|
+
l1243:;
|
5083
5088
|
l1241:;
|
5084
|
-
|
5085
|
-
{ int
|
5086
|
-
{ int
|
5087
|
-
|
5088
|
-
|
5089
|
-
|
5090
|
-
|
5091
|
-
{ int yypos1248= yypos, yythunkpos1248= yythunkpos; if (!yy_Inline()) goto l1240; yypos= yypos1248; yythunkpos= yythunkpos1248;
|
5089
|
+
{ int yypos1242= yypos, yythunkpos1242= yythunkpos;
|
5090
|
+
{ int yypos1247= yypos, yythunkpos1247= yythunkpos;
|
5091
|
+
{ int yypos1249= yypos, yythunkpos1249= yythunkpos; if (!yy_Endline()) goto l1249; goto l1248;
|
5092
|
+
l1249:; yypos= yypos1249; yythunkpos= yythunkpos1249;
|
5093
|
+
} if (!yy_Inline()) goto l1248; yyDo(yy_1_Inlines, yybegin, yyend); goto l1247;
|
5094
|
+
l1248:; yypos= yypos1247; yythunkpos= yythunkpos1247; if (!yy_Endline()) goto l1242; yyDo(yySet, -1, 0);
|
5095
|
+
{ int yypos1250= yypos, yythunkpos1250= yythunkpos; if (!yy_Inline()) goto l1242; yypos= yypos1250; yythunkpos= yythunkpos1250;
|
5092
5096
|
} yyDo(yy_2_Inlines, yybegin, yyend);
|
5093
5097
|
}
|
5094
|
-
|
5095
|
-
|
5098
|
+
l1247:; goto l1241;
|
5099
|
+
l1242:; yypos= yypos1242; yythunkpos= yythunkpos1242;
|
5096
5100
|
}
|
5097
|
-
{ int
|
5098
|
-
|
5101
|
+
{ int yypos1251= yypos, yythunkpos1251= yythunkpos; if (!yy_Endline()) goto l1251; goto l1252;
|
5102
|
+
l1251:; yypos= yypos1251; yythunkpos= yythunkpos1251;
|
5099
5103
|
}
|
5100
|
-
|
5104
|
+
l1252:; yyDo(yy_3_Inlines, yybegin, yyend);
|
5101
5105
|
yyprintf((stderr, " ok %s @ %s\n", "Inlines", yybuf+yypos)); yyDo(yyPop, 2, 0);
|
5102
5106
|
return 1;
|
5103
|
-
|
5107
|
+
l1240:; yypos= yypos0; yythunkpos= yythunkpos0;
|
5104
5108
|
yyprintf((stderr, " fail %s @ %s\n", "Inlines", yybuf+yypos));
|
5105
5109
|
return 0;
|
5106
5110
|
}
|
5107
5111
|
YY_RULE(int) yy_NonindentSpace()
|
5108
5112
|
{ int yypos0= yypos, yythunkpos0= yythunkpos;
|
5109
5113
|
yyprintf((stderr, "%s\n", "NonindentSpace"));
|
5110
|
-
{ int
|
5111
|
-
|
5112
|
-
|
5113
|
-
|
5114
|
+
{ int yypos1254= yypos, yythunkpos1254= yythunkpos; if (!yymatchString(" ")) goto l1255; goto l1254;
|
5115
|
+
l1255:; yypos= yypos1254; yythunkpos= yythunkpos1254; if (!yymatchString(" ")) goto l1256; goto l1254;
|
5116
|
+
l1256:; yypos= yypos1254; yythunkpos= yythunkpos1254; if (!yymatchChar(' ')) goto l1257; goto l1254;
|
5117
|
+
l1257:; yypos= yypos1254; yythunkpos= yythunkpos1254; if (!yymatchString("")) goto l1253;
|
5114
5118
|
}
|
5115
|
-
|
5119
|
+
l1254:;
|
5116
5120
|
yyprintf((stderr, " ok %s @ %s\n", "NonindentSpace", yybuf+yypos));
|
5117
5121
|
return 1;
|
5118
|
-
|
5122
|
+
l1253:; yypos= yypos0; yythunkpos= yythunkpos0;
|
5119
5123
|
yyprintf((stderr, " fail %s @ %s\n", "NonindentSpace", yybuf+yypos));
|
5120
5124
|
return 0;
|
5121
5125
|
}
|
5122
5126
|
YY_RULE(int) yy_Plain()
|
5123
5127
|
{ int yypos0= yypos, yythunkpos0= yythunkpos; yyDo(yyPush, 1, 0);
|
5124
|
-
yyprintf((stderr, "%s\n", "Plain")); if (!yy_Inlines()) goto
|
5128
|
+
yyprintf((stderr, "%s\n", "Plain")); if (!yy_Inlines()) goto l1258; yyDo(yySet, -1, 0); yyDo(yy_1_Plain, yybegin, yyend);
|
5125
5129
|
yyprintf((stderr, " ok %s @ %s\n", "Plain", yybuf+yypos)); yyDo(yyPop, 1, 0);
|
5126
5130
|
return 1;
|
5127
|
-
|
5131
|
+
l1258:; yypos= yypos0; yythunkpos= yythunkpos0;
|
5128
5132
|
yyprintf((stderr, " fail %s @ %s\n", "Plain", yybuf+yypos));
|
5129
5133
|
return 0;
|
5130
5134
|
}
|
5131
5135
|
YY_RULE(int) yy_Para()
|
5132
5136
|
{ int yypos0= yypos, yythunkpos0= yythunkpos; yyDo(yyPush, 1, 0);
|
5133
|
-
yyprintf((stderr, "%s\n", "Para")); if (!yy_NonindentSpace()) goto
|
5134
|
-
|
5135
|
-
{ int
|
5136
|
-
|
5137
|
+
yyprintf((stderr, "%s\n", "Para")); if (!yy_NonindentSpace()) goto l1259; if (!yy_Inlines()) goto l1259; yyDo(yySet, -1, 0); if (!yy_BlankLine()) goto l1259;
|
5138
|
+
l1260:;
|
5139
|
+
{ int yypos1261= yypos, yythunkpos1261= yythunkpos; if (!yy_BlankLine()) goto l1261; goto l1260;
|
5140
|
+
l1261:; yypos= yypos1261; yythunkpos= yythunkpos1261;
|
5137
5141
|
} yyDo(yy_1_Para, yybegin, yyend);
|
5138
5142
|
yyprintf((stderr, " ok %s @ %s\n", "Para", yybuf+yypos)); yyDo(yyPop, 1, 0);
|
5139
5143
|
return 1;
|
5140
|
-
|
5144
|
+
l1259:; yypos= yypos0; yythunkpos= yythunkpos0;
|
5141
5145
|
yyprintf((stderr, " fail %s @ %s\n", "Para", yybuf+yypos));
|
5142
5146
|
return 0;
|
5143
5147
|
}
|
5144
5148
|
YY_RULE(int) yy_StyleBlock()
|
5145
5149
|
{ int yypos0= yypos, yythunkpos0= yythunkpos;
|
5146
|
-
yyprintf((stderr, "%s\n", "StyleBlock")); yyText(yybegin, yyend); if (!(YY_BEGIN)) goto
|
5147
|
-
|
5148
|
-
{ int
|
5149
|
-
|
5150
|
+
yyprintf((stderr, "%s\n", "StyleBlock")); yyText(yybegin, yyend); if (!(YY_BEGIN)) goto l1262; if (!yy_InStyleTags()) goto l1262; yyText(yybegin, yyend); if (!(YY_END)) goto l1262;
|
5151
|
+
l1263:;
|
5152
|
+
{ int yypos1264= yypos, yythunkpos1264= yythunkpos; if (!yy_BlankLine()) goto l1264; goto l1263;
|
5153
|
+
l1264:; yypos= yypos1264; yythunkpos= yythunkpos1264;
|
5150
5154
|
} yyDo(yy_1_StyleBlock, yybegin, yyend);
|
5151
5155
|
yyprintf((stderr, " ok %s @ %s\n", "StyleBlock", yybuf+yypos));
|
5152
5156
|
return 1;
|
5153
|
-
|
5157
|
+
l1262:; yypos= yypos0; yythunkpos= yythunkpos0;
|
5154
5158
|
yyprintf((stderr, " fail %s @ %s\n", "StyleBlock", yybuf+yypos));
|
5155
5159
|
return 0;
|
5156
5160
|
}
|
5157
5161
|
YY_RULE(int) yy_HtmlBlock()
|
5158
5162
|
{ int yypos0= yypos, yythunkpos0= yythunkpos;
|
5159
|
-
yyprintf((stderr, "%s\n", "HtmlBlock")); yyText(yybegin, yyend); if (!(YY_BEGIN)) goto
|
5160
|
-
{ int
|
5161
|
-
|
5162
|
-
|
5163
|
+
yyprintf((stderr, "%s\n", "HtmlBlock")); yyText(yybegin, yyend); if (!(YY_BEGIN)) goto l1265;
|
5164
|
+
{ int yypos1266= yypos, yythunkpos1266= yythunkpos; if (!yy_HtmlBlockInTags()) goto l1267; goto l1266;
|
5165
|
+
l1267:; yypos= yypos1266; yythunkpos= yythunkpos1266; if (!yy_HtmlComment()) goto l1268; goto l1266;
|
5166
|
+
l1268:; yypos= yypos1266; yythunkpos= yythunkpos1266; if (!yy_HtmlBlockSelfClosing()) goto l1265;
|
5163
5167
|
}
|
5164
|
-
|
5165
|
-
|
5166
|
-
{ int
|
5167
|
-
|
5168
|
+
l1266:; yyText(yybegin, yyend); if (!(YY_END)) goto l1265; if (!yy_BlankLine()) goto l1265;
|
5169
|
+
l1269:;
|
5170
|
+
{ int yypos1270= yypos, yythunkpos1270= yythunkpos; if (!yy_BlankLine()) goto l1270; goto l1269;
|
5171
|
+
l1270:; yypos= yypos1270; yythunkpos= yythunkpos1270;
|
5168
5172
|
} yyDo(yy_1_HtmlBlock, yybegin, yyend);
|
5169
5173
|
yyprintf((stderr, " ok %s @ %s\n", "HtmlBlock", yybuf+yypos));
|
5170
5174
|
return 1;
|
5171
|
-
|
5175
|
+
l1265:; yypos= yypos0; yythunkpos= yythunkpos0;
|
5172
5176
|
yyprintf((stderr, " fail %s @ %s\n", "HtmlBlock", yybuf+yypos));
|
5173
5177
|
return 0;
|
5174
5178
|
}
|
5175
5179
|
YY_RULE(int) yy_BulletList()
|
5176
5180
|
{ int yypos0= yypos, yythunkpos0= yythunkpos;
|
5177
5181
|
yyprintf((stderr, "%s\n", "BulletList"));
|
5178
|
-
{ int
|
5182
|
+
{ int yypos1272= yypos, yythunkpos1272= yythunkpos; if (!yy_Bullet()) goto l1271; yypos= yypos1272; yythunkpos= yythunkpos1272;
|
5179
5183
|
}
|
5180
|
-
{ int
|
5181
|
-
|
5184
|
+
{ int yypos1273= yypos, yythunkpos1273= yythunkpos; if (!yy_ListTight()) goto l1274; goto l1273;
|
5185
|
+
l1274:; yypos= yypos1273; yythunkpos= yythunkpos1273; if (!yy_ListLoose()) goto l1271;
|
5182
5186
|
}
|
5183
|
-
|
5187
|
+
l1273:; yyDo(yy_1_BulletList, yybegin, yyend);
|
5184
5188
|
yyprintf((stderr, " ok %s @ %s\n", "BulletList", yybuf+yypos));
|
5185
5189
|
return 1;
|
5186
|
-
|
5190
|
+
l1271:; yypos= yypos0; yythunkpos= yythunkpos0;
|
5187
5191
|
yyprintf((stderr, " fail %s @ %s\n", "BulletList", yybuf+yypos));
|
5188
5192
|
return 0;
|
5189
5193
|
}
|
5190
5194
|
YY_RULE(int) yy_OrderedList()
|
5191
5195
|
{ int yypos0= yypos, yythunkpos0= yythunkpos;
|
5192
5196
|
yyprintf((stderr, "%s\n", "OrderedList"));
|
5193
|
-
{ int
|
5197
|
+
{ int yypos1276= yypos, yythunkpos1276= yythunkpos; if (!yy_Enumerator()) goto l1275; yypos= yypos1276; yythunkpos= yythunkpos1276;
|
5194
5198
|
}
|
5195
|
-
{ int
|
5196
|
-
|
5199
|
+
{ int yypos1277= yypos, yythunkpos1277= yythunkpos; if (!yy_ListTight()) goto l1278; goto l1277;
|
5200
|
+
l1278:; yypos= yypos1277; yythunkpos= yythunkpos1277; if (!yy_ListLoose()) goto l1275;
|
5197
5201
|
}
|
5198
|
-
|
5202
|
+
l1277:; yyDo(yy_1_OrderedList, yybegin, yyend);
|
5199
5203
|
yyprintf((stderr, " ok %s @ %s\n", "OrderedList", yybuf+yypos));
|
5200
5204
|
return 1;
|
5201
|
-
|
5205
|
+
l1275:; yypos= yypos0; yythunkpos= yythunkpos0;
|
5202
5206
|
yyprintf((stderr, " fail %s @ %s\n", "OrderedList", yybuf+yypos));
|
5203
5207
|
return 0;
|
5204
5208
|
}
|
5205
5209
|
YY_RULE(int) yy_Heading()
|
5206
5210
|
{ int yypos0= yypos, yythunkpos0= yythunkpos;
|
5207
5211
|
yyprintf((stderr, "%s\n", "Heading"));
|
5208
|
-
{ int
|
5209
|
-
|
5212
|
+
{ int yypos1280= yypos, yythunkpos1280= yythunkpos; if (!yy_AtxHeading()) goto l1281; goto l1280;
|
5213
|
+
l1281:; yypos= yypos1280; yythunkpos= yythunkpos1280; if (!yy_SetextHeading()) goto l1279;
|
5210
5214
|
}
|
5211
|
-
|
5215
|
+
l1280:;
|
5212
5216
|
yyprintf((stderr, " ok %s @ %s\n", "Heading", yybuf+yypos));
|
5213
5217
|
return 1;
|
5214
|
-
|
5218
|
+
l1279:; yypos= yypos0; yythunkpos= yythunkpos0;
|
5215
5219
|
yyprintf((stderr, " fail %s @ %s\n", "Heading", yybuf+yypos));
|
5216
5220
|
return 0;
|
5217
5221
|
}
|
5218
5222
|
YY_RULE(int) yy_HorizontalRule()
|
5219
5223
|
{ int yypos0= yypos, yythunkpos0= yythunkpos;
|
5220
|
-
yyprintf((stderr, "%s\n", "HorizontalRule")); if (!yy_NonindentSpace()) goto
|
5221
|
-
{ int
|
5222
|
-
|
5223
|
-
{ int
|
5224
|
-
|
5225
|
-
} goto
|
5226
|
-
|
5227
|
-
l1286:;
|
5228
|
-
{ int yypos1287= yypos, yythunkpos1287= yythunkpos; if (!yy_Sp()) goto l1287; if (!yymatchChar('-')) goto l1287; goto l1286;
|
5229
|
-
l1287:; yypos= yypos1287; yythunkpos= yythunkpos1287;
|
5230
|
-
} goto l1281;
|
5231
|
-
l1285:; yypos= yypos1281; yythunkpos= yythunkpos1281; if (!yymatchChar('_')) goto l1280; if (!yy_Sp()) goto l1280; if (!yymatchChar('_')) goto l1280; if (!yy_Sp()) goto l1280; if (!yymatchChar('_')) goto l1280;
|
5224
|
+
yyprintf((stderr, "%s\n", "HorizontalRule")); if (!yy_NonindentSpace()) goto l1282;
|
5225
|
+
{ int yypos1283= yypos, yythunkpos1283= yythunkpos; if (!yymatchChar('*')) goto l1284; if (!yy_Sp()) goto l1284; if (!yymatchChar('*')) goto l1284; if (!yy_Sp()) goto l1284; if (!yymatchChar('*')) goto l1284;
|
5226
|
+
l1285:;
|
5227
|
+
{ int yypos1286= yypos, yythunkpos1286= yythunkpos; if (!yy_Sp()) goto l1286; if (!yymatchChar('*')) goto l1286; goto l1285;
|
5228
|
+
l1286:; yypos= yypos1286; yythunkpos= yythunkpos1286;
|
5229
|
+
} goto l1283;
|
5230
|
+
l1284:; yypos= yypos1283; yythunkpos= yythunkpos1283; if (!yymatchChar('-')) goto l1287; if (!yy_Sp()) goto l1287; if (!yymatchChar('-')) goto l1287; if (!yy_Sp()) goto l1287; if (!yymatchChar('-')) goto l1287;
|
5232
5231
|
l1288:;
|
5233
|
-
{ int yypos1289= yypos, yythunkpos1289= yythunkpos; if (!yy_Sp()) goto l1289; if (!yymatchChar('
|
5232
|
+
{ int yypos1289= yypos, yythunkpos1289= yythunkpos; if (!yy_Sp()) goto l1289; if (!yymatchChar('-')) goto l1289; goto l1288;
|
5234
5233
|
l1289:; yypos= yypos1289; yythunkpos= yythunkpos1289;
|
5235
|
-
}
|
5236
|
-
|
5237
|
-
l1281:; if (!yy_Sp()) goto l1280; if (!yy_Newline()) goto l1280; if (!yy_BlankLine()) goto l1280;
|
5234
|
+
} goto l1283;
|
5235
|
+
l1287:; yypos= yypos1283; yythunkpos= yythunkpos1283; if (!yymatchChar('_')) goto l1282; if (!yy_Sp()) goto l1282; if (!yymatchChar('_')) goto l1282; if (!yy_Sp()) goto l1282; if (!yymatchChar('_')) goto l1282;
|
5238
5236
|
l1290:;
|
5239
|
-
{ int yypos1291= yypos, yythunkpos1291= yythunkpos; if (!
|
5237
|
+
{ int yypos1291= yypos, yythunkpos1291= yythunkpos; if (!yy_Sp()) goto l1291; if (!yymatchChar('_')) goto l1291; goto l1290;
|
5240
5238
|
l1291:; yypos= yypos1291; yythunkpos= yythunkpos1291;
|
5239
|
+
}
|
5240
|
+
}
|
5241
|
+
l1283:; if (!yy_Sp()) goto l1282; if (!yy_Newline()) goto l1282; if (!yy_BlankLine()) goto l1282;
|
5242
|
+
l1292:;
|
5243
|
+
{ int yypos1293= yypos, yythunkpos1293= yythunkpos; if (!yy_BlankLine()) goto l1293; goto l1292;
|
5244
|
+
l1293:; yypos= yypos1293; yythunkpos= yythunkpos1293;
|
5241
5245
|
} yyDo(yy_1_HorizontalRule, yybegin, yyend);
|
5242
5246
|
yyprintf((stderr, " ok %s @ %s\n", "HorizontalRule", yybuf+yypos));
|
5243
5247
|
return 1;
|
5244
|
-
|
5248
|
+
l1282:; yypos= yypos0; yythunkpos= yythunkpos0;
|
5245
5249
|
yyprintf((stderr, " fail %s @ %s\n", "HorizontalRule", yybuf+yypos));
|
5246
5250
|
return 0;
|
5247
5251
|
}
|
5248
5252
|
YY_RULE(int) yy_Reference()
|
5249
5253
|
{ int yypos0= yypos, yythunkpos0= yythunkpos; yyDo(yyPush, 3, 0);
|
5250
|
-
yyprintf((stderr, "%s\n", "Reference")); if (!yy_NonindentSpace()) goto
|
5251
|
-
{ int
|
5252
|
-
l1293:; yypos= yypos1293; yythunkpos= yythunkpos1293;
|
5253
|
-
} if (!yy_Label()) goto l1292; yyDo(yySet, -3, 0); if (!yymatchChar(':')) goto l1292; if (!yy_Spnl()) goto l1292; if (!yy_RefSrc()) goto l1292; yyDo(yySet, -2, 0); if (!yy_Spnl()) goto l1292; if (!yy_RefTitle()) goto l1292; yyDo(yySet, -1, 0);
|
5254
|
-
l1294:;
|
5255
|
-
{ int yypos1295= yypos, yythunkpos1295= yythunkpos; if (!yy_BlankLine()) goto l1295; goto l1294;
|
5254
|
+
yyprintf((stderr, "%s\n", "Reference")); if (!yy_NonindentSpace()) goto l1294;
|
5255
|
+
{ int yypos1295= yypos, yythunkpos1295= yythunkpos; if (!yymatchString("[]")) goto l1295; goto l1294;
|
5256
5256
|
l1295:; yypos= yypos1295; yythunkpos= yythunkpos1295;
|
5257
|
+
} if (!yy_Label()) goto l1294; yyDo(yySet, -3, 0); if (!yymatchChar(':')) goto l1294; if (!yy_Spnl()) goto l1294; if (!yy_RefSrc()) goto l1294; yyDo(yySet, -2, 0); if (!yy_Spnl()) goto l1294; if (!yy_RefTitle()) goto l1294; yyDo(yySet, -1, 0);
|
5258
|
+
l1296:;
|
5259
|
+
{ int yypos1297= yypos, yythunkpos1297= yythunkpos; if (!yy_BlankLine()) goto l1297; goto l1296;
|
5260
|
+
l1297:; yypos= yypos1297; yythunkpos= yythunkpos1297;
|
5257
5261
|
} yyDo(yy_1_Reference, yybegin, yyend);
|
5258
5262
|
yyprintf((stderr, " ok %s @ %s\n", "Reference", yybuf+yypos)); yyDo(yyPop, 3, 0);
|
5259
5263
|
return 1;
|
5260
|
-
|
5264
|
+
l1294:; yypos= yypos0; yythunkpos= yythunkpos0;
|
5261
5265
|
yyprintf((stderr, " fail %s @ %s\n", "Reference", yybuf+yypos));
|
5262
5266
|
return 0;
|
5263
5267
|
}
|
5264
5268
|
YY_RULE(int) yy_Note()
|
5265
5269
|
{ int yypos0= yypos, yythunkpos0= yythunkpos; yyDo(yyPush, 2, 0);
|
5266
|
-
yyprintf((stderr, "%s\n", "Note")); yyText(yybegin, yyend); if (!( extension(EXT_NOTES) )) goto
|
5267
|
-
|
5268
|
-
{ int
|
5269
|
-
{ int
|
5270
|
-
} if (!yy_RawNoteBlock()) goto
|
5271
|
-
|
5270
|
+
yyprintf((stderr, "%s\n", "Note")); yyText(yybegin, yyend); if (!( extension(EXT_NOTES) )) goto l1298; if (!yy_NonindentSpace()) goto l1298; if (!yy_RawNoteReference()) goto l1298; yyDo(yySet, -2, 0); if (!yymatchChar(':')) goto l1298; if (!yy_Sp()) goto l1298; if (!yy_StartList()) goto l1298; yyDo(yySet, -1, 0); if (!yy_RawNoteBlock()) goto l1298; yyDo(yy_1_Note, yybegin, yyend);
|
5271
|
+
l1299:;
|
5272
|
+
{ int yypos1300= yypos, yythunkpos1300= yythunkpos;
|
5273
|
+
{ int yypos1301= yypos, yythunkpos1301= yythunkpos; if (!yy_Indent()) goto l1300; yypos= yypos1301; yythunkpos= yythunkpos1301;
|
5274
|
+
} if (!yy_RawNoteBlock()) goto l1300; yyDo(yy_2_Note, yybegin, yyend); goto l1299;
|
5275
|
+
l1300:; yypos= yypos1300; yythunkpos= yythunkpos1300;
|
5272
5276
|
} yyDo(yy_3_Note, yybegin, yyend);
|
5273
5277
|
yyprintf((stderr, " ok %s @ %s\n", "Note", yybuf+yypos)); yyDo(yyPop, 2, 0);
|
5274
5278
|
return 1;
|
5275
|
-
|
5279
|
+
l1298:; yypos= yypos0; yythunkpos= yythunkpos0;
|
5276
5280
|
yyprintf((stderr, " fail %s @ %s\n", "Note", yybuf+yypos));
|
5277
5281
|
return 0;
|
5278
5282
|
}
|
5279
5283
|
YY_RULE(int) yy_Verbatim()
|
5280
5284
|
{ int yypos0= yypos, yythunkpos0= yythunkpos; yyDo(yyPush, 1, 0);
|
5281
|
-
yyprintf((stderr, "%s\n", "Verbatim")); if (!yy_StartList()) goto
|
5282
|
-
|
5283
|
-
{ int
|
5284
|
-
|
5285
|
+
yyprintf((stderr, "%s\n", "Verbatim")); if (!yy_StartList()) goto l1302; yyDo(yySet, -1, 0); if (!yy_VerbatimChunk()) goto l1302; yyDo(yy_1_Verbatim, yybegin, yyend);
|
5286
|
+
l1303:;
|
5287
|
+
{ int yypos1304= yypos, yythunkpos1304= yythunkpos; if (!yy_VerbatimChunk()) goto l1304; yyDo(yy_1_Verbatim, yybegin, yyend); goto l1303;
|
5288
|
+
l1304:; yypos= yypos1304; yythunkpos= yythunkpos1304;
|
5285
5289
|
} yyDo(yy_2_Verbatim, yybegin, yyend);
|
5286
5290
|
yyprintf((stderr, " ok %s @ %s\n", "Verbatim", yybuf+yypos)); yyDo(yyPop, 1, 0);
|
5287
5291
|
return 1;
|
5288
|
-
|
5292
|
+
l1302:; yypos= yypos0; yythunkpos= yythunkpos0;
|
5289
5293
|
yyprintf((stderr, " fail %s @ %s\n", "Verbatim", yybuf+yypos));
|
5290
5294
|
return 0;
|
5291
5295
|
}
|
5292
5296
|
YY_RULE(int) yy_BlockQuote()
|
5293
5297
|
{ int yypos0= yypos, yythunkpos0= yythunkpos; yyDo(yyPush, 1, 0);
|
5294
|
-
yyprintf((stderr, "%s\n", "BlockQuote")); if (!yy_BlockQuoteRaw()) goto
|
5298
|
+
yyprintf((stderr, "%s\n", "BlockQuote")); if (!yy_BlockQuoteRaw()) goto l1305; yyDo(yySet, -1, 0); yyDo(yy_1_BlockQuote, yybegin, yyend);
|
5295
5299
|
yyprintf((stderr, " ok %s @ %s\n", "BlockQuote", yybuf+yypos)); yyDo(yyPop, 1, 0);
|
5296
5300
|
return 1;
|
5297
|
-
|
5301
|
+
l1305:; yypos= yypos0; yythunkpos= yythunkpos0;
|
5298
5302
|
yyprintf((stderr, " fail %s @ %s\n", "BlockQuote", yybuf+yypos));
|
5299
5303
|
return 0;
|
5300
5304
|
}
|
5301
5305
|
YY_RULE(int) yy_BlankLine()
|
5302
5306
|
{ int yypos0= yypos, yythunkpos0= yythunkpos;
|
5303
|
-
yyprintf((stderr, "%s\n", "BlankLine")); if (!yy_Sp()) goto
|
5307
|
+
yyprintf((stderr, "%s\n", "BlankLine")); if (!yy_Sp()) goto l1306; if (!yy_Newline()) goto l1306;
|
5304
5308
|
yyprintf((stderr, " ok %s @ %s\n", "BlankLine", yybuf+yypos));
|
5305
5309
|
return 1;
|
5306
|
-
|
5310
|
+
l1306:; yypos= yypos0; yythunkpos= yythunkpos0;
|
5307
5311
|
yyprintf((stderr, " fail %s @ %s\n", "BlankLine", yybuf+yypos));
|
5308
5312
|
return 0;
|
5309
5313
|
}
|
5310
5314
|
YY_RULE(int) yy_Block()
|
5311
5315
|
{ int yypos0= yypos, yythunkpos0= yythunkpos;
|
5312
5316
|
yyprintf((stderr, "%s\n", "Block"));
|
5313
|
-
l1306:;
|
5314
|
-
{ int yypos1307= yypos, yythunkpos1307= yythunkpos; if (!yy_BlankLine()) goto l1307; goto l1306;
|
5315
|
-
l1307:; yypos= yypos1307; yythunkpos= yythunkpos1307;
|
5316
|
-
}
|
5317
|
-
{ int yypos1308= yypos, yythunkpos1308= yythunkpos; if (!yy_BlockQuote()) goto l1309; goto l1308;
|
5318
|
-
l1309:; yypos= yypos1308; yythunkpos= yythunkpos1308; if (!yy_Verbatim()) goto l1310; goto l1308;
|
5319
|
-
l1310:; yypos= yypos1308; yythunkpos= yythunkpos1308; if (!yy_Note()) goto l1311; goto l1308;
|
5320
|
-
l1311:; yypos= yypos1308; yythunkpos= yythunkpos1308; if (!yy_Reference()) goto l1312; goto l1308;
|
5321
|
-
l1312:; yypos= yypos1308; yythunkpos= yythunkpos1308; if (!yy_HorizontalRule()) goto l1313; goto l1308;
|
5322
|
-
l1313:; yypos= yypos1308; yythunkpos= yythunkpos1308; if (!yy_Heading()) goto l1314; goto l1308;
|
5323
|
-
l1314:; yypos= yypos1308; yythunkpos= yythunkpos1308; if (!yy_OrderedList()) goto l1315; goto l1308;
|
5324
|
-
l1315:; yypos= yypos1308; yythunkpos= yythunkpos1308; if (!yy_BulletList()) goto l1316; goto l1308;
|
5325
|
-
l1316:; yypos= yypos1308; yythunkpos= yythunkpos1308; if (!yy_HtmlBlock()) goto l1317; goto l1308;
|
5326
|
-
l1317:; yypos= yypos1308; yythunkpos= yythunkpos1308; if (!yy_StyleBlock()) goto l1318; goto l1308;
|
5327
|
-
l1318:; yypos= yypos1308; yythunkpos= yythunkpos1308; if (!yy_Para()) goto l1319; goto l1308;
|
5328
|
-
l1319:; yypos= yypos1308; yythunkpos= yythunkpos1308; if (!yy_Plain()) goto l1305;
|
5329
|
-
}
|
5330
5317
|
l1308:;
|
5318
|
+
{ int yypos1309= yypos, yythunkpos1309= yythunkpos; if (!yy_BlankLine()) goto l1309; goto l1308;
|
5319
|
+
l1309:; yypos= yypos1309; yythunkpos= yythunkpos1309;
|
5320
|
+
}
|
5321
|
+
{ int yypos1310= yypos, yythunkpos1310= yythunkpos; if (!yy_BlockQuote()) goto l1311; goto l1310;
|
5322
|
+
l1311:; yypos= yypos1310; yythunkpos= yythunkpos1310; if (!yy_Verbatim()) goto l1312; goto l1310;
|
5323
|
+
l1312:; yypos= yypos1310; yythunkpos= yythunkpos1310; if (!yy_Note()) goto l1313; goto l1310;
|
5324
|
+
l1313:; yypos= yypos1310; yythunkpos= yythunkpos1310; if (!yy_Reference()) goto l1314; goto l1310;
|
5325
|
+
l1314:; yypos= yypos1310; yythunkpos= yythunkpos1310; if (!yy_HorizontalRule()) goto l1315; goto l1310;
|
5326
|
+
l1315:; yypos= yypos1310; yythunkpos= yythunkpos1310; if (!yy_Heading()) goto l1316; goto l1310;
|
5327
|
+
l1316:; yypos= yypos1310; yythunkpos= yythunkpos1310; if (!yy_OrderedList()) goto l1317; goto l1310;
|
5328
|
+
l1317:; yypos= yypos1310; yythunkpos= yythunkpos1310; if (!yy_BulletList()) goto l1318; goto l1310;
|
5329
|
+
l1318:; yypos= yypos1310; yythunkpos= yythunkpos1310; if (!yy_HtmlBlock()) goto l1319; goto l1310;
|
5330
|
+
l1319:; yypos= yypos1310; yythunkpos= yythunkpos1310; if (!yy_StyleBlock()) goto l1320; goto l1310;
|
5331
|
+
l1320:; yypos= yypos1310; yythunkpos= yythunkpos1310; if (!yy_Para()) goto l1321; goto l1310;
|
5332
|
+
l1321:; yypos= yypos1310; yythunkpos= yythunkpos1310; if (!yy_Plain()) goto l1307;
|
5333
|
+
}
|
5334
|
+
l1310:;
|
5331
5335
|
yyprintf((stderr, " ok %s @ %s\n", "Block", yybuf+yypos));
|
5332
5336
|
return 1;
|
5333
|
-
|
5337
|
+
l1307:; yypos= yypos0; yythunkpos= yythunkpos0;
|
5334
5338
|
yyprintf((stderr, " fail %s @ %s\n", "Block", yybuf+yypos));
|
5335
5339
|
return 0;
|
5336
5340
|
}
|
5337
5341
|
YY_RULE(int) yy_StartList()
|
5338
5342
|
{ int yypos0= yypos, yythunkpos0= yythunkpos;
|
5339
5343
|
yyprintf((stderr, "%s\n", "StartList"));
|
5340
|
-
{ int
|
5344
|
+
{ int yypos1323= yypos, yythunkpos1323= yythunkpos; if (!yymatchDot()) goto l1322; yypos= yypos1323; yythunkpos= yythunkpos1323;
|
5341
5345
|
} yyDo(yy_1_StartList, yybegin, yyend);
|
5342
5346
|
yyprintf((stderr, " ok %s @ %s\n", "StartList", yybuf+yypos));
|
5343
5347
|
return 1;
|
5344
|
-
|
5348
|
+
l1322:; yypos= yypos0; yythunkpos= yythunkpos0;
|
5345
5349
|
yyprintf((stderr, " fail %s @ %s\n", "StartList", yybuf+yypos));
|
5346
5350
|
return 0;
|
5347
5351
|
}
|
5348
5352
|
YY_RULE(int) yy_Doc()
|
5349
5353
|
{ int yypos0= yypos, yythunkpos0= yythunkpos; yyDo(yyPush, 1, 0);
|
5350
|
-
yyprintf((stderr, "%s\n", "Doc")); if (!yy_StartList()) goto
|
5351
|
-
|
5352
|
-
{ int
|
5353
|
-
|
5354
|
+
yyprintf((stderr, "%s\n", "Doc")); if (!yy_StartList()) goto l1324; yyDo(yySet, -1, 0);
|
5355
|
+
l1325:;
|
5356
|
+
{ int yypos1326= yypos, yythunkpos1326= yythunkpos; if (!yy_Block()) goto l1326; yyDo(yy_1_Doc, yybegin, yyend); goto l1325;
|
5357
|
+
l1326:; yypos= yypos1326; yythunkpos= yythunkpos1326;
|
5354
5358
|
} yyDo(yy_2_Doc, yybegin, yyend);
|
5355
5359
|
yyprintf((stderr, " ok %s @ %s\n", "Doc", yybuf+yypos)); yyDo(yyPop, 1, 0);
|
5356
5360
|
return 1;
|
5357
|
-
|
5361
|
+
l1324:; yypos= yypos0; yythunkpos= yythunkpos0;
|
5358
5362
|
yyprintf((stderr, " fail %s @ %s\n", "Doc", yybuf+yypos));
|
5359
5363
|
return 0;
|
5360
5364
|
}
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rpeg-markdown
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.4.
|
4
|
+
version: 1.4.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ryan Tomayko
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date:
|
12
|
+
date: 2010-01-15 00:00:00 -08:00
|
13
13
|
default_executable:
|
14
14
|
dependencies: []
|
15
15
|
|
@@ -40,7 +40,6 @@ files:
|
|
40
40
|
- ext/markdown_lib.h
|
41
41
|
- ext/markdown_peg.h
|
42
42
|
- test/MarkdownTest_1.0/MarkdownTest.pl
|
43
|
-
- test/MarkdownTest_1.0/Tests
|
44
43
|
- test/MarkdownTest_1.0/Tests/Amps and angle encoding.html
|
45
44
|
- test/MarkdownTest_1.0/Tests/Amps and angle encoding.text
|
46
45
|
- test/MarkdownTest_1.0/Tests/Auto links.html
|
@@ -80,7 +79,6 @@ files:
|
|
80
79
|
- test/MarkdownTest_1.0/Tests/Tidyness.html
|
81
80
|
- test/MarkdownTest_1.0/Tests/Tidyness.text
|
82
81
|
- test/MarkdownTest_1.0.3/MarkdownTest.pl
|
83
|
-
- test/MarkdownTest_1.0.3/Tests
|
84
82
|
- test/MarkdownTest_1.0.3/Tests/Amps and angle encoding.html
|
85
83
|
- test/MarkdownTest_1.0.3/Tests/Amps and angle encoding.text
|
86
84
|
- test/MarkdownTest_1.0.3/Tests/Auto links.html
|
@@ -128,6 +126,8 @@ files:
|
|
128
126
|
- bin/rpeg-markdown
|
129
127
|
has_rdoc: true
|
130
128
|
homepage: http://github.com/rtomayko/rpeg-markdown
|
129
|
+
licenses: []
|
130
|
+
|
131
131
|
post_install_message:
|
132
132
|
rdoc_options: []
|
133
133
|
|
@@ -148,9 +148,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
148
148
|
requirements: []
|
149
149
|
|
150
150
|
rubyforge_project: wink
|
151
|
-
rubygems_version: 1.3.
|
151
|
+
rubygems_version: 1.3.5
|
152
152
|
signing_key:
|
153
|
-
specification_version:
|
153
|
+
specification_version: 3
|
154
154
|
summary: Fast Markdown implementation
|
155
155
|
test_files:
|
156
156
|
- test/markdown_test.rb
|