1 /* A recursive-descent parser generated by peg 0.1.9 */
2
3 #include <stdio.h>
4 #include <stdlib.h>
5 #include <string.h>
6 #define YYRULECOUNT 240
7
8 /**********************************************************************
9
10 markdown_parser.leg - markdown parser in C using a PEG grammar.
11 (c) 2008 John MacFarlane (jgm at berkeley dot edu).
12
13 This program is free software; you can redistribute it and/or modify
14 it under the terms of the GNU General Public License or the MIT
15 license. See LICENSE for details.
16
17 This program is distributed in the hope that it will be useful,
18 but WITHOUT ANY WARRANTY; without even the implied warranty of
19 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 GNU General Public License for more details.
21
22 ***********************************************************************/
23
24 #include <stdbool.h>
25 #include <assert.h>
26 #include "markdown_peg.h"
27 #include "utility_functions.h"
28
29
30
31 /**********************************************************************
32
33 Definitions for leg parser generator.
34 YY_INPUT is the function the parser calls to get new input.
35 We take all new input from (static) charbuf.
36
37 ***********************************************************************/
38
39
40
41 # define YYSTYPE element *
42 #ifdef __DEBUG__
43 # define YY_DEBUG 1
44 #endif
45
46 #define YY_INPUT(buf, result, max_size) \
47 { \
48 int yyc; \
49 if (charbuf && *charbuf != '\0') { \
50 yyc= *charbuf++; \
51 } else { \
52 yyc= EOF; \
53 } \
54 result= (EOF == yyc) ? 0 : (*(buf)= yyc, 1); \
55 }
56
57 #define YY_RULE(T) T
58
59
60 /**********************************************************************
61
62 PEG grammar and parser actions for markdown syntax.
63
64 ***********************************************************************/
65
66
67 #ifndef YY_LOCAL
68 #define YY_LOCAL(T) static T
69 #endif
70 #ifndef YY_ACTION
71 #define YY_ACTION(T) static T
72 #endif
73 #ifndef YY_RULE
74 #define YY_RULE(T) static T
75 #endif
76 #ifndef YY_PARSE
77 #define YY_PARSE(T) T
78 #endif
79 #ifndef YYPARSE
80 #define YYPARSE yyparse
81 #endif
82 #ifndef YYPARSEFROM
83 #define YYPARSEFROM yyparsefrom
84 #endif
85 #ifndef YY_INPUT
86 #define YY_INPUT(buf, result, max_size) \
87 { \
88 int yyc= getchar(); \
89 result= (EOF == yyc) ? 0 : (*(buf)= yyc, 1); \
90 yyprintf((stderr, "<%c>", yyc)); \
91 }
92 #endif
93 #ifndef YY_BEGIN
94 #define YY_BEGIN ( ctx->begin= ctx->pos, 1)
95 #endif
96 #ifndef YY_END
97 #define YY_END ( ctx->end= ctx->pos, 1)
98 #endif
99 #ifdef YY_DEBUG
100 # define yyprintf(args) fprintf args
101 #else
102 # define yyprintf(args)
103 #endif
104 #ifndef YYSTYPE
105 #define YYSTYPE int
106 #endif
107
108 #ifndef YY_PART
109
110 typedef struct _yycontext yycontext;
111 typedef void (*yyaction)(yycontext *ctx, char *yytext, int yyleng);
112 typedef struct _yythunk { int begin, end; yyaction action; struct _yythunk *next; } yythunk;
113
114 struct _yycontext {
115 char *buf;
116 int buflen;
117 int pos;
118 int limit;
119 char *text;
120 int textlen;
121 int begin;
122 int end;
123 int textmax;
124 yythunk *thunks;
125 int thunkslen;
126 int thunkpos;
127 YYSTYPE yy;
128 YYSTYPE *val;
129 YYSTYPE *vals;
130 int valslen;
131 #ifdef YY_CTX_MEMBERS
132 YY_CTX_MEMBERS
133 #endif
134 };
135
136 #ifdef YY_CTX_LOCAL
137 #define YY_CTX_PARAM_ yycontext *yyctx,
138 #define YY_CTX_PARAM yycontext *yyctx
139 #define YY_CTX_ARG_ yyctx,
140 #define YY_CTX_ARG yyctx
141 #else
142 #define YY_CTX_PARAM_
143 #define YY_CTX_PARAM
144 #define YY_CTX_ARG_
145 #define YY_CTX_ARG
146 yycontext yyctx0;
147 yycontext *yyctx= &yyctx0;
148 #endif
149
yyrefill(yycontext * ctx)150 YY_LOCAL(int) yyrefill(yycontext *ctx)
151 {
152 int yyn;
153 while (ctx->buflen - ctx->pos < 512)
154 {
155 ctx->buflen *= 2;
156 ctx->buf= (char *)realloc(ctx->buf, ctx->buflen);
157 }
158 YY_INPUT((ctx->buf + ctx->pos), yyn, (ctx->buflen - ctx->pos));
159 if (!yyn) return 0;
160 ctx->limit += yyn;
161 return 1;
162 }
163
yymatchDot(yycontext * ctx)164 YY_LOCAL(int) yymatchDot(yycontext *ctx)
165 {
166 if (ctx->pos >= ctx->limit && !yyrefill(ctx)) return 0;
167 ++ctx->pos;
168 return 1;
169 }
170
yymatchChar(yycontext * ctx,int c)171 YY_LOCAL(int) yymatchChar(yycontext *ctx, int c)
172 {
173 if (ctx->pos >= ctx->limit && !yyrefill(ctx)) return 0;
174 if ((unsigned char)ctx->buf[ctx->pos] == c)
175 {
176 ++ctx->pos;
177 yyprintf((stderr, " ok yymatchChar(ctx, %c) @ %s\n", c, ctx->buf+ctx->pos));
178 return 1;
179 }
180 yyprintf((stderr, " fail yymatchChar(ctx, %c) @ %s\n", c, ctx->buf+ctx->pos));
181 return 0;
182 }
183
yymatchString(yycontext * ctx,char * s)184 YY_LOCAL(int) yymatchString(yycontext *ctx, char *s)
185 {
186 int yysav= ctx->pos;
187 while (*s)
188 {
189 if (ctx->pos >= ctx->limit && !yyrefill(ctx)) return 0;
190 if (ctx->buf[ctx->pos] != *s)
191 {
192 ctx->pos= yysav;
193 return 0;
194 }
195 ++s;
196 ++ctx->pos;
197 }
198 return 1;
199 }
200
yymatchClass(yycontext * ctx,unsigned char * bits)201 YY_LOCAL(int) yymatchClass(yycontext *ctx, unsigned char *bits)
202 {
203 int c;
204 if (ctx->pos >= ctx->limit && !yyrefill(ctx)) return 0;
205 c= (unsigned char)ctx->buf[ctx->pos];
206 if (bits[c >> 3] & (1 << (c & 7)))
207 {
208 ++ctx->pos;
209 yyprintf((stderr, " ok yymatchClass @ %s\n", ctx->buf+ctx->pos));
210 return 1;
211 }
212 yyprintf((stderr, " fail yymatchClass @ %s\n", ctx->buf+ctx->pos));
213 return 0;
214 }
215
yyDo(yycontext * ctx,yyaction action,int begin,int end)216 YY_LOCAL(void) yyDo(yycontext *ctx, yyaction action, int begin, int end)
217 {
218 while (ctx->thunkpos >= ctx->thunkslen)
219 {
220 ctx->thunkslen *= 2;
221 ctx->thunks= (yythunk *)realloc(ctx->thunks, sizeof(yythunk) * ctx->thunkslen);
222 }
223 ctx->thunks[ctx->thunkpos].begin= begin;
224 ctx->thunks[ctx->thunkpos].end= end;
225 ctx->thunks[ctx->thunkpos].action= action;
226 ++ctx->thunkpos;
227 }
228
yyText(yycontext * ctx,int begin,int end)229 YY_LOCAL(int) yyText(yycontext *ctx, int begin, int end)
230 {
231 int yyleng= end - begin;
232 if (yyleng <= 0)
233 yyleng= 0;
234 else
235 {
236 while (ctx->textlen < (yyleng + 1))
237 {
238 ctx->textlen *= 2;
239 ctx->text= (char *)realloc(ctx->text, ctx->textlen);
240 }
241 memcpy(ctx->text, ctx->buf + begin, yyleng);
242 }
243 ctx->text[yyleng]= '\0';
244 return yyleng;
245 }
246
yyDone(yycontext * ctx)247 YY_LOCAL(void) yyDone(yycontext *ctx)
248 {
249 int pos;
250 for (pos= 0; pos < ctx->thunkpos; ++pos)
251 {
252 yythunk *thunk= &ctx->thunks[pos];
253 int yyleng= thunk->end ? yyText(ctx, thunk->begin, thunk->end) : thunk->begin;
254 yyprintf((stderr, "DO [%d] %p %s\n", pos, thunk->action, ctx->text));
255 thunk->action(ctx, ctx->text, yyleng);
256 }
257 ctx->thunkpos= 0;
258 }
259
yyCommit(yycontext * ctx)260 YY_LOCAL(void) yyCommit(yycontext *ctx)
261 {
262 if ((ctx->limit -= ctx->pos))
263 {
264 memmove(ctx->buf, ctx->buf + ctx->pos, ctx->limit);
265 }
266 ctx->begin -= ctx->pos;
267 ctx->end -= ctx->pos;
268 ctx->pos= ctx->thunkpos= 0;
269 }
270
yyAccept(yycontext * ctx,int tp0)271 YY_LOCAL(int) yyAccept(yycontext *ctx, int tp0)
272 {
273 if (tp0)
274 {
275 fprintf(stderr, "accept denied at %d\n", tp0);
276 return 0;
277 }
278 else
279 {
280 yyDone(ctx);
281 yyCommit(ctx);
282 }
283 return 1;
284 }
285
yyPush(yycontext * ctx,char * text,int count)286 YY_LOCAL(void) yyPush(yycontext *ctx, char *text, int count) { ctx->val += count; }
yyPop(yycontext * ctx,char * text,int count)287 YY_LOCAL(void) yyPop(yycontext *ctx, char *text, int count) { ctx->val -= count; }
yySet(yycontext * ctx,char * text,int count)288 YY_LOCAL(void) yySet(yycontext *ctx, char *text, int count) { ctx->val[count]= ctx->yy; }
289
290 #endif /* YY_PART */
291
292 #define YYACCEPT yyAccept(ctx, yythunkpos0)
293
294 YY_RULE(int) yy_Notes(yycontext *ctx); /* 240 */
295 YY_RULE(int) yy_RawNoteBlock(yycontext *ctx); /* 239 */
296 YY_RULE(int) yy_RawNoteReference(yycontext *ctx); /* 238 */
297 YY_RULE(int) yy_DoubleQuoteEnd(yycontext *ctx); /* 237 */
298 YY_RULE(int) yy_DoubleQuoteStart(yycontext *ctx); /* 236 */
299 YY_RULE(int) yy_SingleQuoteEnd(yycontext *ctx); /* 235 */
300 YY_RULE(int) yy_SingleQuoteStart(yycontext *ctx); /* 234 */
301 YY_RULE(int) yy_EnDash(yycontext *ctx); /* 233 */
302 YY_RULE(int) yy_EmDash(yycontext *ctx); /* 232 */
303 YY_RULE(int) yy_Apostrophe(yycontext *ctx); /* 231 */
304 YY_RULE(int) yy_DoubleQuoted(yycontext *ctx); /* 230 */
305 YY_RULE(int) yy_SingleQuoted(yycontext *ctx); /* 229 */
306 YY_RULE(int) yy_Dash(yycontext *ctx); /* 228 */
307 YY_RULE(int) yy_Ellipsis(yycontext *ctx); /* 227 */
308 YY_RULE(int) yy_Digit(yycontext *ctx); /* 226 */
309 YY_RULE(int) yy_ExtendedSpecialChar(yycontext *ctx); /* 225 */
310 YY_RULE(int) yy_AlphanumericAscii(yycontext *ctx); /* 224 */
311 YY_RULE(int) yy_Quoted(yycontext *ctx); /* 223 */
312 YY_RULE(int) yy_HtmlTag(yycontext *ctx); /* 222 */
313 YY_RULE(int) yy_Ticks5(yycontext *ctx); /* 221 */
314 YY_RULE(int) yy_Ticks4(yycontext *ctx); /* 220 */
315 YY_RULE(int) yy_Ticks3(yycontext *ctx); /* 219 */
316 YY_RULE(int) yy_Ticks2(yycontext *ctx); /* 218 */
317 YY_RULE(int) yy_Ticks1(yycontext *ctx); /* 217 */
318 YY_RULE(int) yy_SkipBlock(yycontext *ctx); /* 216 */
319 YY_RULE(int) yy_References(yycontext *ctx); /* 215 */
320 YY_RULE(int) yy_EmptyTitle(yycontext *ctx); /* 214 */
321 YY_RULE(int) yy_RefTitleParens(yycontext *ctx); /* 213 */
322 YY_RULE(int) yy_RefTitleDouble(yycontext *ctx); /* 212 */
323 YY_RULE(int) yy_RefTitleSingle(yycontext *ctx); /* 211 */
324 YY_RULE(int) yy_RefTitle(yycontext *ctx); /* 210 */
325 YY_RULE(int) yy_RefSrc(yycontext *ctx); /* 209 */
326 YY_RULE(int) yy_AutoLinkEmail(yycontext *ctx); /* 208 */
327 YY_RULE(int) yy_AutoLinkUrl(yycontext *ctx); /* 207 */
328 YY_RULE(int) yy_TitleDouble(yycontext *ctx); /* 206 */
329 YY_RULE(int) yy_TitleSingle(yycontext *ctx); /* 205 */
330 YY_RULE(int) yy_Nonspacechar(yycontext *ctx); /* 204 */
331 YY_RULE(int) yy_SourceContents(yycontext *ctx); /* 203 */
332 YY_RULE(int) yy_Title(yycontext *ctx); /* 202 */
333 YY_RULE(int) yy_Source(yycontext *ctx); /* 201 */
334 YY_RULE(int) yy_Label(yycontext *ctx); /* 200 */
335 YY_RULE(int) yy_ReferenceLinkSingle(yycontext *ctx); /* 199 */
336 YY_RULE(int) yy_ReferenceLinkDouble(yycontext *ctx); /* 198 */
337 YY_RULE(int) yy_AutoLink(yycontext *ctx); /* 197 */
338 YY_RULE(int) yy_ReferenceLink(yycontext *ctx); /* 196 */
339 YY_RULE(int) yy_ExplicitLink(yycontext *ctx); /* 195 */
340 YY_RULE(int) yy_StrongUl(yycontext *ctx); /* 194 */
341 YY_RULE(int) yy_StrongStar(yycontext *ctx); /* 193 */
342 YY_RULE(int) yy_Whitespace(yycontext *ctx); /* 192 */
343 YY_RULE(int) yy_EmphUl(yycontext *ctx); /* 191 */
344 YY_RULE(int) yy_EmphStar(yycontext *ctx); /* 190 */
345 YY_RULE(int) yy_StarLine(yycontext *ctx); /* 189 */
346 YY_RULE(int) yy_UlLine(yycontext *ctx); /* 188 */
347 YY_RULE(int) yy_SpecialChar(yycontext *ctx); /* 187 */
348 YY_RULE(int) yy_Eof(yycontext *ctx); /* 186 */
349 YY_RULE(int) yy_NormalEndline(yycontext *ctx); /* 185 */
350 YY_RULE(int) yy_TerminalEndline(yycontext *ctx); /* 184 */
351 YY_RULE(int) yy_LineBreak(yycontext *ctx); /* 183 */
352 YY_RULE(int) yy_CharEntity(yycontext *ctx); /* 182 */
353 YY_RULE(int) yy_DecEntity(yycontext *ctx); /* 181 */
354 YY_RULE(int) yy_HexEntity(yycontext *ctx); /* 180 */
355 YY_RULE(int) yy_AposChunk(yycontext *ctx); /* 179 */
356 YY_RULE(int) yy_Alphanumeric(yycontext *ctx); /* 178 */
357 YY_RULE(int) yy_StrChunk(yycontext *ctx); /* 177 */
358 YY_RULE(int) yy_NormalChar(yycontext *ctx); /* 176 */
359 YY_RULE(int) yy_Symbol(yycontext *ctx); /* 175 */
360 YY_RULE(int) yy_Smart(yycontext *ctx); /* 174 */
361 YY_RULE(int) yy_EscapedChar(yycontext *ctx); /* 173 */
362 YY_RULE(int) yy_Entity(yycontext *ctx); /* 172 */
363 YY_RULE(int) yy_RawHtml(yycontext *ctx); /* 171 */
364 YY_RULE(int) yy_Code(yycontext *ctx); /* 170 */
365 YY_RULE(int) yy_InlineNote(yycontext *ctx); /* 169 */
366 YY_RULE(int) yy_NoteReference(yycontext *ctx); /* 168 */
367 YY_RULE(int) yy_Link(yycontext *ctx); /* 167 */
368 YY_RULE(int) yy_Image(yycontext *ctx); /* 166 */
369 YY_RULE(int) yy_Emph(yycontext *ctx); /* 165 */
370 YY_RULE(int) yy_Strong(yycontext *ctx); /* 164 */
371 YY_RULE(int) yy_Space(yycontext *ctx); /* 163 */
372 YY_RULE(int) yy_UlOrStarLine(yycontext *ctx); /* 162 */
373 YY_RULE(int) yy_Str(yycontext *ctx); /* 161 */
374 YY_RULE(int) yy_InStyleTags(yycontext *ctx); /* 160 */
375 YY_RULE(int) yy_StyleClose(yycontext *ctx); /* 159 */
376 YY_RULE(int) yy_StyleOpen(yycontext *ctx); /* 158 */
377 YY_RULE(int) yy_HtmlBlockType(yycontext *ctx); /* 157 */
378 YY_RULE(int) yy_HtmlBlockSelfClosing(yycontext *ctx); /* 156 */
379 YY_RULE(int) yy_HtmlComment(yycontext *ctx); /* 155 */
380 YY_RULE(int) yy_HtmlBlockInTags(yycontext *ctx); /* 154 */
381 YY_RULE(int) yy_HtmlBlockHead(yycontext *ctx); /* 153 */
382 YY_RULE(int) yy_HtmlBlockCloseHead(yycontext *ctx); /* 152 */
383 YY_RULE(int) yy_HtmlBlockOpenHead(yycontext *ctx); /* 151 */
384 YY_RULE(int) yy_HtmlBlockScript(yycontext *ctx); /* 150 */
385 YY_RULE(int) yy_HtmlBlockCloseScript(yycontext *ctx); /* 149 */
386 YY_RULE(int) yy_HtmlBlockOpenScript(yycontext *ctx); /* 148 */
387 YY_RULE(int) yy_HtmlBlockTr(yycontext *ctx); /* 147 */
388 YY_RULE(int) yy_HtmlBlockCloseTr(yycontext *ctx); /* 146 */
389 YY_RULE(int) yy_HtmlBlockOpenTr(yycontext *ctx); /* 145 */
390 YY_RULE(int) yy_HtmlBlockThead(yycontext *ctx); /* 144 */
391 YY_RULE(int) yy_HtmlBlockCloseThead(yycontext *ctx); /* 143 */
392 YY_RULE(int) yy_HtmlBlockOpenThead(yycontext *ctx); /* 142 */
393 YY_RULE(int) yy_HtmlBlockTh(yycontext *ctx); /* 141 */
394 YY_RULE(int) yy_HtmlBlockCloseTh(yycontext *ctx); /* 140 */
395 YY_RULE(int) yy_HtmlBlockOpenTh(yycontext *ctx); /* 139 */
396 YY_RULE(int) yy_HtmlBlockTfoot(yycontext *ctx); /* 138 */
397 YY_RULE(int) yy_HtmlBlockCloseTfoot(yycontext *ctx); /* 137 */
398 YY_RULE(int) yy_HtmlBlockOpenTfoot(yycontext *ctx); /* 136 */
399 YY_RULE(int) yy_HtmlBlockTd(yycontext *ctx); /* 135 */
400 YY_RULE(int) yy_HtmlBlockCloseTd(yycontext *ctx); /* 134 */
401 YY_RULE(int) yy_HtmlBlockOpenTd(yycontext *ctx); /* 133 */
402 YY_RULE(int) yy_HtmlBlockTbody(yycontext *ctx); /* 132 */
403 YY_RULE(int) yy_HtmlBlockCloseTbody(yycontext *ctx); /* 131 */
404 YY_RULE(int) yy_HtmlBlockOpenTbody(yycontext *ctx); /* 130 */
405 YY_RULE(int) yy_HtmlBlockLi(yycontext *ctx); /* 129 */
406 YY_RULE(int) yy_HtmlBlockCloseLi(yycontext *ctx); /* 128 */
407 YY_RULE(int) yy_HtmlBlockOpenLi(yycontext *ctx); /* 127 */
408 YY_RULE(int) yy_HtmlBlockFrameset(yycontext *ctx); /* 126 */
409 YY_RULE(int) yy_HtmlBlockCloseFrameset(yycontext *ctx); /* 125 */
410 YY_RULE(int) yy_HtmlBlockOpenFrameset(yycontext *ctx); /* 124 */
411 YY_RULE(int) yy_HtmlBlockDt(yycontext *ctx); /* 123 */
412 YY_RULE(int) yy_HtmlBlockCloseDt(yycontext *ctx); /* 122 */
413 YY_RULE(int) yy_HtmlBlockOpenDt(yycontext *ctx); /* 121 */
414 YY_RULE(int) yy_HtmlBlockDd(yycontext *ctx); /* 120 */
415 YY_RULE(int) yy_HtmlBlockCloseDd(yycontext *ctx); /* 119 */
416 YY_RULE(int) yy_HtmlBlockOpenDd(yycontext *ctx); /* 118 */
417 YY_RULE(int) yy_HtmlBlockUl(yycontext *ctx); /* 117 */
418 YY_RULE(int) yy_HtmlBlockCloseUl(yycontext *ctx); /* 116 */
419 YY_RULE(int) yy_HtmlBlockOpenUl(yycontext *ctx); /* 115 */
420 YY_RULE(int) yy_HtmlBlockTable(yycontext *ctx); /* 114 */
421 YY_RULE(int) yy_HtmlBlockCloseTable(yycontext *ctx); /* 113 */
422 YY_RULE(int) yy_HtmlBlockOpenTable(yycontext *ctx); /* 112 */
423 YY_RULE(int) yy_HtmlBlockPre(yycontext *ctx); /* 111 */
424 YY_RULE(int) yy_HtmlBlockClosePre(yycontext *ctx); /* 110 */
425 YY_RULE(int) yy_HtmlBlockOpenPre(yycontext *ctx); /* 109 */
426 YY_RULE(int) yy_HtmlBlockP(yycontext *ctx); /* 108 */
427 YY_RULE(int) yy_HtmlBlockCloseP(yycontext *ctx); /* 107 */
428 YY_RULE(int) yy_HtmlBlockOpenP(yycontext *ctx); /* 106 */
429 YY_RULE(int) yy_HtmlBlockOl(yycontext *ctx); /* 105 */
430 YY_RULE(int) yy_HtmlBlockCloseOl(yycontext *ctx); /* 104 */
431 YY_RULE(int) yy_HtmlBlockOpenOl(yycontext *ctx); /* 103 */
432 YY_RULE(int) yy_HtmlBlockNoscript(yycontext *ctx); /* 102 */
433 YY_RULE(int) yy_HtmlBlockCloseNoscript(yycontext *ctx); /* 101 */
434 YY_RULE(int) yy_HtmlBlockOpenNoscript(yycontext *ctx); /* 100 */
435 YY_RULE(int) yy_HtmlBlockNoframes(yycontext *ctx); /* 99 */
436 YY_RULE(int) yy_HtmlBlockCloseNoframes(yycontext *ctx); /* 98 */
437 YY_RULE(int) yy_HtmlBlockOpenNoframes(yycontext *ctx); /* 97 */
438 YY_RULE(int) yy_HtmlBlockMenu(yycontext *ctx); /* 96 */
439 YY_RULE(int) yy_HtmlBlockCloseMenu(yycontext *ctx); /* 95 */
440 YY_RULE(int) yy_HtmlBlockOpenMenu(yycontext *ctx); /* 94 */
441 YY_RULE(int) yy_HtmlBlockH6(yycontext *ctx); /* 93 */
442 YY_RULE(int) yy_HtmlBlockCloseH6(yycontext *ctx); /* 92 */
443 YY_RULE(int) yy_HtmlBlockOpenH6(yycontext *ctx); /* 91 */
444 YY_RULE(int) yy_HtmlBlockH5(yycontext *ctx); /* 90 */
445 YY_RULE(int) yy_HtmlBlockCloseH5(yycontext *ctx); /* 89 */
446 YY_RULE(int) yy_HtmlBlockOpenH5(yycontext *ctx); /* 88 */
447 YY_RULE(int) yy_HtmlBlockH4(yycontext *ctx); /* 87 */
448 YY_RULE(int) yy_HtmlBlockCloseH4(yycontext *ctx); /* 86 */
449 YY_RULE(int) yy_HtmlBlockOpenH4(yycontext *ctx); /* 85 */
450 YY_RULE(int) yy_HtmlBlockH3(yycontext *ctx); /* 84 */
451 YY_RULE(int) yy_HtmlBlockCloseH3(yycontext *ctx); /* 83 */
452 YY_RULE(int) yy_HtmlBlockOpenH3(yycontext *ctx); /* 82 */
453 YY_RULE(int) yy_HtmlBlockH2(yycontext *ctx); /* 81 */
454 YY_RULE(int) yy_HtmlBlockCloseH2(yycontext *ctx); /* 80 */
455 YY_RULE(int) yy_HtmlBlockOpenH2(yycontext *ctx); /* 79 */
456 YY_RULE(int) yy_HtmlBlockH1(yycontext *ctx); /* 78 */
457 YY_RULE(int) yy_HtmlBlockCloseH1(yycontext *ctx); /* 77 */
458 YY_RULE(int) yy_HtmlBlockOpenH1(yycontext *ctx); /* 76 */
459 YY_RULE(int) yy_HtmlBlockForm(yycontext *ctx); /* 75 */
460 YY_RULE(int) yy_HtmlBlockCloseForm(yycontext *ctx); /* 74 */
461 YY_RULE(int) yy_HtmlBlockOpenForm(yycontext *ctx); /* 73 */
462 YY_RULE(int) yy_HtmlBlockFieldset(yycontext *ctx); /* 72 */
463 YY_RULE(int) yy_HtmlBlockCloseFieldset(yycontext *ctx); /* 71 */
464 YY_RULE(int) yy_HtmlBlockOpenFieldset(yycontext *ctx); /* 70 */
465 YY_RULE(int) yy_HtmlBlockDl(yycontext *ctx); /* 69 */
466 YY_RULE(int) yy_HtmlBlockCloseDl(yycontext *ctx); /* 68 */
467 YY_RULE(int) yy_HtmlBlockOpenDl(yycontext *ctx); /* 67 */
468 YY_RULE(int) yy_HtmlBlockDiv(yycontext *ctx); /* 66 */
469 YY_RULE(int) yy_HtmlBlockCloseDiv(yycontext *ctx); /* 65 */
470 YY_RULE(int) yy_HtmlBlockOpenDiv(yycontext *ctx); /* 64 */
471 YY_RULE(int) yy_HtmlBlockDir(yycontext *ctx); /* 63 */
472 YY_RULE(int) yy_HtmlBlockCloseDir(yycontext *ctx); /* 62 */
473 YY_RULE(int) yy_HtmlBlockOpenDir(yycontext *ctx); /* 61 */
474 YY_RULE(int) yy_HtmlBlockCenter(yycontext *ctx); /* 60 */
475 YY_RULE(int) yy_HtmlBlockCloseCenter(yycontext *ctx); /* 59 */
476 YY_RULE(int) yy_HtmlBlockOpenCenter(yycontext *ctx); /* 58 */
477 YY_RULE(int) yy_HtmlBlockBlockquote(yycontext *ctx); /* 57 */
478 YY_RULE(int) yy_HtmlBlockCloseBlockquote(yycontext *ctx); /* 56 */
479 YY_RULE(int) yy_HtmlBlockOpenBlockquote(yycontext *ctx); /* 55 */
480 YY_RULE(int) yy_HtmlBlockAddress(yycontext *ctx); /* 54 */
481 YY_RULE(int) yy_HtmlBlockCloseAddress(yycontext *ctx); /* 53 */
482 YY_RULE(int) yy_HtmlAttribute(yycontext *ctx); /* 52 */
483 YY_RULE(int) yy_Spnl(yycontext *ctx); /* 51 */
484 YY_RULE(int) yy_HtmlBlockOpenAddress(yycontext *ctx); /* 50 */
485 YY_RULE(int) yy_OptionallyIndentedLine(yycontext *ctx); /* 49 */
486 YY_RULE(int) yy_Indent(yycontext *ctx); /* 48 */
487 YY_RULE(int) yy_ListBlockLine(yycontext *ctx); /* 47 */
488 YY_RULE(int) yy_ListContinuationBlock(yycontext *ctx); /* 46 */
489 YY_RULE(int) yy_ListBlock(yycontext *ctx); /* 45 */
490 YY_RULE(int) yy_ListItem(yycontext *ctx); /* 44 */
491 YY_RULE(int) yy_Enumerator(yycontext *ctx); /* 43 */
492 YY_RULE(int) yy_ListItemTight(yycontext *ctx); /* 42 */
493 YY_RULE(int) yy_ListLoose(yycontext *ctx); /* 41 */
494 YY_RULE(int) yy_ListTight(yycontext *ctx); /* 40 */
495 YY_RULE(int) yy_Spacechar(yycontext *ctx); /* 39 */
496 YY_RULE(int) yy_Bullet(yycontext *ctx); /* 38 */
497 YY_RULE(int) yy_VerbatimChunk(yycontext *ctx); /* 37 */
498 YY_RULE(int) yy_IndentedLine(yycontext *ctx); /* 36 */
499 YY_RULE(int) yy_NonblankIndentedLine(yycontext *ctx); /* 35 */
500 YY_RULE(int) yy_Line(yycontext *ctx); /* 34 */
501 YY_RULE(int) yy_BlockQuoteRaw(yycontext *ctx); /* 33 */
502 YY_RULE(int) yy_Endline(yycontext *ctx); /* 32 */
503 YY_RULE(int) yy_RawLine(yycontext *ctx); /* 31 */
504 YY_RULE(int) yy_SetextBottom2(yycontext *ctx); /* 30 */
505 YY_RULE(int) yy_SetextBottom1(yycontext *ctx); /* 29 */
506 YY_RULE(int) yy_SetextHeading2(yycontext *ctx); /* 28 */
507 YY_RULE(int) yy_SetextHeading1(yycontext *ctx); /* 27 */
508 YY_RULE(int) yy_SetextHeading(yycontext *ctx); /* 26 */
509 YY_RULE(int) yy_AtxHeading(yycontext *ctx); /* 25 */
510 YY_RULE(int) yy_AtxStart(yycontext *ctx); /* 24 */
511 YY_RULE(int) yy_Inline(yycontext *ctx); /* 23 */
512 YY_RULE(int) yy_Sp(yycontext *ctx); /* 22 */
513 YY_RULE(int) yy_Newline(yycontext *ctx); /* 21 */
514 YY_RULE(int) yy_AtxInline(yycontext *ctx); /* 20 */
515 YY_RULE(int) yy_Inlines(yycontext *ctx); /* 19 */
516 YY_RULE(int) yy_NonindentSpace(yycontext *ctx); /* 18 */
517 YY_RULE(int) yy_Plain(yycontext *ctx); /* 17 */
518 YY_RULE(int) yy_Para(yycontext *ctx); /* 16 */
519 YY_RULE(int) yy_StyleBlock(yycontext *ctx); /* 15 */
520 YY_RULE(int) yy_HtmlBlock(yycontext *ctx); /* 14 */
521 YY_RULE(int) yy_BulletList(yycontext *ctx); /* 13 */
522 YY_RULE(int) yy_OrderedList(yycontext *ctx); /* 12 */
523 YY_RULE(int) yy_Heading(yycontext *ctx); /* 11 */
524 YY_RULE(int) yy_HorizontalRule(yycontext *ctx); /* 10 */
525 YY_RULE(int) yy_Reference(yycontext *ctx); /* 9 */
526 YY_RULE(int) yy_Note(yycontext *ctx); /* 8 */
527 YY_RULE(int) yy_Verbatim(yycontext *ctx); /* 7 */
528 YY_RULE(int) yy_BlockQuote(yycontext *ctx); /* 6 */
529 YY_RULE(int) yy_BlankLine(yycontext *ctx); /* 5 */
530 YY_RULE(int) yy_Block(yycontext *ctx); /* 4 */
531 YY_RULE(int) yy_StartList(yycontext *ctx); /* 3 */
532 YY_RULE(int) yy_BOM(yycontext *ctx); /* 2 */
533 YY_RULE(int) yy_Doc(yycontext *ctx); /* 1 */
534
yy_3_RawNoteBlock(yycontext * ctx,char * yytext,int yyleng)535 YY_ACTION(void) yy_3_RawNoteBlock(yycontext *ctx, char *yytext, int yyleng)
536 {
537 #define a ctx->val[-1]
538 #define yy ctx->yy
539 #define yypos ctx->pos
540 #define yythunkpos ctx->thunkpos
541 yyprintf((stderr, "do yy_3_RawNoteBlock\n"));
542 yy = mk_str_from_list(a, true);
543 yy->key = RAW;
544 ;
545 #undef yythunkpos
546 #undef yypos
547 #undef yy
548 #undef a
549 }
yy_2_RawNoteBlock(yycontext * ctx,char * yytext,int yyleng)550 YY_ACTION(void) yy_2_RawNoteBlock(yycontext *ctx, char *yytext, int yyleng)
551 {
552 #define a ctx->val[-1]
553 #define yy ctx->yy
554 #define yypos ctx->pos
555 #define yythunkpos ctx->thunkpos
556 yyprintf((stderr, "do yy_2_RawNoteBlock\n"));
557 a = cons(mk_str(yytext), a); ;
558 #undef yythunkpos
559 #undef yypos
560 #undef yy
561 #undef a
562 }
yy_1_RawNoteBlock(yycontext * ctx,char * yytext,int yyleng)563 YY_ACTION(void) yy_1_RawNoteBlock(yycontext *ctx, char *yytext, int yyleng)
564 {
565 #define a ctx->val[-1]
566 #define yy ctx->yy
567 #define yypos ctx->pos
568 #define yythunkpos ctx->thunkpos
569 yyprintf((stderr, "do yy_1_RawNoteBlock\n"));
570 a = cons(yy, a); ;
571 #undef yythunkpos
572 #undef yypos
573 #undef yy
574 #undef a
575 }
yy_2_Notes(yycontext * ctx,char * yytext,int yyleng)576 YY_ACTION(void) yy_2_Notes(yycontext *ctx, char *yytext, int yyleng)
577 {
578 #define b ctx->val[-1]
579 #define a ctx->val[-2]
580 #define yy ctx->yy
581 #define yypos ctx->pos
582 #define yythunkpos ctx->thunkpos
583 yyprintf((stderr, "do yy_2_Notes\n"));
584 notes = reverse(a); ;
585 #undef yythunkpos
586 #undef yypos
587 #undef yy
588 #undef b
589 #undef a
590 }
yy_1_Notes(yycontext * ctx,char * yytext,int yyleng)591 YY_ACTION(void) yy_1_Notes(yycontext *ctx, char *yytext, int yyleng)
592 {
593 #define b ctx->val[-1]
594 #define a ctx->val[-2]
595 #define yy ctx->yy
596 #define yypos ctx->pos
597 #define yythunkpos ctx->thunkpos
598 yyprintf((stderr, "do yy_1_Notes\n"));
599 a = cons(b, a); ;
600 #undef yythunkpos
601 #undef yypos
602 #undef yy
603 #undef b
604 #undef a
605 }
yy_2_InlineNote(yycontext * ctx,char * yytext,int yyleng)606 YY_ACTION(void) yy_2_InlineNote(yycontext *ctx, char *yytext, int yyleng)
607 {
608 #define a ctx->val[-1]
609 #define yy ctx->yy
610 #define yypos ctx->pos
611 #define yythunkpos ctx->thunkpos
612 yyprintf((stderr, "do yy_2_InlineNote\n"));
613 yy = mk_list(NOTE, a);
614 yy->contents.str = 0; ;
615 #undef yythunkpos
616 #undef yypos
617 #undef yy
618 #undef a
619 }
yy_1_InlineNote(yycontext * ctx,char * yytext,int yyleng)620 YY_ACTION(void) yy_1_InlineNote(yycontext *ctx, char *yytext, int yyleng)
621 {
622 #define a ctx->val[-1]
623 #define yy ctx->yy
624 #define yypos ctx->pos
625 #define yythunkpos ctx->thunkpos
626 yyprintf((stderr, "do yy_1_InlineNote\n"));
627 a = cons(yy, a); ;
628 #undef yythunkpos
629 #undef yypos
630 #undef yy
631 #undef a
632 }
yy_3_Note(yycontext * ctx,char * yytext,int yyleng)633 YY_ACTION(void) yy_3_Note(yycontext *ctx, char *yytext, int yyleng)
634 {
635 #define a ctx->val[-1]
636 #define ref ctx->val[-2]
637 #define yy ctx->yy
638 #define yypos ctx->pos
639 #define yythunkpos ctx->thunkpos
640 yyprintf((stderr, "do yy_3_Note\n"));
641 yy = mk_list(NOTE, a);
642 yy->contents.str = strdup(ref->contents.str);
643 ;
644 #undef yythunkpos
645 #undef yypos
646 #undef yy
647 #undef a
648 #undef ref
649 }
yy_2_Note(yycontext * ctx,char * yytext,int yyleng)650 YY_ACTION(void) yy_2_Note(yycontext *ctx, char *yytext, int yyleng)
651 {
652 #define a ctx->val[-1]
653 #define ref ctx->val[-2]
654 #define yy ctx->yy
655 #define yypos ctx->pos
656 #define yythunkpos ctx->thunkpos
657 yyprintf((stderr, "do yy_2_Note\n"));
658 a = cons(yy, a); ;
659 #undef yythunkpos
660 #undef yypos
661 #undef yy
662 #undef a
663 #undef ref
664 }
yy_1_Note(yycontext * ctx,char * yytext,int yyleng)665 YY_ACTION(void) yy_1_Note(yycontext *ctx, char *yytext, int yyleng)
666 {
667 #define a ctx->val[-1]
668 #define ref ctx->val[-2]
669 #define yy ctx->yy
670 #define yypos ctx->pos
671 #define yythunkpos ctx->thunkpos
672 yyprintf((stderr, "do yy_1_Note\n"));
673 a = cons(yy, a); ;
674 #undef yythunkpos
675 #undef yypos
676 #undef yy
677 #undef a
678 #undef ref
679 }
yy_1_RawNoteReference(yycontext * ctx,char * yytext,int yyleng)680 YY_ACTION(void) yy_1_RawNoteReference(yycontext *ctx, char *yytext, int yyleng)
681 {
682 #define yy ctx->yy
683 #define yypos ctx->pos
684 #define yythunkpos ctx->thunkpos
685 yyprintf((stderr, "do yy_1_RawNoteReference\n"));
686 yy = mk_str(yytext); ;
687 #undef yythunkpos
688 #undef yypos
689 #undef yy
690 }
yy_1_NoteReference(yycontext * ctx,char * yytext,int yyleng)691 YY_ACTION(void) yy_1_NoteReference(yycontext *ctx, char *yytext, int yyleng)
692 {
693 #define ref ctx->val[-1]
694 #define yy ctx->yy
695 #define yypos ctx->pos
696 #define yythunkpos ctx->thunkpos
697 yyprintf((stderr, "do yy_1_NoteReference\n"));
698 element *match;
699 if (find_note(&match, ref->contents.str)) {
700 yy = mk_element(NOTE);
701 assert(match->children != NULL);
702 yy->children = match->children;
703 yy->contents.str = 0;
704 } else {
705 char *s;
706 s = malloc(strlen(ref->contents.str) + 4);
707 sprintf(s, "[^%s]", ref->contents.str);
708 yy = mk_str(s);
709 free(s);
710 }
711 ;
712 #undef yythunkpos
713 #undef yypos
714 #undef yy
715 #undef ref
716 }
yy_2_DoubleQuoted(yycontext * ctx,char * yytext,int yyleng)717 YY_ACTION(void) yy_2_DoubleQuoted(yycontext *ctx, char *yytext, int yyleng)
718 {
719 #define b ctx->val[-1]
720 #define a ctx->val[-2]
721 #define yy ctx->yy
722 #define yypos ctx->pos
723 #define yythunkpos ctx->thunkpos
724 yyprintf((stderr, "do yy_2_DoubleQuoted\n"));
725 yy = mk_list(DOUBLEQUOTED, a); ;
726 #undef yythunkpos
727 #undef yypos
728 #undef yy
729 #undef b
730 #undef a
731 }
yy_1_DoubleQuoted(yycontext * ctx,char * yytext,int yyleng)732 YY_ACTION(void) yy_1_DoubleQuoted(yycontext *ctx, char *yytext, int yyleng)
733 {
734 #define b ctx->val[-1]
735 #define a ctx->val[-2]
736 #define yy ctx->yy
737 #define yypos ctx->pos
738 #define yythunkpos ctx->thunkpos
739 yyprintf((stderr, "do yy_1_DoubleQuoted\n"));
740 a = cons(b, a); ;
741 #undef yythunkpos
742 #undef yypos
743 #undef yy
744 #undef b
745 #undef a
746 }
yy_2_SingleQuoted(yycontext * ctx,char * yytext,int yyleng)747 YY_ACTION(void) yy_2_SingleQuoted(yycontext *ctx, char *yytext, int yyleng)
748 {
749 #define b ctx->val[-1]
750 #define a ctx->val[-2]
751 #define yy ctx->yy
752 #define yypos ctx->pos
753 #define yythunkpos ctx->thunkpos
754 yyprintf((stderr, "do yy_2_SingleQuoted\n"));
755 yy = mk_list(SINGLEQUOTED, a); ;
756 #undef yythunkpos
757 #undef yypos
758 #undef yy
759 #undef b
760 #undef a
761 }
yy_1_SingleQuoted(yycontext * ctx,char * yytext,int yyleng)762 YY_ACTION(void) yy_1_SingleQuoted(yycontext *ctx, char *yytext, int yyleng)
763 {
764 #define b ctx->val[-1]
765 #define a ctx->val[-2]
766 #define yy ctx->yy
767 #define yypos ctx->pos
768 #define yythunkpos ctx->thunkpos
769 yyprintf((stderr, "do yy_1_SingleQuoted\n"));
770 a = cons(b, a); ;
771 #undef yythunkpos
772 #undef yypos
773 #undef yy
774 #undef b
775 #undef a
776 }
yy_1_EmDash(yycontext * ctx,char * yytext,int yyleng)777 YY_ACTION(void) yy_1_EmDash(yycontext *ctx, char *yytext, int yyleng)
778 {
779 #define yy ctx->yy
780 #define yypos ctx->pos
781 #define yythunkpos ctx->thunkpos
782 yyprintf((stderr, "do yy_1_EmDash\n"));
783 yy = mk_element(EMDASH); ;
784 #undef yythunkpos
785 #undef yypos
786 #undef yy
787 }
yy_1_EnDash(yycontext * ctx,char * yytext,int yyleng)788 YY_ACTION(void) yy_1_EnDash(yycontext *ctx, char *yytext, int yyleng)
789 {
790 #define yy ctx->yy
791 #define yypos ctx->pos
792 #define yythunkpos ctx->thunkpos
793 yyprintf((stderr, "do yy_1_EnDash\n"));
794 yy = mk_element(ENDASH); ;
795 #undef yythunkpos
796 #undef yypos
797 #undef yy
798 }
yy_1_Ellipsis(yycontext * ctx,char * yytext,int yyleng)799 YY_ACTION(void) yy_1_Ellipsis(yycontext *ctx, char *yytext, int yyleng)
800 {
801 #define yy ctx->yy
802 #define yypos ctx->pos
803 #define yythunkpos ctx->thunkpos
804 yyprintf((stderr, "do yy_1_Ellipsis\n"));
805 yy = mk_element(ELLIPSIS); ;
806 #undef yythunkpos
807 #undef yypos
808 #undef yy
809 }
yy_1_Apostrophe(yycontext * ctx,char * yytext,int yyleng)810 YY_ACTION(void) yy_1_Apostrophe(yycontext *ctx, char *yytext, int yyleng)
811 {
812 #define yy ctx->yy
813 #define yypos ctx->pos
814 #define yythunkpos ctx->thunkpos
815 yyprintf((stderr, "do yy_1_Apostrophe\n"));
816 yy = mk_element(APOSTROPHE); ;
817 #undef yythunkpos
818 #undef yypos
819 #undef yy
820 }
yy_1_Line(yycontext * ctx,char * yytext,int yyleng)821 YY_ACTION(void) yy_1_Line(yycontext *ctx, char *yytext, int yyleng)
822 {
823 #define yy ctx->yy
824 #define yypos ctx->pos
825 #define yythunkpos ctx->thunkpos
826 yyprintf((stderr, "do yy_1_Line\n"));
827 yy = mk_str(yytext); ;
828 #undef yythunkpos
829 #undef yypos
830 #undef yy
831 }
yy_1_StartList(yycontext * ctx,char * yytext,int yyleng)832 YY_ACTION(void) yy_1_StartList(yycontext *ctx, char *yytext, int yyleng)
833 {
834 #define yy ctx->yy
835 #define yypos ctx->pos
836 #define yythunkpos ctx->thunkpos
837 yyprintf((stderr, "do yy_1_StartList\n"));
838 yy = NULL; ;
839 #undef yythunkpos
840 #undef yypos
841 #undef yy
842 }
yy_1_RawHtml(yycontext * ctx,char * yytext,int yyleng)843 YY_ACTION(void) yy_1_RawHtml(yycontext *ctx, char *yytext, int yyleng)
844 {
845 #define yy ctx->yy
846 #define yypos ctx->pos
847 #define yythunkpos ctx->thunkpos
848 yyprintf((stderr, "do yy_1_RawHtml\n"));
849 if (extension(EXT_FILTER_HTML)) {
850 yy = mk_list(LIST, NULL);
851 } else {
852 yy = mk_str(yytext);
853 yy->key = HTML;
854 }
855 ;
856 #undef yythunkpos
857 #undef yypos
858 #undef yy
859 }
yy_1_Code(yycontext * ctx,char * yytext,int yyleng)860 YY_ACTION(void) yy_1_Code(yycontext *ctx, char *yytext, int yyleng)
861 {
862 #define yy ctx->yy
863 #define yypos ctx->pos
864 #define yythunkpos ctx->thunkpos
865 yyprintf((stderr, "do yy_1_Code\n"));
866 yy = mk_str(yytext); yy->key = CODE; ;
867 #undef yythunkpos
868 #undef yypos
869 #undef yy
870 }
yy_2_References(yycontext * ctx,char * yytext,int yyleng)871 YY_ACTION(void) yy_2_References(yycontext *ctx, char *yytext, int yyleng)
872 {
873 #define b ctx->val[-1]
874 #define a ctx->val[-2]
875 #define yy ctx->yy
876 #define yypos ctx->pos
877 #define yythunkpos ctx->thunkpos
878 yyprintf((stderr, "do yy_2_References\n"));
879 references = reverse(a); ;
880 #undef yythunkpos
881 #undef yypos
882 #undef yy
883 #undef b
884 #undef a
885 }
yy_1_References(yycontext * ctx,char * yytext,int yyleng)886 YY_ACTION(void) yy_1_References(yycontext *ctx, char *yytext, int yyleng)
887 {
888 #define b ctx->val[-1]
889 #define a ctx->val[-2]
890 #define yy ctx->yy
891 #define yypos ctx->pos
892 #define yythunkpos ctx->thunkpos
893 yyprintf((stderr, "do yy_1_References\n"));
894 a = cons(b, a); ;
895 #undef yythunkpos
896 #undef yypos
897 #undef yy
898 #undef b
899 #undef a
900 }
yy_1_RefTitle(yycontext * ctx,char * yytext,int yyleng)901 YY_ACTION(void) yy_1_RefTitle(yycontext *ctx, char *yytext, int yyleng)
902 {
903 #define yy ctx->yy
904 #define yypos ctx->pos
905 #define yythunkpos ctx->thunkpos
906 yyprintf((stderr, "do yy_1_RefTitle\n"));
907 yy = mk_str(yytext); ;
908 #undef yythunkpos
909 #undef yypos
910 #undef yy
911 }
yy_1_RefSrc(yycontext * ctx,char * yytext,int yyleng)912 YY_ACTION(void) yy_1_RefSrc(yycontext *ctx, char *yytext, int yyleng)
913 {
914 #define yy ctx->yy
915 #define yypos ctx->pos
916 #define yythunkpos ctx->thunkpos
917 yyprintf((stderr, "do yy_1_RefSrc\n"));
918 yy = mk_str(yytext);
919 yy->key = HTML; ;
920 #undef yythunkpos
921 #undef yypos
922 #undef yy
923 }
yy_2_Label(yycontext * ctx,char * yytext,int yyleng)924 YY_ACTION(void) yy_2_Label(yycontext *ctx, char *yytext, int yyleng)
925 {
926 #define a ctx->val[-1]
927 #define yy ctx->yy
928 #define yypos ctx->pos
929 #define yythunkpos ctx->thunkpos
930 yyprintf((stderr, "do yy_2_Label\n"));
931 yy = mk_list(LIST, a); ;
932 #undef yythunkpos
933 #undef yypos
934 #undef yy
935 #undef a
936 }
yy_1_Label(yycontext * ctx,char * yytext,int yyleng)937 YY_ACTION(void) yy_1_Label(yycontext *ctx, char *yytext, int yyleng)
938 {
939 #define a ctx->val[-1]
940 #define yy ctx->yy
941 #define yypos ctx->pos
942 #define yythunkpos ctx->thunkpos
943 yyprintf((stderr, "do yy_1_Label\n"));
944 a = cons(yy, a); ;
945 #undef yythunkpos
946 #undef yypos
947 #undef yy
948 #undef a
949 }
yy_1_Reference(yycontext * ctx,char * yytext,int yyleng)950 YY_ACTION(void) yy_1_Reference(yycontext *ctx, char *yytext, int yyleng)
951 {
952 #define t ctx->val[-1]
953 #define s ctx->val[-2]
954 #define l ctx->val[-3]
955 #define yy ctx->yy
956 #define yypos ctx->pos
957 #define yythunkpos ctx->thunkpos
958 yyprintf((stderr, "do yy_1_Reference\n"));
959 yy = mk_link(l->children, s->contents.str, t->contents.str);
960 free_element(s);
961 free_element(t);
962 free(l);
963 yy->key = REFERENCE; ;
964 #undef yythunkpos
965 #undef yypos
966 #undef yy
967 #undef t
968 #undef s
969 #undef l
970 }
yy_1_AutoLinkEmail(yycontext * ctx,char * yytext,int yyleng)971 YY_ACTION(void) yy_1_AutoLinkEmail(yycontext *ctx, char *yytext, int yyleng)
972 {
973 #define yy ctx->yy
974 #define yypos ctx->pos
975 #define yythunkpos ctx->thunkpos
976 yyprintf((stderr, "do yy_1_AutoLinkEmail\n"));
977 char *mailto = malloc(strlen(yytext) + 8);
978 sprintf(mailto, "mailto:%s", yytext);
979 yy = mk_link(mk_str(yytext), mailto, "");
980 free(mailto);
981 ;
982 #undef yythunkpos
983 #undef yypos
984 #undef yy
985 }
yy_1_AutoLinkUrl(yycontext * ctx,char * yytext,int yyleng)986 YY_ACTION(void) yy_1_AutoLinkUrl(yycontext *ctx, char *yytext, int yyleng)
987 {
988 #define yy ctx->yy
989 #define yypos ctx->pos
990 #define yythunkpos ctx->thunkpos
991 yyprintf((stderr, "do yy_1_AutoLinkUrl\n"));
992 yy = mk_link(mk_str(yytext), yytext, ""); ;
993 #undef yythunkpos
994 #undef yypos
995 #undef yy
996 }
yy_1_Title(yycontext * ctx,char * yytext,int yyleng)997 YY_ACTION(void) yy_1_Title(yycontext *ctx, char *yytext, int yyleng)
998 {
999 #define yy ctx->yy
1000 #define yypos ctx->pos
1001 #define yythunkpos ctx->thunkpos
1002 yyprintf((stderr, "do yy_1_Title\n"));
1003 yy = mk_str(yytext); ;
1004 #undef yythunkpos
1005 #undef yypos
1006 #undef yy
1007 }
yy_1_Source(yycontext * ctx,char * yytext,int yyleng)1008 YY_ACTION(void) yy_1_Source(yycontext *ctx, char *yytext, int yyleng)
1009 {
1010 #define yy ctx->yy
1011 #define yypos ctx->pos
1012 #define yythunkpos ctx->thunkpos
1013 yyprintf((stderr, "do yy_1_Source\n"));
1014 yy = mk_str(yytext); ;
1015 #undef yythunkpos
1016 #undef yypos
1017 #undef yy
1018 }
yy_1_ExplicitLink(yycontext * ctx,char * yytext,int yyleng)1019 YY_ACTION(void) yy_1_ExplicitLink(yycontext *ctx, char *yytext, int yyleng)
1020 {
1021 #define t ctx->val[-1]
1022 #define s ctx->val[-2]
1023 #define l ctx->val[-3]
1024 #define yy ctx->yy
1025 #define yypos ctx->pos
1026 #define yythunkpos ctx->thunkpos
1027 yyprintf((stderr, "do yy_1_ExplicitLink\n"));
1028 yy = mk_link(l->children, s->contents.str, t->contents.str);
1029 free_element(s);
1030 free_element(t);
1031 free(l); ;
1032 #undef yythunkpos
1033 #undef yypos
1034 #undef yy
1035 #undef t
1036 #undef s
1037 #undef l
1038 }
yy_1_ReferenceLinkSingle(yycontext * ctx,char * yytext,int yyleng)1039 YY_ACTION(void) yy_1_ReferenceLinkSingle(yycontext *ctx, char *yytext, int yyleng)
1040 {
1041 #define a ctx->val[-1]
1042 #define yy ctx->yy
1043 #define yypos ctx->pos
1044 #define yythunkpos ctx->thunkpos
1045 yyprintf((stderr, "do yy_1_ReferenceLinkSingle\n"));
1046 link match;
1047 if (find_reference(&match, a->children)) {
1048 yy = mk_link(a->children, match.url, match.title);
1049 free(a);
1050 }
1051 else {
1052 element *result;
1053 result = mk_element(LIST);
1054 result->children = cons(mk_str("["), cons(a, cons(mk_str("]"), mk_str(yytext))));
1055 yy = result;
1056 }
1057 ;
1058 #undef yythunkpos
1059 #undef yypos
1060 #undef yy
1061 #undef a
1062 }
yy_1_ReferenceLinkDouble(yycontext * ctx,char * yytext,int yyleng)1063 YY_ACTION(void) yy_1_ReferenceLinkDouble(yycontext *ctx, char *yytext, int yyleng)
1064 {
1065 #define b ctx->val[-1]
1066 #define a ctx->val[-2]
1067 #define yy ctx->yy
1068 #define yypos ctx->pos
1069 #define yythunkpos ctx->thunkpos
1070 yyprintf((stderr, "do yy_1_ReferenceLinkDouble\n"));
1071 link match;
1072 if (find_reference(&match, b->children)) {
1073 yy = mk_link(a->children, match.url, match.title);
1074 free(a);
1075 free_element_list(b);
1076 } else {
1077 element *result;
1078 result = mk_element(LIST);
1079 result->children = cons(mk_str("["), cons(a, cons(mk_str("]"), cons(mk_str(yytext),
1080 cons(mk_str("["), cons(b, mk_str("]")))))));
1081 yy = result;
1082 }
1083 ;
1084 #undef yythunkpos
1085 #undef yypos
1086 #undef yy
1087 #undef b
1088 #undef a
1089 }
yy_1_Image(yycontext * ctx,char * yytext,int yyleng)1090 YY_ACTION(void) yy_1_Image(yycontext *ctx, char *yytext, int yyleng)
1091 {
1092 #define yy ctx->yy
1093 #define yypos ctx->pos
1094 #define yythunkpos ctx->thunkpos
1095 yyprintf((stderr, "do yy_1_Image\n"));
1096 if (yy->key == LINK) {
1097 yy->key = IMAGE;
1098 } else {
1099 element *result;
1100 result = yy;
1101 yy->children = cons(mk_str("!"), result->children);
1102 } ;
1103 #undef yythunkpos
1104 #undef yypos
1105 #undef yy
1106 }
yy_2_StrongUl(yycontext * ctx,char * yytext,int yyleng)1107 YY_ACTION(void) yy_2_StrongUl(yycontext *ctx, char *yytext, int yyleng)
1108 {
1109 #define b ctx->val[-1]
1110 #define a ctx->val[-2]
1111 #define yy ctx->yy
1112 #define yypos ctx->pos
1113 #define yythunkpos ctx->thunkpos
1114 yyprintf((stderr, "do yy_2_StrongUl\n"));
1115 yy = mk_list(STRONG, a); ;
1116 #undef yythunkpos
1117 #undef yypos
1118 #undef yy
1119 #undef b
1120 #undef a
1121 }
yy_1_StrongUl(yycontext * ctx,char * yytext,int yyleng)1122 YY_ACTION(void) yy_1_StrongUl(yycontext *ctx, char *yytext, int yyleng)
1123 {
1124 #define b ctx->val[-1]
1125 #define a ctx->val[-2]
1126 #define yy ctx->yy
1127 #define yypos ctx->pos
1128 #define yythunkpos ctx->thunkpos
1129 yyprintf((stderr, "do yy_1_StrongUl\n"));
1130 a = cons(b, a); ;
1131 #undef yythunkpos
1132 #undef yypos
1133 #undef yy
1134 #undef b
1135 #undef a
1136 }
yy_2_StrongStar(yycontext * ctx,char * yytext,int yyleng)1137 YY_ACTION(void) yy_2_StrongStar(yycontext *ctx, char *yytext, int yyleng)
1138 {
1139 #define b ctx->val[-1]
1140 #define a ctx->val[-2]
1141 #define yy ctx->yy
1142 #define yypos ctx->pos
1143 #define yythunkpos ctx->thunkpos
1144 yyprintf((stderr, "do yy_2_StrongStar\n"));
1145 yy = mk_list(STRONG, a); ;
1146 #undef yythunkpos
1147 #undef yypos
1148 #undef yy
1149 #undef b
1150 #undef a
1151 }
yy_1_StrongStar(yycontext * ctx,char * yytext,int yyleng)1152 YY_ACTION(void) yy_1_StrongStar(yycontext *ctx, char *yytext, int yyleng)
1153 {
1154 #define b ctx->val[-1]
1155 #define a ctx->val[-2]
1156 #define yy ctx->yy
1157 #define yypos ctx->pos
1158 #define yythunkpos ctx->thunkpos
1159 yyprintf((stderr, "do yy_1_StrongStar\n"));
1160 a = cons(b, a); ;
1161 #undef yythunkpos
1162 #undef yypos
1163 #undef yy
1164 #undef b
1165 #undef a
1166 }
yy_3_EmphUl(yycontext * ctx,char * yytext,int yyleng)1167 YY_ACTION(void) yy_3_EmphUl(yycontext *ctx, char *yytext, int yyleng)
1168 {
1169 #define b ctx->val[-1]
1170 #define a ctx->val[-2]
1171 #define yy ctx->yy
1172 #define yypos ctx->pos
1173 #define yythunkpos ctx->thunkpos
1174 yyprintf((stderr, "do yy_3_EmphUl\n"));
1175 yy = mk_list(EMPH, a); ;
1176 #undef yythunkpos
1177 #undef yypos
1178 #undef yy
1179 #undef b
1180 #undef a
1181 }
yy_2_EmphUl(yycontext * ctx,char * yytext,int yyleng)1182 YY_ACTION(void) yy_2_EmphUl(yycontext *ctx, char *yytext, int yyleng)
1183 {
1184 #define b ctx->val[-1]
1185 #define a ctx->val[-2]
1186 #define yy ctx->yy
1187 #define yypos ctx->pos
1188 #define yythunkpos ctx->thunkpos
1189 yyprintf((stderr, "do yy_2_EmphUl\n"));
1190 a = cons(b, a); ;
1191 #undef yythunkpos
1192 #undef yypos
1193 #undef yy
1194 #undef b
1195 #undef a
1196 }
yy_1_EmphUl(yycontext * ctx,char * yytext,int yyleng)1197 YY_ACTION(void) yy_1_EmphUl(yycontext *ctx, char *yytext, int yyleng)
1198 {
1199 #define b ctx->val[-1]
1200 #define a ctx->val[-2]
1201 #define yy ctx->yy
1202 #define yypos ctx->pos
1203 #define yythunkpos ctx->thunkpos
1204 yyprintf((stderr, "do yy_1_EmphUl\n"));
1205 a = cons(b, a); ;
1206 #undef yythunkpos
1207 #undef yypos
1208 #undef yy
1209 #undef b
1210 #undef a
1211 }
yy_3_EmphStar(yycontext * ctx,char * yytext,int yyleng)1212 YY_ACTION(void) yy_3_EmphStar(yycontext *ctx, char *yytext, int yyleng)
1213 {
1214 #define b ctx->val[-1]
1215 #define a ctx->val[-2]
1216 #define yy ctx->yy
1217 #define yypos ctx->pos
1218 #define yythunkpos ctx->thunkpos
1219 yyprintf((stderr, "do yy_3_EmphStar\n"));
1220 yy = mk_list(EMPH, a); ;
1221 #undef yythunkpos
1222 #undef yypos
1223 #undef yy
1224 #undef b
1225 #undef a
1226 }
yy_2_EmphStar(yycontext * ctx,char * yytext,int yyleng)1227 YY_ACTION(void) yy_2_EmphStar(yycontext *ctx, char *yytext, int yyleng)
1228 {
1229 #define b ctx->val[-1]
1230 #define a ctx->val[-2]
1231 #define yy ctx->yy
1232 #define yypos ctx->pos
1233 #define yythunkpos ctx->thunkpos
1234 yyprintf((stderr, "do yy_2_EmphStar\n"));
1235 a = cons(b, a); ;
1236 #undef yythunkpos
1237 #undef yypos
1238 #undef yy
1239 #undef b
1240 #undef a
1241 }
yy_1_EmphStar(yycontext * ctx,char * yytext,int yyleng)1242 YY_ACTION(void) yy_1_EmphStar(yycontext *ctx, char *yytext, int yyleng)
1243 {
1244 #define b ctx->val[-1]
1245 #define a ctx->val[-2]
1246 #define yy ctx->yy
1247 #define yypos ctx->pos
1248 #define yythunkpos ctx->thunkpos
1249 yyprintf((stderr, "do yy_1_EmphStar\n"));
1250 a = cons(b, a); ;
1251 #undef yythunkpos
1252 #undef yypos
1253 #undef yy
1254 #undef b
1255 #undef a
1256 }
yy_1_UlOrStarLine(yycontext * ctx,char * yytext,int yyleng)1257 YY_ACTION(void) yy_1_UlOrStarLine(yycontext *ctx, char *yytext, int yyleng)
1258 {
1259 #define yy ctx->yy
1260 #define yypos ctx->pos
1261 #define yythunkpos ctx->thunkpos
1262 yyprintf((stderr, "do yy_1_UlOrStarLine\n"));
1263 yy = mk_str(yytext); ;
1264 #undef yythunkpos
1265 #undef yypos
1266 #undef yy
1267 }
yy_1_Symbol(yycontext * ctx,char * yytext,int yyleng)1268 YY_ACTION(void) yy_1_Symbol(yycontext *ctx, char *yytext, int yyleng)
1269 {
1270 #define yy ctx->yy
1271 #define yypos ctx->pos
1272 #define yythunkpos ctx->thunkpos
1273 yyprintf((stderr, "do yy_1_Symbol\n"));
1274 yy = mk_str(yytext); ;
1275 #undef yythunkpos
1276 #undef yypos
1277 #undef yy
1278 }
yy_1_LineBreak(yycontext * ctx,char * yytext,int yyleng)1279 YY_ACTION(void) yy_1_LineBreak(yycontext *ctx, char *yytext, int yyleng)
1280 {
1281 #define yy ctx->yy
1282 #define yypos ctx->pos
1283 #define yythunkpos ctx->thunkpos
1284 yyprintf((stderr, "do yy_1_LineBreak\n"));
1285 yy = mk_element(LINEBREAK); ;
1286 #undef yythunkpos
1287 #undef yypos
1288 #undef yy
1289 }
yy_1_TerminalEndline(yycontext * ctx,char * yytext,int yyleng)1290 YY_ACTION(void) yy_1_TerminalEndline(yycontext *ctx, char *yytext, int yyleng)
1291 {
1292 #define yy ctx->yy
1293 #define yypos ctx->pos
1294 #define yythunkpos ctx->thunkpos
1295 yyprintf((stderr, "do yy_1_TerminalEndline\n"));
1296 yy = NULL; ;
1297 #undef yythunkpos
1298 #undef yypos
1299 #undef yy
1300 }
yy_1_NormalEndline(yycontext * ctx,char * yytext,int yyleng)1301 YY_ACTION(void) yy_1_NormalEndline(yycontext *ctx, char *yytext, int yyleng)
1302 {
1303 #define yy ctx->yy
1304 #define yypos ctx->pos
1305 #define yythunkpos ctx->thunkpos
1306 yyprintf((stderr, "do yy_1_NormalEndline\n"));
1307 yy = mk_str("\n");
1308 yy->key = SPACE; ;
1309 #undef yythunkpos
1310 #undef yypos
1311 #undef yy
1312 }
yy_1_Entity(yycontext * ctx,char * yytext,int yyleng)1313 YY_ACTION(void) yy_1_Entity(yycontext *ctx, char *yytext, int yyleng)
1314 {
1315 #define yy ctx->yy
1316 #define yypos ctx->pos
1317 #define yythunkpos ctx->thunkpos
1318 yyprintf((stderr, "do yy_1_Entity\n"));
1319 yy = mk_str(yytext); yy->key = HTML; ;
1320 #undef yythunkpos
1321 #undef yypos
1322 #undef yy
1323 }
yy_1_EscapedChar(yycontext * ctx,char * yytext,int yyleng)1324 YY_ACTION(void) yy_1_EscapedChar(yycontext *ctx, char *yytext, int yyleng)
1325 {
1326 #define yy ctx->yy
1327 #define yypos ctx->pos
1328 #define yythunkpos ctx->thunkpos
1329 yyprintf((stderr, "do yy_1_EscapedChar\n"));
1330 yy = mk_str(yytext); ;
1331 #undef yythunkpos
1332 #undef yypos
1333 #undef yy
1334 }
yy_1_AposChunk(yycontext * ctx,char * yytext,int yyleng)1335 YY_ACTION(void) yy_1_AposChunk(yycontext *ctx, char *yytext, int yyleng)
1336 {
1337 #define yy ctx->yy
1338 #define yypos ctx->pos
1339 #define yythunkpos ctx->thunkpos
1340 yyprintf((stderr, "do yy_1_AposChunk\n"));
1341 yy = mk_element(APOSTROPHE); ;
1342 #undef yythunkpos
1343 #undef yypos
1344 #undef yy
1345 }
yy_1_StrChunk(yycontext * ctx,char * yytext,int yyleng)1346 YY_ACTION(void) yy_1_StrChunk(yycontext *ctx, char *yytext, int yyleng)
1347 {
1348 #define yy ctx->yy
1349 #define yypos ctx->pos
1350 #define yythunkpos ctx->thunkpos
1351 yyprintf((stderr, "do yy_1_StrChunk\n"));
1352 yy = mk_str(yytext); ;
1353 #undef yythunkpos
1354 #undef yypos
1355 #undef yy
1356 }
yy_3_Str(yycontext * ctx,char * yytext,int yyleng)1357 YY_ACTION(void) yy_3_Str(yycontext *ctx, char *yytext, int yyleng)
1358 {
1359 #define a ctx->val[-1]
1360 #define yy ctx->yy
1361 #define yypos ctx->pos
1362 #define yythunkpos ctx->thunkpos
1363 yyprintf((stderr, "do yy_3_Str\n"));
1364 if (a->next == NULL) { yy = a; } else { yy = mk_list(LIST, a); } ;
1365 #undef yythunkpos
1366 #undef yypos
1367 #undef yy
1368 #undef a
1369 }
yy_2_Str(yycontext * ctx,char * yytext,int yyleng)1370 YY_ACTION(void) yy_2_Str(yycontext *ctx, char *yytext, int yyleng)
1371 {
1372 #define a ctx->val[-1]
1373 #define yy ctx->yy
1374 #define yypos ctx->pos
1375 #define yythunkpos ctx->thunkpos
1376 yyprintf((stderr, "do yy_2_Str\n"));
1377 a = cons(yy, a); ;
1378 #undef yythunkpos
1379 #undef yypos
1380 #undef yy
1381 #undef a
1382 }
yy_1_Str(yycontext * ctx,char * yytext,int yyleng)1383 YY_ACTION(void) yy_1_Str(yycontext *ctx, char *yytext, int yyleng)
1384 {
1385 #define a ctx->val[-1]
1386 #define yy ctx->yy
1387 #define yypos ctx->pos
1388 #define yythunkpos ctx->thunkpos
1389 yyprintf((stderr, "do yy_1_Str\n"));
1390 a = cons(mk_str(yytext), a); ;
1391 #undef yythunkpos
1392 #undef yypos
1393 #undef yy
1394 #undef a
1395 }
yy_1_Space(yycontext * ctx,char * yytext,int yyleng)1396 YY_ACTION(void) yy_1_Space(yycontext *ctx, char *yytext, int yyleng)
1397 {
1398 #define yy ctx->yy
1399 #define yypos ctx->pos
1400 #define yythunkpos ctx->thunkpos
1401 yyprintf((stderr, "do yy_1_Space\n"));
1402 yy = mk_str(" ");
1403 yy->key = SPACE; ;
1404 #undef yythunkpos
1405 #undef yypos
1406 #undef yy
1407 }
yy_3_Inlines(yycontext * ctx,char * yytext,int yyleng)1408 YY_ACTION(void) yy_3_Inlines(yycontext *ctx, char *yytext, int yyleng)
1409 {
1410 #define c ctx->val[-1]
1411 #define a ctx->val[-2]
1412 #define yy ctx->yy
1413 #define yypos ctx->pos
1414 #define yythunkpos ctx->thunkpos
1415 yyprintf((stderr, "do yy_3_Inlines\n"));
1416 yy = mk_list(LIST, a); ;
1417 #undef yythunkpos
1418 #undef yypos
1419 #undef yy
1420 #undef c
1421 #undef a
1422 }
yy_2_Inlines(yycontext * ctx,char * yytext,int yyleng)1423 YY_ACTION(void) yy_2_Inlines(yycontext *ctx, char *yytext, int yyleng)
1424 {
1425 #define c ctx->val[-1]
1426 #define a ctx->val[-2]
1427 #define yy ctx->yy
1428 #define yypos ctx->pos
1429 #define yythunkpos ctx->thunkpos
1430 yyprintf((stderr, "do yy_2_Inlines\n"));
1431 a = cons(c, a); ;
1432 #undef yythunkpos
1433 #undef yypos
1434 #undef yy
1435 #undef c
1436 #undef a
1437 }
yy_1_Inlines(yycontext * ctx,char * yytext,int yyleng)1438 YY_ACTION(void) yy_1_Inlines(yycontext *ctx, char *yytext, int yyleng)
1439 {
1440 #define c ctx->val[-1]
1441 #define a ctx->val[-2]
1442 #define yy ctx->yy
1443 #define yypos ctx->pos
1444 #define yythunkpos ctx->thunkpos
1445 yyprintf((stderr, "do yy_1_Inlines\n"));
1446 a = cons(yy, a); ;
1447 #undef yythunkpos
1448 #undef yypos
1449 #undef yy
1450 #undef c
1451 #undef a
1452 }
yy_1_StyleBlock(yycontext * ctx,char * yytext,int yyleng)1453 YY_ACTION(void) yy_1_StyleBlock(yycontext *ctx, char *yytext, int yyleng)
1454 {
1455 #define yy ctx->yy
1456 #define yypos ctx->pos
1457 #define yythunkpos ctx->thunkpos
1458 yyprintf((stderr, "do yy_1_StyleBlock\n"));
1459 if (extension(EXT_FILTER_STYLES)) {
1460 yy = mk_list(LIST, NULL);
1461 } else {
1462 yy = mk_str(yytext);
1463 yy->key = HTMLBLOCK;
1464 }
1465 ;
1466 #undef yythunkpos
1467 #undef yypos
1468 #undef yy
1469 }
yy_1_HtmlBlock(yycontext * ctx,char * yytext,int yyleng)1470 YY_ACTION(void) yy_1_HtmlBlock(yycontext *ctx, char *yytext, int yyleng)
1471 {
1472 #define yy ctx->yy
1473 #define yypos ctx->pos
1474 #define yythunkpos ctx->thunkpos
1475 yyprintf((stderr, "do yy_1_HtmlBlock\n"));
1476 if (extension(EXT_FILTER_HTML)) {
1477 yy = mk_list(LIST, NULL);
1478 } else {
1479 yy = mk_str(yytext);
1480 yy->key = HTMLBLOCK;
1481 }
1482 ;
1483 #undef yythunkpos
1484 #undef yypos
1485 #undef yy
1486 }
yy_1_OrderedList(yycontext * ctx,char * yytext,int yyleng)1487 YY_ACTION(void) yy_1_OrderedList(yycontext *ctx, char *yytext, int yyleng)
1488 {
1489 #define yy ctx->yy
1490 #define yypos ctx->pos
1491 #define yythunkpos ctx->thunkpos
1492 yyprintf((stderr, "do yy_1_OrderedList\n"));
1493 yy->key = ORDEREDLIST; ;
1494 #undef yythunkpos
1495 #undef yypos
1496 #undef yy
1497 }
yy_3_ListContinuationBlock(yycontext * ctx,char * yytext,int yyleng)1498 YY_ACTION(void) yy_3_ListContinuationBlock(yycontext *ctx, char *yytext, int yyleng)
1499 {
1500 #define a ctx->val[-1]
1501 #define yy ctx->yy
1502 #define yypos ctx->pos
1503 #define yythunkpos ctx->thunkpos
1504 yyprintf((stderr, "do yy_3_ListContinuationBlock\n"));
1505 yy = mk_str_from_list(a, false); ;
1506 #undef yythunkpos
1507 #undef yypos
1508 #undef yy
1509 #undef a
1510 }
yy_2_ListContinuationBlock(yycontext * ctx,char * yytext,int yyleng)1511 YY_ACTION(void) yy_2_ListContinuationBlock(yycontext *ctx, char *yytext, int yyleng)
1512 {
1513 #define a ctx->val[-1]
1514 #define yy ctx->yy
1515 #define yypos ctx->pos
1516 #define yythunkpos ctx->thunkpos
1517 yyprintf((stderr, "do yy_2_ListContinuationBlock\n"));
1518 a = cons(yy, a); ;
1519 #undef yythunkpos
1520 #undef yypos
1521 #undef yy
1522 #undef a
1523 }
yy_1_ListContinuationBlock(yycontext * ctx,char * yytext,int yyleng)1524 YY_ACTION(void) yy_1_ListContinuationBlock(yycontext *ctx, char *yytext, int yyleng)
1525 {
1526 #define a ctx->val[-1]
1527 #define yy ctx->yy
1528 #define yypos ctx->pos
1529 #define yythunkpos ctx->thunkpos
1530 yyprintf((stderr, "do yy_1_ListContinuationBlock\n"));
1531 if (strlen(yytext) == 0)
1532 a = cons(mk_str("\001"), a); /* block separator */
1533 else
1534 a = cons(mk_str(yytext), a); ;
1535 #undef yythunkpos
1536 #undef yypos
1537 #undef yy
1538 #undef a
1539 }
yy_3_ListBlock(yycontext * ctx,char * yytext,int yyleng)1540 YY_ACTION(void) yy_3_ListBlock(yycontext *ctx, char *yytext, int yyleng)
1541 {
1542 #define a ctx->val[-1]
1543 #define yy ctx->yy
1544 #define yypos ctx->pos
1545 #define yythunkpos ctx->thunkpos
1546 yyprintf((stderr, "do yy_3_ListBlock\n"));
1547 yy = mk_str_from_list(a, false); ;
1548 #undef yythunkpos
1549 #undef yypos
1550 #undef yy
1551 #undef a
1552 }
yy_2_ListBlock(yycontext * ctx,char * yytext,int yyleng)1553 YY_ACTION(void) yy_2_ListBlock(yycontext *ctx, char *yytext, int yyleng)
1554 {
1555 #define a ctx->val[-1]
1556 #define yy ctx->yy
1557 #define yypos ctx->pos
1558 #define yythunkpos ctx->thunkpos
1559 yyprintf((stderr, "do yy_2_ListBlock\n"));
1560 a = cons(yy, a); ;
1561 #undef yythunkpos
1562 #undef yypos
1563 #undef yy
1564 #undef a
1565 }
yy_1_ListBlock(yycontext * ctx,char * yytext,int yyleng)1566 YY_ACTION(void) yy_1_ListBlock(yycontext *ctx, char *yytext, int yyleng)
1567 {
1568 #define a ctx->val[-1]
1569 #define yy ctx->yy
1570 #define yypos ctx->pos
1571 #define yythunkpos ctx->thunkpos
1572 yyprintf((stderr, "do yy_1_ListBlock\n"));
1573 a = cons(yy, a); ;
1574 #undef yythunkpos
1575 #undef yypos
1576 #undef yy
1577 #undef a
1578 }
yy_3_ListItemTight(yycontext * ctx,char * yytext,int yyleng)1579 YY_ACTION(void) yy_3_ListItemTight(yycontext *ctx, char *yytext, int yyleng)
1580 {
1581 #define a ctx->val[-1]
1582 #define yy ctx->yy
1583 #define yypos ctx->pos
1584 #define yythunkpos ctx->thunkpos
1585 yyprintf((stderr, "do yy_3_ListItemTight\n"));
1586 element *raw;
1587 raw = mk_str_from_list(a, false);
1588 raw->key = RAW;
1589 yy = mk_element(LISTITEM);
1590 yy->children = raw;
1591 ;
1592 #undef yythunkpos
1593 #undef yypos
1594 #undef yy
1595 #undef a
1596 }
yy_2_ListItemTight(yycontext * ctx,char * yytext,int yyleng)1597 YY_ACTION(void) yy_2_ListItemTight(yycontext *ctx, char *yytext, int yyleng)
1598 {
1599 #define a ctx->val[-1]
1600 #define yy ctx->yy
1601 #define yypos ctx->pos
1602 #define yythunkpos ctx->thunkpos
1603 yyprintf((stderr, "do yy_2_ListItemTight\n"));
1604 a = cons(yy, a); ;
1605 #undef yythunkpos
1606 #undef yypos
1607 #undef yy
1608 #undef a
1609 }
yy_1_ListItemTight(yycontext * ctx,char * yytext,int yyleng)1610 YY_ACTION(void) yy_1_ListItemTight(yycontext *ctx, char *yytext, int yyleng)
1611 {
1612 #define a ctx->val[-1]
1613 #define yy ctx->yy
1614 #define yypos ctx->pos
1615 #define yythunkpos ctx->thunkpos
1616 yyprintf((stderr, "do yy_1_ListItemTight\n"));
1617 a = cons(yy, a); ;
1618 #undef yythunkpos
1619 #undef yypos
1620 #undef yy
1621 #undef a
1622 }
yy_3_ListItem(yycontext * ctx,char * yytext,int yyleng)1623 YY_ACTION(void) yy_3_ListItem(yycontext *ctx, char *yytext, int yyleng)
1624 {
1625 #define a ctx->val[-1]
1626 #define yy ctx->yy
1627 #define yypos ctx->pos
1628 #define yythunkpos ctx->thunkpos
1629 yyprintf((stderr, "do yy_3_ListItem\n"));
1630 element *raw;
1631 raw = mk_str_from_list(a, false);
1632 raw->key = RAW;
1633 yy = mk_element(LISTITEM);
1634 yy->children = raw;
1635 ;
1636 #undef yythunkpos
1637 #undef yypos
1638 #undef yy
1639 #undef a
1640 }
yy_2_ListItem(yycontext * ctx,char * yytext,int yyleng)1641 YY_ACTION(void) yy_2_ListItem(yycontext *ctx, char *yytext, int yyleng)
1642 {
1643 #define a ctx->val[-1]
1644 #define yy ctx->yy
1645 #define yypos ctx->pos
1646 #define yythunkpos ctx->thunkpos
1647 yyprintf((stderr, "do yy_2_ListItem\n"));
1648 a = cons(yy, a); ;
1649 #undef yythunkpos
1650 #undef yypos
1651 #undef yy
1652 #undef a
1653 }
yy_1_ListItem(yycontext * ctx,char * yytext,int yyleng)1654 YY_ACTION(void) yy_1_ListItem(yycontext *ctx, char *yytext, int yyleng)
1655 {
1656 #define a ctx->val[-1]
1657 #define yy ctx->yy
1658 #define yypos ctx->pos
1659 #define yythunkpos ctx->thunkpos
1660 yyprintf((stderr, "do yy_1_ListItem\n"));
1661 a = cons(yy, a); ;
1662 #undef yythunkpos
1663 #undef yypos
1664 #undef yy
1665 #undef a
1666 }
yy_2_ListLoose(yycontext * ctx,char * yytext,int yyleng)1667 YY_ACTION(void) yy_2_ListLoose(yycontext *ctx, char *yytext, int yyleng)
1668 {
1669 #define b ctx->val[-1]
1670 #define a ctx->val[-2]
1671 #define yy ctx->yy
1672 #define yypos ctx->pos
1673 #define yythunkpos ctx->thunkpos
1674 yyprintf((stderr, "do yy_2_ListLoose\n"));
1675 yy = mk_list(LIST, a); ;
1676 #undef yythunkpos
1677 #undef yypos
1678 #undef yy
1679 #undef b
1680 #undef a
1681 }
yy_1_ListLoose(yycontext * ctx,char * yytext,int yyleng)1682 YY_ACTION(void) yy_1_ListLoose(yycontext *ctx, char *yytext, int yyleng)
1683 {
1684 #define b ctx->val[-1]
1685 #define a ctx->val[-2]
1686 #define yy ctx->yy
1687 #define yypos ctx->pos
1688 #define yythunkpos ctx->thunkpos
1689 yyprintf((stderr, "do yy_1_ListLoose\n"));
1690 element *li;
1691 li = b->children;
1692 li->contents.str = realloc(li->contents.str, strlen(li->contents.str) + 3);
1693 strcat(li->contents.str, "\n\n"); /* In loose list, \n\n added to end of each element */
1694 a = cons(b, a);
1695 ;
1696 #undef yythunkpos
1697 #undef yypos
1698 #undef yy
1699 #undef b
1700 #undef a
1701 }
yy_2_ListTight(yycontext * ctx,char * yytext,int yyleng)1702 YY_ACTION(void) yy_2_ListTight(yycontext *ctx, char *yytext, int yyleng)
1703 {
1704 #define a ctx->val[-1]
1705 #define yy ctx->yy
1706 #define yypos ctx->pos
1707 #define yythunkpos ctx->thunkpos
1708 yyprintf((stderr, "do yy_2_ListTight\n"));
1709 yy = mk_list(LIST, a); ;
1710 #undef yythunkpos
1711 #undef yypos
1712 #undef yy
1713 #undef a
1714 }
yy_1_ListTight(yycontext * ctx,char * yytext,int yyleng)1715 YY_ACTION(void) yy_1_ListTight(yycontext *ctx, char *yytext, int yyleng)
1716 {
1717 #define a ctx->val[-1]
1718 #define yy ctx->yy
1719 #define yypos ctx->pos
1720 #define yythunkpos ctx->thunkpos
1721 yyprintf((stderr, "do yy_1_ListTight\n"));
1722 a = cons(yy, a); ;
1723 #undef yythunkpos
1724 #undef yypos
1725 #undef yy
1726 #undef a
1727 }
yy_1_BulletList(yycontext * ctx,char * yytext,int yyleng)1728 YY_ACTION(void) yy_1_BulletList(yycontext *ctx, char *yytext, int yyleng)
1729 {
1730 #define yy ctx->yy
1731 #define yypos ctx->pos
1732 #define yythunkpos ctx->thunkpos
1733 yyprintf((stderr, "do yy_1_BulletList\n"));
1734 yy->key = BULLETLIST; ;
1735 #undef yythunkpos
1736 #undef yypos
1737 #undef yy
1738 }
yy_1_HorizontalRule(yycontext * ctx,char * yytext,int yyleng)1739 YY_ACTION(void) yy_1_HorizontalRule(yycontext *ctx, char *yytext, int yyleng)
1740 {
1741 #define yy ctx->yy
1742 #define yypos ctx->pos
1743 #define yythunkpos ctx->thunkpos
1744 yyprintf((stderr, "do yy_1_HorizontalRule\n"));
1745 yy = mk_element(HRULE); ;
1746 #undef yythunkpos
1747 #undef yypos
1748 #undef yy
1749 }
yy_2_Verbatim(yycontext * ctx,char * yytext,int yyleng)1750 YY_ACTION(void) yy_2_Verbatim(yycontext *ctx, char *yytext, int yyleng)
1751 {
1752 #define a ctx->val[-1]
1753 #define yy ctx->yy
1754 #define yypos ctx->pos
1755 #define yythunkpos ctx->thunkpos
1756 yyprintf((stderr, "do yy_2_Verbatim\n"));
1757 yy = mk_str_from_list(a, false);
1758 yy->key = VERBATIM; ;
1759 #undef yythunkpos
1760 #undef yypos
1761 #undef yy
1762 #undef a
1763 }
yy_1_Verbatim(yycontext * ctx,char * yytext,int yyleng)1764 YY_ACTION(void) yy_1_Verbatim(yycontext *ctx, char *yytext, int yyleng)
1765 {
1766 #define a ctx->val[-1]
1767 #define yy ctx->yy
1768 #define yypos ctx->pos
1769 #define yythunkpos ctx->thunkpos
1770 yyprintf((stderr, "do yy_1_Verbatim\n"));
1771 a = cons(yy, a); ;
1772 #undef yythunkpos
1773 #undef yypos
1774 #undef yy
1775 #undef a
1776 }
yy_3_VerbatimChunk(yycontext * ctx,char * yytext,int yyleng)1777 YY_ACTION(void) yy_3_VerbatimChunk(yycontext *ctx, char *yytext, int yyleng)
1778 {
1779 #define a ctx->val[-1]
1780 #define yy ctx->yy
1781 #define yypos ctx->pos
1782 #define yythunkpos ctx->thunkpos
1783 yyprintf((stderr, "do yy_3_VerbatimChunk\n"));
1784 yy = mk_str_from_list(a, false); ;
1785 #undef yythunkpos
1786 #undef yypos
1787 #undef yy
1788 #undef a
1789 }
yy_2_VerbatimChunk(yycontext * ctx,char * yytext,int yyleng)1790 YY_ACTION(void) yy_2_VerbatimChunk(yycontext *ctx, char *yytext, int yyleng)
1791 {
1792 #define a ctx->val[-1]
1793 #define yy ctx->yy
1794 #define yypos ctx->pos
1795 #define yythunkpos ctx->thunkpos
1796 yyprintf((stderr, "do yy_2_VerbatimChunk\n"));
1797 a = cons(yy, a); ;
1798 #undef yythunkpos
1799 #undef yypos
1800 #undef yy
1801 #undef a
1802 }
yy_1_VerbatimChunk(yycontext * ctx,char * yytext,int yyleng)1803 YY_ACTION(void) yy_1_VerbatimChunk(yycontext *ctx, char *yytext, int yyleng)
1804 {
1805 #define a ctx->val[-1]
1806 #define yy ctx->yy
1807 #define yypos ctx->pos
1808 #define yythunkpos ctx->thunkpos
1809 yyprintf((stderr, "do yy_1_VerbatimChunk\n"));
1810 a = cons(mk_str("\n"), a); ;
1811 #undef yythunkpos
1812 #undef yypos
1813 #undef yy
1814 #undef a
1815 }
yy_4_BlockQuoteRaw(yycontext * ctx,char * yytext,int yyleng)1816 YY_ACTION(void) yy_4_BlockQuoteRaw(yycontext *ctx, char *yytext, int yyleng)
1817 {
1818 #define a ctx->val[-1]
1819 #define yy ctx->yy
1820 #define yypos ctx->pos
1821 #define yythunkpos ctx->thunkpos
1822 yyprintf((stderr, "do yy_4_BlockQuoteRaw\n"));
1823 yy = mk_str_from_list(a, true);
1824 yy->key = RAW;
1825 ;
1826 #undef yythunkpos
1827 #undef yypos
1828 #undef yy
1829 #undef a
1830 }
yy_3_BlockQuoteRaw(yycontext * ctx,char * yytext,int yyleng)1831 YY_ACTION(void) yy_3_BlockQuoteRaw(yycontext *ctx, char *yytext, int yyleng)
1832 {
1833 #define a ctx->val[-1]
1834 #define yy ctx->yy
1835 #define yypos ctx->pos
1836 #define yythunkpos ctx->thunkpos
1837 yyprintf((stderr, "do yy_3_BlockQuoteRaw\n"));
1838 a = cons(mk_str("\n"), a); ;
1839 #undef yythunkpos
1840 #undef yypos
1841 #undef yy
1842 #undef a
1843 }
yy_2_BlockQuoteRaw(yycontext * ctx,char * yytext,int yyleng)1844 YY_ACTION(void) yy_2_BlockQuoteRaw(yycontext *ctx, char *yytext, int yyleng)
1845 {
1846 #define a ctx->val[-1]
1847 #define yy ctx->yy
1848 #define yypos ctx->pos
1849 #define yythunkpos ctx->thunkpos
1850 yyprintf((stderr, "do yy_2_BlockQuoteRaw\n"));
1851 a = cons(yy, a); ;
1852 #undef yythunkpos
1853 #undef yypos
1854 #undef yy
1855 #undef a
1856 }
yy_1_BlockQuoteRaw(yycontext * ctx,char * yytext,int yyleng)1857 YY_ACTION(void) yy_1_BlockQuoteRaw(yycontext *ctx, char *yytext, int yyleng)
1858 {
1859 #define a ctx->val[-1]
1860 #define yy ctx->yy
1861 #define yypos ctx->pos
1862 #define yythunkpos ctx->thunkpos
1863 yyprintf((stderr, "do yy_1_BlockQuoteRaw\n"));
1864 a = cons(yy, a); ;
1865 #undef yythunkpos
1866 #undef yypos
1867 #undef yy
1868 #undef a
1869 }
yy_1_BlockQuote(yycontext * ctx,char * yytext,int yyleng)1870 YY_ACTION(void) yy_1_BlockQuote(yycontext *ctx, char *yytext, int yyleng)
1871 {
1872 #define a ctx->val[-1]
1873 #define yy ctx->yy
1874 #define yypos ctx->pos
1875 #define yythunkpos ctx->thunkpos
1876 yyprintf((stderr, "do yy_1_BlockQuote\n"));
1877 yy = mk_element(BLOCKQUOTE);
1878 yy->children = a;
1879 ;
1880 #undef yythunkpos
1881 #undef yypos
1882 #undef yy
1883 #undef a
1884 }
yy_2_SetextHeading2(yycontext * ctx,char * yytext,int yyleng)1885 YY_ACTION(void) yy_2_SetextHeading2(yycontext *ctx, char *yytext, int yyleng)
1886 {
1887 #define a ctx->val[-1]
1888 #define yy ctx->yy
1889 #define yypos ctx->pos
1890 #define yythunkpos ctx->thunkpos
1891 yyprintf((stderr, "do yy_2_SetextHeading2\n"));
1892 yy = mk_list(H2, a); ;
1893 #undef yythunkpos
1894 #undef yypos
1895 #undef yy
1896 #undef a
1897 }
yy_1_SetextHeading2(yycontext * ctx,char * yytext,int yyleng)1898 YY_ACTION(void) yy_1_SetextHeading2(yycontext *ctx, char *yytext, int yyleng)
1899 {
1900 #define a ctx->val[-1]
1901 #define yy ctx->yy
1902 #define yypos ctx->pos
1903 #define yythunkpos ctx->thunkpos
1904 yyprintf((stderr, "do yy_1_SetextHeading2\n"));
1905 a = cons(yy, a); ;
1906 #undef yythunkpos
1907 #undef yypos
1908 #undef yy
1909 #undef a
1910 }
yy_2_SetextHeading1(yycontext * ctx,char * yytext,int yyleng)1911 YY_ACTION(void) yy_2_SetextHeading1(yycontext *ctx, char *yytext, int yyleng)
1912 {
1913 #define a ctx->val[-1]
1914 #define yy ctx->yy
1915 #define yypos ctx->pos
1916 #define yythunkpos ctx->thunkpos
1917 yyprintf((stderr, "do yy_2_SetextHeading1\n"));
1918 yy = mk_list(H1, a); ;
1919 #undef yythunkpos
1920 #undef yypos
1921 #undef yy
1922 #undef a
1923 }
yy_1_SetextHeading1(yycontext * ctx,char * yytext,int yyleng)1924 YY_ACTION(void) yy_1_SetextHeading1(yycontext *ctx, char *yytext, int yyleng)
1925 {
1926 #define a ctx->val[-1]
1927 #define yy ctx->yy
1928 #define yypos ctx->pos
1929 #define yythunkpos ctx->thunkpos
1930 yyprintf((stderr, "do yy_1_SetextHeading1\n"));
1931 a = cons(yy, a); ;
1932 #undef yythunkpos
1933 #undef yypos
1934 #undef yy
1935 #undef a
1936 }
yy_2_AtxHeading(yycontext * ctx,char * yytext,int yyleng)1937 YY_ACTION(void) yy_2_AtxHeading(yycontext *ctx, char *yytext, int yyleng)
1938 {
1939 #define a ctx->val[-1]
1940 #define s ctx->val[-2]
1941 #define yy ctx->yy
1942 #define yypos ctx->pos
1943 #define yythunkpos ctx->thunkpos
1944 yyprintf((stderr, "do yy_2_AtxHeading\n"));
1945 yy = mk_list(s->key, a);
1946 free(s); ;
1947 #undef yythunkpos
1948 #undef yypos
1949 #undef yy
1950 #undef a
1951 #undef s
1952 }
yy_1_AtxHeading(yycontext * ctx,char * yytext,int yyleng)1953 YY_ACTION(void) yy_1_AtxHeading(yycontext *ctx, char *yytext, int yyleng)
1954 {
1955 #define a ctx->val[-1]
1956 #define s ctx->val[-2]
1957 #define yy ctx->yy
1958 #define yypos ctx->pos
1959 #define yythunkpos ctx->thunkpos
1960 yyprintf((stderr, "do yy_1_AtxHeading\n"));
1961 a = cons(yy, a); ;
1962 #undef yythunkpos
1963 #undef yypos
1964 #undef yy
1965 #undef a
1966 #undef s
1967 }
yy_1_AtxStart(yycontext * ctx,char * yytext,int yyleng)1968 YY_ACTION(void) yy_1_AtxStart(yycontext *ctx, char *yytext, int yyleng)
1969 {
1970 #define yy ctx->yy
1971 #define yypos ctx->pos
1972 #define yythunkpos ctx->thunkpos
1973 yyprintf((stderr, "do yy_1_AtxStart\n"));
1974 yy = mk_element(H1 + (strlen(yytext) - 1)); ;
1975 #undef yythunkpos
1976 #undef yypos
1977 #undef yy
1978 }
yy_1_Plain(yycontext * ctx,char * yytext,int yyleng)1979 YY_ACTION(void) yy_1_Plain(yycontext *ctx, char *yytext, int yyleng)
1980 {
1981 #define a ctx->val[-1]
1982 #define yy ctx->yy
1983 #define yypos ctx->pos
1984 #define yythunkpos ctx->thunkpos
1985 yyprintf((stderr, "do yy_1_Plain\n"));
1986 yy = a; yy->key = PLAIN; ;
1987 #undef yythunkpos
1988 #undef yypos
1989 #undef yy
1990 #undef a
1991 }
yy_1_Para(yycontext * ctx,char * yytext,int yyleng)1992 YY_ACTION(void) yy_1_Para(yycontext *ctx, char *yytext, int yyleng)
1993 {
1994 #define a ctx->val[-1]
1995 #define yy ctx->yy
1996 #define yypos ctx->pos
1997 #define yythunkpos ctx->thunkpos
1998 yyprintf((stderr, "do yy_1_Para\n"));
1999 yy = a; yy->key = PARA; ;
2000 #undef yythunkpos
2001 #undef yypos
2002 #undef yy
2003 #undef a
2004 }
yy_2_Doc(yycontext * ctx,char * yytext,int yyleng)2005 YY_ACTION(void) yy_2_Doc(yycontext *ctx, char *yytext, int yyleng)
2006 {
2007 #define a ctx->val[-1]
2008 #define yy ctx->yy
2009 #define yypos ctx->pos
2010 #define yythunkpos ctx->thunkpos
2011 yyprintf((stderr, "do yy_2_Doc\n"));
2012 parse_result = reverse(a); ;
2013 #undef yythunkpos
2014 #undef yypos
2015 #undef yy
2016 #undef a
2017 }
yy_1_Doc(yycontext * ctx,char * yytext,int yyleng)2018 YY_ACTION(void) yy_1_Doc(yycontext *ctx, char *yytext, int yyleng)
2019 {
2020 #define a ctx->val[-1]
2021 #define yy ctx->yy
2022 #define yypos ctx->pos
2023 #define yythunkpos ctx->thunkpos
2024 yyprintf((stderr, "do yy_1_Doc\n"));
2025 a = cons(yy, a); ;
2026 #undef yythunkpos
2027 #undef yypos
2028 #undef yy
2029 #undef a
2030 }
2031
yy_Notes(yycontext * ctx)2032 YY_RULE(int) yy_Notes(yycontext *ctx)
2033 { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyDo(ctx, yyPush, 2, 0);
2034 yyprintf((stderr, "%s\n", "Notes")); if (!yy_StartList(ctx)) goto l1; yyDo(ctx, yySet, -2, 0);
2035 l2:;
2036 { int yypos3= ctx->pos, yythunkpos3= ctx->thunkpos;
2037 { int yypos4= ctx->pos, yythunkpos4= ctx->thunkpos; if (!yy_Note(ctx)) goto l5; yyDo(ctx, yySet, -1, 0); yyDo(ctx, yy_1_Notes, ctx->begin, ctx->end); goto l4;
2038 l5:; ctx->pos= yypos4; ctx->thunkpos= yythunkpos4; if (!yy_SkipBlock(ctx)) goto l3;
2039 }
2040 l4:; goto l2;
2041 l3:; ctx->pos= yypos3; ctx->thunkpos= yythunkpos3;
2042 } yyDo(ctx, yy_2_Notes, ctx->begin, ctx->end);
2043 yyprintf((stderr, " ok %s @ %s\n", "Notes", ctx->buf+ctx->pos)); yyDo(ctx, yyPop, 2, 0);
2044 return 1;
2045 l1:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0;
2046 yyprintf((stderr, " fail %s @ %s\n", "Notes", ctx->buf+ctx->pos));
2047 return 0;
2048 }
yy_RawNoteBlock(yycontext * ctx)2049 YY_RULE(int) yy_RawNoteBlock(yycontext *ctx)
2050 { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyDo(ctx, yyPush, 1, 0);
2051 yyprintf((stderr, "%s\n", "RawNoteBlock")); if (!yy_StartList(ctx)) goto l6; yyDo(ctx, yySet, -1, 0);
2052 { int yypos9= ctx->pos, yythunkpos9= ctx->thunkpos; if (!yy_BlankLine(ctx)) goto l9; goto l6;
2053 l9:; ctx->pos= yypos9; ctx->thunkpos= yythunkpos9;
2054 } if (!yy_OptionallyIndentedLine(ctx)) goto l6; yyDo(ctx, yy_1_RawNoteBlock, ctx->begin, ctx->end);
2055 l7:;
2056 { int yypos8= ctx->pos, yythunkpos8= ctx->thunkpos;
2057 { int yypos10= ctx->pos, yythunkpos10= ctx->thunkpos; if (!yy_BlankLine(ctx)) goto l10; goto l8;
2058 l10:; ctx->pos= yypos10; ctx->thunkpos= yythunkpos10;
2059 } if (!yy_OptionallyIndentedLine(ctx)) goto l8; yyDo(ctx, yy_1_RawNoteBlock, ctx->begin, ctx->end); goto l7;
2060 l8:; ctx->pos= yypos8; ctx->thunkpos= yythunkpos8;
2061 } yyText(ctx, ctx->begin, ctx->end); if (!(YY_BEGIN)) goto l6;
2062 l11:;
2063 { int yypos12= ctx->pos, yythunkpos12= ctx->thunkpos; if (!yy_BlankLine(ctx)) goto l12; goto l11;
2064 l12:; ctx->pos= yypos12; ctx->thunkpos= yythunkpos12;
2065 } yyText(ctx, ctx->begin, ctx->end); if (!(YY_END)) goto l6; yyDo(ctx, yy_2_RawNoteBlock, ctx->begin, ctx->end); yyDo(ctx, yy_3_RawNoteBlock, ctx->begin, ctx->end);
2066 yyprintf((stderr, " ok %s @ %s\n", "RawNoteBlock", ctx->buf+ctx->pos)); yyDo(ctx, yyPop, 1, 0);
2067 return 1;
2068 l6:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0;
2069 yyprintf((stderr, " fail %s @ %s\n", "RawNoteBlock", ctx->buf+ctx->pos));
2070 return 0;
2071 }
yy_RawNoteReference(yycontext * ctx)2072 YY_RULE(int) yy_RawNoteReference(yycontext *ctx)
2073 { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos;
2074 yyprintf((stderr, "%s\n", "RawNoteReference")); if (!yymatchString(ctx, "[^")) goto l13; yyText(ctx, ctx->begin, ctx->end); if (!(YY_BEGIN)) goto l13;
2075 { int yypos16= ctx->pos, yythunkpos16= ctx->thunkpos; if (!yy_Newline(ctx)) goto l16; goto l13;
2076 l16:; ctx->pos= yypos16; ctx->thunkpos= yythunkpos16;
2077 }
2078 { int yypos17= ctx->pos, yythunkpos17= ctx->thunkpos; if (!yymatchChar(ctx, ']')) goto l17; goto l13;
2079 l17:; ctx->pos= yypos17; ctx->thunkpos= yythunkpos17;
2080 } if (!yymatchDot(ctx)) goto l13;
2081 l14:;
2082 { int yypos15= ctx->pos, yythunkpos15= ctx->thunkpos;
2083 { int yypos18= ctx->pos, yythunkpos18= ctx->thunkpos; if (!yy_Newline(ctx)) goto l18; goto l15;
2084 l18:; ctx->pos= yypos18; ctx->thunkpos= yythunkpos18;
2085 }
2086 { int yypos19= ctx->pos, yythunkpos19= ctx->thunkpos; if (!yymatchChar(ctx, ']')) goto l19; goto l15;
2087 l19:; ctx->pos= yypos19; ctx->thunkpos= yythunkpos19;
2088 } if (!yymatchDot(ctx)) goto l15; goto l14;
2089 l15:; ctx->pos= yypos15; ctx->thunkpos= yythunkpos15;
2090 } yyText(ctx, ctx->begin, ctx->end); if (!(YY_END)) goto l13; if (!yymatchChar(ctx, ']')) goto l13; yyDo(ctx, yy_1_RawNoteReference, ctx->begin, ctx->end);
2091 yyprintf((stderr, " ok %s @ %s\n", "RawNoteReference", ctx->buf+ctx->pos));
2092 return 1;
2093 l13:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0;
2094 yyprintf((stderr, " fail %s @ %s\n", "RawNoteReference", ctx->buf+ctx->pos));
2095 return 0;
2096 }
yy_DoubleQuoteEnd(yycontext * ctx)2097 YY_RULE(int) yy_DoubleQuoteEnd(yycontext *ctx)
2098 { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos;
2099 yyprintf((stderr, "%s\n", "DoubleQuoteEnd")); if (!yymatchChar(ctx, '"')) goto l20;
2100 yyprintf((stderr, " ok %s @ %s\n", "DoubleQuoteEnd", ctx->buf+ctx->pos));
2101 return 1;
2102 l20:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0;
2103 yyprintf((stderr, " fail %s @ %s\n", "DoubleQuoteEnd", ctx->buf+ctx->pos));
2104 return 0;
2105 }
yy_DoubleQuoteStart(yycontext * ctx)2106 YY_RULE(int) yy_DoubleQuoteStart(yycontext *ctx)
2107 { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos;
2108 yyprintf((stderr, "%s\n", "DoubleQuoteStart")); if (!yymatchChar(ctx, '"')) goto l21;
2109 yyprintf((stderr, " ok %s @ %s\n", "DoubleQuoteStart", ctx->buf+ctx->pos));
2110 return 1;
2111 l21:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0;
2112 yyprintf((stderr, " fail %s @ %s\n", "DoubleQuoteStart", ctx->buf+ctx->pos));
2113 return 0;
2114 }
yy_SingleQuoteEnd(yycontext * ctx)2115 YY_RULE(int) yy_SingleQuoteEnd(yycontext *ctx)
2116 { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos;
2117 yyprintf((stderr, "%s\n", "SingleQuoteEnd")); if (!yymatchChar(ctx, '\'')) goto l22;
2118 { int yypos23= ctx->pos, yythunkpos23= ctx->thunkpos; if (!yy_Alphanumeric(ctx)) goto l23; goto l22;
2119 l23:; ctx->pos= yypos23; ctx->thunkpos= yythunkpos23;
2120 }
2121 yyprintf((stderr, " ok %s @ %s\n", "SingleQuoteEnd", ctx->buf+ctx->pos));
2122 return 1;
2123 l22:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0;
2124 yyprintf((stderr, " fail %s @ %s\n", "SingleQuoteEnd", ctx->buf+ctx->pos));
2125 return 0;
2126 }
yy_SingleQuoteStart(yycontext * ctx)2127 YY_RULE(int) yy_SingleQuoteStart(yycontext *ctx)
2128 { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos;
2129 yyprintf((stderr, "%s\n", "SingleQuoteStart")); if (!yymatchChar(ctx, '\'')) goto l24;
2130 { int yypos25= ctx->pos, yythunkpos25= ctx->thunkpos;
2131 { int yypos26= ctx->pos, yythunkpos26= ctx->thunkpos; if (!yy_Spacechar(ctx)) goto l27; goto l26;
2132 l27:; ctx->pos= yypos26; ctx->thunkpos= yythunkpos26; if (!yy_Newline(ctx)) goto l25;
2133 }
2134 l26:; goto l24;
2135 l25:; ctx->pos= yypos25; ctx->thunkpos= yythunkpos25;
2136 }
2137 yyprintf((stderr, " ok %s @ %s\n", "SingleQuoteStart", ctx->buf+ctx->pos));
2138 return 1;
2139 l24:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0;
2140 yyprintf((stderr, " fail %s @ %s\n", "SingleQuoteStart", ctx->buf+ctx->pos));
2141 return 0;
2142 }
yy_EnDash(yycontext * ctx)2143 YY_RULE(int) yy_EnDash(yycontext *ctx)
2144 { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos;
2145 yyprintf((stderr, "%s\n", "EnDash")); if (!yymatchChar(ctx, '-')) goto l28;
2146 { int yypos29= ctx->pos, yythunkpos29= ctx->thunkpos; if (!yy_Digit(ctx)) goto l28; ctx->pos= yypos29; ctx->thunkpos= yythunkpos29;
2147 } yyDo(ctx, yy_1_EnDash, ctx->begin, ctx->end);
2148 yyprintf((stderr, " ok %s @ %s\n", "EnDash", ctx->buf+ctx->pos));
2149 return 1;
2150 l28:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0;
2151 yyprintf((stderr, " fail %s @ %s\n", "EnDash", ctx->buf+ctx->pos));
2152 return 0;
2153 }
yy_EmDash(yycontext * ctx)2154 YY_RULE(int) yy_EmDash(yycontext *ctx)
2155 { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos;
2156 yyprintf((stderr, "%s\n", "EmDash"));
2157 { int yypos31= ctx->pos, yythunkpos31= ctx->thunkpos; if (!yymatchString(ctx, "---")) goto l32; goto l31;
2158 l32:; ctx->pos= yypos31; ctx->thunkpos= yythunkpos31; if (!yymatchString(ctx, "--")) goto l30;
2159 }
2160 l31:; yyDo(ctx, yy_1_EmDash, ctx->begin, ctx->end);
2161 yyprintf((stderr, " ok %s @ %s\n", "EmDash", ctx->buf+ctx->pos));
2162 return 1;
2163 l30:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0;
2164 yyprintf((stderr, " fail %s @ %s\n", "EmDash", ctx->buf+ctx->pos));
2165 return 0;
2166 }
yy_Apostrophe(yycontext * ctx)2167 YY_RULE(int) yy_Apostrophe(yycontext *ctx)
2168 { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos;
2169 yyprintf((stderr, "%s\n", "Apostrophe")); if (!yymatchChar(ctx, '\'')) goto l33; yyDo(ctx, yy_1_Apostrophe, ctx->begin, ctx->end);
2170 yyprintf((stderr, " ok %s @ %s\n", "Apostrophe", ctx->buf+ctx->pos));
2171 return 1;
2172 l33:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0;
2173 yyprintf((stderr, " fail %s @ %s\n", "Apostrophe", ctx->buf+ctx->pos));
2174 return 0;
2175 }
yy_DoubleQuoted(yycontext * ctx)2176 YY_RULE(int) yy_DoubleQuoted(yycontext *ctx)
2177 { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyDo(ctx, yyPush, 2, 0);
2178 yyprintf((stderr, "%s\n", "DoubleQuoted")); if (!yy_DoubleQuoteStart(ctx)) goto l34; if (!yy_StartList(ctx)) goto l34; yyDo(ctx, yySet, -2, 0);
2179 { int yypos37= ctx->pos, yythunkpos37= ctx->thunkpos; if (!yy_DoubleQuoteEnd(ctx)) goto l37; goto l34;
2180 l37:; ctx->pos= yypos37; ctx->thunkpos= yythunkpos37;
2181 } if (!yy_Inline(ctx)) goto l34; yyDo(ctx, yySet, -1, 0); yyDo(ctx, yy_1_DoubleQuoted, ctx->begin, ctx->end);
2182 l35:;
2183 { int yypos36= ctx->pos, yythunkpos36= ctx->thunkpos;
2184 { int yypos38= ctx->pos, yythunkpos38= ctx->thunkpos; if (!yy_DoubleQuoteEnd(ctx)) goto l38; goto l36;
2185 l38:; ctx->pos= yypos38; ctx->thunkpos= yythunkpos38;
2186 } if (!yy_Inline(ctx)) goto l36; yyDo(ctx, yySet, -1, 0); yyDo(ctx, yy_1_DoubleQuoted, ctx->begin, ctx->end); goto l35;
2187 l36:; ctx->pos= yypos36; ctx->thunkpos= yythunkpos36;
2188 } if (!yy_DoubleQuoteEnd(ctx)) goto l34; yyDo(ctx, yy_2_DoubleQuoted, ctx->begin, ctx->end);
2189 yyprintf((stderr, " ok %s @ %s\n", "DoubleQuoted", ctx->buf+ctx->pos)); yyDo(ctx, yyPop, 2, 0);
2190 return 1;
2191 l34:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0;
2192 yyprintf((stderr, " fail %s @ %s\n", "DoubleQuoted", ctx->buf+ctx->pos));
2193 return 0;
2194 }
yy_SingleQuoted(yycontext * ctx)2195 YY_RULE(int) yy_SingleQuoted(yycontext *ctx)
2196 { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyDo(ctx, yyPush, 2, 0);
2197 yyprintf((stderr, "%s\n", "SingleQuoted")); if (!yy_SingleQuoteStart(ctx)) goto l39; if (!yy_StartList(ctx)) goto l39; yyDo(ctx, yySet, -2, 0);
2198 { int yypos42= ctx->pos, yythunkpos42= ctx->thunkpos; if (!yy_SingleQuoteEnd(ctx)) goto l42; goto l39;
2199 l42:; ctx->pos= yypos42; ctx->thunkpos= yythunkpos42;
2200 } if (!yy_Inline(ctx)) goto l39; yyDo(ctx, yySet, -1, 0); yyDo(ctx, yy_1_SingleQuoted, ctx->begin, ctx->end);
2201 l40:;
2202 { int yypos41= ctx->pos, yythunkpos41= ctx->thunkpos;
2203 { int yypos43= ctx->pos, yythunkpos43= ctx->thunkpos; if (!yy_SingleQuoteEnd(ctx)) goto l43; goto l41;
2204 l43:; ctx->pos= yypos43; ctx->thunkpos= yythunkpos43;
2205 } if (!yy_Inline(ctx)) goto l41; yyDo(ctx, yySet, -1, 0); yyDo(ctx, yy_1_SingleQuoted, ctx->begin, ctx->end); goto l40;
2206 l41:; ctx->pos= yypos41; ctx->thunkpos= yythunkpos41;
2207 } if (!yy_SingleQuoteEnd(ctx)) goto l39; yyDo(ctx, yy_2_SingleQuoted, ctx->begin, ctx->end);
2208 yyprintf((stderr, " ok %s @ %s\n", "SingleQuoted", ctx->buf+ctx->pos)); yyDo(ctx, yyPop, 2, 0);
2209 return 1;
2210 l39:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0;
2211 yyprintf((stderr, " fail %s @ %s\n", "SingleQuoted", ctx->buf+ctx->pos));
2212 return 0;
2213 }
yy_Dash(yycontext * ctx)2214 YY_RULE(int) yy_Dash(yycontext *ctx)
2215 { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos;
2216 yyprintf((stderr, "%s\n", "Dash"));
2217 { int yypos45= ctx->pos, yythunkpos45= ctx->thunkpos; if (!yy_EmDash(ctx)) goto l46; goto l45;
2218 l46:; ctx->pos= yypos45; ctx->thunkpos= yythunkpos45; if (!yy_EnDash(ctx)) goto l44;
2219 }
2220 l45:;
2221 yyprintf((stderr, " ok %s @ %s\n", "Dash", ctx->buf+ctx->pos));
2222 return 1;
2223 l44:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0;
2224 yyprintf((stderr, " fail %s @ %s\n", "Dash", ctx->buf+ctx->pos));
2225 return 0;
2226 }
yy_Ellipsis(yycontext * ctx)2227 YY_RULE(int) yy_Ellipsis(yycontext *ctx)
2228 { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos;
2229 yyprintf((stderr, "%s\n", "Ellipsis"));
2230 { int yypos48= ctx->pos, yythunkpos48= ctx->thunkpos; if (!yymatchString(ctx, "...")) goto l49; goto l48;
2231 l49:; ctx->pos= yypos48; ctx->thunkpos= yythunkpos48; if (!yymatchString(ctx, ". . .")) goto l47;
2232 }
2233 l48:; yyDo(ctx, yy_1_Ellipsis, ctx->begin, ctx->end);
2234 yyprintf((stderr, " ok %s @ %s\n", "Ellipsis", ctx->buf+ctx->pos));
2235 return 1;
2236 l47:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0;
2237 yyprintf((stderr, " fail %s @ %s\n", "Ellipsis", ctx->buf+ctx->pos));
2238 return 0;
2239 }
yy_Digit(yycontext * ctx)2240 YY_RULE(int) yy_Digit(yycontext *ctx)
2241 { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos;
2242 yyprintf((stderr, "%s\n", "Digit")); if (!yymatchClass(ctx, (unsigned char *)"\000\000\000\000\000\000\377\003\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000")) goto l50;
2243 yyprintf((stderr, " ok %s @ %s\n", "Digit", ctx->buf+ctx->pos));
2244 return 1;
2245 l50:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0;
2246 yyprintf((stderr, " fail %s @ %s\n", "Digit", ctx->buf+ctx->pos));
2247 return 0;
2248 }
yy_ExtendedSpecialChar(yycontext * ctx)2249 YY_RULE(int) yy_ExtendedSpecialChar(yycontext *ctx)
2250 { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos;
2251 yyprintf((stderr, "%s\n", "ExtendedSpecialChar"));
2252 { int yypos52= ctx->pos, yythunkpos52= ctx->thunkpos; yyText(ctx, ctx->begin, ctx->end); if (!( extension(EXT_SMART) )) goto l53;
2253 { int yypos54= ctx->pos, yythunkpos54= ctx->thunkpos; if (!yymatchChar(ctx, '.')) goto l55; goto l54;
2254 l55:; ctx->pos= yypos54; ctx->thunkpos= yythunkpos54; if (!yymatchChar(ctx, '-')) goto l56; goto l54;
2255 l56:; ctx->pos= yypos54; ctx->thunkpos= yythunkpos54; if (!yymatchChar(ctx, '\'')) goto l57; goto l54;
2256 l57:; ctx->pos= yypos54; ctx->thunkpos= yythunkpos54; if (!yymatchChar(ctx, '"')) goto l53;
2257 }
2258 l54:; goto l52;
2259 l53:; ctx->pos= yypos52; ctx->thunkpos= yythunkpos52; yyText(ctx, ctx->begin, ctx->end); if (!( extension(EXT_NOTES) )) goto l51; if (!yymatchChar(ctx, '^')) goto l51;
2260 }
2261 l52:;
2262 yyprintf((stderr, " ok %s @ %s\n", "ExtendedSpecialChar", ctx->buf+ctx->pos));
2263 return 1;
2264 l51:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0;
2265 yyprintf((stderr, " fail %s @ %s\n", "ExtendedSpecialChar", ctx->buf+ctx->pos));
2266 return 0;
2267 }
yy_AlphanumericAscii(yycontext * ctx)2268 YY_RULE(int) yy_AlphanumericAscii(yycontext *ctx)
2269 { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos;
2270 yyprintf((stderr, "%s\n", "AlphanumericAscii")); if (!yymatchClass(ctx, (unsigned char *)"\000\000\000\000\000\000\377\003\376\377\377\007\376\377\377\007\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000")) goto l58;
2271 yyprintf((stderr, " ok %s @ %s\n", "AlphanumericAscii", ctx->buf+ctx->pos));
2272 return 1;
2273 l58:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0;
2274 yyprintf((stderr, " fail %s @ %s\n", "AlphanumericAscii", ctx->buf+ctx->pos));
2275 return 0;
2276 }
yy_Quoted(yycontext * ctx)2277 YY_RULE(int) yy_Quoted(yycontext *ctx)
2278 { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos;
2279 yyprintf((stderr, "%s\n", "Quoted"));
2280 { int yypos60= ctx->pos, yythunkpos60= ctx->thunkpos; if (!yymatchChar(ctx, '"')) goto l61;
2281 l62:;
2282 { int yypos63= ctx->pos, yythunkpos63= ctx->thunkpos;
2283 { int yypos64= ctx->pos, yythunkpos64= ctx->thunkpos; if (!yymatchChar(ctx, '"')) goto l64; goto l63;
2284 l64:; ctx->pos= yypos64; ctx->thunkpos= yythunkpos64;
2285 } if (!yymatchDot(ctx)) goto l63; goto l62;
2286 l63:; ctx->pos= yypos63; ctx->thunkpos= yythunkpos63;
2287 } if (!yymatchChar(ctx, '"')) goto l61; goto l60;
2288 l61:; ctx->pos= yypos60; ctx->thunkpos= yythunkpos60; if (!yymatchChar(ctx, '\'')) goto l59;
2289 l65:;
2290 { int yypos66= ctx->pos, yythunkpos66= ctx->thunkpos;
2291 { int yypos67= ctx->pos, yythunkpos67= ctx->thunkpos; if (!yymatchChar(ctx, '\'')) goto l67; goto l66;
2292 l67:; ctx->pos= yypos67; ctx->thunkpos= yythunkpos67;
2293 } if (!yymatchDot(ctx)) goto l66; goto l65;
2294 l66:; ctx->pos= yypos66; ctx->thunkpos= yythunkpos66;
2295 } if (!yymatchChar(ctx, '\'')) goto l59;
2296 }
2297 l60:;
2298 yyprintf((stderr, " ok %s @ %s\n", "Quoted", ctx->buf+ctx->pos));
2299 return 1;
2300 l59:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0;
2301 yyprintf((stderr, " fail %s @ %s\n", "Quoted", ctx->buf+ctx->pos));
2302 return 0;
2303 }
yy_HtmlTag(yycontext * ctx)2304 YY_RULE(int) yy_HtmlTag(yycontext *ctx)
2305 { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos;
2306 yyprintf((stderr, "%s\n", "HtmlTag")); if (!yymatchChar(ctx, '<')) goto l68; if (!yy_Spnl(ctx)) goto l68;
2307 { int yypos69= ctx->pos, yythunkpos69= ctx->thunkpos; if (!yymatchChar(ctx, '/')) goto l69; goto l70;
2308 l69:; ctx->pos= yypos69; ctx->thunkpos= yythunkpos69;
2309 }
2310 l70:; if (!yy_AlphanumericAscii(ctx)) goto l68;
2311 l71:;
2312 { int yypos72= ctx->pos, yythunkpos72= ctx->thunkpos; if (!yy_AlphanumericAscii(ctx)) goto l72; goto l71;
2313 l72:; ctx->pos= yypos72; ctx->thunkpos= yythunkpos72;
2314 } if (!yy_Spnl(ctx)) goto l68;
2315 l73:;
2316 { int yypos74= ctx->pos, yythunkpos74= ctx->thunkpos; if (!yy_HtmlAttribute(ctx)) goto l74; goto l73;
2317 l74:; ctx->pos= yypos74; ctx->thunkpos= yythunkpos74;
2318 }
2319 { int yypos75= ctx->pos, yythunkpos75= ctx->thunkpos; if (!yymatchChar(ctx, '/')) goto l75; goto l76;
2320 l75:; ctx->pos= yypos75; ctx->thunkpos= yythunkpos75;
2321 }
2322 l76:; if (!yy_Spnl(ctx)) goto l68; if (!yymatchChar(ctx, '>')) goto l68;
2323 yyprintf((stderr, " ok %s @ %s\n", "HtmlTag", ctx->buf+ctx->pos));
2324 return 1;
2325 l68:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0;
2326 yyprintf((stderr, " fail %s @ %s\n", "HtmlTag", ctx->buf+ctx->pos));
2327 return 0;
2328 }
yy_Ticks5(yycontext * ctx)2329 YY_RULE(int) yy_Ticks5(yycontext *ctx)
2330 { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos;
2331 yyprintf((stderr, "%s\n", "Ticks5")); if (!yymatchString(ctx, "`````")) goto l77;
2332 { int yypos78= ctx->pos, yythunkpos78= ctx->thunkpos; if (!yymatchChar(ctx, '`')) goto l78; goto l77;
2333 l78:; ctx->pos= yypos78; ctx->thunkpos= yythunkpos78;
2334 }
2335 yyprintf((stderr, " ok %s @ %s\n", "Ticks5", ctx->buf+ctx->pos));
2336 return 1;
2337 l77:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0;
2338 yyprintf((stderr, " fail %s @ %s\n", "Ticks5", ctx->buf+ctx->pos));
2339 return 0;
2340 }
yy_Ticks4(yycontext * ctx)2341 YY_RULE(int) yy_Ticks4(yycontext *ctx)
2342 { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos;
2343 yyprintf((stderr, "%s\n", "Ticks4")); if (!yymatchString(ctx, "````")) goto l79;
2344 { int yypos80= ctx->pos, yythunkpos80= ctx->thunkpos; if (!yymatchChar(ctx, '`')) goto l80; goto l79;
2345 l80:; ctx->pos= yypos80; ctx->thunkpos= yythunkpos80;
2346 }
2347 yyprintf((stderr, " ok %s @ %s\n", "Ticks4", ctx->buf+ctx->pos));
2348 return 1;
2349 l79:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0;
2350 yyprintf((stderr, " fail %s @ %s\n", "Ticks4", ctx->buf+ctx->pos));
2351 return 0;
2352 }
yy_Ticks3(yycontext * ctx)2353 YY_RULE(int) yy_Ticks3(yycontext *ctx)
2354 { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos;
2355 yyprintf((stderr, "%s\n", "Ticks3")); if (!yymatchString(ctx, "```")) goto l81;
2356 { int yypos82= ctx->pos, yythunkpos82= ctx->thunkpos; if (!yymatchChar(ctx, '`')) goto l82; goto l81;
2357 l82:; ctx->pos= yypos82; ctx->thunkpos= yythunkpos82;
2358 }
2359 yyprintf((stderr, " ok %s @ %s\n", "Ticks3", ctx->buf+ctx->pos));
2360 return 1;
2361 l81:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0;
2362 yyprintf((stderr, " fail %s @ %s\n", "Ticks3", ctx->buf+ctx->pos));
2363 return 0;
2364 }
yy_Ticks2(yycontext * ctx)2365 YY_RULE(int) yy_Ticks2(yycontext *ctx)
2366 { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos;
2367 yyprintf((stderr, "%s\n", "Ticks2")); if (!yymatchString(ctx, "``")) goto l83;
2368 { int yypos84= ctx->pos, yythunkpos84= ctx->thunkpos; if (!yymatchChar(ctx, '`')) goto l84; goto l83;
2369 l84:; ctx->pos= yypos84; ctx->thunkpos= yythunkpos84;
2370 }
2371 yyprintf((stderr, " ok %s @ %s\n", "Ticks2", ctx->buf+ctx->pos));
2372 return 1;
2373 l83:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0;
2374 yyprintf((stderr, " fail %s @ %s\n", "Ticks2", ctx->buf+ctx->pos));
2375 return 0;
2376 }
yy_Ticks1(yycontext * ctx)2377 YY_RULE(int) yy_Ticks1(yycontext *ctx)
2378 { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos;
2379 yyprintf((stderr, "%s\n", "Ticks1")); if (!yymatchChar(ctx, '`')) goto l85;
2380 { int yypos86= ctx->pos, yythunkpos86= ctx->thunkpos; if (!yymatchChar(ctx, '`')) goto l86; goto l85;
2381 l86:; ctx->pos= yypos86; ctx->thunkpos= yythunkpos86;
2382 }
2383 yyprintf((stderr, " ok %s @ %s\n", "Ticks1", ctx->buf+ctx->pos));
2384 return 1;
2385 l85:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0;
2386 yyprintf((stderr, " fail %s @ %s\n", "Ticks1", ctx->buf+ctx->pos));
2387 return 0;
2388 }
yy_SkipBlock(yycontext * ctx)2389 YY_RULE(int) yy_SkipBlock(yycontext *ctx)
2390 { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos;
2391 yyprintf((stderr, "%s\n", "SkipBlock"));
2392 { int yypos88= ctx->pos, yythunkpos88= ctx->thunkpos; if (!yy_HtmlBlock(ctx)) goto l89; goto l88;
2393 l89:; ctx->pos= yypos88; ctx->thunkpos= yythunkpos88;
2394 { int yypos93= ctx->pos, yythunkpos93= ctx->thunkpos; if (!yymatchChar(ctx, '#')) goto l93; goto l90;
2395 l93:; ctx->pos= yypos93; ctx->thunkpos= yythunkpos93;
2396 }
2397 { int yypos94= ctx->pos, yythunkpos94= ctx->thunkpos; if (!yy_SetextBottom1(ctx)) goto l94; goto l90;
2398 l94:; ctx->pos= yypos94; ctx->thunkpos= yythunkpos94;
2399 }
2400 { int yypos95= ctx->pos, yythunkpos95= ctx->thunkpos; if (!yy_SetextBottom2(ctx)) goto l95; goto l90;
2401 l95:; ctx->pos= yypos95; ctx->thunkpos= yythunkpos95;
2402 }
2403 { int yypos96= ctx->pos, yythunkpos96= ctx->thunkpos; if (!yy_BlankLine(ctx)) goto l96; goto l90;
2404 l96:; ctx->pos= yypos96; ctx->thunkpos= yythunkpos96;
2405 } if (!yy_RawLine(ctx)) goto l90;
2406 l91:;
2407 { int yypos92= ctx->pos, yythunkpos92= ctx->thunkpos;
2408 { int yypos97= ctx->pos, yythunkpos97= ctx->thunkpos; if (!yymatchChar(ctx, '#')) goto l97; goto l92;
2409 l97:; ctx->pos= yypos97; ctx->thunkpos= yythunkpos97;
2410 }
2411 { int yypos98= ctx->pos, yythunkpos98= ctx->thunkpos; if (!yy_SetextBottom1(ctx)) goto l98; goto l92;
2412 l98:; ctx->pos= yypos98; ctx->thunkpos= yythunkpos98;
2413 }
2414 { int yypos99= ctx->pos, yythunkpos99= ctx->thunkpos; if (!yy_SetextBottom2(ctx)) goto l99; goto l92;
2415 l99:; ctx->pos= yypos99; ctx->thunkpos= yythunkpos99;
2416 }
2417 { int yypos100= ctx->pos, yythunkpos100= ctx->thunkpos; if (!yy_BlankLine(ctx)) goto l100; goto l92;
2418 l100:; ctx->pos= yypos100; ctx->thunkpos= yythunkpos100;
2419 } if (!yy_RawLine(ctx)) goto l92; goto l91;
2420 l92:; ctx->pos= yypos92; ctx->thunkpos= yythunkpos92;
2421 }
2422 l101:;
2423 { int yypos102= ctx->pos, yythunkpos102= ctx->thunkpos; if (!yy_BlankLine(ctx)) goto l102; goto l101;
2424 l102:; ctx->pos= yypos102; ctx->thunkpos= yythunkpos102;
2425 } goto l88;
2426 l90:; ctx->pos= yypos88; ctx->thunkpos= yythunkpos88; if (!yy_BlankLine(ctx)) goto l103;
2427 l104:;
2428 { int yypos105= ctx->pos, yythunkpos105= ctx->thunkpos; if (!yy_BlankLine(ctx)) goto l105; goto l104;
2429 l105:; ctx->pos= yypos105; ctx->thunkpos= yythunkpos105;
2430 } goto l88;
2431 l103:; ctx->pos= yypos88; ctx->thunkpos= yythunkpos88; if (!yy_RawLine(ctx)) goto l87;
2432 }
2433 l88:;
2434 yyprintf((stderr, " ok %s @ %s\n", "SkipBlock", ctx->buf+ctx->pos));
2435 return 1;
2436 l87:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0;
2437 yyprintf((stderr, " fail %s @ %s\n", "SkipBlock", ctx->buf+ctx->pos));
2438 return 0;
2439 }
yy_References(yycontext * ctx)2440 YY_RULE(int) yy_References(yycontext *ctx)
2441 { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyDo(ctx, yyPush, 2, 0);
2442 yyprintf((stderr, "%s\n", "References")); if (!yy_StartList(ctx)) goto l106; yyDo(ctx, yySet, -2, 0);
2443 l107:;
2444 { int yypos108= ctx->pos, yythunkpos108= ctx->thunkpos;
2445 { int yypos109= ctx->pos, yythunkpos109= ctx->thunkpos; if (!yy_Reference(ctx)) goto l110; yyDo(ctx, yySet, -1, 0); yyDo(ctx, yy_1_References, ctx->begin, ctx->end); goto l109;
2446 l110:; ctx->pos= yypos109; ctx->thunkpos= yythunkpos109; if (!yy_SkipBlock(ctx)) goto l108;
2447 }
2448 l109:; goto l107;
2449 l108:; ctx->pos= yypos108; ctx->thunkpos= yythunkpos108;
2450 } yyDo(ctx, yy_2_References, ctx->begin, ctx->end);
2451 yyprintf((stderr, " ok %s @ %s\n", "References", ctx->buf+ctx->pos)); yyDo(ctx, yyPop, 2, 0);
2452 return 1;
2453 l106:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0;
2454 yyprintf((stderr, " fail %s @ %s\n", "References", ctx->buf+ctx->pos));
2455 return 0;
2456 }
yy_EmptyTitle(yycontext * ctx)2457 YY_RULE(int) yy_EmptyTitle(yycontext *ctx)
2458 { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos;
2459 yyprintf((stderr, "%s\n", "EmptyTitle")); yyText(ctx, ctx->begin, ctx->end); if (!(YY_BEGIN)) goto l111; if (!yymatchString(ctx, "")) goto l111; yyText(ctx, ctx->begin, ctx->end); if (!(YY_END)) goto l111;
2460 yyprintf((stderr, " ok %s @ %s\n", "EmptyTitle", ctx->buf+ctx->pos));
2461 return 1;
2462 l111:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0;
2463 yyprintf((stderr, " fail %s @ %s\n", "EmptyTitle", ctx->buf+ctx->pos));
2464 return 0;
2465 }
yy_RefTitleParens(yycontext * ctx)2466 YY_RULE(int) yy_RefTitleParens(yycontext *ctx)
2467 { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos;
2468 yyprintf((stderr, "%s\n", "RefTitleParens")); if (!yy_Spnl(ctx)) goto l112; if (!yymatchChar(ctx, '(')) goto l112; yyText(ctx, ctx->begin, ctx->end); if (!(YY_BEGIN)) goto l112;
2469 l113:;
2470 { int yypos114= ctx->pos, yythunkpos114= ctx->thunkpos;
2471 { int yypos115= ctx->pos, yythunkpos115= ctx->thunkpos;
2472 { int yypos116= ctx->pos, yythunkpos116= ctx->thunkpos; if (!yymatchChar(ctx, ')')) goto l117; if (!yy_Sp(ctx)) goto l117; if (!yy_Newline(ctx)) goto l117; goto l116;
2473 l117:; ctx->pos= yypos116; ctx->thunkpos= yythunkpos116; if (!yy_Newline(ctx)) goto l115;
2474 }
2475 l116:; goto l114;
2476 l115:; ctx->pos= yypos115; ctx->thunkpos= yythunkpos115;
2477 } if (!yymatchDot(ctx)) goto l114; goto l113;
2478 l114:; ctx->pos= yypos114; ctx->thunkpos= yythunkpos114;
2479 } yyText(ctx, ctx->begin, ctx->end); if (!(YY_END)) goto l112; if (!yymatchChar(ctx, ')')) goto l112;
2480 yyprintf((stderr, " ok %s @ %s\n", "RefTitleParens", ctx->buf+ctx->pos));
2481 return 1;
2482 l112:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0;
2483 yyprintf((stderr, " fail %s @ %s\n", "RefTitleParens", ctx->buf+ctx->pos));
2484 return 0;
2485 }
yy_RefTitleDouble(yycontext * ctx)2486 YY_RULE(int) yy_RefTitleDouble(yycontext *ctx)
2487 { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos;
2488 yyprintf((stderr, "%s\n", "RefTitleDouble")); if (!yy_Spnl(ctx)) goto l118; if (!yymatchChar(ctx, '"')) goto l118; yyText(ctx, ctx->begin, ctx->end); if (!(YY_BEGIN)) goto l118;
2489 l119:;
2490 { int yypos120= ctx->pos, yythunkpos120= ctx->thunkpos;
2491 { int yypos121= ctx->pos, yythunkpos121= ctx->thunkpos;
2492 { int yypos122= ctx->pos, yythunkpos122= ctx->thunkpos; if (!yymatchChar(ctx, '"')) goto l123; if (!yy_Sp(ctx)) goto l123; if (!yy_Newline(ctx)) goto l123; goto l122;
2493 l123:; ctx->pos= yypos122; ctx->thunkpos= yythunkpos122; if (!yy_Newline(ctx)) goto l121;
2494 }
2495 l122:; goto l120;
2496 l121:; ctx->pos= yypos121; ctx->thunkpos= yythunkpos121;
2497 } if (!yymatchDot(ctx)) goto l120; goto l119;
2498 l120:; ctx->pos= yypos120; ctx->thunkpos= yythunkpos120;
2499 } yyText(ctx, ctx->begin, ctx->end); if (!(YY_END)) goto l118; if (!yymatchChar(ctx, '"')) goto l118;
2500 yyprintf((stderr, " ok %s @ %s\n", "RefTitleDouble", ctx->buf+ctx->pos));
2501 return 1;
2502 l118:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0;
2503 yyprintf((stderr, " fail %s @ %s\n", "RefTitleDouble", ctx->buf+ctx->pos));
2504 return 0;
2505 }
yy_RefTitleSingle(yycontext * ctx)2506 YY_RULE(int) yy_RefTitleSingle(yycontext *ctx)
2507 { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos;
2508 yyprintf((stderr, "%s\n", "RefTitleSingle")); if (!yy_Spnl(ctx)) goto l124; if (!yymatchChar(ctx, '\'')) goto l124; yyText(ctx, ctx->begin, ctx->end); if (!(YY_BEGIN)) goto l124;
2509 l125:;
2510 { int yypos126= ctx->pos, yythunkpos126= ctx->thunkpos;
2511 { int yypos127= ctx->pos, yythunkpos127= ctx->thunkpos;
2512 { int yypos128= ctx->pos, yythunkpos128= ctx->thunkpos; if (!yymatchChar(ctx, '\'')) goto l129; if (!yy_Sp(ctx)) goto l129; if (!yy_Newline(ctx)) goto l129; goto l128;
2513 l129:; ctx->pos= yypos128; ctx->thunkpos= yythunkpos128; if (!yy_Newline(ctx)) goto l127;
2514 }
2515 l128:; goto l126;
2516 l127:; ctx->pos= yypos127; ctx->thunkpos= yythunkpos127;
2517 } if (!yymatchDot(ctx)) goto l126; goto l125;
2518 l126:; ctx->pos= yypos126; ctx->thunkpos= yythunkpos126;
2519 } yyText(ctx, ctx->begin, ctx->end); if (!(YY_END)) goto l124; if (!yymatchChar(ctx, '\'')) goto l124;
2520 yyprintf((stderr, " ok %s @ %s\n", "RefTitleSingle", ctx->buf+ctx->pos));
2521 return 1;
2522 l124:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0;
2523 yyprintf((stderr, " fail %s @ %s\n", "RefTitleSingle", ctx->buf+ctx->pos));
2524 return 0;
2525 }
yy_RefTitle(yycontext * ctx)2526 YY_RULE(int) yy_RefTitle(yycontext *ctx)
2527 { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos;
2528 yyprintf((stderr, "%s\n", "RefTitle"));
2529 { int yypos131= ctx->pos, yythunkpos131= ctx->thunkpos; if (!yy_RefTitleSingle(ctx)) goto l132; goto l131;
2530 l132:; ctx->pos= yypos131; ctx->thunkpos= yythunkpos131; if (!yy_RefTitleDouble(ctx)) goto l133; goto l131;
2531 l133:; ctx->pos= yypos131; ctx->thunkpos= yythunkpos131; if (!yy_RefTitleParens(ctx)) goto l134; goto l131;
2532 l134:; ctx->pos= yypos131; ctx->thunkpos= yythunkpos131; if (!yy_EmptyTitle(ctx)) goto l130;
2533 }
2534 l131:; yyDo(ctx, yy_1_RefTitle, ctx->begin, ctx->end);
2535 yyprintf((stderr, " ok %s @ %s\n", "RefTitle", ctx->buf+ctx->pos));
2536 return 1;
2537 l130:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0;
2538 yyprintf((stderr, " fail %s @ %s\n", "RefTitle", ctx->buf+ctx->pos));
2539 return 0;
2540 }
yy_RefSrc(yycontext * ctx)2541 YY_RULE(int) yy_RefSrc(yycontext *ctx)
2542 { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos;
2543 yyprintf((stderr, "%s\n", "RefSrc")); yyText(ctx, ctx->begin, ctx->end); if (!(YY_BEGIN)) goto l135; if (!yy_Nonspacechar(ctx)) goto l135;
2544 l136:;
2545 { int yypos137= ctx->pos, yythunkpos137= ctx->thunkpos; if (!yy_Nonspacechar(ctx)) goto l137; goto l136;
2546 l137:; ctx->pos= yypos137; ctx->thunkpos= yythunkpos137;
2547 } yyText(ctx, ctx->begin, ctx->end); if (!(YY_END)) goto l135; yyDo(ctx, yy_1_RefSrc, ctx->begin, ctx->end);
2548 yyprintf((stderr, " ok %s @ %s\n", "RefSrc", ctx->buf+ctx->pos));
2549 return 1;
2550 l135:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0;
2551 yyprintf((stderr, " fail %s @ %s\n", "RefSrc", ctx->buf+ctx->pos));
2552 return 0;
2553 }
yy_AutoLinkEmail(yycontext * ctx)2554 YY_RULE(int) yy_AutoLinkEmail(yycontext *ctx)
2555 { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos;
2556 yyprintf((stderr, "%s\n", "AutoLinkEmail")); if (!yymatchChar(ctx, '<')) goto l138;
2557 { int yypos139= ctx->pos, yythunkpos139= ctx->thunkpos; if (!yymatchString(ctx, "mailto:")) goto l139; goto l140;
2558 l139:; ctx->pos= yypos139; ctx->thunkpos= yythunkpos139;
2559 }
2560 l140:; yyText(ctx, ctx->begin, ctx->end); if (!(YY_BEGIN)) goto l138; if (!yymatchClass(ctx, (unsigned char *)"\000\000\000\000\062\350\377\003\376\377\377\207\376\377\377\107\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000")) goto l138;
2561 l141:;
2562 { int yypos142= ctx->pos, yythunkpos142= ctx->thunkpos; if (!yymatchClass(ctx, (unsigned char *)"\000\000\000\000\062\350\377\003\376\377\377\207\376\377\377\107\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000")) goto l142; goto l141;
2563 l142:; ctx->pos= yypos142; ctx->thunkpos= yythunkpos142;
2564 } if (!yymatchChar(ctx, '@')) goto l138;
2565 { int yypos145= ctx->pos, yythunkpos145= ctx->thunkpos; if (!yy_Newline(ctx)) goto l145; goto l138;
2566 l145:; ctx->pos= yypos145; ctx->thunkpos= yythunkpos145;
2567 }
2568 { int yypos146= ctx->pos, yythunkpos146= ctx->thunkpos; if (!yymatchChar(ctx, '>')) goto l146; goto l138;
2569 l146:; ctx->pos= yypos146; ctx->thunkpos= yythunkpos146;
2570 } if (!yymatchDot(ctx)) goto l138;
2571 l143:;
2572 { int yypos144= ctx->pos, yythunkpos144= ctx->thunkpos;
2573 { int yypos147= ctx->pos, yythunkpos147= ctx->thunkpos; if (!yy_Newline(ctx)) goto l147; goto l144;
2574 l147:; ctx->pos= yypos147; ctx->thunkpos= yythunkpos147;
2575 }
2576 { int yypos148= ctx->pos, yythunkpos148= ctx->thunkpos; if (!yymatchChar(ctx, '>')) goto l148; goto l144;
2577 l148:; ctx->pos= yypos148; ctx->thunkpos= yythunkpos148;
2578 } if (!yymatchDot(ctx)) goto l144; goto l143;
2579 l144:; ctx->pos= yypos144; ctx->thunkpos= yythunkpos144;
2580 } yyText(ctx, ctx->begin, ctx->end); if (!(YY_END)) goto l138; if (!yymatchChar(ctx, '>')) goto l138; yyDo(ctx, yy_1_AutoLinkEmail, ctx->begin, ctx->end);
2581 yyprintf((stderr, " ok %s @ %s\n", "AutoLinkEmail", ctx->buf+ctx->pos));
2582 return 1;
2583 l138:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0;
2584 yyprintf((stderr, " fail %s @ %s\n", "AutoLinkEmail", ctx->buf+ctx->pos));
2585 return 0;
2586 }
yy_AutoLinkUrl(yycontext * ctx)2587 YY_RULE(int) yy_AutoLinkUrl(yycontext *ctx)
2588 { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos;
2589 yyprintf((stderr, "%s\n", "AutoLinkUrl")); if (!yymatchChar(ctx, '<')) goto l149; yyText(ctx, ctx->begin, ctx->end); if (!(YY_BEGIN)) goto l149; if (!yymatchClass(ctx, (unsigned char *)"\000\000\000\000\000\000\000\000\376\377\377\007\376\377\377\007\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000")) goto l149;
2590 l150:;
2591 { int yypos151= ctx->pos, yythunkpos151= ctx->thunkpos; if (!yymatchClass(ctx, (unsigned char *)"\000\000\000\000\000\000\000\000\376\377\377\007\376\377\377\007\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000")) goto l151; goto l150;
2592 l151:; ctx->pos= yypos151; ctx->thunkpos= yythunkpos151;
2593 } if (!yymatchString(ctx, "://")) goto l149;
2594 { int yypos154= ctx->pos, yythunkpos154= ctx->thunkpos; if (!yy_Newline(ctx)) goto l154; goto l149;
2595 l154:; ctx->pos= yypos154; ctx->thunkpos= yythunkpos154;
2596 }
2597 { int yypos155= ctx->pos, yythunkpos155= ctx->thunkpos; if (!yymatchChar(ctx, '>')) goto l155; goto l149;
2598 l155:; ctx->pos= yypos155; ctx->thunkpos= yythunkpos155;
2599 } if (!yymatchDot(ctx)) goto l149;
2600 l152:;
2601 { int yypos153= ctx->pos, yythunkpos153= ctx->thunkpos;
2602 { int yypos156= ctx->pos, yythunkpos156= ctx->thunkpos; if (!yy_Newline(ctx)) goto l156; goto l153;
2603 l156:; ctx->pos= yypos156; ctx->thunkpos= yythunkpos156;
2604 }
2605 { int yypos157= ctx->pos, yythunkpos157= ctx->thunkpos; if (!yymatchChar(ctx, '>')) goto l157; goto l153;
2606 l157:; ctx->pos= yypos157; ctx->thunkpos= yythunkpos157;
2607 } if (!yymatchDot(ctx)) goto l153; goto l152;
2608 l153:; ctx->pos= yypos153; ctx->thunkpos= yythunkpos153;
2609 } yyText(ctx, ctx->begin, ctx->end); if (!(YY_END)) goto l149; if (!yymatchChar(ctx, '>')) goto l149; yyDo(ctx, yy_1_AutoLinkUrl, ctx->begin, ctx->end);
2610 yyprintf((stderr, " ok %s @ %s\n", "AutoLinkUrl", ctx->buf+ctx->pos));
2611 return 1;
2612 l149:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0;
2613 yyprintf((stderr, " fail %s @ %s\n", "AutoLinkUrl", ctx->buf+ctx->pos));
2614 return 0;
2615 }
yy_TitleDouble(yycontext * ctx)2616 YY_RULE(int) yy_TitleDouble(yycontext *ctx)
2617 { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos;
2618 yyprintf((stderr, "%s\n", "TitleDouble")); if (!yymatchChar(ctx, '"')) goto l158; yyText(ctx, ctx->begin, ctx->end); if (!(YY_BEGIN)) goto l158;
2619 l159:;
2620 { int yypos160= ctx->pos, yythunkpos160= ctx->thunkpos;
2621 { int yypos161= ctx->pos, yythunkpos161= ctx->thunkpos; if (!yymatchChar(ctx, '"')) goto l161; if (!yy_Sp(ctx)) goto l161;
2622 { int yypos162= ctx->pos, yythunkpos162= ctx->thunkpos; if (!yymatchChar(ctx, ')')) goto l163; goto l162;
2623 l163:; ctx->pos= yypos162; ctx->thunkpos= yythunkpos162; if (!yy_Newline(ctx)) goto l161;
2624 }
2625 l162:; goto l160;
2626 l161:; ctx->pos= yypos161; ctx->thunkpos= yythunkpos161;
2627 } if (!yymatchDot(ctx)) goto l160; goto l159;
2628 l160:; ctx->pos= yypos160; ctx->thunkpos= yythunkpos160;
2629 } yyText(ctx, ctx->begin, ctx->end); if (!(YY_END)) goto l158; if (!yymatchChar(ctx, '"')) goto l158;
2630 yyprintf((stderr, " ok %s @ %s\n", "TitleDouble", ctx->buf+ctx->pos));
2631 return 1;
2632 l158:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0;
2633 yyprintf((stderr, " fail %s @ %s\n", "TitleDouble", ctx->buf+ctx->pos));
2634 return 0;
2635 }
yy_TitleSingle(yycontext * ctx)2636 YY_RULE(int) yy_TitleSingle(yycontext *ctx)
2637 { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos;
2638 yyprintf((stderr, "%s\n", "TitleSingle")); if (!yymatchChar(ctx, '\'')) goto l164; yyText(ctx, ctx->begin, ctx->end); if (!(YY_BEGIN)) goto l164;
2639 l165:;
2640 { int yypos166= ctx->pos, yythunkpos166= ctx->thunkpos;
2641 { int yypos167= ctx->pos, yythunkpos167= ctx->thunkpos; if (!yymatchChar(ctx, '\'')) goto l167; if (!yy_Sp(ctx)) goto l167;
2642 { int yypos168= ctx->pos, yythunkpos168= ctx->thunkpos; if (!yymatchChar(ctx, ')')) goto l169; goto l168;
2643 l169:; ctx->pos= yypos168; ctx->thunkpos= yythunkpos168; if (!yy_Newline(ctx)) goto l167;
2644 }
2645 l168:; goto l166;
2646 l167:; ctx->pos= yypos167; ctx->thunkpos= yythunkpos167;
2647 } if (!yymatchDot(ctx)) goto l166; goto l165;
2648 l166:; ctx->pos= yypos166; ctx->thunkpos= yythunkpos166;
2649 } yyText(ctx, ctx->begin, ctx->end); if (!(YY_END)) goto l164; if (!yymatchChar(ctx, '\'')) goto l164;
2650 yyprintf((stderr, " ok %s @ %s\n", "TitleSingle", ctx->buf+ctx->pos));
2651 return 1;
2652 l164:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0;
2653 yyprintf((stderr, " fail %s @ %s\n", "TitleSingle", ctx->buf+ctx->pos));
2654 return 0;
2655 }
yy_Nonspacechar(yycontext * ctx)2656 YY_RULE(int) yy_Nonspacechar(yycontext *ctx)
2657 { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos;
2658 yyprintf((stderr, "%s\n", "Nonspacechar"));
2659 { int yypos171= ctx->pos, yythunkpos171= ctx->thunkpos; if (!yy_Spacechar(ctx)) goto l171; goto l170;
2660 l171:; ctx->pos= yypos171; ctx->thunkpos= yythunkpos171;
2661 }
2662 { int yypos172= ctx->pos, yythunkpos172= ctx->thunkpos; if (!yy_Newline(ctx)) goto l172; goto l170;
2663 l172:; ctx->pos= yypos172; ctx->thunkpos= yythunkpos172;
2664 } if (!yymatchDot(ctx)) goto l170;
2665 yyprintf((stderr, " ok %s @ %s\n", "Nonspacechar", ctx->buf+ctx->pos));
2666 return 1;
2667 l170:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0;
2668 yyprintf((stderr, " fail %s @ %s\n", "Nonspacechar", ctx->buf+ctx->pos));
2669 return 0;
2670 }
yy_SourceContents(yycontext * ctx)2671 YY_RULE(int) yy_SourceContents(yycontext *ctx)
2672 {
2673 yyprintf((stderr, "%s\n", "SourceContents"));
2674 l174:;
2675 { int yypos175= ctx->pos, yythunkpos175= ctx->thunkpos;
2676 { int yypos176= ctx->pos, yythunkpos176= ctx->thunkpos;
2677 { int yypos180= ctx->pos, yythunkpos180= ctx->thunkpos; if (!yymatchChar(ctx, '(')) goto l180; goto l177;
2678 l180:; ctx->pos= yypos180; ctx->thunkpos= yythunkpos180;
2679 }
2680 { int yypos181= ctx->pos, yythunkpos181= ctx->thunkpos; if (!yymatchChar(ctx, ')')) goto l181; goto l177;
2681 l181:; ctx->pos= yypos181; ctx->thunkpos= yythunkpos181;
2682 }
2683 { int yypos182= ctx->pos, yythunkpos182= ctx->thunkpos; if (!yymatchChar(ctx, '>')) goto l182; goto l177;
2684 l182:; ctx->pos= yypos182; ctx->thunkpos= yythunkpos182;
2685 } if (!yy_Nonspacechar(ctx)) goto l177;
2686 l178:;
2687 { int yypos179= ctx->pos, yythunkpos179= ctx->thunkpos;
2688 { int yypos183= ctx->pos, yythunkpos183= ctx->thunkpos; if (!yymatchChar(ctx, '(')) goto l183; goto l179;
2689 l183:; ctx->pos= yypos183; ctx->thunkpos= yythunkpos183;
2690 }
2691 { int yypos184= ctx->pos, yythunkpos184= ctx->thunkpos; if (!yymatchChar(ctx, ')')) goto l184; goto l179;
2692 l184:; ctx->pos= yypos184; ctx->thunkpos= yythunkpos184;
2693 }
2694 { int yypos185= ctx->pos, yythunkpos185= ctx->thunkpos; if (!yymatchChar(ctx, '>')) goto l185; goto l179;
2695 l185:; ctx->pos= yypos185; ctx->thunkpos= yythunkpos185;
2696 } if (!yy_Nonspacechar(ctx)) goto l179; goto l178;
2697 l179:; ctx->pos= yypos179; ctx->thunkpos= yythunkpos179;
2698 } goto l176;
2699 l177:; ctx->pos= yypos176; ctx->thunkpos= yythunkpos176; if (!yymatchChar(ctx, '(')) goto l175; if (!yy_SourceContents(ctx)) goto l175; if (!yymatchChar(ctx, ')')) goto l175;
2700 }
2701 l176:; goto l174;
2702 l175:; ctx->pos= yypos175; ctx->thunkpos= yythunkpos175;
2703 }
2704 yyprintf((stderr, " ok %s @ %s\n", "SourceContents", ctx->buf+ctx->pos));
2705 return 1;
2706 }
yy_Title(yycontext * ctx)2707 YY_RULE(int) yy_Title(yycontext *ctx)
2708 { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos;
2709 yyprintf((stderr, "%s\n", "Title"));
2710 { int yypos187= ctx->pos, yythunkpos187= ctx->thunkpos; if (!yy_TitleSingle(ctx)) goto l188; goto l187;
2711 l188:; ctx->pos= yypos187; ctx->thunkpos= yythunkpos187; if (!yy_TitleDouble(ctx)) goto l189; goto l187;
2712 l189:; ctx->pos= yypos187; ctx->thunkpos= yythunkpos187; yyText(ctx, ctx->begin, ctx->end); if (!(YY_BEGIN)) goto l186; if (!yymatchString(ctx, "")) goto l186; yyText(ctx, ctx->begin, ctx->end); if (!(YY_END)) goto l186;
2713 }
2714 l187:; yyDo(ctx, yy_1_Title, ctx->begin, ctx->end);
2715 yyprintf((stderr, " ok %s @ %s\n", "Title", ctx->buf+ctx->pos));
2716 return 1;
2717 l186:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0;
2718 yyprintf((stderr, " fail %s @ %s\n", "Title", ctx->buf+ctx->pos));
2719 return 0;
2720 }
yy_Source(yycontext * ctx)2721 YY_RULE(int) yy_Source(yycontext *ctx)
2722 { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos;
2723 yyprintf((stderr, "%s\n", "Source"));
2724 { int yypos191= ctx->pos, yythunkpos191= ctx->thunkpos; if (!yymatchChar(ctx, '<')) goto l192; yyText(ctx, ctx->begin, ctx->end); if (!(YY_BEGIN)) goto l192; if (!yy_SourceContents(ctx)) goto l192; yyText(ctx, ctx->begin, ctx->end); if (!(YY_END)) goto l192; if (!yymatchChar(ctx, '>')) goto l192; goto l191;
2725 l192:; ctx->pos= yypos191; ctx->thunkpos= yythunkpos191; yyText(ctx, ctx->begin, ctx->end); if (!(YY_BEGIN)) goto l190; if (!yy_SourceContents(ctx)) goto l190; yyText(ctx, ctx->begin, ctx->end); if (!(YY_END)) goto l190;
2726 }
2727 l191:; yyDo(ctx, yy_1_Source, ctx->begin, ctx->end);
2728 yyprintf((stderr, " ok %s @ %s\n", "Source", ctx->buf+ctx->pos));
2729 return 1;
2730 l190:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0;
2731 yyprintf((stderr, " fail %s @ %s\n", "Source", ctx->buf+ctx->pos));
2732 return 0;
2733 }
yy_Label(yycontext * ctx)2734 YY_RULE(int) yy_Label(yycontext *ctx)
2735 { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyDo(ctx, yyPush, 1, 0);
2736 yyprintf((stderr, "%s\n", "Label")); if (!yymatchChar(ctx, '[')) goto l193;
2737 { int yypos194= ctx->pos, yythunkpos194= ctx->thunkpos;
2738 { int yypos196= ctx->pos, yythunkpos196= ctx->thunkpos; if (!yymatchChar(ctx, '^')) goto l196; goto l195;
2739 l196:; ctx->pos= yypos196; ctx->thunkpos= yythunkpos196;
2740 } yyText(ctx, ctx->begin, ctx->end); if (!( extension(EXT_NOTES) )) goto l195; goto l194;
2741 l195:; ctx->pos= yypos194; ctx->thunkpos= yythunkpos194;
2742 { int yypos197= ctx->pos, yythunkpos197= ctx->thunkpos; if (!yymatchDot(ctx)) goto l193; ctx->pos= yypos197; ctx->thunkpos= yythunkpos197;
2743 } yyText(ctx, ctx->begin, ctx->end); if (!( !extension(EXT_NOTES) )) goto l193;
2744 }
2745 l194:; if (!yy_StartList(ctx)) goto l193; yyDo(ctx, yySet, -1, 0);
2746 l198:;
2747 { int yypos199= ctx->pos, yythunkpos199= ctx->thunkpos;
2748 { int yypos200= ctx->pos, yythunkpos200= ctx->thunkpos; if (!yymatchChar(ctx, ']')) goto l200; goto l199;
2749 l200:; ctx->pos= yypos200; ctx->thunkpos= yythunkpos200;
2750 } if (!yy_Inline(ctx)) goto l199; yyDo(ctx, yy_1_Label, ctx->begin, ctx->end); goto l198;
2751 l199:; ctx->pos= yypos199; ctx->thunkpos= yythunkpos199;
2752 } if (!yymatchChar(ctx, ']')) goto l193; yyDo(ctx, yy_2_Label, ctx->begin, ctx->end);
2753 yyprintf((stderr, " ok %s @ %s\n", "Label", ctx->buf+ctx->pos)); yyDo(ctx, yyPop, 1, 0);
2754 return 1;
2755 l193:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0;
2756 yyprintf((stderr, " fail %s @ %s\n", "Label", ctx->buf+ctx->pos));
2757 return 0;
2758 }
yy_ReferenceLinkSingle(yycontext * ctx)2759 YY_RULE(int) yy_ReferenceLinkSingle(yycontext *ctx)
2760 { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyDo(ctx, yyPush, 1, 0);
2761 yyprintf((stderr, "%s\n", "ReferenceLinkSingle")); if (!yy_Label(ctx)) goto l201; yyDo(ctx, yySet, -1, 0); yyText(ctx, ctx->begin, ctx->end); if (!(YY_BEGIN)) goto l201;
2762 { int yypos202= ctx->pos, yythunkpos202= ctx->thunkpos; if (!yy_Spnl(ctx)) goto l202; if (!yymatchString(ctx, "[]")) goto l202; goto l203;
2763 l202:; ctx->pos= yypos202; ctx->thunkpos= yythunkpos202;
2764 }
2765 l203:; yyText(ctx, ctx->begin, ctx->end); if (!(YY_END)) goto l201; yyDo(ctx, yy_1_ReferenceLinkSingle, ctx->begin, ctx->end);
2766 yyprintf((stderr, " ok %s @ %s\n", "ReferenceLinkSingle", ctx->buf+ctx->pos)); yyDo(ctx, yyPop, 1, 0);
2767 return 1;
2768 l201:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0;
2769 yyprintf((stderr, " fail %s @ %s\n", "ReferenceLinkSingle", ctx->buf+ctx->pos));
2770 return 0;
2771 }
yy_ReferenceLinkDouble(yycontext * ctx)2772 YY_RULE(int) yy_ReferenceLinkDouble(yycontext *ctx)
2773 { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyDo(ctx, yyPush, 2, 0);
2774 yyprintf((stderr, "%s\n", "ReferenceLinkDouble")); if (!yy_Label(ctx)) goto l204; yyDo(ctx, yySet, -2, 0); yyText(ctx, ctx->begin, ctx->end); if (!(YY_BEGIN)) goto l204; if (!yy_Spnl(ctx)) goto l204; yyText(ctx, ctx->begin, ctx->end); if (!(YY_END)) goto l204;
2775 { int yypos205= ctx->pos, yythunkpos205= ctx->thunkpos; if (!yymatchString(ctx, "[]")) goto l205; goto l204;
2776 l205:; ctx->pos= yypos205; ctx->thunkpos= yythunkpos205;
2777 } if (!yy_Label(ctx)) goto l204; yyDo(ctx, yySet, -1, 0); yyDo(ctx, yy_1_ReferenceLinkDouble, ctx->begin, ctx->end);
2778 yyprintf((stderr, " ok %s @ %s\n", "ReferenceLinkDouble", ctx->buf+ctx->pos)); yyDo(ctx, yyPop, 2, 0);
2779 return 1;
2780 l204:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0;
2781 yyprintf((stderr, " fail %s @ %s\n", "ReferenceLinkDouble", ctx->buf+ctx->pos));
2782 return 0;
2783 }
yy_AutoLink(yycontext * ctx)2784 YY_RULE(int) yy_AutoLink(yycontext *ctx)
2785 { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos;
2786 yyprintf((stderr, "%s\n", "AutoLink"));
2787 { int yypos207= ctx->pos, yythunkpos207= ctx->thunkpos; if (!yy_AutoLinkUrl(ctx)) goto l208; goto l207;
2788 l208:; ctx->pos= yypos207; ctx->thunkpos= yythunkpos207; if (!yy_AutoLinkEmail(ctx)) goto l206;
2789 }
2790 l207:;
2791 yyprintf((stderr, " ok %s @ %s\n", "AutoLink", ctx->buf+ctx->pos));
2792 return 1;
2793 l206:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0;
2794 yyprintf((stderr, " fail %s @ %s\n", "AutoLink", ctx->buf+ctx->pos));
2795 return 0;
2796 }
yy_ReferenceLink(yycontext * ctx)2797 YY_RULE(int) yy_ReferenceLink(yycontext *ctx)
2798 { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos;
2799 yyprintf((stderr, "%s\n", "ReferenceLink"));
2800 { int yypos210= ctx->pos, yythunkpos210= ctx->thunkpos; if (!yy_ReferenceLinkDouble(ctx)) goto l211; goto l210;
2801 l211:; ctx->pos= yypos210; ctx->thunkpos= yythunkpos210; if (!yy_ReferenceLinkSingle(ctx)) goto l209;
2802 }
2803 l210:;
2804 yyprintf((stderr, " ok %s @ %s\n", "ReferenceLink", ctx->buf+ctx->pos));
2805 return 1;
2806 l209:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0;
2807 yyprintf((stderr, " fail %s @ %s\n", "ReferenceLink", ctx->buf+ctx->pos));
2808 return 0;
2809 }
yy_ExplicitLink(yycontext * ctx)2810 YY_RULE(int) yy_ExplicitLink(yycontext *ctx)
2811 { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyDo(ctx, yyPush, 3, 0);
2812 yyprintf((stderr, "%s\n", "ExplicitLink")); if (!yy_Label(ctx)) goto l212; yyDo(ctx, yySet, -3, 0); if (!yymatchChar(ctx, '(')) goto l212; if (!yy_Sp(ctx)) goto l212; if (!yy_Source(ctx)) goto l212; yyDo(ctx, yySet, -2, 0); if (!yy_Spnl(ctx)) goto l212; if (!yy_Title(ctx)) goto l212; yyDo(ctx, yySet, -1, 0); if (!yy_Sp(ctx)) goto l212; if (!yymatchChar(ctx, ')')) goto l212; yyDo(ctx, yy_1_ExplicitLink, ctx->begin, ctx->end);
2813 yyprintf((stderr, " ok %s @ %s\n", "ExplicitLink", ctx->buf+ctx->pos)); yyDo(ctx, yyPop, 3, 0);
2814 return 1;
2815 l212:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0;
2816 yyprintf((stderr, " fail %s @ %s\n", "ExplicitLink", ctx->buf+ctx->pos));
2817 return 0;
2818 }
yy_StrongUl(yycontext * ctx)2819 YY_RULE(int) yy_StrongUl(yycontext *ctx)
2820 { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyDo(ctx, yyPush, 2, 0);
2821 yyprintf((stderr, "%s\n", "StrongUl")); if (!yymatchString(ctx, "__")) goto l213;
2822 { int yypos214= ctx->pos, yythunkpos214= ctx->thunkpos; if (!yy_Whitespace(ctx)) goto l214; goto l213;
2823 l214:; ctx->pos= yypos214; ctx->thunkpos= yythunkpos214;
2824 } if (!yy_StartList(ctx)) goto l213; yyDo(ctx, yySet, -2, 0);
2825 { int yypos217= ctx->pos, yythunkpos217= ctx->thunkpos; if (!yymatchString(ctx, "__")) goto l217; goto l213;
2826 l217:; ctx->pos= yypos217; ctx->thunkpos= yythunkpos217;
2827 } if (!yy_Inline(ctx)) goto l213; yyDo(ctx, yySet, -1, 0); yyDo(ctx, yy_1_StrongUl, ctx->begin, ctx->end);
2828 l215:;
2829 { int yypos216= ctx->pos, yythunkpos216= ctx->thunkpos;
2830 { int yypos218= ctx->pos, yythunkpos218= ctx->thunkpos; if (!yymatchString(ctx, "__")) goto l218; goto l216;
2831 l218:; ctx->pos= yypos218; ctx->thunkpos= yythunkpos218;
2832 } if (!yy_Inline(ctx)) goto l216; yyDo(ctx, yySet, -1, 0); yyDo(ctx, yy_1_StrongUl, ctx->begin, ctx->end); goto l215;
2833 l216:; ctx->pos= yypos216; ctx->thunkpos= yythunkpos216;
2834 } if (!yymatchString(ctx, "__")) goto l213; yyDo(ctx, yy_2_StrongUl, ctx->begin, ctx->end);
2835 yyprintf((stderr, " ok %s @ %s\n", "StrongUl", ctx->buf+ctx->pos)); yyDo(ctx, yyPop, 2, 0);
2836 return 1;
2837 l213:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0;
2838 yyprintf((stderr, " fail %s @ %s\n", "StrongUl", ctx->buf+ctx->pos));
2839 return 0;
2840 }
yy_StrongStar(yycontext * ctx)2841 YY_RULE(int) yy_StrongStar(yycontext *ctx)
2842 { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyDo(ctx, yyPush, 2, 0);
2843 yyprintf((stderr, "%s\n", "StrongStar")); if (!yymatchString(ctx, "**")) goto l219;
2844 { int yypos220= ctx->pos, yythunkpos220= ctx->thunkpos; if (!yy_Whitespace(ctx)) goto l220; goto l219;
2845 l220:; ctx->pos= yypos220; ctx->thunkpos= yythunkpos220;
2846 } if (!yy_StartList(ctx)) goto l219; yyDo(ctx, yySet, -2, 0);
2847 { int yypos223= ctx->pos, yythunkpos223= ctx->thunkpos; if (!yymatchString(ctx, "**")) goto l223; goto l219;
2848 l223:; ctx->pos= yypos223; ctx->thunkpos= yythunkpos223;
2849 } if (!yy_Inline(ctx)) goto l219; yyDo(ctx, yySet, -1, 0); yyDo(ctx, yy_1_StrongStar, ctx->begin, ctx->end);
2850 l221:;
2851 { int yypos222= ctx->pos, yythunkpos222= ctx->thunkpos;
2852 { int yypos224= ctx->pos, yythunkpos224= ctx->thunkpos; if (!yymatchString(ctx, "**")) goto l224; goto l222;
2853 l224:; ctx->pos= yypos224; ctx->thunkpos= yythunkpos224;
2854 } if (!yy_Inline(ctx)) goto l222; yyDo(ctx, yySet, -1, 0); yyDo(ctx, yy_1_StrongStar, ctx->begin, ctx->end); goto l221;
2855 l222:; ctx->pos= yypos222; ctx->thunkpos= yythunkpos222;
2856 } if (!yymatchString(ctx, "**")) goto l219; yyDo(ctx, yy_2_StrongStar, ctx->begin, ctx->end);
2857 yyprintf((stderr, " ok %s @ %s\n", "StrongStar", ctx->buf+ctx->pos)); yyDo(ctx, yyPop, 2, 0);
2858 return 1;
2859 l219:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0;
2860 yyprintf((stderr, " fail %s @ %s\n", "StrongStar", ctx->buf+ctx->pos));
2861 return 0;
2862 }
yy_Whitespace(yycontext * ctx)2863 YY_RULE(int) yy_Whitespace(yycontext *ctx)
2864 { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos;
2865 yyprintf((stderr, "%s\n", "Whitespace"));
2866 { int yypos226= ctx->pos, yythunkpos226= ctx->thunkpos; if (!yy_Spacechar(ctx)) goto l227; goto l226;
2867 l227:; ctx->pos= yypos226; ctx->thunkpos= yythunkpos226; if (!yy_Newline(ctx)) goto l225;
2868 }
2869 l226:;
2870 yyprintf((stderr, " ok %s @ %s\n", "Whitespace", ctx->buf+ctx->pos));
2871 return 1;
2872 l225:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0;
2873 yyprintf((stderr, " fail %s @ %s\n", "Whitespace", ctx->buf+ctx->pos));
2874 return 0;
2875 }
yy_EmphUl(yycontext * ctx)2876 YY_RULE(int) yy_EmphUl(yycontext *ctx)
2877 { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyDo(ctx, yyPush, 2, 0);
2878 yyprintf((stderr, "%s\n", "EmphUl")); if (!yymatchChar(ctx, '_')) goto l228;
2879 { int yypos229= ctx->pos, yythunkpos229= ctx->thunkpos; if (!yy_Whitespace(ctx)) goto l229; goto l228;
2880 l229:; ctx->pos= yypos229; ctx->thunkpos= yythunkpos229;
2881 } if (!yy_StartList(ctx)) goto l228; yyDo(ctx, yySet, -2, 0);
2882 { int yypos232= ctx->pos, yythunkpos232= ctx->thunkpos;
2883 { int yypos234= ctx->pos, yythunkpos234= ctx->thunkpos; if (!yymatchChar(ctx, '_')) goto l234; goto l233;
2884 l234:; ctx->pos= yypos234; ctx->thunkpos= yythunkpos234;
2885 } if (!yy_Inline(ctx)) goto l233; yyDo(ctx, yySet, -1, 0); yyDo(ctx, yy_1_EmphUl, ctx->begin, ctx->end); goto l232;
2886 l233:; ctx->pos= yypos232; ctx->thunkpos= yythunkpos232; if (!yy_StrongUl(ctx)) goto l228; yyDo(ctx, yySet, -1, 0); yyDo(ctx, yy_2_EmphUl, ctx->begin, ctx->end);
2887 }
2888 l232:;
2889 l230:;
2890 { int yypos231= ctx->pos, yythunkpos231= ctx->thunkpos;
2891 { int yypos235= ctx->pos, yythunkpos235= ctx->thunkpos;
2892 { int yypos237= ctx->pos, yythunkpos237= ctx->thunkpos; if (!yymatchChar(ctx, '_')) goto l237; goto l236;
2893 l237:; ctx->pos= yypos237; ctx->thunkpos= yythunkpos237;
2894 } if (!yy_Inline(ctx)) goto l236; yyDo(ctx, yySet, -1, 0); yyDo(ctx, yy_1_EmphUl, ctx->begin, ctx->end); goto l235;
2895 l236:; ctx->pos= yypos235; ctx->thunkpos= yythunkpos235; if (!yy_StrongUl(ctx)) goto l231; yyDo(ctx, yySet, -1, 0); yyDo(ctx, yy_2_EmphUl, ctx->begin, ctx->end);
2896 }
2897 l235:; goto l230;
2898 l231:; ctx->pos= yypos231; ctx->thunkpos= yythunkpos231;
2899 } if (!yymatchChar(ctx, '_')) goto l228; yyDo(ctx, yy_3_EmphUl, ctx->begin, ctx->end);
2900 yyprintf((stderr, " ok %s @ %s\n", "EmphUl", ctx->buf+ctx->pos)); yyDo(ctx, yyPop, 2, 0);
2901 return 1;
2902 l228:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0;
2903 yyprintf((stderr, " fail %s @ %s\n", "EmphUl", ctx->buf+ctx->pos));
2904 return 0;
2905 }
yy_EmphStar(yycontext * ctx)2906 YY_RULE(int) yy_EmphStar(yycontext *ctx)
2907 { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyDo(ctx, yyPush, 2, 0);
2908 yyprintf((stderr, "%s\n", "EmphStar")); if (!yymatchChar(ctx, '*')) goto l238;
2909 { int yypos239= ctx->pos, yythunkpos239= ctx->thunkpos; if (!yy_Whitespace(ctx)) goto l239; goto l238;
2910 l239:; ctx->pos= yypos239; ctx->thunkpos= yythunkpos239;
2911 } if (!yy_StartList(ctx)) goto l238; yyDo(ctx, yySet, -2, 0);
2912 { int yypos242= ctx->pos, yythunkpos242= ctx->thunkpos;
2913 { int yypos244= ctx->pos, yythunkpos244= ctx->thunkpos; if (!yymatchChar(ctx, '*')) goto l244; goto l243;
2914 l244:; ctx->pos= yypos244; ctx->thunkpos= yythunkpos244;
2915 } if (!yy_Inline(ctx)) goto l243; yyDo(ctx, yySet, -1, 0); yyDo(ctx, yy_1_EmphStar, ctx->begin, ctx->end); goto l242;
2916 l243:; ctx->pos= yypos242; ctx->thunkpos= yythunkpos242; if (!yy_StrongStar(ctx)) goto l238; yyDo(ctx, yySet, -1, 0); yyDo(ctx, yy_2_EmphStar, ctx->begin, ctx->end);
2917 }
2918 l242:;
2919 l240:;
2920 { int yypos241= ctx->pos, yythunkpos241= ctx->thunkpos;
2921 { int yypos245= ctx->pos, yythunkpos245= ctx->thunkpos;
2922 { int yypos247= ctx->pos, yythunkpos247= ctx->thunkpos; if (!yymatchChar(ctx, '*')) goto l247; goto l246;
2923 l247:; ctx->pos= yypos247; ctx->thunkpos= yythunkpos247;
2924 } if (!yy_Inline(ctx)) goto l246; yyDo(ctx, yySet, -1, 0); yyDo(ctx, yy_1_EmphStar, ctx->begin, ctx->end); goto l245;
2925 l246:; ctx->pos= yypos245; ctx->thunkpos= yythunkpos245; if (!yy_StrongStar(ctx)) goto l241; yyDo(ctx, yySet, -1, 0); yyDo(ctx, yy_2_EmphStar, ctx->begin, ctx->end);
2926 }
2927 l245:; goto l240;
2928 l241:; ctx->pos= yypos241; ctx->thunkpos= yythunkpos241;
2929 } if (!yymatchChar(ctx, '*')) goto l238; yyDo(ctx, yy_3_EmphStar, ctx->begin, ctx->end);
2930 yyprintf((stderr, " ok %s @ %s\n", "EmphStar", ctx->buf+ctx->pos)); yyDo(ctx, yyPop, 2, 0);
2931 return 1;
2932 l238:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0;
2933 yyprintf((stderr, " fail %s @ %s\n", "EmphStar", ctx->buf+ctx->pos));
2934 return 0;
2935 }
yy_StarLine(yycontext * ctx)2936 YY_RULE(int) yy_StarLine(yycontext *ctx)
2937 { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos;
2938 yyprintf((stderr, "%s\n", "StarLine"));
2939 { int yypos249= ctx->pos, yythunkpos249= ctx->thunkpos; yyText(ctx, ctx->begin, ctx->end); if (!(YY_BEGIN)) goto l250; if (!yymatchString(ctx, "****")) goto l250;
2940 l251:;
2941 { int yypos252= ctx->pos, yythunkpos252= ctx->thunkpos; if (!yymatchChar(ctx, '*')) goto l252; goto l251;
2942 l252:; ctx->pos= yypos252; ctx->thunkpos= yythunkpos252;
2943 } yyText(ctx, ctx->begin, ctx->end); if (!(YY_END)) goto l250; goto l249;
2944 l250:; ctx->pos= yypos249; ctx->thunkpos= yythunkpos249; yyText(ctx, ctx->begin, ctx->end); if (!(YY_BEGIN)) goto l248; if (!yy_Spacechar(ctx)) goto l248; if (!yymatchChar(ctx, '*')) goto l248;
2945 l253:;
2946 { int yypos254= ctx->pos, yythunkpos254= ctx->thunkpos; if (!yymatchChar(ctx, '*')) goto l254; goto l253;
2947 l254:; ctx->pos= yypos254; ctx->thunkpos= yythunkpos254;
2948 }
2949 { int yypos255= ctx->pos, yythunkpos255= ctx->thunkpos; if (!yy_Spacechar(ctx)) goto l248; ctx->pos= yypos255; ctx->thunkpos= yythunkpos255;
2950 } yyText(ctx, ctx->begin, ctx->end); if (!(YY_END)) goto l248;
2951 }
2952 l249:;
2953 yyprintf((stderr, " ok %s @ %s\n", "StarLine", ctx->buf+ctx->pos));
2954 return 1;
2955 l248:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0;
2956 yyprintf((stderr, " fail %s @ %s\n", "StarLine", ctx->buf+ctx->pos));
2957 return 0;
2958 }
yy_UlLine(yycontext * ctx)2959 YY_RULE(int) yy_UlLine(yycontext *ctx)
2960 { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos;
2961 yyprintf((stderr, "%s\n", "UlLine"));
2962 { int yypos257= ctx->pos, yythunkpos257= ctx->thunkpos; yyText(ctx, ctx->begin, ctx->end); if (!(YY_BEGIN)) goto l258; if (!yymatchString(ctx, "____")) goto l258;
2963 l259:;
2964 { int yypos260= ctx->pos, yythunkpos260= ctx->thunkpos; if (!yymatchChar(ctx, '_')) goto l260; goto l259;
2965 l260:; ctx->pos= yypos260; ctx->thunkpos= yythunkpos260;
2966 } yyText(ctx, ctx->begin, ctx->end); if (!(YY_END)) goto l258; goto l257;
2967 l258:; ctx->pos= yypos257; ctx->thunkpos= yythunkpos257; yyText(ctx, ctx->begin, ctx->end); if (!(YY_BEGIN)) goto l256; if (!yy_Spacechar(ctx)) goto l256; if (!yymatchChar(ctx, '_')) goto l256;
2968 l261:;
2969 { int yypos262= ctx->pos, yythunkpos262= ctx->thunkpos; if (!yymatchChar(ctx, '_')) goto l262; goto l261;
2970 l262:; ctx->pos= yypos262; ctx->thunkpos= yythunkpos262;
2971 }
2972 { int yypos263= ctx->pos, yythunkpos263= ctx->thunkpos; if (!yy_Spacechar(ctx)) goto l256; ctx->pos= yypos263; ctx->thunkpos= yythunkpos263;
2973 } yyText(ctx, ctx->begin, ctx->end); if (!(YY_END)) goto l256;
2974 }
2975 l257:;
2976 yyprintf((stderr, " ok %s @ %s\n", "UlLine", ctx->buf+ctx->pos));
2977 return 1;
2978 l256:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0;
2979 yyprintf((stderr, " fail %s @ %s\n", "UlLine", ctx->buf+ctx->pos));
2980 return 0;
2981 }
yy_SpecialChar(yycontext * ctx)2982 YY_RULE(int) yy_SpecialChar(yycontext *ctx)
2983 { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos;
2984 yyprintf((stderr, "%s\n", "SpecialChar"));
2985 { int yypos265= ctx->pos, yythunkpos265= ctx->thunkpos; if (!yymatchChar(ctx, '*')) goto l266; goto l265;
2986 l266:; ctx->pos= yypos265; ctx->thunkpos= yythunkpos265; if (!yymatchChar(ctx, '_')) goto l267; goto l265;
2987 l267:; ctx->pos= yypos265; ctx->thunkpos= yythunkpos265; if (!yymatchChar(ctx, '`')) goto l268; goto l265;
2988 l268:; ctx->pos= yypos265; ctx->thunkpos= yythunkpos265; if (!yymatchChar(ctx, '&')) goto l269; goto l265;
2989 l269:; ctx->pos= yypos265; ctx->thunkpos= yythunkpos265; if (!yymatchChar(ctx, '[')) goto l270; goto l265;
2990 l270:; ctx->pos= yypos265; ctx->thunkpos= yythunkpos265; if (!yymatchChar(ctx, ']')) goto l271; goto l265;
2991 l271:; ctx->pos= yypos265; ctx->thunkpos= yythunkpos265; if (!yymatchChar(ctx, '(')) goto l272; goto l265;
2992 l272:; ctx->pos= yypos265; ctx->thunkpos= yythunkpos265; if (!yymatchChar(ctx, ')')) goto l273; goto l265;
2993 l273:; ctx->pos= yypos265; ctx->thunkpos= yythunkpos265; if (!yymatchChar(ctx, '<')) goto l274; goto l265;
2994 l274:; ctx->pos= yypos265; ctx->thunkpos= yythunkpos265; if (!yymatchChar(ctx, '!')) goto l275; goto l265;
2995 l275:; ctx->pos= yypos265; ctx->thunkpos= yythunkpos265; if (!yymatchChar(ctx, '#')) goto l276; goto l265;
2996 l276:; ctx->pos= yypos265; ctx->thunkpos= yythunkpos265; if (!yymatchChar(ctx, '\\')) goto l277; goto l265;
2997 l277:; ctx->pos= yypos265; ctx->thunkpos= yythunkpos265; if (!yymatchChar(ctx, '\'')) goto l278; goto l265;
2998 l278:; ctx->pos= yypos265; ctx->thunkpos= yythunkpos265; if (!yymatchChar(ctx, '"')) goto l279; goto l265;
2999 l279:; ctx->pos= yypos265; ctx->thunkpos= yythunkpos265; if (!yy_ExtendedSpecialChar(ctx)) goto l264;
3000 }
3001 l265:;
3002 yyprintf((stderr, " ok %s @ %s\n", "SpecialChar", ctx->buf+ctx->pos));
3003 return 1;
3004 l264:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0;
3005 yyprintf((stderr, " fail %s @ %s\n", "SpecialChar", ctx->buf+ctx->pos));
3006 return 0;
3007 }
yy_Eof(yycontext * ctx)3008 YY_RULE(int) yy_Eof(yycontext *ctx)
3009 { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos;
3010 yyprintf((stderr, "%s\n", "Eof"));
3011 { int yypos281= ctx->pos, yythunkpos281= ctx->thunkpos; if (!yymatchDot(ctx)) goto l281; goto l280;
3012 l281:; ctx->pos= yypos281; ctx->thunkpos= yythunkpos281;
3013 }
3014 yyprintf((stderr, " ok %s @ %s\n", "Eof", ctx->buf+ctx->pos));
3015 return 1;
3016 l280:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0;
3017 yyprintf((stderr, " fail %s @ %s\n", "Eof", ctx->buf+ctx->pos));
3018 return 0;
3019 }
yy_NormalEndline(yycontext * ctx)3020 YY_RULE(int) yy_NormalEndline(yycontext *ctx)
3021 { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos;
3022 yyprintf((stderr, "%s\n", "NormalEndline")); if (!yy_Sp(ctx)) goto l282; if (!yy_Newline(ctx)) goto l282;
3023 { int yypos283= ctx->pos, yythunkpos283= ctx->thunkpos; if (!yy_BlankLine(ctx)) goto l283; goto l282;
3024 l283:; ctx->pos= yypos283; ctx->thunkpos= yythunkpos283;
3025 }
3026 { int yypos284= ctx->pos, yythunkpos284= ctx->thunkpos; if (!yymatchChar(ctx, '>')) goto l284; goto l282;
3027 l284:; ctx->pos= yypos284; ctx->thunkpos= yythunkpos284;
3028 }
3029 { int yypos285= ctx->pos, yythunkpos285= ctx->thunkpos; if (!yy_AtxStart(ctx)) goto l285; goto l282;
3030 l285:; ctx->pos= yypos285; ctx->thunkpos= yythunkpos285;
3031 }
3032 { int yypos286= ctx->pos, yythunkpos286= ctx->thunkpos; if (!yy_Line(ctx)) goto l286;
3033 { int yypos287= ctx->pos, yythunkpos287= ctx->thunkpos; if (!yymatchChar(ctx, '=')) goto l288;
3034 l289:;
3035 { int yypos290= ctx->pos, yythunkpos290= ctx->thunkpos; if (!yymatchChar(ctx, '=')) goto l290; goto l289;
3036 l290:; ctx->pos= yypos290; ctx->thunkpos= yythunkpos290;
3037 } goto l287;
3038 l288:; ctx->pos= yypos287; ctx->thunkpos= yythunkpos287; if (!yymatchChar(ctx, '-')) goto l286;
3039 l291:;
3040 { int yypos292= ctx->pos, yythunkpos292= ctx->thunkpos; if (!yymatchChar(ctx, '-')) goto l292; goto l291;
3041 l292:; ctx->pos= yypos292; ctx->thunkpos= yythunkpos292;
3042 }
3043 }
3044 l287:; if (!yy_Newline(ctx)) goto l286; goto l282;
3045 l286:; ctx->pos= yypos286; ctx->thunkpos= yythunkpos286;
3046 } yyDo(ctx, yy_1_NormalEndline, ctx->begin, ctx->end);
3047 yyprintf((stderr, " ok %s @ %s\n", "NormalEndline", ctx->buf+ctx->pos));
3048 return 1;
3049 l282:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0;
3050 yyprintf((stderr, " fail %s @ %s\n", "NormalEndline", ctx->buf+ctx->pos));
3051 return 0;
3052 }
yy_TerminalEndline(yycontext * ctx)3053 YY_RULE(int) yy_TerminalEndline(yycontext *ctx)
3054 { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos;
3055 yyprintf((stderr, "%s\n", "TerminalEndline")); if (!yy_Sp(ctx)) goto l293; if (!yy_Newline(ctx)) goto l293; if (!yy_Eof(ctx)) goto l293; yyDo(ctx, yy_1_TerminalEndline, ctx->begin, ctx->end);
3056 yyprintf((stderr, " ok %s @ %s\n", "TerminalEndline", ctx->buf+ctx->pos));
3057 return 1;
3058 l293:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0;
3059 yyprintf((stderr, " fail %s @ %s\n", "TerminalEndline", ctx->buf+ctx->pos));
3060 return 0;
3061 }
yy_LineBreak(yycontext * ctx)3062 YY_RULE(int) yy_LineBreak(yycontext *ctx)
3063 { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos;
3064 yyprintf((stderr, "%s\n", "LineBreak")); if (!yymatchString(ctx, " ")) goto l294; if (!yy_NormalEndline(ctx)) goto l294; yyDo(ctx, yy_1_LineBreak, ctx->begin, ctx->end);
3065 yyprintf((stderr, " ok %s @ %s\n", "LineBreak", ctx->buf+ctx->pos));
3066 return 1;
3067 l294:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0;
3068 yyprintf((stderr, " fail %s @ %s\n", "LineBreak", ctx->buf+ctx->pos));
3069 return 0;
3070 }
yy_CharEntity(yycontext * ctx)3071 YY_RULE(int) yy_CharEntity(yycontext *ctx)
3072 { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos;
3073 yyprintf((stderr, "%s\n", "CharEntity")); yyText(ctx, ctx->begin, ctx->end); if (!(YY_BEGIN)) goto l295; if (!yymatchChar(ctx, '&')) goto l295; if (!yymatchClass(ctx, (unsigned char *)"\000\000\000\000\000\000\377\003\376\377\377\007\376\377\377\007\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000")) goto l295;
3074 l296:;
3075 { int yypos297= ctx->pos, yythunkpos297= ctx->thunkpos; if (!yymatchClass(ctx, (unsigned char *)"\000\000\000\000\000\000\377\003\376\377\377\007\376\377\377\007\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000")) goto l297; goto l296;
3076 l297:; ctx->pos= yypos297; ctx->thunkpos= yythunkpos297;
3077 } if (!yymatchChar(ctx, ';')) goto l295; yyText(ctx, ctx->begin, ctx->end); if (!(YY_END)) goto l295;
3078 yyprintf((stderr, " ok %s @ %s\n", "CharEntity", ctx->buf+ctx->pos));
3079 return 1;
3080 l295:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0;
3081 yyprintf((stderr, " fail %s @ %s\n", "CharEntity", ctx->buf+ctx->pos));
3082 return 0;
3083 }
yy_DecEntity(yycontext * ctx)3084 YY_RULE(int) yy_DecEntity(yycontext *ctx)
3085 { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos;
3086 yyprintf((stderr, "%s\n", "DecEntity")); yyText(ctx, ctx->begin, ctx->end); if (!(YY_BEGIN)) goto l298; if (!yymatchChar(ctx, '&')) goto l298; if (!yymatchChar(ctx, '#')) goto l298; if (!yymatchClass(ctx, (unsigned char *)"\000\000\000\000\000\000\377\003\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000")) goto l298;
3087 l299:;
3088 { int yypos300= ctx->pos, yythunkpos300= ctx->thunkpos; if (!yymatchClass(ctx, (unsigned char *)"\000\000\000\000\000\000\377\003\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000")) goto l300; goto l299;
3089 l300:; ctx->pos= yypos300; ctx->thunkpos= yythunkpos300;
3090 } yyText(ctx, ctx->begin, ctx->end); if (!(YY_END)) goto l298; if (!yymatchChar(ctx, ';')) goto l298; yyText(ctx, ctx->begin, ctx->end); if (!(YY_END)) goto l298;
3091 yyprintf((stderr, " ok %s @ %s\n", "DecEntity", ctx->buf+ctx->pos));
3092 return 1;
3093 l298:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0;
3094 yyprintf((stderr, " fail %s @ %s\n", "DecEntity", ctx->buf+ctx->pos));
3095 return 0;
3096 }
yy_HexEntity(yycontext * ctx)3097 YY_RULE(int) yy_HexEntity(yycontext *ctx)
3098 { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos;
3099 yyprintf((stderr, "%s\n", "HexEntity")); yyText(ctx, ctx->begin, ctx->end); if (!(YY_BEGIN)) goto l301; if (!yymatchChar(ctx, '&')) goto l301; if (!yymatchChar(ctx, '#')) goto l301; if (!yymatchClass(ctx, (unsigned char *)"\000\000\000\000\000\000\000\000\000\000\000\001\000\000\000\001\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000")) goto l301; if (!yymatchClass(ctx, (unsigned char *)"\000\000\000\000\000\000\377\003\176\000\000\000\176\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000")) goto l301;
3100 l302:;
3101 { int yypos303= ctx->pos, yythunkpos303= ctx->thunkpos; if (!yymatchClass(ctx, (unsigned char *)"\000\000\000\000\000\000\377\003\176\000\000\000\176\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000")) goto l303; goto l302;
3102 l303:; ctx->pos= yypos303; ctx->thunkpos= yythunkpos303;
3103 } if (!yymatchChar(ctx, ';')) goto l301; yyText(ctx, ctx->begin, ctx->end); if (!(YY_END)) goto l301;
3104 yyprintf((stderr, " ok %s @ %s\n", "HexEntity", ctx->buf+ctx->pos));
3105 return 1;
3106 l301:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0;
3107 yyprintf((stderr, " fail %s @ %s\n", "HexEntity", ctx->buf+ctx->pos));
3108 return 0;
3109 }
yy_AposChunk(yycontext * ctx)3110 YY_RULE(int) yy_AposChunk(yycontext *ctx)
3111 { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos;
3112 yyprintf((stderr, "%s\n", "AposChunk")); yyText(ctx, ctx->begin, ctx->end); if (!( extension(EXT_SMART) )) goto l304; if (!yymatchChar(ctx, '\'')) goto l304;
3113 { int yypos305= ctx->pos, yythunkpos305= ctx->thunkpos; if (!yy_Alphanumeric(ctx)) goto l304; ctx->pos= yypos305; ctx->thunkpos= yythunkpos305;
3114 } yyDo(ctx, yy_1_AposChunk, ctx->begin, ctx->end);
3115 yyprintf((stderr, " ok %s @ %s\n", "AposChunk", ctx->buf+ctx->pos));
3116 return 1;
3117 l304:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0;
3118 yyprintf((stderr, " fail %s @ %s\n", "AposChunk", ctx->buf+ctx->pos));
3119 return 0;
3120 }
yy_Alphanumeric(yycontext * ctx)3121 YY_RULE(int) yy_Alphanumeric(yycontext *ctx)
3122 { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos;
3123 yyprintf((stderr, "%s\n", "Alphanumeric"));
3124 { int yypos307= ctx->pos, yythunkpos307= ctx->thunkpos; if (!yymatchClass(ctx, (unsigned char *)"\000\000\000\000\000\000\377\003\376\377\377\007\376\377\377\007\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000")) goto l308; goto l307;
3125 l308:; ctx->pos= yypos307; ctx->thunkpos= yythunkpos307; if (!yymatchString(ctx, "\200")) goto l309; goto l307;
3126 l309:; ctx->pos= yypos307; ctx->thunkpos= yythunkpos307; if (!yymatchString(ctx, "\201")) goto l310; goto l307;
3127 l310:; ctx->pos= yypos307; ctx->thunkpos= yythunkpos307; if (!yymatchString(ctx, "\202")) goto l311; goto l307;
3128 l311:; ctx->pos= yypos307; ctx->thunkpos= yythunkpos307; if (!yymatchString(ctx, "\203")) goto l312; goto l307;
3129 l312:; ctx->pos= yypos307; ctx->thunkpos= yythunkpos307; if (!yymatchString(ctx, "\204")) goto l313; goto l307;
3130 l313:; ctx->pos= yypos307; ctx->thunkpos= yythunkpos307; if (!yymatchString(ctx, "\205")) goto l314; goto l307;
3131 l314:; ctx->pos= yypos307; ctx->thunkpos= yythunkpos307; if (!yymatchString(ctx, "\206")) goto l315; goto l307;
3132 l315:; ctx->pos= yypos307; ctx->thunkpos= yythunkpos307; if (!yymatchString(ctx, "\207")) goto l316; goto l307;
3133 l316:; ctx->pos= yypos307; ctx->thunkpos= yythunkpos307; if (!yymatchString(ctx, "\210")) goto l317; goto l307;
3134 l317:; ctx->pos= yypos307; ctx->thunkpos= yythunkpos307; if (!yymatchString(ctx, "\211")) goto l318; goto l307;
3135 l318:; ctx->pos= yypos307; ctx->thunkpos= yythunkpos307; if (!yymatchString(ctx, "\212")) goto l319; goto l307;
3136 l319:; ctx->pos= yypos307; ctx->thunkpos= yythunkpos307; if (!yymatchString(ctx, "\213")) goto l320; goto l307;
3137 l320:; ctx->pos= yypos307; ctx->thunkpos= yythunkpos307; if (!yymatchString(ctx, "\214")) goto l321; goto l307;
3138 l321:; ctx->pos= yypos307; ctx->thunkpos= yythunkpos307; if (!yymatchString(ctx, "\215")) goto l322; goto l307;
3139 l322:; ctx->pos= yypos307; ctx->thunkpos= yythunkpos307; if (!yymatchString(ctx, "\216")) goto l323; goto l307;
3140 l323:; ctx->pos= yypos307; ctx->thunkpos= yythunkpos307; if (!yymatchString(ctx, "\217")) goto l324; goto l307;
3141 l324:; ctx->pos= yypos307; ctx->thunkpos= yythunkpos307; if (!yymatchString(ctx, "\220")) goto l325; goto l307;
3142 l325:; ctx->pos= yypos307; ctx->thunkpos= yythunkpos307; if (!yymatchString(ctx, "\221")) goto l326; goto l307;
3143 l326:; ctx->pos= yypos307; ctx->thunkpos= yythunkpos307; if (!yymatchString(ctx, "\222")) goto l327; goto l307;
3144 l327:; ctx->pos= yypos307; ctx->thunkpos= yythunkpos307; if (!yymatchString(ctx, "\223")) goto l328; goto l307;
3145 l328:; ctx->pos= yypos307; ctx->thunkpos= yythunkpos307; if (!yymatchString(ctx, "\224")) goto l329; goto l307;
3146 l329:; ctx->pos= yypos307; ctx->thunkpos= yythunkpos307; if (!yymatchString(ctx, "\225")) goto l330; goto l307;
3147 l330:; ctx->pos= yypos307; ctx->thunkpos= yythunkpos307; if (!yymatchString(ctx, "\226")) goto l331; goto l307;
3148 l331:; ctx->pos= yypos307; ctx->thunkpos= yythunkpos307; if (!yymatchString(ctx, "\227")) goto l332; goto l307;
3149 l332:; ctx->pos= yypos307; ctx->thunkpos= yythunkpos307; if (!yymatchString(ctx, "\230")) goto l333; goto l307;
3150 l333:; ctx->pos= yypos307; ctx->thunkpos= yythunkpos307; if (!yymatchString(ctx, "\231")) goto l334; goto l307;
3151 l334:; ctx->pos= yypos307; ctx->thunkpos= yythunkpos307; if (!yymatchString(ctx, "\232")) goto l335; goto l307;
3152 l335:; ctx->pos= yypos307; ctx->thunkpos= yythunkpos307; if (!yymatchString(ctx, "\233")) goto l336; goto l307;
3153 l336:; ctx->pos= yypos307; ctx->thunkpos= yythunkpos307; if (!yymatchString(ctx, "\234")) goto l337; goto l307;
3154 l337:; ctx->pos= yypos307; ctx->thunkpos= yythunkpos307; if (!yymatchString(ctx, "\235")) goto l338; goto l307;
3155 l338:; ctx->pos= yypos307; ctx->thunkpos= yythunkpos307; if (!yymatchString(ctx, "\236")) goto l339; goto l307;
3156 l339:; ctx->pos= yypos307; ctx->thunkpos= yythunkpos307; if (!yymatchString(ctx, "\237")) goto l340; goto l307;
3157 l340:; ctx->pos= yypos307; ctx->thunkpos= yythunkpos307; if (!yymatchString(ctx, "\240")) goto l341; goto l307;
3158 l341:; ctx->pos= yypos307; ctx->thunkpos= yythunkpos307; if (!yymatchString(ctx, "\241")) goto l342; goto l307;
3159 l342:; ctx->pos= yypos307; ctx->thunkpos= yythunkpos307; if (!yymatchString(ctx, "\242")) goto l343; goto l307;
3160 l343:; ctx->pos= yypos307; ctx->thunkpos= yythunkpos307; if (!yymatchString(ctx, "\243")) goto l344; goto l307;
3161 l344:; ctx->pos= yypos307; ctx->thunkpos= yythunkpos307; if (!yymatchString(ctx, "\244")) goto l345; goto l307;
3162 l345:; ctx->pos= yypos307; ctx->thunkpos= yythunkpos307; if (!yymatchString(ctx, "\245")) goto l346; goto l307;
3163 l346:; ctx->pos= yypos307; ctx->thunkpos= yythunkpos307; if (!yymatchString(ctx, "\246")) goto l347; goto l307;
3164 l347:; ctx->pos= yypos307; ctx->thunkpos= yythunkpos307; if (!yymatchString(ctx, "\247")) goto l348; goto l307;
3165 l348:; ctx->pos= yypos307; ctx->thunkpos= yythunkpos307; if (!yymatchString(ctx, "\250")) goto l349; goto l307;
3166 l349:; ctx->pos= yypos307; ctx->thunkpos= yythunkpos307; if (!yymatchString(ctx, "\251")) goto l350; goto l307;
3167 l350:; ctx->pos= yypos307; ctx->thunkpos= yythunkpos307; if (!yymatchString(ctx, "\252")) goto l351; goto l307;
3168 l351:; ctx->pos= yypos307; ctx->thunkpos= yythunkpos307; if (!yymatchString(ctx, "\253")) goto l352; goto l307;
3169 l352:; ctx->pos= yypos307; ctx->thunkpos= yythunkpos307; if (!yymatchString(ctx, "\254")) goto l353; goto l307;
3170 l353:; ctx->pos= yypos307; ctx->thunkpos= yythunkpos307; if (!yymatchString(ctx, "\255")) goto l354; goto l307;
3171 l354:; ctx->pos= yypos307; ctx->thunkpos= yythunkpos307; if (!yymatchString(ctx, "\256")) goto l355; goto l307;
3172 l355:; ctx->pos= yypos307; ctx->thunkpos= yythunkpos307; if (!yymatchString(ctx, "\257")) goto l356; goto l307;
3173 l356:; ctx->pos= yypos307; ctx->thunkpos= yythunkpos307; if (!yymatchString(ctx, "\260")) goto l357; goto l307;
3174 l357:; ctx->pos= yypos307; ctx->thunkpos= yythunkpos307; if (!yymatchString(ctx, "\261")) goto l358; goto l307;
3175 l358:; ctx->pos= yypos307; ctx->thunkpos= yythunkpos307; if (!yymatchString(ctx, "\262")) goto l359; goto l307;
3176 l359:; ctx->pos= yypos307; ctx->thunkpos= yythunkpos307; if (!yymatchString(ctx, "\263")) goto l360; goto l307;
3177 l360:; ctx->pos= yypos307; ctx->thunkpos= yythunkpos307; if (!yymatchString(ctx, "\264")) goto l361; goto l307;
3178 l361:; ctx->pos= yypos307; ctx->thunkpos= yythunkpos307; if (!yymatchString(ctx, "\265")) goto l362; goto l307;
3179 l362:; ctx->pos= yypos307; ctx->thunkpos= yythunkpos307; if (!yymatchString(ctx, "\266")) goto l363; goto l307;
3180 l363:; ctx->pos= yypos307; ctx->thunkpos= yythunkpos307; if (!yymatchString(ctx, "\267")) goto l364; goto l307;
3181 l364:; ctx->pos= yypos307; ctx->thunkpos= yythunkpos307; if (!yymatchString(ctx, "\270")) goto l365; goto l307;
3182 l365:; ctx->pos= yypos307; ctx->thunkpos= yythunkpos307; if (!yymatchString(ctx, "\271")) goto l366; goto l307;
3183 l366:; ctx->pos= yypos307; ctx->thunkpos= yythunkpos307; if (!yymatchString(ctx, "\272")) goto l367; goto l307;
3184 l367:; ctx->pos= yypos307; ctx->thunkpos= yythunkpos307; if (!yymatchString(ctx, "\273")) goto l368; goto l307;
3185 l368:; ctx->pos= yypos307; ctx->thunkpos= yythunkpos307; if (!yymatchString(ctx, "\274")) goto l369; goto l307;
3186 l369:; ctx->pos= yypos307; ctx->thunkpos= yythunkpos307; if (!yymatchString(ctx, "\275")) goto l370; goto l307;
3187 l370:; ctx->pos= yypos307; ctx->thunkpos= yythunkpos307; if (!yymatchString(ctx, "\276")) goto l371; goto l307;
3188 l371:; ctx->pos= yypos307; ctx->thunkpos= yythunkpos307; if (!yymatchString(ctx, "\277")) goto l372; goto l307;
3189 l372:; ctx->pos= yypos307; ctx->thunkpos= yythunkpos307; if (!yymatchString(ctx, "\300")) goto l373; goto l307;
3190 l373:; ctx->pos= yypos307; ctx->thunkpos= yythunkpos307; if (!yymatchString(ctx, "\301")) goto l374; goto l307;
3191 l374:; ctx->pos= yypos307; ctx->thunkpos= yythunkpos307; if (!yymatchString(ctx, "\302")) goto l375; goto l307;
3192 l375:; ctx->pos= yypos307; ctx->thunkpos= yythunkpos307; if (!yymatchString(ctx, "\303")) goto l376; goto l307;
3193 l376:; ctx->pos= yypos307; ctx->thunkpos= yythunkpos307; if (!yymatchString(ctx, "\304")) goto l377; goto l307;
3194 l377:; ctx->pos= yypos307; ctx->thunkpos= yythunkpos307; if (!yymatchString(ctx, "\305")) goto l378; goto l307;
3195 l378:; ctx->pos= yypos307; ctx->thunkpos= yythunkpos307; if (!yymatchString(ctx, "\306")) goto l379; goto l307;
3196 l379:; ctx->pos= yypos307; ctx->thunkpos= yythunkpos307; if (!yymatchString(ctx, "\307")) goto l380; goto l307;
3197 l380:; ctx->pos= yypos307; ctx->thunkpos= yythunkpos307; if (!yymatchString(ctx, "\310")) goto l381; goto l307;
3198 l381:; ctx->pos= yypos307; ctx->thunkpos= yythunkpos307; if (!yymatchString(ctx, "\311")) goto l382; goto l307;
3199 l382:; ctx->pos= yypos307; ctx->thunkpos= yythunkpos307; if (!yymatchString(ctx, "\312")) goto l383; goto l307;
3200 l383:; ctx->pos= yypos307; ctx->thunkpos= yythunkpos307; if (!yymatchString(ctx, "\313")) goto l384; goto l307;
3201 l384:; ctx->pos= yypos307; ctx->thunkpos= yythunkpos307; if (!yymatchString(ctx, "\314")) goto l385; goto l307;
3202 l385:; ctx->pos= yypos307; ctx->thunkpos= yythunkpos307; if (!yymatchString(ctx, "\315")) goto l386; goto l307;
3203 l386:; ctx->pos= yypos307; ctx->thunkpos= yythunkpos307; if (!yymatchString(ctx, "\316")) goto l387; goto l307;
3204 l387:; ctx->pos= yypos307; ctx->thunkpos= yythunkpos307; if (!yymatchString(ctx, "\317")) goto l388; goto l307;
3205 l388:; ctx->pos= yypos307; ctx->thunkpos= yythunkpos307; if (!yymatchString(ctx, "\320")) goto l389; goto l307;
3206 l389:; ctx->pos= yypos307; ctx->thunkpos= yythunkpos307; if (!yymatchString(ctx, "\321")) goto l390; goto l307;
3207 l390:; ctx->pos= yypos307; ctx->thunkpos= yythunkpos307; if (!yymatchString(ctx, "\322")) goto l391; goto l307;
3208 l391:; ctx->pos= yypos307; ctx->thunkpos= yythunkpos307; if (!yymatchString(ctx, "\323")) goto l392; goto l307;
3209 l392:; ctx->pos= yypos307; ctx->thunkpos= yythunkpos307; if (!yymatchString(ctx, "\324")) goto l393; goto l307;
3210 l393:; ctx->pos= yypos307; ctx->thunkpos= yythunkpos307; if (!yymatchString(ctx, "\325")) goto l394; goto l307;
3211 l394:; ctx->pos= yypos307; ctx->thunkpos= yythunkpos307; if (!yymatchString(ctx, "\326")) goto l395; goto l307;
3212 l395:; ctx->pos= yypos307; ctx->thunkpos= yythunkpos307; if (!yymatchString(ctx, "\327")) goto l396; goto l307;
3213 l396:; ctx->pos= yypos307; ctx->thunkpos= yythunkpos307; if (!yymatchString(ctx, "\330")) goto l397; goto l307;
3214 l397:; ctx->pos= yypos307; ctx->thunkpos= yythunkpos307; if (!yymatchString(ctx, "\331")) goto l398; goto l307;
3215 l398:; ctx->pos= yypos307; ctx->thunkpos= yythunkpos307; if (!yymatchString(ctx, "\332")) goto l399; goto l307;
3216 l399:; ctx->pos= yypos307; ctx->thunkpos= yythunkpos307; if (!yymatchString(ctx, "\333")) goto l400; goto l307;
3217 l400:; ctx->pos= yypos307; ctx->thunkpos= yythunkpos307; if (!yymatchString(ctx, "\334")) goto l401; goto l307;
3218 l401:; ctx->pos= yypos307; ctx->thunkpos= yythunkpos307; if (!yymatchString(ctx, "\335")) goto l402; goto l307;
3219 l402:; ctx->pos= yypos307; ctx->thunkpos= yythunkpos307; if (!yymatchString(ctx, "\336")) goto l403; goto l307;
3220 l403:; ctx->pos= yypos307; ctx->thunkpos= yythunkpos307; if (!yymatchString(ctx, "\337")) goto l404; goto l307;
3221 l404:; ctx->pos= yypos307; ctx->thunkpos= yythunkpos307; if (!yymatchString(ctx, "\340")) goto l405; goto l307;
3222 l405:; ctx->pos= yypos307; ctx->thunkpos= yythunkpos307; if (!yymatchString(ctx, "\341")) goto l406; goto l307;
3223 l406:; ctx->pos= yypos307; ctx->thunkpos= yythunkpos307; if (!yymatchString(ctx, "\342")) goto l407; goto l307;
3224 l407:; ctx->pos= yypos307; ctx->thunkpos= yythunkpos307; if (!yymatchString(ctx, "\343")) goto l408; goto l307;
3225 l408:; ctx->pos= yypos307; ctx->thunkpos= yythunkpos307; if (!yymatchString(ctx, "\344")) goto l409; goto l307;
3226 l409:; ctx->pos= yypos307; ctx->thunkpos= yythunkpos307; if (!yymatchString(ctx, "\345")) goto l410; goto l307;
3227 l410:; ctx->pos= yypos307; ctx->thunkpos= yythunkpos307; if (!yymatchString(ctx, "\346")) goto l411; goto l307;
3228 l411:; ctx->pos= yypos307; ctx->thunkpos= yythunkpos307; if (!yymatchString(ctx, "\347")) goto l412; goto l307;
3229 l412:; ctx->pos= yypos307; ctx->thunkpos= yythunkpos307; if (!yymatchString(ctx, "\350")) goto l413; goto l307;
3230 l413:; ctx->pos= yypos307; ctx->thunkpos= yythunkpos307; if (!yymatchString(ctx, "\351")) goto l414; goto l307;
3231 l414:; ctx->pos= yypos307; ctx->thunkpos= yythunkpos307; if (!yymatchString(ctx, "\352")) goto l415; goto l307;
3232 l415:; ctx->pos= yypos307; ctx->thunkpos= yythunkpos307; if (!yymatchString(ctx, "\353")) goto l416; goto l307;
3233 l416:; ctx->pos= yypos307; ctx->thunkpos= yythunkpos307; if (!yymatchString(ctx, "\354")) goto l417; goto l307;
3234 l417:; ctx->pos= yypos307; ctx->thunkpos= yythunkpos307; if (!yymatchString(ctx, "\355")) goto l418; goto l307;
3235 l418:; ctx->pos= yypos307; ctx->thunkpos= yythunkpos307; if (!yymatchString(ctx, "\356")) goto l419; goto l307;
3236 l419:; ctx->pos= yypos307; ctx->thunkpos= yythunkpos307; if (!yymatchString(ctx, "\357")) goto l420; goto l307;
3237 l420:; ctx->pos= yypos307; ctx->thunkpos= yythunkpos307; if (!yymatchString(ctx, "\360")) goto l421; goto l307;
3238 l421:; ctx->pos= yypos307; ctx->thunkpos= yythunkpos307; if (!yymatchString(ctx, "\361")) goto l422; goto l307;
3239 l422:; ctx->pos= yypos307; ctx->thunkpos= yythunkpos307; if (!yymatchString(ctx, "\362")) goto l423; goto l307;
3240 l423:; ctx->pos= yypos307; ctx->thunkpos= yythunkpos307; if (!yymatchString(ctx, "\363")) goto l424; goto l307;
3241 l424:; ctx->pos= yypos307; ctx->thunkpos= yythunkpos307; if (!yymatchString(ctx, "\364")) goto l425; goto l307;
3242 l425:; ctx->pos= yypos307; ctx->thunkpos= yythunkpos307; if (!yymatchString(ctx, "\365")) goto l426; goto l307;
3243 l426:; ctx->pos= yypos307; ctx->thunkpos= yythunkpos307; if (!yymatchString(ctx, "\366")) goto l427; goto l307;
3244 l427:; ctx->pos= yypos307; ctx->thunkpos= yythunkpos307; if (!yymatchString(ctx, "\367")) goto l428; goto l307;
3245 l428:; ctx->pos= yypos307; ctx->thunkpos= yythunkpos307; if (!yymatchString(ctx, "\370")) goto l429; goto l307;
3246 l429:; ctx->pos= yypos307; ctx->thunkpos= yythunkpos307; if (!yymatchString(ctx, "\371")) goto l430; goto l307;
3247 l430:; ctx->pos= yypos307; ctx->thunkpos= yythunkpos307; if (!yymatchString(ctx, "\372")) goto l431; goto l307;
3248 l431:; ctx->pos= yypos307; ctx->thunkpos= yythunkpos307; if (!yymatchString(ctx, "\373")) goto l432; goto l307;
3249 l432:; ctx->pos= yypos307; ctx->thunkpos= yythunkpos307; if (!yymatchString(ctx, "\374")) goto l433; goto l307;
3250 l433:; ctx->pos= yypos307; ctx->thunkpos= yythunkpos307; if (!yymatchString(ctx, "\375")) goto l434; goto l307;
3251 l434:; ctx->pos= yypos307; ctx->thunkpos= yythunkpos307; if (!yymatchString(ctx, "\376")) goto l435; goto l307;
3252 l435:; ctx->pos= yypos307; ctx->thunkpos= yythunkpos307; if (!yymatchString(ctx, "\377")) goto l306;
3253 }
3254 l307:;
3255 yyprintf((stderr, " ok %s @ %s\n", "Alphanumeric", ctx->buf+ctx->pos));
3256 return 1;
3257 l306:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0;
3258 yyprintf((stderr, " fail %s @ %s\n", "Alphanumeric", ctx->buf+ctx->pos));
3259 return 0;
3260 }
yy_StrChunk(yycontext * ctx)3261 YY_RULE(int) yy_StrChunk(yycontext *ctx)
3262 { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos;
3263 yyprintf((stderr, "%s\n", "StrChunk"));
3264 { int yypos437= ctx->pos, yythunkpos437= ctx->thunkpos; yyText(ctx, ctx->begin, ctx->end); if (!(YY_BEGIN)) goto l438;
3265 { int yypos441= ctx->pos, yythunkpos441= ctx->thunkpos; if (!yy_NormalChar(ctx)) goto l442; goto l441;
3266 l442:; ctx->pos= yypos441; ctx->thunkpos= yythunkpos441; if (!yymatchChar(ctx, '_')) goto l438;
3267 l443:;
3268 { int yypos444= ctx->pos, yythunkpos444= ctx->thunkpos; if (!yymatchChar(ctx, '_')) goto l444; goto l443;
3269 l444:; ctx->pos= yypos444; ctx->thunkpos= yythunkpos444;
3270 }
3271 { int yypos445= ctx->pos, yythunkpos445= ctx->thunkpos; if (!yy_Alphanumeric(ctx)) goto l438; ctx->pos= yypos445; ctx->thunkpos= yythunkpos445;
3272 }
3273 }
3274 l441:;
3275 l439:;
3276 { int yypos440= ctx->pos, yythunkpos440= ctx->thunkpos;
3277 { int yypos446= ctx->pos, yythunkpos446= ctx->thunkpos; if (!yy_NormalChar(ctx)) goto l447; goto l446;
3278 l447:; ctx->pos= yypos446; ctx->thunkpos= yythunkpos446; if (!yymatchChar(ctx, '_')) goto l440;
3279 l448:;
3280 { int yypos449= ctx->pos, yythunkpos449= ctx->thunkpos; if (!yymatchChar(ctx, '_')) goto l449; goto l448;
3281 l449:; ctx->pos= yypos449; ctx->thunkpos= yythunkpos449;
3282 }
3283 { int yypos450= ctx->pos, yythunkpos450= ctx->thunkpos; if (!yy_Alphanumeric(ctx)) goto l440; ctx->pos= yypos450; ctx->thunkpos= yythunkpos450;
3284 }
3285 }
3286 l446:; goto l439;
3287 l440:; ctx->pos= yypos440; ctx->thunkpos= yythunkpos440;
3288 } yyText(ctx, ctx->begin, ctx->end); if (!(YY_END)) goto l438; yyDo(ctx, yy_1_StrChunk, ctx->begin, ctx->end); goto l437;
3289 l438:; ctx->pos= yypos437; ctx->thunkpos= yythunkpos437; if (!yy_AposChunk(ctx)) goto l436;
3290 }
3291 l437:;
3292 yyprintf((stderr, " ok %s @ %s\n", "StrChunk", ctx->buf+ctx->pos));
3293 return 1;
3294 l436:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0;
3295 yyprintf((stderr, " fail %s @ %s\n", "StrChunk", ctx->buf+ctx->pos));
3296 return 0;
3297 }
yy_NormalChar(yycontext * ctx)3298 YY_RULE(int) yy_NormalChar(yycontext *ctx)
3299 { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos;
3300 yyprintf((stderr, "%s\n", "NormalChar"));
3301 { int yypos452= ctx->pos, yythunkpos452= ctx->thunkpos;
3302 { int yypos453= ctx->pos, yythunkpos453= ctx->thunkpos; if (!yy_SpecialChar(ctx)) goto l454; goto l453;
3303 l454:; ctx->pos= yypos453; ctx->thunkpos= yythunkpos453; if (!yy_Spacechar(ctx)) goto l455; goto l453;
3304 l455:; ctx->pos= yypos453; ctx->thunkpos= yythunkpos453; if (!yy_Newline(ctx)) goto l452;
3305 }
3306 l453:; goto l451;
3307 l452:; ctx->pos= yypos452; ctx->thunkpos= yythunkpos452;
3308 } if (!yymatchDot(ctx)) goto l451;
3309 yyprintf((stderr, " ok %s @ %s\n", "NormalChar", ctx->buf+ctx->pos));
3310 return 1;
3311 l451:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0;
3312 yyprintf((stderr, " fail %s @ %s\n", "NormalChar", ctx->buf+ctx->pos));
3313 return 0;
3314 }
yy_Symbol(yycontext * ctx)3315 YY_RULE(int) yy_Symbol(yycontext *ctx)
3316 { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos;
3317 yyprintf((stderr, "%s\n", "Symbol")); yyText(ctx, ctx->begin, ctx->end); if (!(YY_BEGIN)) goto l456; if (!yy_SpecialChar(ctx)) goto l456; yyText(ctx, ctx->begin, ctx->end); if (!(YY_END)) goto l456; yyDo(ctx, yy_1_Symbol, ctx->begin, ctx->end);
3318 yyprintf((stderr, " ok %s @ %s\n", "Symbol", ctx->buf+ctx->pos));
3319 return 1;
3320 l456:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0;
3321 yyprintf((stderr, " fail %s @ %s\n", "Symbol", ctx->buf+ctx->pos));
3322 return 0;
3323 }
yy_Smart(yycontext * ctx)3324 YY_RULE(int) yy_Smart(yycontext *ctx)
3325 { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos;
3326 yyprintf((stderr, "%s\n", "Smart")); yyText(ctx, ctx->begin, ctx->end); if (!( extension(EXT_SMART) )) goto l457;
3327 { int yypos458= ctx->pos, yythunkpos458= ctx->thunkpos; if (!yy_Ellipsis(ctx)) goto l459; goto l458;
3328 l459:; ctx->pos= yypos458; ctx->thunkpos= yythunkpos458; if (!yy_Dash(ctx)) goto l460; goto l458;
3329 l460:; ctx->pos= yypos458; ctx->thunkpos= yythunkpos458; if (!yy_SingleQuoted(ctx)) goto l461; goto l458;
3330 l461:; ctx->pos= yypos458; ctx->thunkpos= yythunkpos458; if (!yy_DoubleQuoted(ctx)) goto l462; goto l458;
3331 l462:; ctx->pos= yypos458; ctx->thunkpos= yythunkpos458; if (!yy_Apostrophe(ctx)) goto l457;
3332 }
3333 l458:;
3334 yyprintf((stderr, " ok %s @ %s\n", "Smart", ctx->buf+ctx->pos));
3335 return 1;
3336 l457:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0;
3337 yyprintf((stderr, " fail %s @ %s\n", "Smart", ctx->buf+ctx->pos));
3338 return 0;
3339 }
yy_EscapedChar(yycontext * ctx)3340 YY_RULE(int) yy_EscapedChar(yycontext *ctx)
3341 { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos;
3342 yyprintf((stderr, "%s\n", "EscapedChar")); if (!yymatchChar(ctx, '\\')) goto l463;
3343 { int yypos464= ctx->pos, yythunkpos464= ctx->thunkpos; if (!yy_Newline(ctx)) goto l464; goto l463;
3344 l464:; ctx->pos= yypos464; ctx->thunkpos= yythunkpos464;
3345 } yyText(ctx, ctx->begin, ctx->end); if (!(YY_BEGIN)) goto l463; if (!yymatchClass(ctx, (unsigned char *)"\000\000\000\000\012\157\000\120\000\000\000\270\001\000\000\070\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000")) goto l463; yyText(ctx, ctx->begin, ctx->end); if (!(YY_END)) goto l463; yyDo(ctx, yy_1_EscapedChar, ctx->begin, ctx->end);
3346 yyprintf((stderr, " ok %s @ %s\n", "EscapedChar", ctx->buf+ctx->pos));
3347 return 1;
3348 l463:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0;
3349 yyprintf((stderr, " fail %s @ %s\n", "EscapedChar", ctx->buf+ctx->pos));
3350 return 0;
3351 }
yy_Entity(yycontext * ctx)3352 YY_RULE(int) yy_Entity(yycontext *ctx)
3353 { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos;
3354 yyprintf((stderr, "%s\n", "Entity"));
3355 { int yypos466= ctx->pos, yythunkpos466= ctx->thunkpos; if (!yy_HexEntity(ctx)) goto l467; goto l466;
3356 l467:; ctx->pos= yypos466; ctx->thunkpos= yythunkpos466; if (!yy_DecEntity(ctx)) goto l468; goto l466;
3357 l468:; ctx->pos= yypos466; ctx->thunkpos= yythunkpos466; if (!yy_CharEntity(ctx)) goto l465;
3358 }
3359 l466:; yyDo(ctx, yy_1_Entity, ctx->begin, ctx->end);
3360 yyprintf((stderr, " ok %s @ %s\n", "Entity", ctx->buf+ctx->pos));
3361 return 1;
3362 l465:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0;
3363 yyprintf((stderr, " fail %s @ %s\n", "Entity", ctx->buf+ctx->pos));
3364 return 0;
3365 }
yy_RawHtml(yycontext * ctx)3366 YY_RULE(int) yy_RawHtml(yycontext *ctx)
3367 { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos;
3368 yyprintf((stderr, "%s\n", "RawHtml")); yyText(ctx, ctx->begin, ctx->end); if (!(YY_BEGIN)) goto l469;
3369 { int yypos470= ctx->pos, yythunkpos470= ctx->thunkpos; if (!yy_HtmlComment(ctx)) goto l471; goto l470;
3370 l471:; ctx->pos= yypos470; ctx->thunkpos= yythunkpos470; if (!yy_HtmlBlockScript(ctx)) goto l472; goto l470;
3371 l472:; ctx->pos= yypos470; ctx->thunkpos= yythunkpos470; if (!yy_HtmlTag(ctx)) goto l469;
3372 }
3373 l470:; yyText(ctx, ctx->begin, ctx->end); if (!(YY_END)) goto l469; yyDo(ctx, yy_1_RawHtml, ctx->begin, ctx->end);
3374 yyprintf((stderr, " ok %s @ %s\n", "RawHtml", ctx->buf+ctx->pos));
3375 return 1;
3376 l469:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0;
3377 yyprintf((stderr, " fail %s @ %s\n", "RawHtml", ctx->buf+ctx->pos));
3378 return 0;
3379 }
yy_Code(yycontext * ctx)3380 YY_RULE(int) yy_Code(yycontext *ctx)
3381 { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos;
3382 yyprintf((stderr, "%s\n", "Code"));
3383 { int yypos474= ctx->pos, yythunkpos474= ctx->thunkpos; if (!yy_Ticks1(ctx)) goto l475; if (!yy_Sp(ctx)) goto l475; yyText(ctx, ctx->begin, ctx->end); if (!(YY_BEGIN)) goto l475;
3384 { int yypos478= ctx->pos, yythunkpos478= ctx->thunkpos;
3385 { int yypos482= ctx->pos, yythunkpos482= ctx->thunkpos; if (!yymatchChar(ctx, '`')) goto l482; goto l479;
3386 l482:; ctx->pos= yypos482; ctx->thunkpos= yythunkpos482;
3387 } if (!yy_Nonspacechar(ctx)) goto l479;
3388 l480:;
3389 { int yypos481= ctx->pos, yythunkpos481= ctx->thunkpos;
3390 { int yypos483= ctx->pos, yythunkpos483= ctx->thunkpos; if (!yymatchChar(ctx, '`')) goto l483; goto l481;
3391 l483:; ctx->pos= yypos483; ctx->thunkpos= yythunkpos483;
3392 } if (!yy_Nonspacechar(ctx)) goto l481; goto l480;
3393 l481:; ctx->pos= yypos481; ctx->thunkpos= yythunkpos481;
3394 } goto l478;
3395 l479:; ctx->pos= yypos478; ctx->thunkpos= yythunkpos478;
3396 { int yypos485= ctx->pos, yythunkpos485= ctx->thunkpos; if (!yy_Ticks1(ctx)) goto l485; goto l484;
3397 l485:; ctx->pos= yypos485; ctx->thunkpos= yythunkpos485;
3398 } if (!yymatchChar(ctx, '`')) goto l484;
3399 l486:;
3400 { int yypos487= ctx->pos, yythunkpos487= ctx->thunkpos; if (!yymatchChar(ctx, '`')) goto l487; goto l486;
3401 l487:; ctx->pos= yypos487; ctx->thunkpos= yythunkpos487;
3402 } goto l478;
3403 l484:; ctx->pos= yypos478; ctx->thunkpos= yythunkpos478;
3404 { int yypos488= ctx->pos, yythunkpos488= ctx->thunkpos; if (!yy_Sp(ctx)) goto l488; if (!yy_Ticks1(ctx)) goto l488; goto l475;
3405 l488:; ctx->pos= yypos488; ctx->thunkpos= yythunkpos488;
3406 }
3407 { int yypos489= ctx->pos, yythunkpos489= ctx->thunkpos; if (!yy_Spacechar(ctx)) goto l490; goto l489;
3408 l490:; ctx->pos= yypos489; ctx->thunkpos= yythunkpos489; if (!yy_Newline(ctx)) goto l475;
3409 { int yypos491= ctx->pos, yythunkpos491= ctx->thunkpos; if (!yy_BlankLine(ctx)) goto l491; goto l475;
3410 l491:; ctx->pos= yypos491; ctx->thunkpos= yythunkpos491;
3411 }
3412 }
3413 l489:;
3414 }
3415 l478:;
3416 l476:;
3417 { int yypos477= ctx->pos, yythunkpos477= ctx->thunkpos;
3418 { int yypos492= ctx->pos, yythunkpos492= ctx->thunkpos;
3419 { int yypos496= ctx->pos, yythunkpos496= ctx->thunkpos; if (!yymatchChar(ctx, '`')) goto l496; goto l493;
3420 l496:; ctx->pos= yypos496; ctx->thunkpos= yythunkpos496;
3421 } if (!yy_Nonspacechar(ctx)) goto l493;
3422 l494:;
3423 { int yypos495= ctx->pos, yythunkpos495= ctx->thunkpos;
3424 { int yypos497= ctx->pos, yythunkpos497= ctx->thunkpos; if (!yymatchChar(ctx, '`')) goto l497; goto l495;
3425 l497:; ctx->pos= yypos497; ctx->thunkpos= yythunkpos497;
3426 } if (!yy_Nonspacechar(ctx)) goto l495; goto l494;
3427 l495:; ctx->pos= yypos495; ctx->thunkpos= yythunkpos495;
3428 } goto l492;
3429 l493:; ctx->pos= yypos492; ctx->thunkpos= yythunkpos492;
3430 { int yypos499= ctx->pos, yythunkpos499= ctx->thunkpos; if (!yy_Ticks1(ctx)) goto l499; goto l498;
3431 l499:; ctx->pos= yypos499; ctx->thunkpos= yythunkpos499;
3432 } if (!yymatchChar(ctx, '`')) goto l498;
3433 l500:;
3434 { int yypos501= ctx->pos, yythunkpos501= ctx->thunkpos; if (!yymatchChar(ctx, '`')) goto l501; goto l500;
3435 l501:; ctx->pos= yypos501; ctx->thunkpos= yythunkpos501;
3436 } goto l492;
3437 l498:; ctx->pos= yypos492; ctx->thunkpos= yythunkpos492;
3438 { int yypos502= ctx->pos, yythunkpos502= ctx->thunkpos; if (!yy_Sp(ctx)) goto l502; if (!yy_Ticks1(ctx)) goto l502; goto l477;
3439 l502:; ctx->pos= yypos502; ctx->thunkpos= yythunkpos502;
3440 }
3441 { int yypos503= ctx->pos, yythunkpos503= ctx->thunkpos; if (!yy_Spacechar(ctx)) goto l504; goto l503;
3442 l504:; ctx->pos= yypos503; ctx->thunkpos= yythunkpos503; if (!yy_Newline(ctx)) goto l477;
3443 { int yypos505= ctx->pos, yythunkpos505= ctx->thunkpos; if (!yy_BlankLine(ctx)) goto l505; goto l477;
3444 l505:; ctx->pos= yypos505; ctx->thunkpos= yythunkpos505;
3445 }
3446 }
3447 l503:;
3448 }
3449 l492:; goto l476;
3450 l477:; ctx->pos= yypos477; ctx->thunkpos= yythunkpos477;
3451 } yyText(ctx, ctx->begin, ctx->end); if (!(YY_END)) goto l475; if (!yy_Sp(ctx)) goto l475; if (!yy_Ticks1(ctx)) goto l475; goto l474;
3452 l475:; ctx->pos= yypos474; ctx->thunkpos= yythunkpos474; if (!yy_Ticks2(ctx)) goto l506; if (!yy_Sp(ctx)) goto l506; yyText(ctx, ctx->begin, ctx->end); if (!(YY_BEGIN)) goto l506;
3453 { int yypos509= ctx->pos, yythunkpos509= ctx->thunkpos;
3454 { int yypos513= ctx->pos, yythunkpos513= ctx->thunkpos; if (!yymatchChar(ctx, '`')) goto l513; goto l510;
3455 l513:; ctx->pos= yypos513; ctx->thunkpos= yythunkpos513;
3456 } if (!yy_Nonspacechar(ctx)) goto l510;
3457 l511:;
3458 { int yypos512= ctx->pos, yythunkpos512= ctx->thunkpos;
3459 { int yypos514= ctx->pos, yythunkpos514= ctx->thunkpos; if (!yymatchChar(ctx, '`')) goto l514; goto l512;
3460 l514:; ctx->pos= yypos514; ctx->thunkpos= yythunkpos514;
3461 } if (!yy_Nonspacechar(ctx)) goto l512; goto l511;
3462 l512:; ctx->pos= yypos512; ctx->thunkpos= yythunkpos512;
3463 } goto l509;
3464 l510:; ctx->pos= yypos509; ctx->thunkpos= yythunkpos509;
3465 { int yypos516= ctx->pos, yythunkpos516= ctx->thunkpos; if (!yy_Ticks2(ctx)) goto l516; goto l515;
3466 l516:; ctx->pos= yypos516; ctx->thunkpos= yythunkpos516;
3467 } if (!yymatchChar(ctx, '`')) goto l515;
3468 l517:;
3469 { int yypos518= ctx->pos, yythunkpos518= ctx->thunkpos; if (!yymatchChar(ctx, '`')) goto l518; goto l517;
3470 l518:; ctx->pos= yypos518; ctx->thunkpos= yythunkpos518;
3471 } goto l509;
3472 l515:; ctx->pos= yypos509; ctx->thunkpos= yythunkpos509;
3473 { int yypos519= ctx->pos, yythunkpos519= ctx->thunkpos; if (!yy_Sp(ctx)) goto l519; if (!yy_Ticks2(ctx)) goto l519; goto l506;
3474 l519:; ctx->pos= yypos519; ctx->thunkpos= yythunkpos519;
3475 }
3476 { int yypos520= ctx->pos, yythunkpos520= ctx->thunkpos; if (!yy_Spacechar(ctx)) goto l521; goto l520;
3477 l521:; ctx->pos= yypos520; ctx->thunkpos= yythunkpos520; if (!yy_Newline(ctx)) goto l506;
3478 { int yypos522= ctx->pos, yythunkpos522= ctx->thunkpos; if (!yy_BlankLine(ctx)) goto l522; goto l506;
3479 l522:; ctx->pos= yypos522; ctx->thunkpos= yythunkpos522;
3480 }
3481 }
3482 l520:;
3483 }
3484 l509:;
3485 l507:;
3486 { int yypos508= ctx->pos, yythunkpos508= ctx->thunkpos;
3487 { int yypos523= ctx->pos, yythunkpos523= ctx->thunkpos;
3488 { int yypos527= ctx->pos, yythunkpos527= ctx->thunkpos; if (!yymatchChar(ctx, '`')) goto l527; goto l524;
3489 l527:; ctx->pos= yypos527; ctx->thunkpos= yythunkpos527;
3490 } if (!yy_Nonspacechar(ctx)) goto l524;
3491 l525:;
3492 { int yypos526= ctx->pos, yythunkpos526= ctx->thunkpos;
3493 { int yypos528= ctx->pos, yythunkpos528= ctx->thunkpos; if (!yymatchChar(ctx, '`')) goto l528; goto l526;
3494 l528:; ctx->pos= yypos528; ctx->thunkpos= yythunkpos528;
3495 } if (!yy_Nonspacechar(ctx)) goto l526; goto l525;
3496 l526:; ctx->pos= yypos526; ctx->thunkpos= yythunkpos526;
3497 } goto l523;
3498 l524:; ctx->pos= yypos523; ctx->thunkpos= yythunkpos523;
3499 { int yypos530= ctx->pos, yythunkpos530= ctx->thunkpos; if (!yy_Ticks2(ctx)) goto l530; goto l529;
3500 l530:; ctx->pos= yypos530; ctx->thunkpos= yythunkpos530;
3501 } if (!yymatchChar(ctx, '`')) goto l529;
3502 l531:;
3503 { int yypos532= ctx->pos, yythunkpos532= ctx->thunkpos; if (!yymatchChar(ctx, '`')) goto l532; goto l531;
3504 l532:; ctx->pos= yypos532; ctx->thunkpos= yythunkpos532;
3505 } goto l523;
3506 l529:; ctx->pos= yypos523; ctx->thunkpos= yythunkpos523;
3507 { int yypos533= ctx->pos, yythunkpos533= ctx->thunkpos; if (!yy_Sp(ctx)) goto l533; if (!yy_Ticks2(ctx)) goto l533; goto l508;
3508 l533:; ctx->pos= yypos533; ctx->thunkpos= yythunkpos533;
3509 }
3510 { int yypos534= ctx->pos, yythunkpos534= ctx->thunkpos; if (!yy_Spacechar(ctx)) goto l535; goto l534;
3511 l535:; ctx->pos= yypos534; ctx->thunkpos= yythunkpos534; if (!yy_Newline(ctx)) goto l508;
3512 { int yypos536= ctx->pos, yythunkpos536= ctx->thunkpos; if (!yy_BlankLine(ctx)) goto l536; goto l508;
3513 l536:; ctx->pos= yypos536; ctx->thunkpos= yythunkpos536;
3514 }
3515 }
3516 l534:;
3517 }
3518 l523:; goto l507;
3519 l508:; ctx->pos= yypos508; ctx->thunkpos= yythunkpos508;
3520 } yyText(ctx, ctx->begin, ctx->end); if (!(YY_END)) goto l506; if (!yy_Sp(ctx)) goto l506; if (!yy_Ticks2(ctx)) goto l506; goto l474;
3521 l506:; ctx->pos= yypos474; ctx->thunkpos= yythunkpos474; if (!yy_Ticks3(ctx)) goto l537; if (!yy_Sp(ctx)) goto l537; yyText(ctx, ctx->begin, ctx->end); if (!(YY_BEGIN)) goto l537;
3522 { int yypos540= ctx->pos, yythunkpos540= ctx->thunkpos;
3523 { int yypos544= ctx->pos, yythunkpos544= ctx->thunkpos; if (!yymatchChar(ctx, '`')) goto l544; goto l541;
3524 l544:; ctx->pos= yypos544; ctx->thunkpos= yythunkpos544;
3525 } if (!yy_Nonspacechar(ctx)) goto l541;
3526 l542:;
3527 { int yypos543= ctx->pos, yythunkpos543= ctx->thunkpos;
3528 { int yypos545= ctx->pos, yythunkpos545= ctx->thunkpos; if (!yymatchChar(ctx, '`')) goto l545; goto l543;
3529 l545:; ctx->pos= yypos545; ctx->thunkpos= yythunkpos545;
3530 } if (!yy_Nonspacechar(ctx)) goto l543; goto l542;
3531 l543:; ctx->pos= yypos543; ctx->thunkpos= yythunkpos543;
3532 } goto l540;
3533 l541:; ctx->pos= yypos540; ctx->thunkpos= yythunkpos540;
3534 { int yypos547= ctx->pos, yythunkpos547= ctx->thunkpos; if (!yy_Ticks3(ctx)) goto l547; goto l546;
3535 l547:; ctx->pos= yypos547; ctx->thunkpos= yythunkpos547;
3536 } if (!yymatchChar(ctx, '`')) goto l546;
3537 l548:;
3538 { int yypos549= ctx->pos, yythunkpos549= ctx->thunkpos; if (!yymatchChar(ctx, '`')) goto l549; goto l548;
3539 l549:; ctx->pos= yypos549; ctx->thunkpos= yythunkpos549;
3540 } goto l540;
3541 l546:; ctx->pos= yypos540; ctx->thunkpos= yythunkpos540;
3542 { int yypos550= ctx->pos, yythunkpos550= ctx->thunkpos; if (!yy_Sp(ctx)) goto l550; if (!yy_Ticks3(ctx)) goto l550; goto l537;
3543 l550:; ctx->pos= yypos550; ctx->thunkpos= yythunkpos550;
3544 }
3545 { int yypos551= ctx->pos, yythunkpos551= ctx->thunkpos; if (!yy_Spacechar(ctx)) goto l552; goto l551;
3546 l552:; ctx->pos= yypos551; ctx->thunkpos= yythunkpos551; if (!yy_Newline(ctx)) goto l537;
3547 { int yypos553= ctx->pos, yythunkpos553= ctx->thunkpos; if (!yy_BlankLine(ctx)) goto l553; goto l537;
3548 l553:; ctx->pos= yypos553; ctx->thunkpos= yythunkpos553;
3549 }
3550 }
3551 l551:;
3552 }
3553 l540:;
3554 l538:;
3555 { int yypos539= ctx->pos, yythunkpos539= ctx->thunkpos;
3556 { int yypos554= ctx->pos, yythunkpos554= ctx->thunkpos;
3557 { int yypos558= ctx->pos, yythunkpos558= ctx->thunkpos; if (!yymatchChar(ctx, '`')) goto l558; goto l555;
3558 l558:; ctx->pos= yypos558; ctx->thunkpos= yythunkpos558;
3559 } if (!yy_Nonspacechar(ctx)) goto l555;
3560 l556:;
3561 { int yypos557= ctx->pos, yythunkpos557= ctx->thunkpos;
3562 { int yypos559= ctx->pos, yythunkpos559= ctx->thunkpos; if (!yymatchChar(ctx, '`')) goto l559; goto l557;
3563 l559:; ctx->pos= yypos559; ctx->thunkpos= yythunkpos559;
3564 } if (!yy_Nonspacechar(ctx)) goto l557; goto l556;
3565 l557:; ctx->pos= yypos557; ctx->thunkpos= yythunkpos557;
3566 } goto l554;
3567 l555:; ctx->pos= yypos554; ctx->thunkpos= yythunkpos554;
3568 { int yypos561= ctx->pos, yythunkpos561= ctx->thunkpos; if (!yy_Ticks3(ctx)) goto l561; goto l560;
3569 l561:; ctx->pos= yypos561; ctx->thunkpos= yythunkpos561;
3570 } if (!yymatchChar(ctx, '`')) goto l560;
3571 l562:;
3572 { int yypos563= ctx->pos, yythunkpos563= ctx->thunkpos; if (!yymatchChar(ctx, '`')) goto l563; goto l562;
3573 l563:; ctx->pos= yypos563; ctx->thunkpos= yythunkpos563;
3574 } goto l554;
3575 l560:; ctx->pos= yypos554; ctx->thunkpos= yythunkpos554;
3576 { int yypos564= ctx->pos, yythunkpos564= ctx->thunkpos; if (!yy_Sp(ctx)) goto l564; if (!yy_Ticks3(ctx)) goto l564; goto l539;
3577 l564:; ctx->pos= yypos564; ctx->thunkpos= yythunkpos564;
3578 }
3579 { int yypos565= ctx->pos, yythunkpos565= ctx->thunkpos; if (!yy_Spacechar(ctx)) goto l566; goto l565;
3580 l566:; ctx->pos= yypos565; ctx->thunkpos= yythunkpos565; if (!yy_Newline(ctx)) goto l539;
3581 { int yypos567= ctx->pos, yythunkpos567= ctx->thunkpos; if (!yy_BlankLine(ctx)) goto l567; goto l539;
3582 l567:; ctx->pos= yypos567; ctx->thunkpos= yythunkpos567;
3583 }
3584 }
3585 l565:;
3586 }
3587 l554:; goto l538;
3588 l539:; ctx->pos= yypos539; ctx->thunkpos= yythunkpos539;
3589 } yyText(ctx, ctx->begin, ctx->end); if (!(YY_END)) goto l537; if (!yy_Sp(ctx)) goto l537; if (!yy_Ticks3(ctx)) goto l537; goto l474;
3590 l537:; ctx->pos= yypos474; ctx->thunkpos= yythunkpos474; if (!yy_Ticks4(ctx)) goto l568; if (!yy_Sp(ctx)) goto l568; yyText(ctx, ctx->begin, ctx->end); if (!(YY_BEGIN)) goto l568;
3591 { int yypos571= ctx->pos, yythunkpos571= ctx->thunkpos;
3592 { int yypos575= ctx->pos, yythunkpos575= ctx->thunkpos; if (!yymatchChar(ctx, '`')) goto l575; goto l572;
3593 l575:; ctx->pos= yypos575; ctx->thunkpos= yythunkpos575;
3594 } if (!yy_Nonspacechar(ctx)) goto l572;
3595 l573:;
3596 { int yypos574= ctx->pos, yythunkpos574= ctx->thunkpos;
3597 { int yypos576= ctx->pos, yythunkpos576= ctx->thunkpos; if (!yymatchChar(ctx, '`')) goto l576; goto l574;
3598 l576:; ctx->pos= yypos576; ctx->thunkpos= yythunkpos576;
3599 } if (!yy_Nonspacechar(ctx)) goto l574; goto l573;
3600 l574:; ctx->pos= yypos574; ctx->thunkpos= yythunkpos574;
3601 } goto l571;
3602 l572:; ctx->pos= yypos571; ctx->thunkpos= yythunkpos571;
3603 { int yypos578= ctx->pos, yythunkpos578= ctx->thunkpos; if (!yy_Ticks4(ctx)) goto l578; goto l577;
3604 l578:; ctx->pos= yypos578; ctx->thunkpos= yythunkpos578;
3605 } if (!yymatchChar(ctx, '`')) goto l577;
3606 l579:;
3607 { int yypos580= ctx->pos, yythunkpos580= ctx->thunkpos; if (!yymatchChar(ctx, '`')) goto l580; goto l579;
3608 l580:; ctx->pos= yypos580; ctx->thunkpos= yythunkpos580;
3609 } goto l571;
3610 l577:; ctx->pos= yypos571; ctx->thunkpos= yythunkpos571;
3611 { int yypos581= ctx->pos, yythunkpos581= ctx->thunkpos; if (!yy_Sp(ctx)) goto l581; if (!yy_Ticks4(ctx)) goto l581; goto l568;
3612 l581:; ctx->pos= yypos581; ctx->thunkpos= yythunkpos581;
3613 }
3614 { int yypos582= ctx->pos, yythunkpos582= ctx->thunkpos; if (!yy_Spacechar(ctx)) goto l583; goto l582;
3615 l583:; ctx->pos= yypos582; ctx->thunkpos= yythunkpos582; if (!yy_Newline(ctx)) goto l568;
3616 { int yypos584= ctx->pos, yythunkpos584= ctx->thunkpos; if (!yy_BlankLine(ctx)) goto l584; goto l568;
3617 l584:; ctx->pos= yypos584; ctx->thunkpos= yythunkpos584;
3618 }
3619 }
3620 l582:;
3621 }
3622 l571:;
3623 l569:;
3624 { int yypos570= ctx->pos, yythunkpos570= ctx->thunkpos;
3625 { int yypos585= ctx->pos, yythunkpos585= ctx->thunkpos;
3626 { int yypos589= ctx->pos, yythunkpos589= ctx->thunkpos; if (!yymatchChar(ctx, '`')) goto l589; goto l586;
3627 l589:; ctx->pos= yypos589; ctx->thunkpos= yythunkpos589;
3628 } if (!yy_Nonspacechar(ctx)) goto l586;
3629 l587:;
3630 { int yypos588= ctx->pos, yythunkpos588= ctx->thunkpos;
3631 { int yypos590= ctx->pos, yythunkpos590= ctx->thunkpos; if (!yymatchChar(ctx, '`')) goto l590; goto l588;
3632 l590:; ctx->pos= yypos590; ctx->thunkpos= yythunkpos590;
3633 } if (!yy_Nonspacechar(ctx)) goto l588; goto l587;
3634 l588:; ctx->pos= yypos588; ctx->thunkpos= yythunkpos588;
3635 } goto l585;
3636 l586:; ctx->pos= yypos585; ctx->thunkpos= yythunkpos585;
3637 { int yypos592= ctx->pos, yythunkpos592= ctx->thunkpos; if (!yy_Ticks4(ctx)) goto l592; goto l591;
3638 l592:; ctx->pos= yypos592; ctx->thunkpos= yythunkpos592;
3639 } if (!yymatchChar(ctx, '`')) goto l591;
3640 l593:;
3641 { int yypos594= ctx->pos, yythunkpos594= ctx->thunkpos; if (!yymatchChar(ctx, '`')) goto l594; goto l593;
3642 l594:; ctx->pos= yypos594; ctx->thunkpos= yythunkpos594;
3643 } goto l585;
3644 l591:; ctx->pos= yypos585; ctx->thunkpos= yythunkpos585;
3645 { int yypos595= ctx->pos, yythunkpos595= ctx->thunkpos; if (!yy_Sp(ctx)) goto l595; if (!yy_Ticks4(ctx)) goto l595; goto l570;
3646 l595:; ctx->pos= yypos595; ctx->thunkpos= yythunkpos595;
3647 }
3648 { int yypos596= ctx->pos, yythunkpos596= ctx->thunkpos; if (!yy_Spacechar(ctx)) goto l597; goto l596;
3649 l597:; ctx->pos= yypos596; ctx->thunkpos= yythunkpos596; if (!yy_Newline(ctx)) goto l570;
3650 { int yypos598= ctx->pos, yythunkpos598= ctx->thunkpos; if (!yy_BlankLine(ctx)) goto l598; goto l570;
3651 l598:; ctx->pos= yypos598; ctx->thunkpos= yythunkpos598;
3652 }
3653 }
3654 l596:;
3655 }
3656 l585:; goto l569;
3657 l570:; ctx->pos= yypos570; ctx->thunkpos= yythunkpos570;
3658 } yyText(ctx, ctx->begin, ctx->end); if (!(YY_END)) goto l568; if (!yy_Sp(ctx)) goto l568; if (!yy_Ticks4(ctx)) goto l568; goto l474;
3659 l568:; ctx->pos= yypos474; ctx->thunkpos= yythunkpos474; if (!yy_Ticks5(ctx)) goto l473; if (!yy_Sp(ctx)) goto l473; yyText(ctx, ctx->begin, ctx->end); if (!(YY_BEGIN)) goto l473;
3660 { int yypos601= ctx->pos, yythunkpos601= ctx->thunkpos;
3661 { int yypos605= ctx->pos, yythunkpos605= ctx->thunkpos; if (!yymatchChar(ctx, '`')) goto l605; goto l602;
3662 l605:; ctx->pos= yypos605; ctx->thunkpos= yythunkpos605;
3663 } if (!yy_Nonspacechar(ctx)) goto l602;
3664 l603:;
3665 { int yypos604= ctx->pos, yythunkpos604= ctx->thunkpos;
3666 { int yypos606= ctx->pos, yythunkpos606= ctx->thunkpos; if (!yymatchChar(ctx, '`')) goto l606; goto l604;
3667 l606:; ctx->pos= yypos606; ctx->thunkpos= yythunkpos606;
3668 } if (!yy_Nonspacechar(ctx)) goto l604; goto l603;
3669 l604:; ctx->pos= yypos604; ctx->thunkpos= yythunkpos604;
3670 } goto l601;
3671 l602:; ctx->pos= yypos601; ctx->thunkpos= yythunkpos601;
3672 { int yypos608= ctx->pos, yythunkpos608= ctx->thunkpos; if (!yy_Ticks5(ctx)) goto l608; goto l607;
3673 l608:; ctx->pos= yypos608; ctx->thunkpos= yythunkpos608;
3674 } if (!yymatchChar(ctx, '`')) goto l607;
3675 l609:;
3676 { int yypos610= ctx->pos, yythunkpos610= ctx->thunkpos; if (!yymatchChar(ctx, '`')) goto l610; goto l609;
3677 l610:; ctx->pos= yypos610; ctx->thunkpos= yythunkpos610;
3678 } goto l601;
3679 l607:; ctx->pos= yypos601; ctx->thunkpos= yythunkpos601;
3680 { int yypos611= ctx->pos, yythunkpos611= ctx->thunkpos; if (!yy_Sp(ctx)) goto l611; if (!yy_Ticks5(ctx)) goto l611; goto l473;
3681 l611:; ctx->pos= yypos611; ctx->thunkpos= yythunkpos611;
3682 }
3683 { int yypos612= ctx->pos, yythunkpos612= ctx->thunkpos; if (!yy_Spacechar(ctx)) goto l613; goto l612;
3684 l613:; ctx->pos= yypos612; ctx->thunkpos= yythunkpos612; if (!yy_Newline(ctx)) goto l473;
3685 { int yypos614= ctx->pos, yythunkpos614= ctx->thunkpos; if (!yy_BlankLine(ctx)) goto l614; goto l473;
3686 l614:; ctx->pos= yypos614; ctx->thunkpos= yythunkpos614;
3687 }
3688 }
3689 l612:;
3690 }
3691 l601:;
3692 l599:;
3693 { int yypos600= ctx->pos, yythunkpos600= ctx->thunkpos;
3694 { int yypos615= ctx->pos, yythunkpos615= ctx->thunkpos;
3695 { int yypos619= ctx->pos, yythunkpos619= ctx->thunkpos; if (!yymatchChar(ctx, '`')) goto l619; goto l616;
3696 l619:; ctx->pos= yypos619; ctx->thunkpos= yythunkpos619;
3697 } if (!yy_Nonspacechar(ctx)) goto l616;
3698 l617:;
3699 { int yypos618= ctx->pos, yythunkpos618= ctx->thunkpos;
3700 { int yypos620= ctx->pos, yythunkpos620= ctx->thunkpos; if (!yymatchChar(ctx, '`')) goto l620; goto l618;
3701 l620:; ctx->pos= yypos620; ctx->thunkpos= yythunkpos620;
3702 } if (!yy_Nonspacechar(ctx)) goto l618; goto l617;
3703 l618:; ctx->pos= yypos618; ctx->thunkpos= yythunkpos618;
3704 } goto l615;
3705 l616:; ctx->pos= yypos615; ctx->thunkpos= yythunkpos615;
3706 { int yypos622= ctx->pos, yythunkpos622= ctx->thunkpos; if (!yy_Ticks5(ctx)) goto l622; goto l621;
3707 l622:; ctx->pos= yypos622; ctx->thunkpos= yythunkpos622;
3708 } if (!yymatchChar(ctx, '`')) goto l621;
3709 l623:;
3710 { int yypos624= ctx->pos, yythunkpos624= ctx->thunkpos; if (!yymatchChar(ctx, '`')) goto l624; goto l623;
3711 l624:; ctx->pos= yypos624; ctx->thunkpos= yythunkpos624;
3712 } goto l615;
3713 l621:; ctx->pos= yypos615; ctx->thunkpos= yythunkpos615;
3714 { int yypos625= ctx->pos, yythunkpos625= ctx->thunkpos; if (!yy_Sp(ctx)) goto l625; if (!yy_Ticks5(ctx)) goto l625; goto l600;
3715 l625:; ctx->pos= yypos625; ctx->thunkpos= yythunkpos625;
3716 }
3717 { int yypos626= ctx->pos, yythunkpos626= ctx->thunkpos; if (!yy_Spacechar(ctx)) goto l627; goto l626;
3718 l627:; ctx->pos= yypos626; ctx->thunkpos= yythunkpos626; if (!yy_Newline(ctx)) goto l600;
3719 { int yypos628= ctx->pos, yythunkpos628= ctx->thunkpos; if (!yy_BlankLine(ctx)) goto l628; goto l600;
3720 l628:; ctx->pos= yypos628; ctx->thunkpos= yythunkpos628;
3721 }
3722 }
3723 l626:;
3724 }
3725 l615:; goto l599;
3726 l600:; ctx->pos= yypos600; ctx->thunkpos= yythunkpos600;
3727 } yyText(ctx, ctx->begin, ctx->end); if (!(YY_END)) goto l473; if (!yy_Sp(ctx)) goto l473; if (!yy_Ticks5(ctx)) goto l473;
3728 }
3729 l474:; yyDo(ctx, yy_1_Code, ctx->begin, ctx->end);
3730 yyprintf((stderr, " ok %s @ %s\n", "Code", ctx->buf+ctx->pos));
3731 return 1;
3732 l473:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0;
3733 yyprintf((stderr, " fail %s @ %s\n", "Code", ctx->buf+ctx->pos));
3734 return 0;
3735 }
yy_InlineNote(yycontext * ctx)3736 YY_RULE(int) yy_InlineNote(yycontext *ctx)
3737 { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyDo(ctx, yyPush, 1, 0);
3738 yyprintf((stderr, "%s\n", "InlineNote")); yyText(ctx, ctx->begin, ctx->end); if (!( extension(EXT_NOTES) )) goto l629; if (!yymatchString(ctx, "^[")) goto l629; if (!yy_StartList(ctx)) goto l629; yyDo(ctx, yySet, -1, 0);
3739 { int yypos632= ctx->pos, yythunkpos632= ctx->thunkpos; if (!yymatchChar(ctx, ']')) goto l632; goto l629;
3740 l632:; ctx->pos= yypos632; ctx->thunkpos= yythunkpos632;
3741 } if (!yy_Inline(ctx)) goto l629; yyDo(ctx, yy_1_InlineNote, ctx->begin, ctx->end);
3742 l630:;
3743 { int yypos631= ctx->pos, yythunkpos631= ctx->thunkpos;
3744 { int yypos633= ctx->pos, yythunkpos633= ctx->thunkpos; if (!yymatchChar(ctx, ']')) goto l633; goto l631;
3745 l633:; ctx->pos= yypos633; ctx->thunkpos= yythunkpos633;
3746 } if (!yy_Inline(ctx)) goto l631; yyDo(ctx, yy_1_InlineNote, ctx->begin, ctx->end); goto l630;
3747 l631:; ctx->pos= yypos631; ctx->thunkpos= yythunkpos631;
3748 } if (!yymatchChar(ctx, ']')) goto l629; yyDo(ctx, yy_2_InlineNote, ctx->begin, ctx->end);
3749 yyprintf((stderr, " ok %s @ %s\n", "InlineNote", ctx->buf+ctx->pos)); yyDo(ctx, yyPop, 1, 0);
3750 return 1;
3751 l629:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0;
3752 yyprintf((stderr, " fail %s @ %s\n", "InlineNote", ctx->buf+ctx->pos));
3753 return 0;
3754 }
yy_NoteReference(yycontext * ctx)3755 YY_RULE(int) yy_NoteReference(yycontext *ctx)
3756 { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyDo(ctx, yyPush, 1, 0);
3757 yyprintf((stderr, "%s\n", "NoteReference")); yyText(ctx, ctx->begin, ctx->end); if (!( extension(EXT_NOTES) )) goto l634; if (!yy_RawNoteReference(ctx)) goto l634; yyDo(ctx, yySet, -1, 0); yyDo(ctx, yy_1_NoteReference, ctx->begin, ctx->end);
3758 yyprintf((stderr, " ok %s @ %s\n", "NoteReference", ctx->buf+ctx->pos)); yyDo(ctx, yyPop, 1, 0);
3759 return 1;
3760 l634:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0;
3761 yyprintf((stderr, " fail %s @ %s\n", "NoteReference", ctx->buf+ctx->pos));
3762 return 0;
3763 }
yy_Link(yycontext * ctx)3764 YY_RULE(int) yy_Link(yycontext *ctx)
3765 { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos;
3766 yyprintf((stderr, "%s\n", "Link"));
3767 { int yypos636= ctx->pos, yythunkpos636= ctx->thunkpos; if (!yy_ExplicitLink(ctx)) goto l637; goto l636;
3768 l637:; ctx->pos= yypos636; ctx->thunkpos= yythunkpos636; if (!yy_ReferenceLink(ctx)) goto l638; goto l636;
3769 l638:; ctx->pos= yypos636; ctx->thunkpos= yythunkpos636; if (!yy_AutoLink(ctx)) goto l635;
3770 }
3771 l636:;
3772 yyprintf((stderr, " ok %s @ %s\n", "Link", ctx->buf+ctx->pos));
3773 return 1;
3774 l635:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0;
3775 yyprintf((stderr, " fail %s @ %s\n", "Link", ctx->buf+ctx->pos));
3776 return 0;
3777 }
yy_Image(yycontext * ctx)3778 YY_RULE(int) yy_Image(yycontext *ctx)
3779 { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos;
3780 yyprintf((stderr, "%s\n", "Image")); if (!yymatchChar(ctx, '!')) goto l639;
3781 { int yypos640= ctx->pos, yythunkpos640= ctx->thunkpos; if (!yy_ExplicitLink(ctx)) goto l641; goto l640;
3782 l641:; ctx->pos= yypos640; ctx->thunkpos= yythunkpos640; if (!yy_ReferenceLink(ctx)) goto l639;
3783 }
3784 l640:; yyDo(ctx, yy_1_Image, ctx->begin, ctx->end);
3785 yyprintf((stderr, " ok %s @ %s\n", "Image", ctx->buf+ctx->pos));
3786 return 1;
3787 l639:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0;
3788 yyprintf((stderr, " fail %s @ %s\n", "Image", ctx->buf+ctx->pos));
3789 return 0;
3790 }
yy_Emph(yycontext * ctx)3791 YY_RULE(int) yy_Emph(yycontext *ctx)
3792 { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos;
3793 yyprintf((stderr, "%s\n", "Emph"));
3794 { int yypos643= ctx->pos, yythunkpos643= ctx->thunkpos; if (!yy_EmphStar(ctx)) goto l644; goto l643;
3795 l644:; ctx->pos= yypos643; ctx->thunkpos= yythunkpos643; if (!yy_EmphUl(ctx)) goto l642;
3796 }
3797 l643:;
3798 yyprintf((stderr, " ok %s @ %s\n", "Emph", ctx->buf+ctx->pos));
3799 return 1;
3800 l642:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0;
3801 yyprintf((stderr, " fail %s @ %s\n", "Emph", ctx->buf+ctx->pos));
3802 return 0;
3803 }
yy_Strong(yycontext * ctx)3804 YY_RULE(int) yy_Strong(yycontext *ctx)
3805 { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos;
3806 yyprintf((stderr, "%s\n", "Strong"));
3807 { int yypos646= ctx->pos, yythunkpos646= ctx->thunkpos; if (!yy_StrongStar(ctx)) goto l647; goto l646;
3808 l647:; ctx->pos= yypos646; ctx->thunkpos= yythunkpos646; if (!yy_StrongUl(ctx)) goto l645;
3809 }
3810 l646:;
3811 yyprintf((stderr, " ok %s @ %s\n", "Strong", ctx->buf+ctx->pos));
3812 return 1;
3813 l645:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0;
3814 yyprintf((stderr, " fail %s @ %s\n", "Strong", ctx->buf+ctx->pos));
3815 return 0;
3816 }
yy_Space(yycontext * ctx)3817 YY_RULE(int) yy_Space(yycontext *ctx)
3818 { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos;
3819 yyprintf((stderr, "%s\n", "Space")); if (!yy_Spacechar(ctx)) goto l648;
3820 l649:;
3821 { int yypos650= ctx->pos, yythunkpos650= ctx->thunkpos; if (!yy_Spacechar(ctx)) goto l650; goto l649;
3822 l650:; ctx->pos= yypos650; ctx->thunkpos= yythunkpos650;
3823 } yyDo(ctx, yy_1_Space, ctx->begin, ctx->end);
3824 yyprintf((stderr, " ok %s @ %s\n", "Space", ctx->buf+ctx->pos));
3825 return 1;
3826 l648:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0;
3827 yyprintf((stderr, " fail %s @ %s\n", "Space", ctx->buf+ctx->pos));
3828 return 0;
3829 }
yy_UlOrStarLine(yycontext * ctx)3830 YY_RULE(int) yy_UlOrStarLine(yycontext *ctx)
3831 { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos;
3832 yyprintf((stderr, "%s\n", "UlOrStarLine"));
3833 { int yypos652= ctx->pos, yythunkpos652= ctx->thunkpos; if (!yy_UlLine(ctx)) goto l653; goto l652;
3834 l653:; ctx->pos= yypos652; ctx->thunkpos= yythunkpos652; if (!yy_StarLine(ctx)) goto l651;
3835 }
3836 l652:; yyDo(ctx, yy_1_UlOrStarLine, ctx->begin, ctx->end);
3837 yyprintf((stderr, " ok %s @ %s\n", "UlOrStarLine", ctx->buf+ctx->pos));
3838 return 1;
3839 l651:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0;
3840 yyprintf((stderr, " fail %s @ %s\n", "UlOrStarLine", ctx->buf+ctx->pos));
3841 return 0;
3842 }
yy_Str(yycontext * ctx)3843 YY_RULE(int) yy_Str(yycontext *ctx)
3844 { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyDo(ctx, yyPush, 1, 0);
3845 yyprintf((stderr, "%s\n", "Str")); if (!yy_StartList(ctx)) goto l654; yyDo(ctx, yySet, -1, 0); yyText(ctx, ctx->begin, ctx->end); if (!(YY_BEGIN)) goto l654; if (!yy_NormalChar(ctx)) goto l654;
3846 l655:;
3847 { int yypos656= ctx->pos, yythunkpos656= ctx->thunkpos; if (!yy_NormalChar(ctx)) goto l656; goto l655;
3848 l656:; ctx->pos= yypos656; ctx->thunkpos= yythunkpos656;
3849 } yyText(ctx, ctx->begin, ctx->end); if (!(YY_END)) goto l654; yyDo(ctx, yy_1_Str, ctx->begin, ctx->end);
3850 l657:;
3851 { int yypos658= ctx->pos, yythunkpos658= ctx->thunkpos; if (!yy_StrChunk(ctx)) goto l658; yyDo(ctx, yy_2_Str, ctx->begin, ctx->end); goto l657;
3852 l658:; ctx->pos= yypos658; ctx->thunkpos= yythunkpos658;
3853 } yyDo(ctx, yy_3_Str, ctx->begin, ctx->end);
3854 yyprintf((stderr, " ok %s @ %s\n", "Str", ctx->buf+ctx->pos)); yyDo(ctx, yyPop, 1, 0);
3855 return 1;
3856 l654:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0;
3857 yyprintf((stderr, " fail %s @ %s\n", "Str", ctx->buf+ctx->pos));
3858 return 0;
3859 }
yy_InStyleTags(yycontext * ctx)3860 YY_RULE(int) yy_InStyleTags(yycontext *ctx)
3861 { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos;
3862 yyprintf((stderr, "%s\n", "InStyleTags")); if (!yy_StyleOpen(ctx)) goto l659;
3863 l660:;
3864 { int yypos661= ctx->pos, yythunkpos661= ctx->thunkpos;
3865 { int yypos662= ctx->pos, yythunkpos662= ctx->thunkpos; if (!yy_StyleClose(ctx)) goto l662; goto l661;
3866 l662:; ctx->pos= yypos662; ctx->thunkpos= yythunkpos662;
3867 } if (!yymatchDot(ctx)) goto l661; goto l660;
3868 l661:; ctx->pos= yypos661; ctx->thunkpos= yythunkpos661;
3869 } if (!yy_StyleClose(ctx)) goto l659;
3870 yyprintf((stderr, " ok %s @ %s\n", "InStyleTags", ctx->buf+ctx->pos));
3871 return 1;
3872 l659:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0;
3873 yyprintf((stderr, " fail %s @ %s\n", "InStyleTags", ctx->buf+ctx->pos));
3874 return 0;
3875 }
yy_StyleClose(yycontext * ctx)3876 YY_RULE(int) yy_StyleClose(yycontext *ctx)
3877 { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos;
3878 yyprintf((stderr, "%s\n", "StyleClose")); if (!yymatchChar(ctx, '<')) goto l663; if (!yy_Spnl(ctx)) goto l663; if (!yymatchChar(ctx, '/')) goto l663;
3879 { int yypos664= ctx->pos, yythunkpos664= ctx->thunkpos; if (!yymatchString(ctx, "style")) goto l665; goto l664;
3880 l665:; ctx->pos= yypos664; ctx->thunkpos= yythunkpos664; if (!yymatchString(ctx, "STYLE")) goto l663;
3881 }
3882 l664:; if (!yy_Spnl(ctx)) goto l663; if (!yymatchChar(ctx, '>')) goto l663;
3883 yyprintf((stderr, " ok %s @ %s\n", "StyleClose", ctx->buf+ctx->pos));
3884 return 1;
3885 l663:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0;
3886 yyprintf((stderr, " fail %s @ %s\n", "StyleClose", ctx->buf+ctx->pos));
3887 return 0;
3888 }
yy_StyleOpen(yycontext * ctx)3889 YY_RULE(int) yy_StyleOpen(yycontext *ctx)
3890 { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos;
3891 yyprintf((stderr, "%s\n", "StyleOpen")); if (!yymatchChar(ctx, '<')) goto l666; if (!yy_Spnl(ctx)) goto l666;
3892 { int yypos667= ctx->pos, yythunkpos667= ctx->thunkpos; if (!yymatchString(ctx, "style")) goto l668; goto l667;
3893 l668:; ctx->pos= yypos667; ctx->thunkpos= yythunkpos667; if (!yymatchString(ctx, "STYLE")) goto l666;
3894 }
3895 l667:; if (!yy_Spnl(ctx)) goto l666;
3896 l669:;
3897 { int yypos670= ctx->pos, yythunkpos670= ctx->thunkpos; if (!yy_HtmlAttribute(ctx)) goto l670; goto l669;
3898 l670:; ctx->pos= yypos670; ctx->thunkpos= yythunkpos670;
3899 } if (!yymatchChar(ctx, '>')) goto l666;
3900 yyprintf((stderr, " ok %s @ %s\n", "StyleOpen", ctx->buf+ctx->pos));
3901 return 1;
3902 l666:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0;
3903 yyprintf((stderr, " fail %s @ %s\n", "StyleOpen", ctx->buf+ctx->pos));
3904 return 0;
3905 }
yy_HtmlBlockType(yycontext * ctx)3906 YY_RULE(int) yy_HtmlBlockType(yycontext *ctx)
3907 { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos;
3908 yyprintf((stderr, "%s\n", "HtmlBlockType"));
3909 { int yypos672= ctx->pos, yythunkpos672= ctx->thunkpos; if (!yymatchString(ctx, "address")) goto l673; goto l672;
3910 l673:; ctx->pos= yypos672; ctx->thunkpos= yythunkpos672; if (!yymatchString(ctx, "blockquote")) goto l674; goto l672;
3911 l674:; ctx->pos= yypos672; ctx->thunkpos= yythunkpos672; if (!yymatchString(ctx, "center")) goto l675; goto l672;
3912 l675:; ctx->pos= yypos672; ctx->thunkpos= yythunkpos672; if (!yymatchString(ctx, "dir")) goto l676; goto l672;
3913 l676:; ctx->pos= yypos672; ctx->thunkpos= yythunkpos672; if (!yymatchString(ctx, "div")) goto l677; goto l672;
3914 l677:; ctx->pos= yypos672; ctx->thunkpos= yythunkpos672; if (!yymatchString(ctx, "dl")) goto l678; goto l672;
3915 l678:; ctx->pos= yypos672; ctx->thunkpos= yythunkpos672; if (!yymatchString(ctx, "fieldset")) goto l679; goto l672;
3916 l679:; ctx->pos= yypos672; ctx->thunkpos= yythunkpos672; if (!yymatchString(ctx, "form")) goto l680; goto l672;
3917 l680:; ctx->pos= yypos672; ctx->thunkpos= yythunkpos672; if (!yymatchString(ctx, "h1")) goto l681; goto l672;
3918 l681:; ctx->pos= yypos672; ctx->thunkpos= yythunkpos672; if (!yymatchString(ctx, "h2")) goto l682; goto l672;
3919 l682:; ctx->pos= yypos672; ctx->thunkpos= yythunkpos672; if (!yymatchString(ctx, "h3")) goto l683; goto l672;
3920 l683:; ctx->pos= yypos672; ctx->thunkpos= yythunkpos672; if (!yymatchString(ctx, "h4")) goto l684; goto l672;
3921 l684:; ctx->pos= yypos672; ctx->thunkpos= yythunkpos672; if (!yymatchString(ctx, "h5")) goto l685; goto l672;
3922 l685:; ctx->pos= yypos672; ctx->thunkpos= yythunkpos672; if (!yymatchString(ctx, "h6")) goto l686; goto l672;
3923 l686:; ctx->pos= yypos672; ctx->thunkpos= yythunkpos672; if (!yymatchString(ctx, "hr")) goto l687; goto l672;
3924 l687:; ctx->pos= yypos672; ctx->thunkpos= yythunkpos672; if (!yymatchString(ctx, "isindex")) goto l688; goto l672;
3925 l688:; ctx->pos= yypos672; ctx->thunkpos= yythunkpos672; if (!yymatchString(ctx, "menu")) goto l689; goto l672;
3926 l689:; ctx->pos= yypos672; ctx->thunkpos= yythunkpos672; if (!yymatchString(ctx, "noframes")) goto l690; goto l672;
3927 l690:; ctx->pos= yypos672; ctx->thunkpos= yythunkpos672; if (!yymatchString(ctx, "noscript")) goto l691; goto l672;
3928 l691:; ctx->pos= yypos672; ctx->thunkpos= yythunkpos672; if (!yymatchString(ctx, "ol")) goto l692; goto l672;
3929 l692:; ctx->pos= yypos672; ctx->thunkpos= yythunkpos672; if (!yymatchChar(ctx, 'p')) goto l693; goto l672;
3930 l693:; ctx->pos= yypos672; ctx->thunkpos= yythunkpos672; if (!yymatchString(ctx, "pre")) goto l694; goto l672;
3931 l694:; ctx->pos= yypos672; ctx->thunkpos= yythunkpos672; if (!yymatchString(ctx, "table")) goto l695; goto l672;
3932 l695:; ctx->pos= yypos672; ctx->thunkpos= yythunkpos672; if (!yymatchString(ctx, "ul")) goto l696; goto l672;
3933 l696:; ctx->pos= yypos672; ctx->thunkpos= yythunkpos672; if (!yymatchString(ctx, "dd")) goto l697; goto l672;
3934 l697:; ctx->pos= yypos672; ctx->thunkpos= yythunkpos672; if (!yymatchString(ctx, "dt")) goto l698; goto l672;
3935 l698:; ctx->pos= yypos672; ctx->thunkpos= yythunkpos672; if (!yymatchString(ctx, "frameset")) goto l699; goto l672;
3936 l699:; ctx->pos= yypos672; ctx->thunkpos= yythunkpos672; if (!yymatchString(ctx, "li")) goto l700; goto l672;
3937 l700:; ctx->pos= yypos672; ctx->thunkpos= yythunkpos672; if (!yymatchString(ctx, "tbody")) goto l701; goto l672;
3938 l701:; ctx->pos= yypos672; ctx->thunkpos= yythunkpos672; if (!yymatchString(ctx, "td")) goto l702; goto l672;
3939 l702:; ctx->pos= yypos672; ctx->thunkpos= yythunkpos672; if (!yymatchString(ctx, "tfoot")) goto l703; goto l672;
3940 l703:; ctx->pos= yypos672; ctx->thunkpos= yythunkpos672; if (!yymatchString(ctx, "th")) goto l704; goto l672;
3941 l704:; ctx->pos= yypos672; ctx->thunkpos= yythunkpos672; if (!yymatchString(ctx, "thead")) goto l705; goto l672;
3942 l705:; ctx->pos= yypos672; ctx->thunkpos= yythunkpos672; if (!yymatchString(ctx, "tr")) goto l706; goto l672;
3943 l706:; ctx->pos= yypos672; ctx->thunkpos= yythunkpos672; if (!yymatchString(ctx, "script")) goto l707; goto l672;
3944 l707:; ctx->pos= yypos672; ctx->thunkpos= yythunkpos672; if (!yymatchString(ctx, "ADDRESS")) goto l708; goto l672;
3945 l708:; ctx->pos= yypos672; ctx->thunkpos= yythunkpos672; if (!yymatchString(ctx, "BLOCKQUOTE")) goto l709; goto l672;
3946 l709:; ctx->pos= yypos672; ctx->thunkpos= yythunkpos672; if (!yymatchString(ctx, "CENTER")) goto l710; goto l672;
3947 l710:; ctx->pos= yypos672; ctx->thunkpos= yythunkpos672; if (!yymatchString(ctx, "DIR")) goto l711; goto l672;
3948 l711:; ctx->pos= yypos672; ctx->thunkpos= yythunkpos672; if (!yymatchString(ctx, "DIV")) goto l712; goto l672;
3949 l712:; ctx->pos= yypos672; ctx->thunkpos= yythunkpos672; if (!yymatchString(ctx, "DL")) goto l713; goto l672;
3950 l713:; ctx->pos= yypos672; ctx->thunkpos= yythunkpos672; if (!yymatchString(ctx, "FIELDSET")) goto l714; goto l672;
3951 l714:; ctx->pos= yypos672; ctx->thunkpos= yythunkpos672; if (!yymatchString(ctx, "FORM")) goto l715; goto l672;
3952 l715:; ctx->pos= yypos672; ctx->thunkpos= yythunkpos672; if (!yymatchString(ctx, "H1")) goto l716; goto l672;
3953 l716:; ctx->pos= yypos672; ctx->thunkpos= yythunkpos672; if (!yymatchString(ctx, "H2")) goto l717; goto l672;
3954 l717:; ctx->pos= yypos672; ctx->thunkpos= yythunkpos672; if (!yymatchString(ctx, "H3")) goto l718; goto l672;
3955 l718:; ctx->pos= yypos672; ctx->thunkpos= yythunkpos672; if (!yymatchString(ctx, "H4")) goto l719; goto l672;
3956 l719:; ctx->pos= yypos672; ctx->thunkpos= yythunkpos672; if (!yymatchString(ctx, "H5")) goto l720; goto l672;
3957 l720:; ctx->pos= yypos672; ctx->thunkpos= yythunkpos672; if (!yymatchString(ctx, "H6")) goto l721; goto l672;
3958 l721:; ctx->pos= yypos672; ctx->thunkpos= yythunkpos672; if (!yymatchString(ctx, "HR")) goto l722; goto l672;
3959 l722:; ctx->pos= yypos672; ctx->thunkpos= yythunkpos672; if (!yymatchString(ctx, "ISINDEX")) goto l723; goto l672;
3960 l723:; ctx->pos= yypos672; ctx->thunkpos= yythunkpos672; if (!yymatchString(ctx, "MENU")) goto l724; goto l672;
3961 l724:; ctx->pos= yypos672; ctx->thunkpos= yythunkpos672; if (!yymatchString(ctx, "NOFRAMES")) goto l725; goto l672;
3962 l725:; ctx->pos= yypos672; ctx->thunkpos= yythunkpos672; if (!yymatchString(ctx, "NOSCRIPT")) goto l726; goto l672;
3963 l726:; ctx->pos= yypos672; ctx->thunkpos= yythunkpos672; if (!yymatchString(ctx, "OL")) goto l727; goto l672;
3964 l727:; ctx->pos= yypos672; ctx->thunkpos= yythunkpos672; if (!yymatchChar(ctx, 'P')) goto l728; goto l672;
3965 l728:; ctx->pos= yypos672; ctx->thunkpos= yythunkpos672; if (!yymatchString(ctx, "PRE")) goto l729; goto l672;
3966 l729:; ctx->pos= yypos672; ctx->thunkpos= yythunkpos672; if (!yymatchString(ctx, "TABLE")) goto l730; goto l672;
3967 l730:; ctx->pos= yypos672; ctx->thunkpos= yythunkpos672; if (!yymatchString(ctx, "UL")) goto l731; goto l672;
3968 l731:; ctx->pos= yypos672; ctx->thunkpos= yythunkpos672; if (!yymatchString(ctx, "DD")) goto l732; goto l672;
3969 l732:; ctx->pos= yypos672; ctx->thunkpos= yythunkpos672; if (!yymatchString(ctx, "DT")) goto l733; goto l672;
3970 l733:; ctx->pos= yypos672; ctx->thunkpos= yythunkpos672; if (!yymatchString(ctx, "FRAMESET")) goto l734; goto l672;
3971 l734:; ctx->pos= yypos672; ctx->thunkpos= yythunkpos672; if (!yymatchString(ctx, "LI")) goto l735; goto l672;
3972 l735:; ctx->pos= yypos672; ctx->thunkpos= yythunkpos672; if (!yymatchString(ctx, "TBODY")) goto l736; goto l672;
3973 l736:; ctx->pos= yypos672; ctx->thunkpos= yythunkpos672; if (!yymatchString(ctx, "TD")) goto l737; goto l672;
3974 l737:; ctx->pos= yypos672; ctx->thunkpos= yythunkpos672; if (!yymatchString(ctx, "TFOOT")) goto l738; goto l672;
3975 l738:; ctx->pos= yypos672; ctx->thunkpos= yythunkpos672; if (!yymatchString(ctx, "TH")) goto l739; goto l672;
3976 l739:; ctx->pos= yypos672; ctx->thunkpos= yythunkpos672; if (!yymatchString(ctx, "THEAD")) goto l740; goto l672;
3977 l740:; ctx->pos= yypos672; ctx->thunkpos= yythunkpos672; if (!yymatchString(ctx, "TR")) goto l741; goto l672;
3978 l741:; ctx->pos= yypos672; ctx->thunkpos= yythunkpos672; if (!yymatchString(ctx, "SCRIPT")) goto l671;
3979 }
3980 l672:;
3981 yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockType", ctx->buf+ctx->pos));
3982 return 1;
3983 l671:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0;
3984 yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockType", ctx->buf+ctx->pos));
3985 return 0;
3986 }
yy_HtmlBlockSelfClosing(yycontext * ctx)3987 YY_RULE(int) yy_HtmlBlockSelfClosing(yycontext *ctx)
3988 { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos;
3989 yyprintf((stderr, "%s\n", "HtmlBlockSelfClosing")); if (!yymatchChar(ctx, '<')) goto l742; if (!yy_Spnl(ctx)) goto l742; if (!yy_HtmlBlockType(ctx)) goto l742; if (!yy_Spnl(ctx)) goto l742;
3990 l743:;
3991 { int yypos744= ctx->pos, yythunkpos744= ctx->thunkpos; if (!yy_HtmlAttribute(ctx)) goto l744; goto l743;
3992 l744:; ctx->pos= yypos744; ctx->thunkpos= yythunkpos744;
3993 } if (!yymatchChar(ctx, '/')) goto l742; if (!yy_Spnl(ctx)) goto l742; if (!yymatchChar(ctx, '>')) goto l742;
3994 yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockSelfClosing", ctx->buf+ctx->pos));
3995 return 1;
3996 l742:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0;
3997 yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockSelfClosing", ctx->buf+ctx->pos));
3998 return 0;
3999 }
yy_HtmlComment(yycontext * ctx)4000 YY_RULE(int) yy_HtmlComment(yycontext *ctx)
4001 { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos;
4002 yyprintf((stderr, "%s\n", "HtmlComment")); if (!yymatchString(ctx, "<!--")) goto l745;
4003 l746:;
4004 { int yypos747= ctx->pos, yythunkpos747= ctx->thunkpos;
4005 { int yypos748= ctx->pos, yythunkpos748= ctx->thunkpos; if (!yymatchString(ctx, "-->")) goto l748; goto l747;
4006 l748:; ctx->pos= yypos748; ctx->thunkpos= yythunkpos748;
4007 } if (!yymatchDot(ctx)) goto l747; goto l746;
4008 l747:; ctx->pos= yypos747; ctx->thunkpos= yythunkpos747;
4009 } if (!yymatchString(ctx, "-->")) goto l745;
4010 yyprintf((stderr, " ok %s @ %s\n", "HtmlComment", ctx->buf+ctx->pos));
4011 return 1;
4012 l745:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0;
4013 yyprintf((stderr, " fail %s @ %s\n", "HtmlComment", ctx->buf+ctx->pos));
4014 return 0;
4015 }
yy_HtmlBlockInTags(yycontext * ctx)4016 YY_RULE(int) yy_HtmlBlockInTags(yycontext *ctx)
4017 { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos;
4018 yyprintf((stderr, "%s\n", "HtmlBlockInTags"));
4019 { int yypos750= ctx->pos, yythunkpos750= ctx->thunkpos; if (!yy_HtmlBlockAddress(ctx)) goto l751; goto l750;
4020 l751:; ctx->pos= yypos750; ctx->thunkpos= yythunkpos750; if (!yy_HtmlBlockBlockquote(ctx)) goto l752; goto l750;
4021 l752:; ctx->pos= yypos750; ctx->thunkpos= yythunkpos750; if (!yy_HtmlBlockCenter(ctx)) goto l753; goto l750;
4022 l753:; ctx->pos= yypos750; ctx->thunkpos= yythunkpos750; if (!yy_HtmlBlockDir(ctx)) goto l754; goto l750;
4023 l754:; ctx->pos= yypos750; ctx->thunkpos= yythunkpos750; if (!yy_HtmlBlockDiv(ctx)) goto l755; goto l750;
4024 l755:; ctx->pos= yypos750; ctx->thunkpos= yythunkpos750; if (!yy_HtmlBlockDl(ctx)) goto l756; goto l750;
4025 l756:; ctx->pos= yypos750; ctx->thunkpos= yythunkpos750; if (!yy_HtmlBlockFieldset(ctx)) goto l757; goto l750;
4026 l757:; ctx->pos= yypos750; ctx->thunkpos= yythunkpos750; if (!yy_HtmlBlockForm(ctx)) goto l758; goto l750;
4027 l758:; ctx->pos= yypos750; ctx->thunkpos= yythunkpos750; if (!yy_HtmlBlockH1(ctx)) goto l759; goto l750;
4028 l759:; ctx->pos= yypos750; ctx->thunkpos= yythunkpos750; if (!yy_HtmlBlockH2(ctx)) goto l760; goto l750;
4029 l760:; ctx->pos= yypos750; ctx->thunkpos= yythunkpos750; if (!yy_HtmlBlockH3(ctx)) goto l761; goto l750;
4030 l761:; ctx->pos= yypos750; ctx->thunkpos= yythunkpos750; if (!yy_HtmlBlockH4(ctx)) goto l762; goto l750;
4031 l762:; ctx->pos= yypos750; ctx->thunkpos= yythunkpos750; if (!yy_HtmlBlockH5(ctx)) goto l763; goto l750;
4032 l763:; ctx->pos= yypos750; ctx->thunkpos= yythunkpos750; if (!yy_HtmlBlockH6(ctx)) goto l764; goto l750;
4033 l764:; ctx->pos= yypos750; ctx->thunkpos= yythunkpos750; if (!yy_HtmlBlockMenu(ctx)) goto l765; goto l750;
4034 l765:; ctx->pos= yypos750; ctx->thunkpos= yythunkpos750; if (!yy_HtmlBlockNoframes(ctx)) goto l766; goto l750;
4035 l766:; ctx->pos= yypos750; ctx->thunkpos= yythunkpos750; if (!yy_HtmlBlockNoscript(ctx)) goto l767; goto l750;
4036 l767:; ctx->pos= yypos750; ctx->thunkpos= yythunkpos750; if (!yy_HtmlBlockOl(ctx)) goto l768; goto l750;
4037 l768:; ctx->pos= yypos750; ctx->thunkpos= yythunkpos750; if (!yy_HtmlBlockP(ctx)) goto l769; goto l750;
4038 l769:; ctx->pos= yypos750; ctx->thunkpos= yythunkpos750; if (!yy_HtmlBlockPre(ctx)) goto l770; goto l750;
4039 l770:; ctx->pos= yypos750; ctx->thunkpos= yythunkpos750; if (!yy_HtmlBlockTable(ctx)) goto l771; goto l750;
4040 l771:; ctx->pos= yypos750; ctx->thunkpos= yythunkpos750; if (!yy_HtmlBlockUl(ctx)) goto l772; goto l750;
4041 l772:; ctx->pos= yypos750; ctx->thunkpos= yythunkpos750; if (!yy_HtmlBlockDd(ctx)) goto l773; goto l750;
4042 l773:; ctx->pos= yypos750; ctx->thunkpos= yythunkpos750; if (!yy_HtmlBlockDt(ctx)) goto l774; goto l750;
4043 l774:; ctx->pos= yypos750; ctx->thunkpos= yythunkpos750; if (!yy_HtmlBlockFrameset(ctx)) goto l775; goto l750;
4044 l775:; ctx->pos= yypos750; ctx->thunkpos= yythunkpos750; if (!yy_HtmlBlockLi(ctx)) goto l776; goto l750;
4045 l776:; ctx->pos= yypos750; ctx->thunkpos= yythunkpos750; if (!yy_HtmlBlockTbody(ctx)) goto l777; goto l750;
4046 l777:; ctx->pos= yypos750; ctx->thunkpos= yythunkpos750; if (!yy_HtmlBlockTd(ctx)) goto l778; goto l750;
4047 l778:; ctx->pos= yypos750; ctx->thunkpos= yythunkpos750; if (!yy_HtmlBlockTfoot(ctx)) goto l779; goto l750;
4048 l779:; ctx->pos= yypos750; ctx->thunkpos= yythunkpos750; if (!yy_HtmlBlockTh(ctx)) goto l780; goto l750;
4049 l780:; ctx->pos= yypos750; ctx->thunkpos= yythunkpos750; if (!yy_HtmlBlockThead(ctx)) goto l781; goto l750;
4050 l781:; ctx->pos= yypos750; ctx->thunkpos= yythunkpos750; if (!yy_HtmlBlockTr(ctx)) goto l782; goto l750;
4051 l782:; ctx->pos= yypos750; ctx->thunkpos= yythunkpos750; if (!yy_HtmlBlockScript(ctx)) goto l783; goto l750;
4052 l783:; ctx->pos= yypos750; ctx->thunkpos= yythunkpos750; if (!yy_HtmlBlockHead(ctx)) goto l749;
4053 }
4054 l750:;
4055 yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockInTags", ctx->buf+ctx->pos));
4056 return 1;
4057 l749:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0;
4058 yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockInTags", ctx->buf+ctx->pos));
4059 return 0;
4060 }
yy_HtmlBlockHead(yycontext * ctx)4061 YY_RULE(int) yy_HtmlBlockHead(yycontext *ctx)
4062 { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos;
4063 yyprintf((stderr, "%s\n", "HtmlBlockHead")); if (!yy_HtmlBlockOpenHead(ctx)) goto l784;
4064 l785:;
4065 { int yypos786= ctx->pos, yythunkpos786= ctx->thunkpos;
4066 { int yypos787= ctx->pos, yythunkpos787= ctx->thunkpos; if (!yy_HtmlBlockCloseHead(ctx)) goto l787; goto l786;
4067 l787:; ctx->pos= yypos787; ctx->thunkpos= yythunkpos787;
4068 } if (!yymatchDot(ctx)) goto l786; goto l785;
4069 l786:; ctx->pos= yypos786; ctx->thunkpos= yythunkpos786;
4070 } if (!yy_HtmlBlockCloseHead(ctx)) goto l784;
4071 yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockHead", ctx->buf+ctx->pos));
4072 return 1;
4073 l784:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0;
4074 yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockHead", ctx->buf+ctx->pos));
4075 return 0;
4076 }
yy_HtmlBlockCloseHead(yycontext * ctx)4077 YY_RULE(int) yy_HtmlBlockCloseHead(yycontext *ctx)
4078 { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos;
4079 yyprintf((stderr, "%s\n", "HtmlBlockCloseHead")); if (!yymatchChar(ctx, '<')) goto l788; if (!yy_Spnl(ctx)) goto l788; if (!yymatchChar(ctx, '/')) goto l788;
4080 { int yypos789= ctx->pos, yythunkpos789= ctx->thunkpos; if (!yymatchString(ctx, "head")) goto l790; goto l789;
4081 l790:; ctx->pos= yypos789; ctx->thunkpos= yythunkpos789; if (!yymatchString(ctx, "HEAD")) goto l788;
4082 }
4083 l789:; if (!yy_Spnl(ctx)) goto l788; if (!yymatchChar(ctx, '>')) goto l788;
4084 yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockCloseHead", ctx->buf+ctx->pos));
4085 return 1;
4086 l788:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0;
4087 yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockCloseHead", ctx->buf+ctx->pos));
4088 return 0;
4089 }
yy_HtmlBlockOpenHead(yycontext * ctx)4090 YY_RULE(int) yy_HtmlBlockOpenHead(yycontext *ctx)
4091 { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos;
4092 yyprintf((stderr, "%s\n", "HtmlBlockOpenHead")); if (!yymatchChar(ctx, '<')) goto l791; if (!yy_Spnl(ctx)) goto l791;
4093 { int yypos792= ctx->pos, yythunkpos792= ctx->thunkpos; if (!yymatchString(ctx, "head")) goto l793; goto l792;
4094 l793:; ctx->pos= yypos792; ctx->thunkpos= yythunkpos792; if (!yymatchString(ctx, "HEAD")) goto l791;
4095 }
4096 l792:; if (!yy_Spnl(ctx)) goto l791;
4097 l794:;
4098 { int yypos795= ctx->pos, yythunkpos795= ctx->thunkpos; if (!yy_HtmlAttribute(ctx)) goto l795; goto l794;
4099 l795:; ctx->pos= yypos795; ctx->thunkpos= yythunkpos795;
4100 } if (!yymatchChar(ctx, '>')) goto l791;
4101 yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockOpenHead", ctx->buf+ctx->pos));
4102 return 1;
4103 l791:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0;
4104 yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockOpenHead", ctx->buf+ctx->pos));
4105 return 0;
4106 }
yy_HtmlBlockScript(yycontext * ctx)4107 YY_RULE(int) yy_HtmlBlockScript(yycontext *ctx)
4108 { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos;
4109 yyprintf((stderr, "%s\n", "HtmlBlockScript")); if (!yy_HtmlBlockOpenScript(ctx)) goto l796;
4110 l797:;
4111 { int yypos798= ctx->pos, yythunkpos798= ctx->thunkpos;
4112 { int yypos799= ctx->pos, yythunkpos799= ctx->thunkpos; if (!yy_HtmlBlockCloseScript(ctx)) goto l799; goto l798;
4113 l799:; ctx->pos= yypos799; ctx->thunkpos= yythunkpos799;
4114 } if (!yymatchDot(ctx)) goto l798; goto l797;
4115 l798:; ctx->pos= yypos798; ctx->thunkpos= yythunkpos798;
4116 } if (!yy_HtmlBlockCloseScript(ctx)) goto l796;
4117 yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockScript", ctx->buf+ctx->pos));
4118 return 1;
4119 l796:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0;
4120 yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockScript", ctx->buf+ctx->pos));
4121 return 0;
4122 }
yy_HtmlBlockCloseScript(yycontext * ctx)4123 YY_RULE(int) yy_HtmlBlockCloseScript(yycontext *ctx)
4124 { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos;
4125 yyprintf((stderr, "%s\n", "HtmlBlockCloseScript")); if (!yymatchChar(ctx, '<')) goto l800; if (!yy_Spnl(ctx)) goto l800; if (!yymatchChar(ctx, '/')) goto l800;
4126 { int yypos801= ctx->pos, yythunkpos801= ctx->thunkpos; if (!yymatchString(ctx, "script")) goto l802; goto l801;
4127 l802:; ctx->pos= yypos801; ctx->thunkpos= yythunkpos801; if (!yymatchString(ctx, "SCRIPT")) goto l800;
4128 }
4129 l801:; if (!yy_Spnl(ctx)) goto l800; if (!yymatchChar(ctx, '>')) goto l800;
4130 yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockCloseScript", ctx->buf+ctx->pos));
4131 return 1;
4132 l800:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0;
4133 yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockCloseScript", ctx->buf+ctx->pos));
4134 return 0;
4135 }
yy_HtmlBlockOpenScript(yycontext * ctx)4136 YY_RULE(int) yy_HtmlBlockOpenScript(yycontext *ctx)
4137 { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos;
4138 yyprintf((stderr, "%s\n", "HtmlBlockOpenScript")); if (!yymatchChar(ctx, '<')) goto l803; if (!yy_Spnl(ctx)) goto l803;
4139 { int yypos804= ctx->pos, yythunkpos804= ctx->thunkpos; if (!yymatchString(ctx, "script")) goto l805; goto l804;
4140 l805:; ctx->pos= yypos804; ctx->thunkpos= yythunkpos804; if (!yymatchString(ctx, "SCRIPT")) goto l803;
4141 }
4142 l804:; if (!yy_Spnl(ctx)) goto l803;
4143 l806:;
4144 { int yypos807= ctx->pos, yythunkpos807= ctx->thunkpos; if (!yy_HtmlAttribute(ctx)) goto l807; goto l806;
4145 l807:; ctx->pos= yypos807; ctx->thunkpos= yythunkpos807;
4146 } if (!yymatchChar(ctx, '>')) goto l803;
4147 yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockOpenScript", ctx->buf+ctx->pos));
4148 return 1;
4149 l803:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0;
4150 yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockOpenScript", ctx->buf+ctx->pos));
4151 return 0;
4152 }
yy_HtmlBlockTr(yycontext * ctx)4153 YY_RULE(int) yy_HtmlBlockTr(yycontext *ctx)
4154 { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos;
4155 yyprintf((stderr, "%s\n", "HtmlBlockTr")); if (!yy_HtmlBlockOpenTr(ctx)) goto l808;
4156 l809:;
4157 { int yypos810= ctx->pos, yythunkpos810= ctx->thunkpos;
4158 { int yypos811= ctx->pos, yythunkpos811= ctx->thunkpos; if (!yy_HtmlBlockTr(ctx)) goto l812; goto l811;
4159 l812:; ctx->pos= yypos811; ctx->thunkpos= yythunkpos811;
4160 { int yypos813= ctx->pos, yythunkpos813= ctx->thunkpos; if (!yy_HtmlBlockCloseTr(ctx)) goto l813; goto l810;
4161 l813:; ctx->pos= yypos813; ctx->thunkpos= yythunkpos813;
4162 } if (!yymatchDot(ctx)) goto l810;
4163 }
4164 l811:; goto l809;
4165 l810:; ctx->pos= yypos810; ctx->thunkpos= yythunkpos810;
4166 } if (!yy_HtmlBlockCloseTr(ctx)) goto l808;
4167 yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockTr", ctx->buf+ctx->pos));
4168 return 1;
4169 l808:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0;
4170 yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockTr", ctx->buf+ctx->pos));
4171 return 0;
4172 }
yy_HtmlBlockCloseTr(yycontext * ctx)4173 YY_RULE(int) yy_HtmlBlockCloseTr(yycontext *ctx)
4174 { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos;
4175 yyprintf((stderr, "%s\n", "HtmlBlockCloseTr")); if (!yymatchChar(ctx, '<')) goto l814; if (!yy_Spnl(ctx)) goto l814; if (!yymatchChar(ctx, '/')) goto l814;
4176 { int yypos815= ctx->pos, yythunkpos815= ctx->thunkpos; if (!yymatchString(ctx, "tr")) goto l816; goto l815;
4177 l816:; ctx->pos= yypos815; ctx->thunkpos= yythunkpos815; if (!yymatchString(ctx, "TR")) goto l814;
4178 }
4179 l815:; if (!yy_Spnl(ctx)) goto l814; if (!yymatchChar(ctx, '>')) goto l814;
4180 yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockCloseTr", ctx->buf+ctx->pos));
4181 return 1;
4182 l814:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0;
4183 yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockCloseTr", ctx->buf+ctx->pos));
4184 return 0;
4185 }
yy_HtmlBlockOpenTr(yycontext * ctx)4186 YY_RULE(int) yy_HtmlBlockOpenTr(yycontext *ctx)
4187 { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos;
4188 yyprintf((stderr, "%s\n", "HtmlBlockOpenTr")); if (!yymatchChar(ctx, '<')) goto l817; if (!yy_Spnl(ctx)) goto l817;
4189 { int yypos818= ctx->pos, yythunkpos818= ctx->thunkpos; if (!yymatchString(ctx, "tr")) goto l819; goto l818;
4190 l819:; ctx->pos= yypos818; ctx->thunkpos= yythunkpos818; if (!yymatchString(ctx, "TR")) goto l817;
4191 }
4192 l818:; if (!yy_Spnl(ctx)) goto l817;
4193 l820:;
4194 { int yypos821= ctx->pos, yythunkpos821= ctx->thunkpos; if (!yy_HtmlAttribute(ctx)) goto l821; goto l820;
4195 l821:; ctx->pos= yypos821; ctx->thunkpos= yythunkpos821;
4196 } if (!yymatchChar(ctx, '>')) goto l817;
4197 yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockOpenTr", ctx->buf+ctx->pos));
4198 return 1;
4199 l817:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0;
4200 yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockOpenTr", ctx->buf+ctx->pos));
4201 return 0;
4202 }
yy_HtmlBlockThead(yycontext * ctx)4203 YY_RULE(int) yy_HtmlBlockThead(yycontext *ctx)
4204 { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos;
4205 yyprintf((stderr, "%s\n", "HtmlBlockThead")); if (!yy_HtmlBlockOpenThead(ctx)) goto l822;
4206 l823:;
4207 { int yypos824= ctx->pos, yythunkpos824= ctx->thunkpos;
4208 { int yypos825= ctx->pos, yythunkpos825= ctx->thunkpos; if (!yy_HtmlBlockThead(ctx)) goto l826; goto l825;
4209 l826:; ctx->pos= yypos825; ctx->thunkpos= yythunkpos825;
4210 { int yypos827= ctx->pos, yythunkpos827= ctx->thunkpos; if (!yy_HtmlBlockCloseThead(ctx)) goto l827; goto l824;
4211 l827:; ctx->pos= yypos827; ctx->thunkpos= yythunkpos827;
4212 } if (!yymatchDot(ctx)) goto l824;
4213 }
4214 l825:; goto l823;
4215 l824:; ctx->pos= yypos824; ctx->thunkpos= yythunkpos824;
4216 } if (!yy_HtmlBlockCloseThead(ctx)) goto l822;
4217 yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockThead", ctx->buf+ctx->pos));
4218 return 1;
4219 l822:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0;
4220 yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockThead", ctx->buf+ctx->pos));
4221 return 0;
4222 }
yy_HtmlBlockCloseThead(yycontext * ctx)4223 YY_RULE(int) yy_HtmlBlockCloseThead(yycontext *ctx)
4224 { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos;
4225 yyprintf((stderr, "%s\n", "HtmlBlockCloseThead")); if (!yymatchChar(ctx, '<')) goto l828; if (!yy_Spnl(ctx)) goto l828; if (!yymatchChar(ctx, '/')) goto l828;
4226 { int yypos829= ctx->pos, yythunkpos829= ctx->thunkpos; if (!yymatchString(ctx, "thead")) goto l830; goto l829;
4227 l830:; ctx->pos= yypos829; ctx->thunkpos= yythunkpos829; if (!yymatchString(ctx, "THEAD")) goto l828;
4228 }
4229 l829:; if (!yy_Spnl(ctx)) goto l828; if (!yymatchChar(ctx, '>')) goto l828;
4230 yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockCloseThead", ctx->buf+ctx->pos));
4231 return 1;
4232 l828:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0;
4233 yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockCloseThead", ctx->buf+ctx->pos));
4234 return 0;
4235 }
yy_HtmlBlockOpenThead(yycontext * ctx)4236 YY_RULE(int) yy_HtmlBlockOpenThead(yycontext *ctx)
4237 { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos;
4238 yyprintf((stderr, "%s\n", "HtmlBlockOpenThead")); if (!yymatchChar(ctx, '<')) goto l831; if (!yy_Spnl(ctx)) goto l831;
4239 { int yypos832= ctx->pos, yythunkpos832= ctx->thunkpos; if (!yymatchString(ctx, "thead")) goto l833; goto l832;
4240 l833:; ctx->pos= yypos832; ctx->thunkpos= yythunkpos832; if (!yymatchString(ctx, "THEAD")) goto l831;
4241 }
4242 l832:; if (!yy_Spnl(ctx)) goto l831;
4243 l834:;
4244 { int yypos835= ctx->pos, yythunkpos835= ctx->thunkpos; if (!yy_HtmlAttribute(ctx)) goto l835; goto l834;
4245 l835:; ctx->pos= yypos835; ctx->thunkpos= yythunkpos835;
4246 } if (!yymatchChar(ctx, '>')) goto l831;
4247 yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockOpenThead", ctx->buf+ctx->pos));
4248 return 1;
4249 l831:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0;
4250 yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockOpenThead", ctx->buf+ctx->pos));
4251 return 0;
4252 }
yy_HtmlBlockTh(yycontext * ctx)4253 YY_RULE(int) yy_HtmlBlockTh(yycontext *ctx)
4254 { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos;
4255 yyprintf((stderr, "%s\n", "HtmlBlockTh")); if (!yy_HtmlBlockOpenTh(ctx)) goto l836;
4256 l837:;
4257 { int yypos838= ctx->pos, yythunkpos838= ctx->thunkpos;
4258 { int yypos839= ctx->pos, yythunkpos839= ctx->thunkpos; if (!yy_HtmlBlockTh(ctx)) goto l840; goto l839;
4259 l840:; ctx->pos= yypos839; ctx->thunkpos= yythunkpos839;
4260 { int yypos841= ctx->pos, yythunkpos841= ctx->thunkpos; if (!yy_HtmlBlockCloseTh(ctx)) goto l841; goto l838;
4261 l841:; ctx->pos= yypos841; ctx->thunkpos= yythunkpos841;
4262 } if (!yymatchDot(ctx)) goto l838;
4263 }
4264 l839:; goto l837;
4265 l838:; ctx->pos= yypos838; ctx->thunkpos= yythunkpos838;
4266 } if (!yy_HtmlBlockCloseTh(ctx)) goto l836;
4267 yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockTh", ctx->buf+ctx->pos));
4268 return 1;
4269 l836:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0;
4270 yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockTh", ctx->buf+ctx->pos));
4271 return 0;
4272 }
yy_HtmlBlockCloseTh(yycontext * ctx)4273 YY_RULE(int) yy_HtmlBlockCloseTh(yycontext *ctx)
4274 { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos;
4275 yyprintf((stderr, "%s\n", "HtmlBlockCloseTh")); if (!yymatchChar(ctx, '<')) goto l842; if (!yy_Spnl(ctx)) goto l842; if (!yymatchChar(ctx, '/')) goto l842;
4276 { int yypos843= ctx->pos, yythunkpos843= ctx->thunkpos; if (!yymatchString(ctx, "th")) goto l844; goto l843;
4277 l844:; ctx->pos= yypos843; ctx->thunkpos= yythunkpos843; if (!yymatchString(ctx, "TH")) goto l842;
4278 }
4279 l843:; if (!yy_Spnl(ctx)) goto l842; if (!yymatchChar(ctx, '>')) goto l842;
4280 yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockCloseTh", ctx->buf+ctx->pos));
4281 return 1;
4282 l842:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0;
4283 yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockCloseTh", ctx->buf+ctx->pos));
4284 return 0;
4285 }
yy_HtmlBlockOpenTh(yycontext * ctx)4286 YY_RULE(int) yy_HtmlBlockOpenTh(yycontext *ctx)
4287 { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos;
4288 yyprintf((stderr, "%s\n", "HtmlBlockOpenTh")); if (!yymatchChar(ctx, '<')) goto l845; if (!yy_Spnl(ctx)) goto l845;
4289 { int yypos846= ctx->pos, yythunkpos846= ctx->thunkpos; if (!yymatchString(ctx, "th")) goto l847; goto l846;
4290 l847:; ctx->pos= yypos846; ctx->thunkpos= yythunkpos846; if (!yymatchString(ctx, "TH")) goto l845;
4291 }
4292 l846:; if (!yy_Spnl(ctx)) goto l845;
4293 l848:;
4294 { int yypos849= ctx->pos, yythunkpos849= ctx->thunkpos; if (!yy_HtmlAttribute(ctx)) goto l849; goto l848;
4295 l849:; ctx->pos= yypos849; ctx->thunkpos= yythunkpos849;
4296 } if (!yymatchChar(ctx, '>')) goto l845;
4297 yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockOpenTh", ctx->buf+ctx->pos));
4298 return 1;
4299 l845:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0;
4300 yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockOpenTh", ctx->buf+ctx->pos));
4301 return 0;
4302 }
yy_HtmlBlockTfoot(yycontext * ctx)4303 YY_RULE(int) yy_HtmlBlockTfoot(yycontext *ctx)
4304 { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos;
4305 yyprintf((stderr, "%s\n", "HtmlBlockTfoot")); if (!yy_HtmlBlockOpenTfoot(ctx)) goto l850;
4306 l851:;
4307 { int yypos852= ctx->pos, yythunkpos852= ctx->thunkpos;
4308 { int yypos853= ctx->pos, yythunkpos853= ctx->thunkpos; if (!yy_HtmlBlockTfoot(ctx)) goto l854; goto l853;
4309 l854:; ctx->pos= yypos853; ctx->thunkpos= yythunkpos853;
4310 { int yypos855= ctx->pos, yythunkpos855= ctx->thunkpos; if (!yy_HtmlBlockCloseTfoot(ctx)) goto l855; goto l852;
4311 l855:; ctx->pos= yypos855; ctx->thunkpos= yythunkpos855;
4312 } if (!yymatchDot(ctx)) goto l852;
4313 }
4314 l853:; goto l851;
4315 l852:; ctx->pos= yypos852; ctx->thunkpos= yythunkpos852;
4316 } if (!yy_HtmlBlockCloseTfoot(ctx)) goto l850;
4317 yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockTfoot", ctx->buf+ctx->pos));
4318 return 1;
4319 l850:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0;
4320 yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockTfoot", ctx->buf+ctx->pos));
4321 return 0;
4322 }
yy_HtmlBlockCloseTfoot(yycontext * ctx)4323 YY_RULE(int) yy_HtmlBlockCloseTfoot(yycontext *ctx)
4324 { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos;
4325 yyprintf((stderr, "%s\n", "HtmlBlockCloseTfoot")); if (!yymatchChar(ctx, '<')) goto l856; if (!yy_Spnl(ctx)) goto l856; if (!yymatchChar(ctx, '/')) goto l856;
4326 { int yypos857= ctx->pos, yythunkpos857= ctx->thunkpos; if (!yymatchString(ctx, "tfoot")) goto l858; goto l857;
4327 l858:; ctx->pos= yypos857; ctx->thunkpos= yythunkpos857; if (!yymatchString(ctx, "TFOOT")) goto l856;
4328 }
4329 l857:; if (!yy_Spnl(ctx)) goto l856; if (!yymatchChar(ctx, '>')) goto l856;
4330 yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockCloseTfoot", ctx->buf+ctx->pos));
4331 return 1;
4332 l856:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0;
4333 yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockCloseTfoot", ctx->buf+ctx->pos));
4334 return 0;
4335 }
yy_HtmlBlockOpenTfoot(yycontext * ctx)4336 YY_RULE(int) yy_HtmlBlockOpenTfoot(yycontext *ctx)
4337 { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos;
4338 yyprintf((stderr, "%s\n", "HtmlBlockOpenTfoot")); if (!yymatchChar(ctx, '<')) goto l859; if (!yy_Spnl(ctx)) goto l859;
4339 { int yypos860= ctx->pos, yythunkpos860= ctx->thunkpos; if (!yymatchString(ctx, "tfoot")) goto l861; goto l860;
4340 l861:; ctx->pos= yypos860; ctx->thunkpos= yythunkpos860; if (!yymatchString(ctx, "TFOOT")) goto l859;
4341 }
4342 l860:; if (!yy_Spnl(ctx)) goto l859;
4343 l862:;
4344 { int yypos863= ctx->pos, yythunkpos863= ctx->thunkpos; if (!yy_HtmlAttribute(ctx)) goto l863; goto l862;
4345 l863:; ctx->pos= yypos863; ctx->thunkpos= yythunkpos863;
4346 } if (!yymatchChar(ctx, '>')) goto l859;
4347 yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockOpenTfoot", ctx->buf+ctx->pos));
4348 return 1;
4349 l859:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0;
4350 yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockOpenTfoot", ctx->buf+ctx->pos));
4351 return 0;
4352 }
yy_HtmlBlockTd(yycontext * ctx)4353 YY_RULE(int) yy_HtmlBlockTd(yycontext *ctx)
4354 { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos;
4355 yyprintf((stderr, "%s\n", "HtmlBlockTd")); if (!yy_HtmlBlockOpenTd(ctx)) goto l864;
4356 l865:;
4357 { int yypos866= ctx->pos, yythunkpos866= ctx->thunkpos;
4358 { int yypos867= ctx->pos, yythunkpos867= ctx->thunkpos; if (!yy_HtmlBlockTd(ctx)) goto l868; goto l867;
4359 l868:; ctx->pos= yypos867; ctx->thunkpos= yythunkpos867;
4360 { int yypos869= ctx->pos, yythunkpos869= ctx->thunkpos; if (!yy_HtmlBlockCloseTd(ctx)) goto l869; goto l866;
4361 l869:; ctx->pos= yypos869; ctx->thunkpos= yythunkpos869;
4362 } if (!yymatchDot(ctx)) goto l866;
4363 }
4364 l867:; goto l865;
4365 l866:; ctx->pos= yypos866; ctx->thunkpos= yythunkpos866;
4366 } if (!yy_HtmlBlockCloseTd(ctx)) goto l864;
4367 yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockTd", ctx->buf+ctx->pos));
4368 return 1;
4369 l864:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0;
4370 yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockTd", ctx->buf+ctx->pos));
4371 return 0;
4372 }
yy_HtmlBlockCloseTd(yycontext * ctx)4373 YY_RULE(int) yy_HtmlBlockCloseTd(yycontext *ctx)
4374 { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos;
4375 yyprintf((stderr, "%s\n", "HtmlBlockCloseTd")); if (!yymatchChar(ctx, '<')) goto l870; if (!yy_Spnl(ctx)) goto l870; if (!yymatchChar(ctx, '/')) goto l870;
4376 { int yypos871= ctx->pos, yythunkpos871= ctx->thunkpos; if (!yymatchString(ctx, "td")) goto l872; goto l871;
4377 l872:; ctx->pos= yypos871; ctx->thunkpos= yythunkpos871; if (!yymatchString(ctx, "TD")) goto l870;
4378 }
4379 l871:; if (!yy_Spnl(ctx)) goto l870; if (!yymatchChar(ctx, '>')) goto l870;
4380 yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockCloseTd", ctx->buf+ctx->pos));
4381 return 1;
4382 l870:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0;
4383 yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockCloseTd", ctx->buf+ctx->pos));
4384 return 0;
4385 }
yy_HtmlBlockOpenTd(yycontext * ctx)4386 YY_RULE(int) yy_HtmlBlockOpenTd(yycontext *ctx)
4387 { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos;
4388 yyprintf((stderr, "%s\n", "HtmlBlockOpenTd")); if (!yymatchChar(ctx, '<')) goto l873; if (!yy_Spnl(ctx)) goto l873;
4389 { int yypos874= ctx->pos, yythunkpos874= ctx->thunkpos; if (!yymatchString(ctx, "td")) goto l875; goto l874;
4390 l875:; ctx->pos= yypos874; ctx->thunkpos= yythunkpos874; if (!yymatchString(ctx, "TD")) goto l873;
4391 }
4392 l874:; if (!yy_Spnl(ctx)) goto l873;
4393 l876:;
4394 { int yypos877= ctx->pos, yythunkpos877= ctx->thunkpos; if (!yy_HtmlAttribute(ctx)) goto l877; goto l876;
4395 l877:; ctx->pos= yypos877; ctx->thunkpos= yythunkpos877;
4396 } if (!yymatchChar(ctx, '>')) goto l873;
4397 yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockOpenTd", ctx->buf+ctx->pos));
4398 return 1;
4399 l873:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0;
4400 yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockOpenTd", ctx->buf+ctx->pos));
4401 return 0;
4402 }
yy_HtmlBlockTbody(yycontext * ctx)4403 YY_RULE(int) yy_HtmlBlockTbody(yycontext *ctx)
4404 { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos;
4405 yyprintf((stderr, "%s\n", "HtmlBlockTbody")); if (!yy_HtmlBlockOpenTbody(ctx)) goto l878;
4406 l879:;
4407 { int yypos880= ctx->pos, yythunkpos880= ctx->thunkpos;
4408 { int yypos881= ctx->pos, yythunkpos881= ctx->thunkpos; if (!yy_HtmlBlockTbody(ctx)) goto l882; goto l881;
4409 l882:; ctx->pos= yypos881; ctx->thunkpos= yythunkpos881;
4410 { int yypos883= ctx->pos, yythunkpos883= ctx->thunkpos; if (!yy_HtmlBlockCloseTbody(ctx)) goto l883; goto l880;
4411 l883:; ctx->pos= yypos883; ctx->thunkpos= yythunkpos883;
4412 } if (!yymatchDot(ctx)) goto l880;
4413 }
4414 l881:; goto l879;
4415 l880:; ctx->pos= yypos880; ctx->thunkpos= yythunkpos880;
4416 } if (!yy_HtmlBlockCloseTbody(ctx)) goto l878;
4417 yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockTbody", ctx->buf+ctx->pos));
4418 return 1;
4419 l878:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0;
4420 yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockTbody", ctx->buf+ctx->pos));
4421 return 0;
4422 }
yy_HtmlBlockCloseTbody(yycontext * ctx)4423 YY_RULE(int) yy_HtmlBlockCloseTbody(yycontext *ctx)
4424 { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos;
4425 yyprintf((stderr, "%s\n", "HtmlBlockCloseTbody")); if (!yymatchChar(ctx, '<')) goto l884; if (!yy_Spnl(ctx)) goto l884; if (!yymatchChar(ctx, '/')) goto l884;
4426 { int yypos885= ctx->pos, yythunkpos885= ctx->thunkpos; if (!yymatchString(ctx, "tbody")) goto l886; goto l885;
4427 l886:; ctx->pos= yypos885; ctx->thunkpos= yythunkpos885; if (!yymatchString(ctx, "TBODY")) goto l884;
4428 }
4429 l885:; if (!yy_Spnl(ctx)) goto l884; if (!yymatchChar(ctx, '>')) goto l884;
4430 yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockCloseTbody", ctx->buf+ctx->pos));
4431 return 1;
4432 l884:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0;
4433 yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockCloseTbody", ctx->buf+ctx->pos));
4434 return 0;
4435 }
yy_HtmlBlockOpenTbody(yycontext * ctx)4436 YY_RULE(int) yy_HtmlBlockOpenTbody(yycontext *ctx)
4437 { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos;
4438 yyprintf((stderr, "%s\n", "HtmlBlockOpenTbody")); if (!yymatchChar(ctx, '<')) goto l887; if (!yy_Spnl(ctx)) goto l887;
4439 { int yypos888= ctx->pos, yythunkpos888= ctx->thunkpos; if (!yymatchString(ctx, "tbody")) goto l889; goto l888;
4440 l889:; ctx->pos= yypos888; ctx->thunkpos= yythunkpos888; if (!yymatchString(ctx, "TBODY")) goto l887;
4441 }
4442 l888:; if (!yy_Spnl(ctx)) goto l887;
4443 l890:;
4444 { int yypos891= ctx->pos, yythunkpos891= ctx->thunkpos; if (!yy_HtmlAttribute(ctx)) goto l891; goto l890;
4445 l891:; ctx->pos= yypos891; ctx->thunkpos= yythunkpos891;
4446 } if (!yymatchChar(ctx, '>')) goto l887;
4447 yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockOpenTbody", ctx->buf+ctx->pos));
4448 return 1;
4449 l887:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0;
4450 yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockOpenTbody", ctx->buf+ctx->pos));
4451 return 0;
4452 }
yy_HtmlBlockLi(yycontext * ctx)4453 YY_RULE(int) yy_HtmlBlockLi(yycontext *ctx)
4454 { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos;
4455 yyprintf((stderr, "%s\n", "HtmlBlockLi")); if (!yy_HtmlBlockOpenLi(ctx)) goto l892;
4456 l893:;
4457 { int yypos894= ctx->pos, yythunkpos894= ctx->thunkpos;
4458 { int yypos895= ctx->pos, yythunkpos895= ctx->thunkpos; if (!yy_HtmlBlockLi(ctx)) goto l896; goto l895;
4459 l896:; ctx->pos= yypos895; ctx->thunkpos= yythunkpos895;
4460 { int yypos897= ctx->pos, yythunkpos897= ctx->thunkpos; if (!yy_HtmlBlockCloseLi(ctx)) goto l897; goto l894;
4461 l897:; ctx->pos= yypos897; ctx->thunkpos= yythunkpos897;
4462 } if (!yymatchDot(ctx)) goto l894;
4463 }
4464 l895:; goto l893;
4465 l894:; ctx->pos= yypos894; ctx->thunkpos= yythunkpos894;
4466 } if (!yy_HtmlBlockCloseLi(ctx)) goto l892;
4467 yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockLi", ctx->buf+ctx->pos));
4468 return 1;
4469 l892:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0;
4470 yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockLi", ctx->buf+ctx->pos));
4471 return 0;
4472 }
yy_HtmlBlockCloseLi(yycontext * ctx)4473 YY_RULE(int) yy_HtmlBlockCloseLi(yycontext *ctx)
4474 { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos;
4475 yyprintf((stderr, "%s\n", "HtmlBlockCloseLi")); if (!yymatchChar(ctx, '<')) goto l898; if (!yy_Spnl(ctx)) goto l898; if (!yymatchChar(ctx, '/')) goto l898;
4476 { int yypos899= ctx->pos, yythunkpos899= ctx->thunkpos; if (!yymatchString(ctx, "li")) goto l900; goto l899;
4477 l900:; ctx->pos= yypos899; ctx->thunkpos= yythunkpos899; if (!yymatchString(ctx, "LI")) goto l898;
4478 }
4479 l899:; if (!yy_Spnl(ctx)) goto l898; if (!yymatchChar(ctx, '>')) goto l898;
4480 yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockCloseLi", ctx->buf+ctx->pos));
4481 return 1;
4482 l898:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0;
4483 yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockCloseLi", ctx->buf+ctx->pos));
4484 return 0;
4485 }
yy_HtmlBlockOpenLi(yycontext * ctx)4486 YY_RULE(int) yy_HtmlBlockOpenLi(yycontext *ctx)
4487 { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos;
4488 yyprintf((stderr, "%s\n", "HtmlBlockOpenLi")); if (!yymatchChar(ctx, '<')) goto l901; if (!yy_Spnl(ctx)) goto l901;
4489 { int yypos902= ctx->pos, yythunkpos902= ctx->thunkpos; if (!yymatchString(ctx, "li")) goto l903; goto l902;
4490 l903:; ctx->pos= yypos902; ctx->thunkpos= yythunkpos902; if (!yymatchString(ctx, "LI")) goto l901;
4491 }
4492 l902:; if (!yy_Spnl(ctx)) goto l901;
4493 l904:;
4494 { int yypos905= ctx->pos, yythunkpos905= ctx->thunkpos; if (!yy_HtmlAttribute(ctx)) goto l905; goto l904;
4495 l905:; ctx->pos= yypos905; ctx->thunkpos= yythunkpos905;
4496 } if (!yymatchChar(ctx, '>')) goto l901;
4497 yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockOpenLi", ctx->buf+ctx->pos));
4498 return 1;
4499 l901:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0;
4500 yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockOpenLi", ctx->buf+ctx->pos));
4501 return 0;
4502 }
yy_HtmlBlockFrameset(yycontext * ctx)4503 YY_RULE(int) yy_HtmlBlockFrameset(yycontext *ctx)
4504 { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos;
4505 yyprintf((stderr, "%s\n", "HtmlBlockFrameset")); if (!yy_HtmlBlockOpenFrameset(ctx)) goto l906;
4506 l907:;
4507 { int yypos908= ctx->pos, yythunkpos908= ctx->thunkpos;
4508 { int yypos909= ctx->pos, yythunkpos909= ctx->thunkpos; if (!yy_HtmlBlockFrameset(ctx)) goto l910; goto l909;
4509 l910:; ctx->pos= yypos909; ctx->thunkpos= yythunkpos909;
4510 { int yypos911= ctx->pos, yythunkpos911= ctx->thunkpos; if (!yy_HtmlBlockCloseFrameset(ctx)) goto l911; goto l908;
4511 l911:; ctx->pos= yypos911; ctx->thunkpos= yythunkpos911;
4512 } if (!yymatchDot(ctx)) goto l908;
4513 }
4514 l909:; goto l907;
4515 l908:; ctx->pos= yypos908; ctx->thunkpos= yythunkpos908;
4516 } if (!yy_HtmlBlockCloseFrameset(ctx)) goto l906;
4517 yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockFrameset", ctx->buf+ctx->pos));
4518 return 1;
4519 l906:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0;
4520 yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockFrameset", ctx->buf+ctx->pos));
4521 return 0;
4522 }
yy_HtmlBlockCloseFrameset(yycontext * ctx)4523 YY_RULE(int) yy_HtmlBlockCloseFrameset(yycontext *ctx)
4524 { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos;
4525 yyprintf((stderr, "%s\n", "HtmlBlockCloseFrameset")); if (!yymatchChar(ctx, '<')) goto l912; if (!yy_Spnl(ctx)) goto l912; if (!yymatchChar(ctx, '/')) goto l912;
4526 { int yypos913= ctx->pos, yythunkpos913= ctx->thunkpos; if (!yymatchString(ctx, "frameset")) goto l914; goto l913;
4527 l914:; ctx->pos= yypos913; ctx->thunkpos= yythunkpos913; if (!yymatchString(ctx, "FRAMESET")) goto l912;
4528 }
4529 l913:; if (!yy_Spnl(ctx)) goto l912; if (!yymatchChar(ctx, '>')) goto l912;
4530 yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockCloseFrameset", ctx->buf+ctx->pos));
4531 return 1;
4532 l912:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0;
4533 yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockCloseFrameset", ctx->buf+ctx->pos));
4534 return 0;
4535 }
yy_HtmlBlockOpenFrameset(yycontext * ctx)4536 YY_RULE(int) yy_HtmlBlockOpenFrameset(yycontext *ctx)
4537 { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos;
4538 yyprintf((stderr, "%s\n", "HtmlBlockOpenFrameset")); if (!yymatchChar(ctx, '<')) goto l915; if (!yy_Spnl(ctx)) goto l915;
4539 { int yypos916= ctx->pos, yythunkpos916= ctx->thunkpos; if (!yymatchString(ctx, "frameset")) goto l917; goto l916;
4540 l917:; ctx->pos= yypos916; ctx->thunkpos= yythunkpos916; if (!yymatchString(ctx, "FRAMESET")) goto l915;
4541 }
4542 l916:; if (!yy_Spnl(ctx)) goto l915;
4543 l918:;
4544 { int yypos919= ctx->pos, yythunkpos919= ctx->thunkpos; if (!yy_HtmlAttribute(ctx)) goto l919; goto l918;
4545 l919:; ctx->pos= yypos919; ctx->thunkpos= yythunkpos919;
4546 } if (!yymatchChar(ctx, '>')) goto l915;
4547 yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockOpenFrameset", ctx->buf+ctx->pos));
4548 return 1;
4549 l915:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0;
4550 yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockOpenFrameset", ctx->buf+ctx->pos));
4551 return 0;
4552 }
yy_HtmlBlockDt(yycontext * ctx)4553 YY_RULE(int) yy_HtmlBlockDt(yycontext *ctx)
4554 { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos;
4555 yyprintf((stderr, "%s\n", "HtmlBlockDt")); if (!yy_HtmlBlockOpenDt(ctx)) goto l920;
4556 l921:;
4557 { int yypos922= ctx->pos, yythunkpos922= ctx->thunkpos;
4558 { int yypos923= ctx->pos, yythunkpos923= ctx->thunkpos; if (!yy_HtmlBlockDt(ctx)) goto l924; goto l923;
4559 l924:; ctx->pos= yypos923; ctx->thunkpos= yythunkpos923;
4560 { int yypos925= ctx->pos, yythunkpos925= ctx->thunkpos; if (!yy_HtmlBlockCloseDt(ctx)) goto l925; goto l922;
4561 l925:; ctx->pos= yypos925; ctx->thunkpos= yythunkpos925;
4562 } if (!yymatchDot(ctx)) goto l922;
4563 }
4564 l923:; goto l921;
4565 l922:; ctx->pos= yypos922; ctx->thunkpos= yythunkpos922;
4566 } if (!yy_HtmlBlockCloseDt(ctx)) goto l920;
4567 yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockDt", ctx->buf+ctx->pos));
4568 return 1;
4569 l920:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0;
4570 yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockDt", ctx->buf+ctx->pos));
4571 return 0;
4572 }
yy_HtmlBlockCloseDt(yycontext * ctx)4573 YY_RULE(int) yy_HtmlBlockCloseDt(yycontext *ctx)
4574 { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos;
4575 yyprintf((stderr, "%s\n", "HtmlBlockCloseDt")); if (!yymatchChar(ctx, '<')) goto l926; if (!yy_Spnl(ctx)) goto l926; if (!yymatchChar(ctx, '/')) goto l926;
4576 { int yypos927= ctx->pos, yythunkpos927= ctx->thunkpos; if (!yymatchString(ctx, "dt")) goto l928; goto l927;
4577 l928:; ctx->pos= yypos927; ctx->thunkpos= yythunkpos927; if (!yymatchString(ctx, "DT")) goto l926;
4578 }
4579 l927:; if (!yy_Spnl(ctx)) goto l926; if (!yymatchChar(ctx, '>')) goto l926;
4580 yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockCloseDt", ctx->buf+ctx->pos));
4581 return 1;
4582 l926:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0;
4583 yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockCloseDt", ctx->buf+ctx->pos));
4584 return 0;
4585 }
yy_HtmlBlockOpenDt(yycontext * ctx)4586 YY_RULE(int) yy_HtmlBlockOpenDt(yycontext *ctx)
4587 { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos;
4588 yyprintf((stderr, "%s\n", "HtmlBlockOpenDt")); if (!yymatchChar(ctx, '<')) goto l929; if (!yy_Spnl(ctx)) goto l929;
4589 { int yypos930= ctx->pos, yythunkpos930= ctx->thunkpos; if (!yymatchString(ctx, "dt")) goto l931; goto l930;
4590 l931:; ctx->pos= yypos930; ctx->thunkpos= yythunkpos930; if (!yymatchString(ctx, "DT")) goto l929;
4591 }
4592 l930:; if (!yy_Spnl(ctx)) goto l929;
4593 l932:;
4594 { int yypos933= ctx->pos, yythunkpos933= ctx->thunkpos; if (!yy_HtmlAttribute(ctx)) goto l933; goto l932;
4595 l933:; ctx->pos= yypos933; ctx->thunkpos= yythunkpos933;
4596 } if (!yymatchChar(ctx, '>')) goto l929;
4597 yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockOpenDt", ctx->buf+ctx->pos));
4598 return 1;
4599 l929:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0;
4600 yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockOpenDt", ctx->buf+ctx->pos));
4601 return 0;
4602 }
yy_HtmlBlockDd(yycontext * ctx)4603 YY_RULE(int) yy_HtmlBlockDd(yycontext *ctx)
4604 { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos;
4605 yyprintf((stderr, "%s\n", "HtmlBlockDd")); if (!yy_HtmlBlockOpenDd(ctx)) goto l934;
4606 l935:;
4607 { int yypos936= ctx->pos, yythunkpos936= ctx->thunkpos;
4608 { int yypos937= ctx->pos, yythunkpos937= ctx->thunkpos; if (!yy_HtmlBlockDd(ctx)) goto l938; goto l937;
4609 l938:; ctx->pos= yypos937; ctx->thunkpos= yythunkpos937;
4610 { int yypos939= ctx->pos, yythunkpos939= ctx->thunkpos; if (!yy_HtmlBlockCloseDd(ctx)) goto l939; goto l936;
4611 l939:; ctx->pos= yypos939; ctx->thunkpos= yythunkpos939;
4612 } if (!yymatchDot(ctx)) goto l936;
4613 }
4614 l937:; goto l935;
4615 l936:; ctx->pos= yypos936; ctx->thunkpos= yythunkpos936;
4616 } if (!yy_HtmlBlockCloseDd(ctx)) goto l934;
4617 yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockDd", ctx->buf+ctx->pos));
4618 return 1;
4619 l934:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0;
4620 yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockDd", ctx->buf+ctx->pos));
4621 return 0;
4622 }
yy_HtmlBlockCloseDd(yycontext * ctx)4623 YY_RULE(int) yy_HtmlBlockCloseDd(yycontext *ctx)
4624 { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos;
4625 yyprintf((stderr, "%s\n", "HtmlBlockCloseDd")); if (!yymatchChar(ctx, '<')) goto l940; if (!yy_Spnl(ctx)) goto l940; if (!yymatchChar(ctx, '/')) goto l940;
4626 { int yypos941= ctx->pos, yythunkpos941= ctx->thunkpos; if (!yymatchString(ctx, "dd")) goto l942; goto l941;
4627 l942:; ctx->pos= yypos941; ctx->thunkpos= yythunkpos941; if (!yymatchString(ctx, "DD")) goto l940;
4628 }
4629 l941:; if (!yy_Spnl(ctx)) goto l940; if (!yymatchChar(ctx, '>')) goto l940;
4630 yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockCloseDd", ctx->buf+ctx->pos));
4631 return 1;
4632 l940:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0;
4633 yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockCloseDd", ctx->buf+ctx->pos));
4634 return 0;
4635 }
yy_HtmlBlockOpenDd(yycontext * ctx)4636 YY_RULE(int) yy_HtmlBlockOpenDd(yycontext *ctx)
4637 { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos;
4638 yyprintf((stderr, "%s\n", "HtmlBlockOpenDd")); if (!yymatchChar(ctx, '<')) goto l943; if (!yy_Spnl(ctx)) goto l943;
4639 { int yypos944= ctx->pos, yythunkpos944= ctx->thunkpos; if (!yymatchString(ctx, "dd")) goto l945; goto l944;
4640 l945:; ctx->pos= yypos944; ctx->thunkpos= yythunkpos944; if (!yymatchString(ctx, "DD")) goto l943;
4641 }
4642 l944:; if (!yy_Spnl(ctx)) goto l943;
4643 l946:;
4644 { int yypos947= ctx->pos, yythunkpos947= ctx->thunkpos; if (!yy_HtmlAttribute(ctx)) goto l947; goto l946;
4645 l947:; ctx->pos= yypos947; ctx->thunkpos= yythunkpos947;
4646 } if (!yymatchChar(ctx, '>')) goto l943;
4647 yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockOpenDd", ctx->buf+ctx->pos));
4648 return 1;
4649 l943:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0;
4650 yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockOpenDd", ctx->buf+ctx->pos));
4651 return 0;
4652 }
yy_HtmlBlockUl(yycontext * ctx)4653 YY_RULE(int) yy_HtmlBlockUl(yycontext *ctx)
4654 { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos;
4655 yyprintf((stderr, "%s\n", "HtmlBlockUl")); if (!yy_HtmlBlockOpenUl(ctx)) goto l948;
4656 l949:;
4657 { int yypos950= ctx->pos, yythunkpos950= ctx->thunkpos;
4658 { int yypos951= ctx->pos, yythunkpos951= ctx->thunkpos; if (!yy_HtmlBlockUl(ctx)) goto l952; goto l951;
4659 l952:; ctx->pos= yypos951; ctx->thunkpos= yythunkpos951;
4660 { int yypos953= ctx->pos, yythunkpos953= ctx->thunkpos; if (!yy_HtmlBlockCloseUl(ctx)) goto l953; goto l950;
4661 l953:; ctx->pos= yypos953; ctx->thunkpos= yythunkpos953;
4662 } if (!yymatchDot(ctx)) goto l950;
4663 }
4664 l951:; goto l949;
4665 l950:; ctx->pos= yypos950; ctx->thunkpos= yythunkpos950;
4666 } if (!yy_HtmlBlockCloseUl(ctx)) goto l948;
4667 yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockUl", ctx->buf+ctx->pos));
4668 return 1;
4669 l948:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0;
4670 yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockUl", ctx->buf+ctx->pos));
4671 return 0;
4672 }
yy_HtmlBlockCloseUl(yycontext * ctx)4673 YY_RULE(int) yy_HtmlBlockCloseUl(yycontext *ctx)
4674 { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos;
4675 yyprintf((stderr, "%s\n", "HtmlBlockCloseUl")); if (!yymatchChar(ctx, '<')) goto l954; if (!yy_Spnl(ctx)) goto l954; if (!yymatchChar(ctx, '/')) goto l954;
4676 { int yypos955= ctx->pos, yythunkpos955= ctx->thunkpos; if (!yymatchString(ctx, "ul")) goto l956; goto l955;
4677 l956:; ctx->pos= yypos955; ctx->thunkpos= yythunkpos955; if (!yymatchString(ctx, "UL")) goto l954;
4678 }
4679 l955:; if (!yy_Spnl(ctx)) goto l954; if (!yymatchChar(ctx, '>')) goto l954;
4680 yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockCloseUl", ctx->buf+ctx->pos));
4681 return 1;
4682 l954:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0;
4683 yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockCloseUl", ctx->buf+ctx->pos));
4684 return 0;
4685 }
yy_HtmlBlockOpenUl(yycontext * ctx)4686 YY_RULE(int) yy_HtmlBlockOpenUl(yycontext *ctx)
4687 { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos;
4688 yyprintf((stderr, "%s\n", "HtmlBlockOpenUl")); if (!yymatchChar(ctx, '<')) goto l957; if (!yy_Spnl(ctx)) goto l957;
4689 { int yypos958= ctx->pos, yythunkpos958= ctx->thunkpos; if (!yymatchString(ctx, "ul")) goto l959; goto l958;
4690 l959:; ctx->pos= yypos958; ctx->thunkpos= yythunkpos958; if (!yymatchString(ctx, "UL")) goto l957;
4691 }
4692 l958:; if (!yy_Spnl(ctx)) goto l957;
4693 l960:;
4694 { int yypos961= ctx->pos, yythunkpos961= ctx->thunkpos; if (!yy_HtmlAttribute(ctx)) goto l961; goto l960;
4695 l961:; ctx->pos= yypos961; ctx->thunkpos= yythunkpos961;
4696 } if (!yymatchChar(ctx, '>')) goto l957;
4697 yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockOpenUl", ctx->buf+ctx->pos));
4698 return 1;
4699 l957:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0;
4700 yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockOpenUl", ctx->buf+ctx->pos));
4701 return 0;
4702 }
yy_HtmlBlockTable(yycontext * ctx)4703 YY_RULE(int) yy_HtmlBlockTable(yycontext *ctx)
4704 { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos;
4705 yyprintf((stderr, "%s\n", "HtmlBlockTable")); if (!yy_HtmlBlockOpenTable(ctx)) goto l962;
4706 l963:;
4707 { int yypos964= ctx->pos, yythunkpos964= ctx->thunkpos;
4708 { int yypos965= ctx->pos, yythunkpos965= ctx->thunkpos; if (!yy_HtmlBlockTable(ctx)) goto l966; goto l965;
4709 l966:; ctx->pos= yypos965; ctx->thunkpos= yythunkpos965;
4710 { int yypos967= ctx->pos, yythunkpos967= ctx->thunkpos; if (!yy_HtmlBlockCloseTable(ctx)) goto l967; goto l964;
4711 l967:; ctx->pos= yypos967; ctx->thunkpos= yythunkpos967;
4712 } if (!yymatchDot(ctx)) goto l964;
4713 }
4714 l965:; goto l963;
4715 l964:; ctx->pos= yypos964; ctx->thunkpos= yythunkpos964;
4716 } if (!yy_HtmlBlockCloseTable(ctx)) goto l962;
4717 yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockTable", ctx->buf+ctx->pos));
4718 return 1;
4719 l962:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0;
4720 yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockTable", ctx->buf+ctx->pos));
4721 return 0;
4722 }
yy_HtmlBlockCloseTable(yycontext * ctx)4723 YY_RULE(int) yy_HtmlBlockCloseTable(yycontext *ctx)
4724 { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos;
4725 yyprintf((stderr, "%s\n", "HtmlBlockCloseTable")); if (!yymatchChar(ctx, '<')) goto l968; if (!yy_Spnl(ctx)) goto l968; if (!yymatchChar(ctx, '/')) goto l968;
4726 { int yypos969= ctx->pos, yythunkpos969= ctx->thunkpos; if (!yymatchString(ctx, "table")) goto l970; goto l969;
4727 l970:; ctx->pos= yypos969; ctx->thunkpos= yythunkpos969; if (!yymatchString(ctx, "TABLE")) goto l968;
4728 }
4729 l969:; if (!yy_Spnl(ctx)) goto l968; if (!yymatchChar(ctx, '>')) goto l968;
4730 yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockCloseTable", ctx->buf+ctx->pos));
4731 return 1;
4732 l968:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0;
4733 yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockCloseTable", ctx->buf+ctx->pos));
4734 return 0;
4735 }
yy_HtmlBlockOpenTable(yycontext * ctx)4736 YY_RULE(int) yy_HtmlBlockOpenTable(yycontext *ctx)
4737 { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos;
4738 yyprintf((stderr, "%s\n", "HtmlBlockOpenTable")); if (!yymatchChar(ctx, '<')) goto l971; if (!yy_Spnl(ctx)) goto l971;
4739 { int yypos972= ctx->pos, yythunkpos972= ctx->thunkpos; if (!yymatchString(ctx, "table")) goto l973; goto l972;
4740 l973:; ctx->pos= yypos972; ctx->thunkpos= yythunkpos972; if (!yymatchString(ctx, "TABLE")) goto l971;
4741 }
4742 l972:; if (!yy_Spnl(ctx)) goto l971;
4743 l974:;
4744 { int yypos975= ctx->pos, yythunkpos975= ctx->thunkpos; if (!yy_HtmlAttribute(ctx)) goto l975; goto l974;
4745 l975:; ctx->pos= yypos975; ctx->thunkpos= yythunkpos975;
4746 } if (!yymatchChar(ctx, '>')) goto l971;
4747 yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockOpenTable", ctx->buf+ctx->pos));
4748 return 1;
4749 l971:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0;
4750 yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockOpenTable", ctx->buf+ctx->pos));
4751 return 0;
4752 }
yy_HtmlBlockPre(yycontext * ctx)4753 YY_RULE(int) yy_HtmlBlockPre(yycontext *ctx)
4754 { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos;
4755 yyprintf((stderr, "%s\n", "HtmlBlockPre")); if (!yy_HtmlBlockOpenPre(ctx)) goto l976;
4756 l977:;
4757 { int yypos978= ctx->pos, yythunkpos978= ctx->thunkpos;
4758 { int yypos979= ctx->pos, yythunkpos979= ctx->thunkpos; if (!yy_HtmlBlockPre(ctx)) goto l980; goto l979;
4759 l980:; ctx->pos= yypos979; ctx->thunkpos= yythunkpos979;
4760 { int yypos981= ctx->pos, yythunkpos981= ctx->thunkpos; if (!yy_HtmlBlockClosePre(ctx)) goto l981; goto l978;
4761 l981:; ctx->pos= yypos981; ctx->thunkpos= yythunkpos981;
4762 } if (!yymatchDot(ctx)) goto l978;
4763 }
4764 l979:; goto l977;
4765 l978:; ctx->pos= yypos978; ctx->thunkpos= yythunkpos978;
4766 } if (!yy_HtmlBlockClosePre(ctx)) goto l976;
4767 yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockPre", ctx->buf+ctx->pos));
4768 return 1;
4769 l976:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0;
4770 yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockPre", ctx->buf+ctx->pos));
4771 return 0;
4772 }
yy_HtmlBlockClosePre(yycontext * ctx)4773 YY_RULE(int) yy_HtmlBlockClosePre(yycontext *ctx)
4774 { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos;
4775 yyprintf((stderr, "%s\n", "HtmlBlockClosePre")); if (!yymatchChar(ctx, '<')) goto l982; if (!yy_Spnl(ctx)) goto l982; if (!yymatchChar(ctx, '/')) goto l982;
4776 { int yypos983= ctx->pos, yythunkpos983= ctx->thunkpos; if (!yymatchString(ctx, "pre")) goto l984; goto l983;
4777 l984:; ctx->pos= yypos983; ctx->thunkpos= yythunkpos983; if (!yymatchString(ctx, "PRE")) goto l982;
4778 }
4779 l983:; if (!yy_Spnl(ctx)) goto l982; if (!yymatchChar(ctx, '>')) goto l982;
4780 yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockClosePre", ctx->buf+ctx->pos));
4781 return 1;
4782 l982:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0;
4783 yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockClosePre", ctx->buf+ctx->pos));
4784 return 0;
4785 }
yy_HtmlBlockOpenPre(yycontext * ctx)4786 YY_RULE(int) yy_HtmlBlockOpenPre(yycontext *ctx)
4787 { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos;
4788 yyprintf((stderr, "%s\n", "HtmlBlockOpenPre")); if (!yymatchChar(ctx, '<')) goto l985; if (!yy_Spnl(ctx)) goto l985;
4789 { int yypos986= ctx->pos, yythunkpos986= ctx->thunkpos; if (!yymatchString(ctx, "pre")) goto l987; goto l986;
4790 l987:; ctx->pos= yypos986; ctx->thunkpos= yythunkpos986; if (!yymatchString(ctx, "PRE")) goto l985;
4791 }
4792 l986:; if (!yy_Spnl(ctx)) goto l985;
4793 l988:;
4794 { int yypos989= ctx->pos, yythunkpos989= ctx->thunkpos; if (!yy_HtmlAttribute(ctx)) goto l989; goto l988;
4795 l989:; ctx->pos= yypos989; ctx->thunkpos= yythunkpos989;
4796 } if (!yymatchChar(ctx, '>')) goto l985;
4797 yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockOpenPre", ctx->buf+ctx->pos));
4798 return 1;
4799 l985:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0;
4800 yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockOpenPre", ctx->buf+ctx->pos));
4801 return 0;
4802 }
yy_HtmlBlockP(yycontext * ctx)4803 YY_RULE(int) yy_HtmlBlockP(yycontext *ctx)
4804 { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos;
4805 yyprintf((stderr, "%s\n", "HtmlBlockP")); if (!yy_HtmlBlockOpenP(ctx)) goto l990;
4806 l991:;
4807 { int yypos992= ctx->pos, yythunkpos992= ctx->thunkpos;
4808 { int yypos993= ctx->pos, yythunkpos993= ctx->thunkpos; if (!yy_HtmlBlockP(ctx)) goto l994; goto l993;
4809 l994:; ctx->pos= yypos993; ctx->thunkpos= yythunkpos993;
4810 { int yypos995= ctx->pos, yythunkpos995= ctx->thunkpos; if (!yy_HtmlBlockCloseP(ctx)) goto l995; goto l992;
4811 l995:; ctx->pos= yypos995; ctx->thunkpos= yythunkpos995;
4812 } if (!yymatchDot(ctx)) goto l992;
4813 }
4814 l993:; goto l991;
4815 l992:; ctx->pos= yypos992; ctx->thunkpos= yythunkpos992;
4816 } if (!yy_HtmlBlockCloseP(ctx)) goto l990;
4817 yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockP", ctx->buf+ctx->pos));
4818 return 1;
4819 l990:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0;
4820 yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockP", ctx->buf+ctx->pos));
4821 return 0;
4822 }
yy_HtmlBlockCloseP(yycontext * ctx)4823 YY_RULE(int) yy_HtmlBlockCloseP(yycontext *ctx)
4824 { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos;
4825 yyprintf((stderr, "%s\n", "HtmlBlockCloseP")); if (!yymatchChar(ctx, '<')) goto l996; if (!yy_Spnl(ctx)) goto l996; if (!yymatchChar(ctx, '/')) goto l996;
4826 { int yypos997= ctx->pos, yythunkpos997= ctx->thunkpos; if (!yymatchChar(ctx, 'p')) goto l998; goto l997;
4827 l998:; ctx->pos= yypos997; ctx->thunkpos= yythunkpos997; if (!yymatchChar(ctx, 'P')) goto l996;
4828 }
4829 l997:; if (!yy_Spnl(ctx)) goto l996; if (!yymatchChar(ctx, '>')) goto l996;
4830 yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockCloseP", ctx->buf+ctx->pos));
4831 return 1;
4832 l996:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0;
4833 yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockCloseP", ctx->buf+ctx->pos));
4834 return 0;
4835 }
yy_HtmlBlockOpenP(yycontext * ctx)4836 YY_RULE(int) yy_HtmlBlockOpenP(yycontext *ctx)
4837 { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos;
4838 yyprintf((stderr, "%s\n", "HtmlBlockOpenP")); if (!yymatchChar(ctx, '<')) goto l999; if (!yy_Spnl(ctx)) goto l999;
4839 { int yypos1000= ctx->pos, yythunkpos1000= ctx->thunkpos; if (!yymatchChar(ctx, 'p')) goto l1001; goto l1000;
4840 l1001:; ctx->pos= yypos1000; ctx->thunkpos= yythunkpos1000; if (!yymatchChar(ctx, 'P')) goto l999;
4841 }
4842 l1000:; if (!yy_Spnl(ctx)) goto l999;
4843 l1002:;
4844 { int yypos1003= ctx->pos, yythunkpos1003= ctx->thunkpos; if (!yy_HtmlAttribute(ctx)) goto l1003; goto l1002;
4845 l1003:; ctx->pos= yypos1003; ctx->thunkpos= yythunkpos1003;
4846 } if (!yymatchChar(ctx, '>')) goto l999;
4847 yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockOpenP", ctx->buf+ctx->pos));
4848 return 1;
4849 l999:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0;
4850 yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockOpenP", ctx->buf+ctx->pos));
4851 return 0;
4852 }
yy_HtmlBlockOl(yycontext * ctx)4853 YY_RULE(int) yy_HtmlBlockOl(yycontext *ctx)
4854 { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos;
4855 yyprintf((stderr, "%s\n", "HtmlBlockOl")); if (!yy_HtmlBlockOpenOl(ctx)) goto l1004;
4856 l1005:;
4857 { int yypos1006= ctx->pos, yythunkpos1006= ctx->thunkpos;
4858 { int yypos1007= ctx->pos, yythunkpos1007= ctx->thunkpos; if (!yy_HtmlBlockOl(ctx)) goto l1008; goto l1007;
4859 l1008:; ctx->pos= yypos1007; ctx->thunkpos= yythunkpos1007;
4860 { int yypos1009= ctx->pos, yythunkpos1009= ctx->thunkpos; if (!yy_HtmlBlockCloseOl(ctx)) goto l1009; goto l1006;
4861 l1009:; ctx->pos= yypos1009; ctx->thunkpos= yythunkpos1009;
4862 } if (!yymatchDot(ctx)) goto l1006;
4863 }
4864 l1007:; goto l1005;
4865 l1006:; ctx->pos= yypos1006; ctx->thunkpos= yythunkpos1006;
4866 } if (!yy_HtmlBlockCloseOl(ctx)) goto l1004;
4867 yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockOl", ctx->buf+ctx->pos));
4868 return 1;
4869 l1004:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0;
4870 yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockOl", ctx->buf+ctx->pos));
4871 return 0;
4872 }
yy_HtmlBlockCloseOl(yycontext * ctx)4873 YY_RULE(int) yy_HtmlBlockCloseOl(yycontext *ctx)
4874 { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos;
4875 yyprintf((stderr, "%s\n", "HtmlBlockCloseOl")); if (!yymatchChar(ctx, '<')) goto l1010; if (!yy_Spnl(ctx)) goto l1010; if (!yymatchChar(ctx, '/')) goto l1010;
4876 { int yypos1011= ctx->pos, yythunkpos1011= ctx->thunkpos; if (!yymatchString(ctx, "ol")) goto l1012; goto l1011;
4877 l1012:; ctx->pos= yypos1011; ctx->thunkpos= yythunkpos1011; if (!yymatchString(ctx, "OL")) goto l1010;
4878 }
4879 l1011:; if (!yy_Spnl(ctx)) goto l1010; if (!yymatchChar(ctx, '>')) goto l1010;
4880 yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockCloseOl", ctx->buf+ctx->pos));
4881 return 1;
4882 l1010:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0;
4883 yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockCloseOl", ctx->buf+ctx->pos));
4884 return 0;
4885 }
yy_HtmlBlockOpenOl(yycontext * ctx)4886 YY_RULE(int) yy_HtmlBlockOpenOl(yycontext *ctx)
4887 { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos;
4888 yyprintf((stderr, "%s\n", "HtmlBlockOpenOl")); if (!yymatchChar(ctx, '<')) goto l1013; if (!yy_Spnl(ctx)) goto l1013;
4889 { int yypos1014= ctx->pos, yythunkpos1014= ctx->thunkpos; if (!yymatchString(ctx, "ol")) goto l1015; goto l1014;
4890 l1015:; ctx->pos= yypos1014; ctx->thunkpos= yythunkpos1014; if (!yymatchString(ctx, "OL")) goto l1013;
4891 }
4892 l1014:; if (!yy_Spnl(ctx)) goto l1013;
4893 l1016:;
4894 { int yypos1017= ctx->pos, yythunkpos1017= ctx->thunkpos; if (!yy_HtmlAttribute(ctx)) goto l1017; goto l1016;
4895 l1017:; ctx->pos= yypos1017; ctx->thunkpos= yythunkpos1017;
4896 } if (!yymatchChar(ctx, '>')) goto l1013;
4897 yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockOpenOl", ctx->buf+ctx->pos));
4898 return 1;
4899 l1013:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0;
4900 yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockOpenOl", ctx->buf+ctx->pos));
4901 return 0;
4902 }
yy_HtmlBlockNoscript(yycontext * ctx)4903 YY_RULE(int) yy_HtmlBlockNoscript(yycontext *ctx)
4904 { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos;
4905 yyprintf((stderr, "%s\n", "HtmlBlockNoscript")); if (!yy_HtmlBlockOpenNoscript(ctx)) goto l1018;
4906 l1019:;
4907 { int yypos1020= ctx->pos, yythunkpos1020= ctx->thunkpos;
4908 { int yypos1021= ctx->pos, yythunkpos1021= ctx->thunkpos; if (!yy_HtmlBlockNoscript(ctx)) goto l1022; goto l1021;
4909 l1022:; ctx->pos= yypos1021; ctx->thunkpos= yythunkpos1021;
4910 { int yypos1023= ctx->pos, yythunkpos1023= ctx->thunkpos; if (!yy_HtmlBlockCloseNoscript(ctx)) goto l1023; goto l1020;
4911 l1023:; ctx->pos= yypos1023; ctx->thunkpos= yythunkpos1023;
4912 } if (!yymatchDot(ctx)) goto l1020;
4913 }
4914 l1021:; goto l1019;
4915 l1020:; ctx->pos= yypos1020; ctx->thunkpos= yythunkpos1020;
4916 } if (!yy_HtmlBlockCloseNoscript(ctx)) goto l1018;
4917 yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockNoscript", ctx->buf+ctx->pos));
4918 return 1;
4919 l1018:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0;
4920 yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockNoscript", ctx->buf+ctx->pos));
4921 return 0;
4922 }
yy_HtmlBlockCloseNoscript(yycontext * ctx)4923 YY_RULE(int) yy_HtmlBlockCloseNoscript(yycontext *ctx)
4924 { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos;
4925 yyprintf((stderr, "%s\n", "HtmlBlockCloseNoscript")); if (!yymatchChar(ctx, '<')) goto l1024; if (!yy_Spnl(ctx)) goto l1024; if (!yymatchChar(ctx, '/')) goto l1024;
4926 { int yypos1025= ctx->pos, yythunkpos1025= ctx->thunkpos; if (!yymatchString(ctx, "noscript")) goto l1026; goto l1025;
4927 l1026:; ctx->pos= yypos1025; ctx->thunkpos= yythunkpos1025; if (!yymatchString(ctx, "NOSCRIPT")) goto l1024;
4928 }
4929 l1025:; if (!yy_Spnl(ctx)) goto l1024; if (!yymatchChar(ctx, '>')) goto l1024;
4930 yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockCloseNoscript", ctx->buf+ctx->pos));
4931 return 1;
4932 l1024:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0;
4933 yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockCloseNoscript", ctx->buf+ctx->pos));
4934 return 0;
4935 }
yy_HtmlBlockOpenNoscript(yycontext * ctx)4936 YY_RULE(int) yy_HtmlBlockOpenNoscript(yycontext *ctx)
4937 { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos;
4938 yyprintf((stderr, "%s\n", "HtmlBlockOpenNoscript")); if (!yymatchChar(ctx, '<')) goto l1027; if (!yy_Spnl(ctx)) goto l1027;
4939 { int yypos1028= ctx->pos, yythunkpos1028= ctx->thunkpos; if (!yymatchString(ctx, "noscript")) goto l1029; goto l1028;
4940 l1029:; ctx->pos= yypos1028; ctx->thunkpos= yythunkpos1028; if (!yymatchString(ctx, "NOSCRIPT")) goto l1027;
4941 }
4942 l1028:; if (!yy_Spnl(ctx)) goto l1027;
4943 l1030:;
4944 { int yypos1031= ctx->pos, yythunkpos1031= ctx->thunkpos; if (!yy_HtmlAttribute(ctx)) goto l1031; goto l1030;
4945 l1031:; ctx->pos= yypos1031; ctx->thunkpos= yythunkpos1031;
4946 } if (!yymatchChar(ctx, '>')) goto l1027;
4947 yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockOpenNoscript", ctx->buf+ctx->pos));
4948 return 1;
4949 l1027:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0;
4950 yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockOpenNoscript", ctx->buf+ctx->pos));
4951 return 0;
4952 }
yy_HtmlBlockNoframes(yycontext * ctx)4953