/* A recursive-descent parser generated by peg 0.1.9 */ #include #include #include #define YYRULECOUNT 330 /********************************************************************** markdown_parser.leg - markdown parser in C using a PEG grammar. (c) 2008 John MacFarlane (jgm at berkeley dot edu). portions Copyright (c) 2010-2011 Fletcher T. Penney This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License or the MIT license. See LICENSE for details. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. ***********************************************************************/ #include #include #include "markdown_peg.h" #include "utility_functions.h" /********************************************************************** Definitions for leg parser generator. YY_INPUT is the function the parser calls to get new input. We take all new input from (static) charbuf. ***********************************************************************/ # define YYSTYPE element * #ifdef __DEBUG__ # define YY_DEBUG 1 #endif #define YY_INPUT(buf, result, max_size) \ { \ int yyc; \ if (charbuf && *charbuf != '\0') { \ yyc= *charbuf++; \ } else { \ yyc= EOF; \ } \ result= (EOF == yyc) ? 0 : (*(buf)= yyc, 1); \ } #define YY_RULE(T) T #define YY_DEBUG_OFF /********************************************************************** PEG grammar and parser actions for markdown syntax. ***********************************************************************/ #ifndef YY_LOCAL #define YY_LOCAL(T) static T #endif #ifndef YY_ACTION #define YY_ACTION(T) static T #endif #ifndef YY_RULE #define YY_RULE(T) static T #endif #ifndef YY_PARSE #define YY_PARSE(T) T #endif #ifndef YYPARSE #define YYPARSE yyparse #endif #ifndef YYPARSEFROM #define YYPARSEFROM yyparsefrom #endif #ifndef YY_INPUT #define YY_INPUT(buf, result, max_size) \ { \ int yyc= getchar(); \ result= (EOF == yyc) ? 0 : (*(buf)= yyc, 1); \ yyprintf((stderr, "<%c>", yyc)); \ } #endif #ifndef YY_BEGIN #define YY_BEGIN ( ctx->begin= ctx->pos, 1) #endif #ifndef YY_END #define YY_END ( ctx->end= ctx->pos, 1) #endif #ifdef YY_DEBUG # define yyprintf(args) fprintf args #else # define yyprintf(args) #endif #ifndef YYSTYPE #define YYSTYPE int #endif #ifndef YY_PART typedef struct _yycontext yycontext; typedef void (*yyaction)(yycontext *ctx, char *yytext, int yyleng); typedef struct _yythunk { int begin, end; yyaction action; struct _yythunk *next; } yythunk; struct _yycontext { char *buf; int buflen; int pos; int limit; char *text; int textlen; int begin; int end; int textmax; yythunk *thunks; int thunkslen; int thunkpos; YYSTYPE yy; YYSTYPE *val; YYSTYPE *vals; int valslen; #ifdef YY_CTX_MEMBERS YY_CTX_MEMBERS #endif }; #ifdef YY_CTX_LOCAL #define YY_CTX_PARAM_ yycontext *yyctx, #define YY_CTX_PARAM yycontext *yyctx #define YY_CTX_ARG_ yyctx, #define YY_CTX_ARG yyctx #else #define YY_CTX_PARAM_ #define YY_CTX_PARAM #define YY_CTX_ARG_ #define YY_CTX_ARG yycontext yyctx0; yycontext *yyctx= &yyctx0; #endif YY_LOCAL(int) yyrefill(yycontext *ctx) { int yyn; while (ctx->buflen - ctx->pos < 512) { ctx->buflen *= 2; ctx->buf= (char *)realloc(ctx->buf, ctx->buflen); } YY_INPUT((ctx->buf + ctx->pos), yyn, (ctx->buflen - ctx->pos)); if (!yyn) return 0; ctx->limit += yyn; return 1; } YY_LOCAL(int) yymatchDot(yycontext *ctx) { if (ctx->pos >= ctx->limit && !yyrefill(ctx)) return 0; ++ctx->pos; return 1; } YY_LOCAL(int) yymatchChar(yycontext *ctx, int c) { if (ctx->pos >= ctx->limit && !yyrefill(ctx)) return 0; if ((unsigned char)ctx->buf[ctx->pos] == c) { ++ctx->pos; yyprintf((stderr, " ok yymatchChar(ctx, %c) @ %s\n", c, ctx->buf+ctx->pos)); return 1; } yyprintf((stderr, " fail yymatchChar(ctx, %c) @ %s\n", c, ctx->buf+ctx->pos)); return 0; } YY_LOCAL(int) yymatchString(yycontext *ctx, char *s) { int yysav= ctx->pos; while (*s) { if (ctx->pos >= ctx->limit && !yyrefill(ctx)) return 0; if (ctx->buf[ctx->pos] != *s) { ctx->pos= yysav; return 0; } ++s; ++ctx->pos; } return 1; } YY_LOCAL(int) yymatchClass(yycontext *ctx, unsigned char *bits) { int c; if (ctx->pos >= ctx->limit && !yyrefill(ctx)) return 0; c= (unsigned char)ctx->buf[ctx->pos]; if (bits[c >> 3] & (1 << (c & 7))) { ++ctx->pos; yyprintf((stderr, " ok yymatchClass @ %s\n", ctx->buf+ctx->pos)); return 1; } yyprintf((stderr, " fail yymatchClass @ %s\n", ctx->buf+ctx->pos)); return 0; } YY_LOCAL(void) yyDo(yycontext *ctx, yyaction action, int begin, int end) { while (ctx->thunkpos >= ctx->thunkslen) { ctx->thunkslen *= 2; ctx->thunks= (yythunk *)realloc(ctx->thunks, sizeof(yythunk) * ctx->thunkslen); } ctx->thunks[ctx->thunkpos].begin= begin; ctx->thunks[ctx->thunkpos].end= end; ctx->thunks[ctx->thunkpos].action= action; ++ctx->thunkpos; } YY_LOCAL(int) yyText(yycontext *ctx, int begin, int end) { int yyleng= end - begin; if (yyleng <= 0) yyleng= 0; else { while (ctx->textlen < (yyleng + 1)) { ctx->textlen *= 2; ctx->text= (char *)realloc(ctx->text, ctx->textlen); } memcpy(ctx->text, ctx->buf + begin, yyleng); } ctx->text[yyleng]= '\0'; return yyleng; } YY_LOCAL(void) yyDone(yycontext *ctx) { int pos; for (pos= 0; pos < ctx->thunkpos; ++pos) { yythunk *thunk= &ctx->thunks[pos]; int yyleng= thunk->end ? yyText(ctx, thunk->begin, thunk->end) : thunk->begin; yyprintf((stderr, "DO [%d] %p %s\n", pos, thunk->action, ctx->text)); thunk->action(ctx, ctx->text, yyleng); } ctx->thunkpos= 0; } YY_LOCAL(void) yyCommit(yycontext *ctx) { if ((ctx->limit -= ctx->pos)) { memmove(ctx->buf, ctx->buf + ctx->pos, ctx->limit); } ctx->begin -= ctx->pos; ctx->end -= ctx->pos; ctx->pos= ctx->thunkpos= 0; } YY_LOCAL(int) yyAccept(yycontext *ctx, int tp0) { if (tp0) { fprintf(stderr, "accept denied at %d\n", tp0); return 0; } else { yyDone(ctx); yyCommit(ctx); } return 1; } YY_LOCAL(void) yyPush(yycontext *ctx, char *text, int count) { ctx->val += count; } YY_LOCAL(void) yyPop(yycontext *ctx, char *text, int count) { ctx->val -= count; } YY_LOCAL(void) yySet(yycontext *ctx, char *text, int count) { ctx->val[count]= ctx->yy; } #endif /* YY_PART */ #define YYACCEPT yyAccept(ctx, yythunkpos0) YY_RULE(int) yy_MarkdownHtmlAttribute(yycontext *ctx); /* 330 */ YY_RULE(int) yy_OPMLSetextHeading2(yycontext *ctx); /* 329 */ YY_RULE(int) yy_OPMLSetextHeading1(yycontext *ctx); /* 328 */ YY_RULE(int) yy_OPMLSetextHeading(yycontext *ctx); /* 327 */ YY_RULE(int) yy_OPMLAtxHeading(yycontext *ctx); /* 326 */ YY_RULE(int) yy_OPMLSectionBlock(yycontext *ctx); /* 325 */ YY_RULE(int) yy_OPMLHeading(yycontext *ctx); /* 324 */ YY_RULE(int) yy_OPMLPlain(yycontext *ctx); /* 323 */ YY_RULE(int) yy_OPMLHeadingSection(yycontext *ctx); /* 322 */ YY_RULE(int) yy_OPMLBlock(yycontext *ctx); /* 321 */ YY_RULE(int) yy_DocForOPML(yycontext *ctx); /* 320 */ YY_RULE(int) yy_RightAlign(yycontext *ctx); /* 319 */ YY_RULE(int) yy_CenterAlign(yycontext *ctx); /* 318 */ YY_RULE(int) yy_LeftAlign(yycontext *ctx); /* 317 */ YY_RULE(int) yy_RightAlignWrap(yycontext *ctx); /* 316 */ YY_RULE(int) yy_CenterAlignWrap(yycontext *ctx); /* 315 */ YY_RULE(int) yy_LeftAlignWrap(yycontext *ctx); /* 314 */ YY_RULE(int) yy_AlignmentCell(yycontext *ctx); /* 313 */ YY_RULE(int) yy_CellStr(yycontext *ctx); /* 312 */ YY_RULE(int) yy_FullCell(yycontext *ctx); /* 311 */ YY_RULE(int) yy_EmptyCell(yycontext *ctx); /* 310 */ YY_RULE(int) yy_ExtendedCell(yycontext *ctx); /* 309 */ YY_RULE(int) yy_TableCell(yycontext *ctx); /* 308 */ YY_RULE(int) yy_CellDivider(yycontext *ctx); /* 307 */ YY_RULE(int) yy_TableLine(yycontext *ctx); /* 306 */ YY_RULE(int) yy_TableRow(yycontext *ctx); /* 305 */ YY_RULE(int) yy_Definition(yycontext *ctx); /* 304 */ YY_RULE(int) yy_Term(yycontext *ctx); /* 303 */ YY_RULE(int) yy_TermLine(yycontext *ctx); /* 302 */ YY_RULE(int) yy_SeparatorLine(yycontext *ctx); /* 301 */ YY_RULE(int) yy_TableBody(yycontext *ctx); /* 300 */ YY_RULE(int) yy_TableCaption(yycontext *ctx); /* 299 */ YY_RULE(int) yy_AutoLabels(yycontext *ctx); /* 298 */ YY_RULE(int) yy_RawCitationReference(yycontext *ctx); /* 297 */ YY_RULE(int) yy_CitationReferenceSingle(yycontext *ctx); /* 296 */ YY_RULE(int) yy_CitationReferenceDouble(yycontext *ctx); /* 295 */ YY_RULE(int) yy_Notes(yycontext *ctx); /* 294 */ YY_RULE(int) yy_InlineNote(yycontext *ctx); /* 293 */ YY_RULE(int) yy_RawNoteBlock(yycontext *ctx); /* 292 */ YY_RULE(int) yy_GlossarySortKey(yycontext *ctx); /* 291 */ YY_RULE(int) yy_GlossaryTerm(yycontext *ctx); /* 290 */ YY_RULE(int) yy_RawNoteReference(yycontext *ctx); /* 289 */ YY_RULE(int) yy_DoubleQuoteEnd(yycontext *ctx); /* 288 */ YY_RULE(int) yy_DoubleQuoteStart(yycontext *ctx); /* 287 */ YY_RULE(int) yy_SingleQuoteEnd(yycontext *ctx); /* 286 */ YY_RULE(int) yy_SingleQuoteStart(yycontext *ctx); /* 285 */ YY_RULE(int) yy_EnDash(yycontext *ctx); /* 284 */ YY_RULE(int) yy_EmDash(yycontext *ctx); /* 283 */ YY_RULE(int) yy_Apostrophe(yycontext *ctx); /* 282 */ YY_RULE(int) yy_DoubleQuoted(yycontext *ctx); /* 281 */ YY_RULE(int) yy_SingleQuoted(yycontext *ctx); /* 280 */ YY_RULE(int) yy_Dash(yycontext *ctx); /* 279 */ YY_RULE(int) yy_Ellipsis(yycontext *ctx); /* 278 */ YY_RULE(int) yy_Digit(yycontext *ctx); /* 277 */ YY_RULE(int) yy_ExtendedSpecialChar(yycontext *ctx); /* 276 */ YY_RULE(int) yy_Quoted(yycontext *ctx); /* 275 */ YY_RULE(int) yy_HtmlTag(yycontext *ctx); /* 274 */ YY_RULE(int) yy_Ticks5(yycontext *ctx); /* 273 */ YY_RULE(int) yy_Ticks4(yycontext *ctx); /* 272 */ YY_RULE(int) yy_Ticks3(yycontext *ctx); /* 271 */ YY_RULE(int) yy_Ticks2(yycontext *ctx); /* 270 */ YY_RULE(int) yy_Ticks1(yycontext *ctx); /* 269 */ YY_RULE(int) yy_SkipBlock(yycontext *ctx); /* 268 */ YY_RULE(int) yy_References(yycontext *ctx); /* 267 */ YY_RULE(int) yy_EmptyTitle(yycontext *ctx); /* 266 */ YY_RULE(int) yy_RefTitleParens(yycontext *ctx); /* 265 */ YY_RULE(int) yy_RefTitleDouble(yycontext *ctx); /* 264 */ YY_RULE(int) yy_RefTitleSingle(yycontext *ctx); /* 263 */ YY_RULE(int) yy_UnQuotedValue(yycontext *ctx); /* 262 */ YY_RULE(int) yy_QuotedValue(yycontext *ctx); /* 261 */ YY_RULE(int) yy_AttrValue(yycontext *ctx); /* 260 */ YY_RULE(int) yy_AttrKey(yycontext *ctx); /* 259 */ YY_RULE(int) yy_Attribute(yycontext *ctx); /* 258 */ YY_RULE(int) yy_Attributes(yycontext *ctx); /* 257 */ YY_RULE(int) yy_RefTitle(yycontext *ctx); /* 256 */ YY_RULE(int) yy_RefSrc(yycontext *ctx); /* 255 */ YY_RULE(int) yy_AutoLinkEmail(yycontext *ctx); /* 254 */ YY_RULE(int) yy_AutoLinkUrl(yycontext *ctx); /* 253 */ YY_RULE(int) yy_TitleDouble(yycontext *ctx); /* 252 */ YY_RULE(int) yy_TitleSingle(yycontext *ctx); /* 251 */ YY_RULE(int) yy_Nonspacechar(yycontext *ctx); /* 250 */ YY_RULE(int) yy_SourceContents(yycontext *ctx); /* 249 */ YY_RULE(int) yy_Title(yycontext *ctx); /* 248 */ YY_RULE(int) yy_Source(yycontext *ctx); /* 247 */ YY_RULE(int) yy_Label(yycontext *ctx); /* 246 */ YY_RULE(int) yy_ReferenceLinkSingle(yycontext *ctx); /* 245 */ YY_RULE(int) yy_ReferenceLinkDouble(yycontext *ctx); /* 244 */ YY_RULE(int) yy_AutoLink(yycontext *ctx); /* 243 */ YY_RULE(int) yy_ReferenceLink(yycontext *ctx); /* 242 */ YY_RULE(int) yy_ExplicitLink(yycontext *ctx); /* 241 */ YY_RULE(int) yy_StrongUl(yycontext *ctx); /* 240 */ YY_RULE(int) yy_StrongStar(yycontext *ctx); /* 239 */ YY_RULE(int) yy_Whitespace(yycontext *ctx); /* 238 */ YY_RULE(int) yy_EmphUl(yycontext *ctx); /* 237 */ YY_RULE(int) yy_EmphStar(yycontext *ctx); /* 236 */ YY_RULE(int) yy_StarLine(yycontext *ctx); /* 235 */ YY_RULE(int) yy_UlLine(yycontext *ctx); /* 234 */ YY_RULE(int) yy_SpecialChar(yycontext *ctx); /* 233 */ YY_RULE(int) yy_Eof(yycontext *ctx); /* 232 */ YY_RULE(int) yy_NormalEndline(yycontext *ctx); /* 231 */ YY_RULE(int) yy_TerminalEndline(yycontext *ctx); /* 230 */ YY_RULE(int) yy_LineBreak(yycontext *ctx); /* 229 */ YY_RULE(int) yy_CharEntity(yycontext *ctx); /* 228 */ YY_RULE(int) yy_DecEntity(yycontext *ctx); /* 227 */ YY_RULE(int) yy_HexEntity(yycontext *ctx); /* 226 */ YY_RULE(int) yy_AposChunk(yycontext *ctx); /* 225 */ YY_RULE(int) yy_Alphanumeric(yycontext *ctx); /* 224 */ YY_RULE(int) yy_StrChunk(yycontext *ctx); /* 223 */ YY_RULE(int) yy_NormalChar(yycontext *ctx); /* 222 */ YY_RULE(int) yy_Symbol(yycontext *ctx); /* 221 */ YY_RULE(int) yy_Smart(yycontext *ctx); /* 220 */ YY_RULE(int) yy_EscapedChar(yycontext *ctx); /* 219 */ YY_RULE(int) yy_Entity(yycontext *ctx); /* 218 */ YY_RULE(int) yy_RawHtml(yycontext *ctx); /* 217 */ YY_RULE(int) yy_Code(yycontext *ctx); /* 216 */ YY_RULE(int) yy_NoteReference(yycontext *ctx); /* 215 */ YY_RULE(int) yy_Link(yycontext *ctx); /* 214 */ YY_RULE(int) yy_Image(yycontext *ctx); /* 213 */ YY_RULE(int) yy_CitationReference(yycontext *ctx); /* 212 */ YY_RULE(int) yy_Emph(yycontext *ctx); /* 211 */ YY_RULE(int) yy_Strong(yycontext *ctx); /* 210 */ YY_RULE(int) yy_Space(yycontext *ctx); /* 209 */ YY_RULE(int) yy_UlOrStarLine(yycontext *ctx); /* 208 */ YY_RULE(int) yy_MathSpan(yycontext *ctx); /* 207 */ YY_RULE(int) yy_Str(yycontext *ctx); /* 206 */ YY_RULE(int) yy_InStyleTags(yycontext *ctx); /* 205 */ YY_RULE(int) yy_StyleClose(yycontext *ctx); /* 204 */ YY_RULE(int) yy_StyleOpen(yycontext *ctx); /* 203 */ YY_RULE(int) yy_HtmlBlockType(yycontext *ctx); /* 202 */ YY_RULE(int) yy_HtmlBlockSelfClosing(yycontext *ctx); /* 201 */ YY_RULE(int) yy_HtmlComment(yycontext *ctx); /* 200 */ YY_RULE(int) yy_MarkdownHtmlTagOpen(yycontext *ctx); /* 199 */ YY_RULE(int) yy_HtmlBlockInTags(yycontext *ctx); /* 198 */ YY_RULE(int) yy_HtmlBlockScript(yycontext *ctx); /* 197 */ YY_RULE(int) yy_HtmlBlockCloseScript(yycontext *ctx); /* 196 */ YY_RULE(int) yy_HtmlBlockOpenScript(yycontext *ctx); /* 195 */ YY_RULE(int) yy_HtmlBlockTr(yycontext *ctx); /* 194 */ YY_RULE(int) yy_HtmlBlockCloseTr(yycontext *ctx); /* 193 */ YY_RULE(int) yy_HtmlBlockOpenTr(yycontext *ctx); /* 192 */ YY_RULE(int) yy_HtmlBlockThead(yycontext *ctx); /* 191 */ YY_RULE(int) yy_HtmlBlockCloseThead(yycontext *ctx); /* 190 */ YY_RULE(int) yy_HtmlBlockOpenThead(yycontext *ctx); /* 189 */ YY_RULE(int) yy_HtmlBlockTh(yycontext *ctx); /* 188 */ YY_RULE(int) yy_HtmlBlockCloseTh(yycontext *ctx); /* 187 */ YY_RULE(int) yy_HtmlBlockOpenTh(yycontext *ctx); /* 186 */ YY_RULE(int) yy_HtmlBlockTfoot(yycontext *ctx); /* 185 */ YY_RULE(int) yy_HtmlBlockCloseTfoot(yycontext *ctx); /* 184 */ YY_RULE(int) yy_HtmlBlockOpenTfoot(yycontext *ctx); /* 183 */ YY_RULE(int) yy_HtmlBlockTd(yycontext *ctx); /* 182 */ YY_RULE(int) yy_HtmlBlockCloseTd(yycontext *ctx); /* 181 */ YY_RULE(int) yy_HtmlBlockOpenTd(yycontext *ctx); /* 180 */ YY_RULE(int) yy_HtmlBlockTbody(yycontext *ctx); /* 179 */ YY_RULE(int) yy_HtmlBlockCloseTbody(yycontext *ctx); /* 178 */ YY_RULE(int) yy_HtmlBlockOpenTbody(yycontext *ctx); /* 177 */ YY_RULE(int) yy_HtmlBlockLi(yycontext *ctx); /* 176 */ YY_RULE(int) yy_HtmlBlockCloseLi(yycontext *ctx); /* 175 */ YY_RULE(int) yy_HtmlBlockOpenLi(yycontext *ctx); /* 174 */ YY_RULE(int) yy_HtmlBlockFrameset(yycontext *ctx); /* 173 */ YY_RULE(int) yy_HtmlBlockCloseFrameset(yycontext *ctx); /* 172 */ YY_RULE(int) yy_HtmlBlockOpenFrameset(yycontext *ctx); /* 171 */ YY_RULE(int) yy_HtmlBlockDt(yycontext *ctx); /* 170 */ YY_RULE(int) yy_HtmlBlockCloseDt(yycontext *ctx); /* 169 */ YY_RULE(int) yy_HtmlBlockOpenDt(yycontext *ctx); /* 168 */ YY_RULE(int) yy_HtmlBlockDd(yycontext *ctx); /* 167 */ YY_RULE(int) yy_HtmlBlockCloseDd(yycontext *ctx); /* 166 */ YY_RULE(int) yy_HtmlBlockOpenDd(yycontext *ctx); /* 165 */ YY_RULE(int) yy_HtmlBlockVideo(yycontext *ctx); /* 164 */ YY_RULE(int) yy_HtmlBlockCloseVideo(yycontext *ctx); /* 163 */ YY_RULE(int) yy_HtmlBlockOpenVideo(yycontext *ctx); /* 162 */ YY_RULE(int) yy_HtmlBlockUl(yycontext *ctx); /* 161 */ YY_RULE(int) yy_HtmlBlockCloseUl(yycontext *ctx); /* 160 */ YY_RULE(int) yy_HtmlBlockOpenUl(yycontext *ctx); /* 159 */ YY_RULE(int) yy_HtmlBlockTable(yycontext *ctx); /* 158 */ YY_RULE(int) yy_HtmlBlockCloseTable(yycontext *ctx); /* 157 */ YY_RULE(int) yy_HtmlBlockOpenTable(yycontext *ctx); /* 156 */ YY_RULE(int) yy_HtmlBlockSection(yycontext *ctx); /* 155 */ YY_RULE(int) yy_HtmlBlockCloseSection(yycontext *ctx); /* 154 */ YY_RULE(int) yy_HtmlBlockOpenSection(yycontext *ctx); /* 153 */ YY_RULE(int) yy_HtmlBlockProgress(yycontext *ctx); /* 152 */ YY_RULE(int) yy_HtmlBlockCloseProgress(yycontext *ctx); /* 151 */ YY_RULE(int) yy_HtmlBlockOpenProgress(yycontext *ctx); /* 150 */ YY_RULE(int) yy_HtmlBlockPre(yycontext *ctx); /* 149 */ YY_RULE(int) yy_HtmlBlockClosePre(yycontext *ctx); /* 148 */ YY_RULE(int) yy_HtmlBlockOpenPre(yycontext *ctx); /* 147 */ YY_RULE(int) yy_HtmlBlockP(yycontext *ctx); /* 146 */ YY_RULE(int) yy_HtmlBlockCloseP(yycontext *ctx); /* 145 */ YY_RULE(int) yy_HtmlBlockOpenP(yycontext *ctx); /* 144 */ YY_RULE(int) yy_HtmlBlockOl(yycontext *ctx); /* 143 */ YY_RULE(int) yy_HtmlBlockCloseOl(yycontext *ctx); /* 142 */ YY_RULE(int) yy_HtmlBlockOpenOl(yycontext *ctx); /* 141 */ YY_RULE(int) yy_HtmlBlockNoscript(yycontext *ctx); /* 140 */ YY_RULE(int) yy_HtmlBlockCloseNoscript(yycontext *ctx); /* 139 */ YY_RULE(int) yy_HtmlBlockOpenNoscript(yycontext *ctx); /* 138 */ YY_RULE(int) yy_HtmlBlockNoframes(yycontext *ctx); /* 137 */ YY_RULE(int) yy_HtmlBlockCloseNoframes(yycontext *ctx); /* 136 */ YY_RULE(int) yy_HtmlBlockOpenNoframes(yycontext *ctx); /* 135 */ YY_RULE(int) yy_HtmlBlockMenu(yycontext *ctx); /* 134 */ YY_RULE(int) yy_HtmlBlockCloseMenu(yycontext *ctx); /* 133 */ YY_RULE(int) yy_HtmlBlockOpenMenu(yycontext *ctx); /* 132 */ YY_RULE(int) yy_HtmlBlockH6(yycontext *ctx); /* 131 */ YY_RULE(int) yy_HtmlBlockCloseH6(yycontext *ctx); /* 130 */ YY_RULE(int) yy_HtmlBlockOpenH6(yycontext *ctx); /* 129 */ YY_RULE(int) yy_HtmlBlockH5(yycontext *ctx); /* 128 */ YY_RULE(int) yy_HtmlBlockCloseH5(yycontext *ctx); /* 127 */ YY_RULE(int) yy_HtmlBlockOpenH5(yycontext *ctx); /* 126 */ YY_RULE(int) yy_HtmlBlockH4(yycontext *ctx); /* 125 */ YY_RULE(int) yy_HtmlBlockCloseH4(yycontext *ctx); /* 124 */ YY_RULE(int) yy_HtmlBlockOpenH4(yycontext *ctx); /* 123 */ YY_RULE(int) yy_HtmlBlockH3(yycontext *ctx); /* 122 */ YY_RULE(int) yy_HtmlBlockCloseH3(yycontext *ctx); /* 121 */ YY_RULE(int) yy_HtmlBlockOpenH3(yycontext *ctx); /* 120 */ YY_RULE(int) yy_HtmlBlockH2(yycontext *ctx); /* 119 */ YY_RULE(int) yy_HtmlBlockCloseH2(yycontext *ctx); /* 118 */ YY_RULE(int) yy_HtmlBlockOpenH2(yycontext *ctx); /* 117 */ YY_RULE(int) yy_HtmlBlockH1(yycontext *ctx); /* 116 */ YY_RULE(int) yy_HtmlBlockCloseH1(yycontext *ctx); /* 115 */ YY_RULE(int) yy_HtmlBlockOpenH1(yycontext *ctx); /* 114 */ YY_RULE(int) yy_HtmlBlockHgroup(yycontext *ctx); /* 113 */ YY_RULE(int) yy_HtmlBlockCloseHgroup(yycontext *ctx); /* 112 */ YY_RULE(int) yy_HtmlBlockOpenHgroup(yycontext *ctx); /* 111 */ YY_RULE(int) yy_HtmlBlockHeader(yycontext *ctx); /* 110 */ YY_RULE(int) yy_HtmlBlockCloseHeader(yycontext *ctx); /* 109 */ YY_RULE(int) yy_HtmlBlockOpenHeader(yycontext *ctx); /* 108 */ YY_RULE(int) yy_HtmlBlockForm(yycontext *ctx); /* 107 */ YY_RULE(int) yy_HtmlBlockCloseForm(yycontext *ctx); /* 106 */ YY_RULE(int) yy_HtmlBlockOpenForm(yycontext *ctx); /* 105 */ YY_RULE(int) yy_HtmlBlockFooter(yycontext *ctx); /* 104 */ YY_RULE(int) yy_HtmlBlockCloseFooter(yycontext *ctx); /* 103 */ YY_RULE(int) yy_HtmlBlockOpenFooter(yycontext *ctx); /* 102 */ YY_RULE(int) yy_HtmlBlockFigure(yycontext *ctx); /* 101 */ YY_RULE(int) yy_HtmlBlockCloseFigure(yycontext *ctx); /* 100 */ YY_RULE(int) yy_HtmlBlockOpenFigure(yycontext *ctx); /* 99 */ YY_RULE(int) yy_HtmlBlockFieldset(yycontext *ctx); /* 98 */ YY_RULE(int) yy_HtmlBlockCloseFieldset(yycontext *ctx); /* 97 */ YY_RULE(int) yy_HtmlBlockOpenFieldset(yycontext *ctx); /* 96 */ YY_RULE(int) yy_HtmlBlockDl(yycontext *ctx); /* 95 */ YY_RULE(int) yy_HtmlBlockCloseDl(yycontext *ctx); /* 94 */ YY_RULE(int) yy_HtmlBlockOpenDl(yycontext *ctx); /* 93 */ YY_RULE(int) yy_HtmlBlockDiv(yycontext *ctx); /* 92 */ YY_RULE(int) yy_HtmlBlockCloseDiv(yycontext *ctx); /* 91 */ YY_RULE(int) yy_HtmlBlockDir(yycontext *ctx); /* 90 */ YY_RULE(int) yy_HtmlBlockCloseDir(yycontext *ctx); /* 89 */ YY_RULE(int) yy_HtmlBlockOpenDir(yycontext *ctx); /* 88 */ YY_RULE(int) yy_HtmlBlockCenter(yycontext *ctx); /* 87 */ YY_RULE(int) yy_HtmlBlockCloseCenter(yycontext *ctx); /* 86 */ YY_RULE(int) yy_HtmlBlockOpenCenter(yycontext *ctx); /* 85 */ YY_RULE(int) yy_HtmlBlockCanvas(yycontext *ctx); /* 84 */ YY_RULE(int) yy_HtmlBlockCloseCanvas(yycontext *ctx); /* 83 */ YY_RULE(int) yy_HtmlBlockOpenCanvas(yycontext *ctx); /* 82 */ YY_RULE(int) yy_HtmlBlockBlockquote(yycontext *ctx); /* 81 */ YY_RULE(int) yy_HtmlBlockCloseBlockquote(yycontext *ctx); /* 80 */ YY_RULE(int) yy_HtmlBlockOpenBlockquote(yycontext *ctx); /* 79 */ YY_RULE(int) yy_HtmlBlockAside(yycontext *ctx); /* 78 */ YY_RULE(int) yy_HtmlBlockCloseAside(yycontext *ctx); /* 77 */ YY_RULE(int) yy_HtmlBlockOpenAside(yycontext *ctx); /* 76 */ YY_RULE(int) yy_HtmlBlockArticle(yycontext *ctx); /* 75 */ YY_RULE(int) yy_HtmlBlockCloseArticle(yycontext *ctx); /* 74 */ YY_RULE(int) yy_HtmlBlockOpenArticle(yycontext *ctx); /* 73 */ YY_RULE(int) yy_HtmlBlockAddress(yycontext *ctx); /* 72 */ YY_RULE(int) yy_HtmlBlockCloseAddress(yycontext *ctx); /* 71 */ YY_RULE(int) yy_HtmlAttribute(yycontext *ctx); /* 70 */ YY_RULE(int) yy_Spnl(yycontext *ctx); /* 69 */ YY_RULE(int) yy_HtmlBlockOpenAddress(yycontext *ctx); /* 68 */ YY_RULE(int) yy_OptionallyIndentedLine(yycontext *ctx); /* 67 */ YY_RULE(int) yy_Indent(yycontext *ctx); /* 66 */ YY_RULE(int) yy_ListBlockLine(yycontext *ctx); /* 65 */ YY_RULE(int) yy_ListContinuationBlock(yycontext *ctx); /* 64 */ YY_RULE(int) yy_ListBlock(yycontext *ctx); /* 63 */ YY_RULE(int) yy_ListItem(yycontext *ctx); /* 62 */ YY_RULE(int) yy_Enumerator(yycontext *ctx); /* 61 */ YY_RULE(int) yy_ListItemTight(yycontext *ctx); /* 60 */ YY_RULE(int) yy_ListLoose(yycontext *ctx); /* 59 */ YY_RULE(int) yy_ListTight(yycontext *ctx); /* 58 */ YY_RULE(int) yy_Spacechar(yycontext *ctx); /* 57 */ YY_RULE(int) yy_Bullet(yycontext *ctx); /* 56 */ YY_RULE(int) yy_VerbatimChunk(yycontext *ctx); /* 55 */ YY_RULE(int) yy_IndentedLine(yycontext *ctx); /* 54 */ YY_RULE(int) yy_NonblankIndentedLine(yycontext *ctx); /* 53 */ YY_RULE(int) yy_Line(yycontext *ctx); /* 52 */ YY_RULE(int) yy_BlockQuoteRaw(yycontext *ctx); /* 51 */ YY_RULE(int) yy_Endline(yycontext *ctx); /* 50 */ YY_RULE(int) yy_SetextBottom2(yycontext *ctx); /* 49 */ YY_RULE(int) yy_SetextBottom1(yycontext *ctx); /* 48 */ YY_RULE(int) yy_SetextHeading2(yycontext *ctx); /* 47 */ YY_RULE(int) yy_SetextHeading1(yycontext *ctx); /* 46 */ YY_RULE(int) yy_SetextHeading(yycontext *ctx); /* 45 */ YY_RULE(int) yy_AtxHeading(yycontext *ctx); /* 44 */ YY_RULE(int) yy_AtxStart(yycontext *ctx); /* 43 */ YY_RULE(int) yy_Inline(yycontext *ctx); /* 42 */ YY_RULE(int) yy_AutoLabel(yycontext *ctx); /* 41 */ YY_RULE(int) yy_AtxInline(yycontext *ctx); /* 40 */ YY_RULE(int) yy_Inlines(yycontext *ctx); /* 39 */ YY_RULE(int) yy_NonindentSpace(yycontext *ctx); /* 38 */ YY_RULE(int) yy_Heading(yycontext *ctx); /* 37 */ YY_RULE(int) yy_HeadingSectionBlock(yycontext *ctx); /* 36 */ YY_RULE(int) yy_Plain(yycontext *ctx); /* 35 */ YY_RULE(int) yy_Para(yycontext *ctx); /* 34 */ YY_RULE(int) yy_HtmlBlockOpenDiv(yycontext *ctx); /* 33 */ YY_RULE(int) yy_ImageBlock(yycontext *ctx); /* 32 */ YY_RULE(int) yy_Table(yycontext *ctx); /* 31 */ YY_RULE(int) yy_StyleBlock(yycontext *ctx); /* 30 */ YY_RULE(int) yy_MarkdownHtmlBlock(yycontext *ctx); /* 29 */ YY_RULE(int) yy_HtmlBlock(yycontext *ctx); /* 28 */ YY_RULE(int) yy_BulletList(yycontext *ctx); /* 27 */ YY_RULE(int) yy_OrderedList(yycontext *ctx); /* 26 */ YY_RULE(int) yy_HeadingSection(yycontext *ctx); /* 25 */ YY_RULE(int) yy_HorizontalRule(yycontext *ctx); /* 24 */ YY_RULE(int) yy_Reference(yycontext *ctx); /* 23 */ YY_RULE(int) yy_Note(yycontext *ctx); /* 22 */ YY_RULE(int) yy_Glossary(yycontext *ctx); /* 21 */ YY_RULE(int) yy_DefinitionList(yycontext *ctx); /* 20 */ YY_RULE(int) yy_Verbatim(yycontext *ctx); /* 19 */ YY_RULE(int) yy_BlockQuote(yycontext *ctx); /* 18 */ YY_RULE(int) yy_RawLine(yycontext *ctx); /* 17 */ YY_RULE(int) yy_BlankLine(yycontext *ctx); /* 16 */ YY_RULE(int) yy_SingleLineMetaKeyValue(yycontext *ctx); /* 15 */ YY_RULE(int) yy_AlphanumericAscii(yycontext *ctx); /* 14 */ YY_RULE(int) yy_MetaDataValue(yycontext *ctx); /* 13 */ YY_RULE(int) yy_MetaDataOnly2(yycontext *ctx); /* 12 */ YY_RULE(int) yy_MetaDataOnly(yycontext *ctx); /* 11 */ YY_RULE(int) yy_MetaDataKeyValue(yycontext *ctx); /* 10 */ YY_RULE(int) yy_MetaData(yycontext *ctx); /* 9 */ YY_RULE(int) yy_Newline(yycontext *ctx); /* 8 */ YY_RULE(int) yy_Sp(yycontext *ctx); /* 7 */ YY_RULE(int) yy_MetaDataKey(yycontext *ctx); /* 6 */ YY_RULE(int) yy_DocWithMetaData(yycontext *ctx); /* 5 */ YY_RULE(int) yy_Block(yycontext *ctx); /* 4 */ YY_RULE(int) yy_StartList(yycontext *ctx); /* 3 */ YY_RULE(int) yy_BOM(yycontext *ctx); /* 2 */ YY_RULE(int) yy_Doc(yycontext *ctx); /* 1 */ YY_ACTION(void) yy_6_MarkdownHtmlTagOpen(yycontext *ctx, char *yytext, int yyleng) { #define a ctx->val[-1] #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_6_MarkdownHtmlTagOpen\n")); yy = mk_str_from_list(a,false); yy->key = HTML; ; #undef yythunkpos #undef yypos #undef yy #undef a } YY_ACTION(void) yy_5_MarkdownHtmlTagOpen(yycontext *ctx, char *yytext, int yyleng) { #define a ctx->val[-1] #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_5_MarkdownHtmlTagOpen\n")); a = cons(mk_str(">"),a);; #undef yythunkpos #undef yypos #undef yy #undef a } YY_ACTION(void) yy_4_MarkdownHtmlTagOpen(yycontext *ctx, char *yytext, int yyleng) { #define a ctx->val[-1] #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_4_MarkdownHtmlTagOpen\n")); a = cons(mk_str(" "),a); a = cons(mk_str(yytext),a);; #undef yythunkpos #undef yypos #undef yy #undef a } YY_ACTION(void) yy_3_MarkdownHtmlTagOpen(yycontext *ctx, char *yytext, int yyleng) { #define a ctx->val[-1] #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_3_MarkdownHtmlTagOpen\n")); a = cons(mk_str(" "),a); a = cons(mk_str(yytext),a);; #undef yythunkpos #undef yypos #undef yy #undef a } YY_ACTION(void) yy_2_MarkdownHtmlTagOpen(yycontext *ctx, char *yytext, int yyleng) { #define a ctx->val[-1] #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_2_MarkdownHtmlTagOpen\n")); a = cons(mk_str(yytext),a);; #undef yythunkpos #undef yypos #undef yy #undef a } YY_ACTION(void) yy_1_MarkdownHtmlTagOpen(yycontext *ctx, char *yytext, int yyleng) { #define a ctx->val[-1] #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_1_MarkdownHtmlTagOpen\n")); a = cons(mk_str("<"),a);; #undef yythunkpos #undef yypos #undef yy #undef a } YY_ACTION(void) yy_2_OPMLPlain(yycontext *ctx, char *yytext, int yyleng) { #define a ctx->val[-1] #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_2_OPMLPlain\n")); yy = mk_list(PLAIN, a); ; #undef yythunkpos #undef yypos #undef yy #undef a } YY_ACTION(void) yy_1_OPMLPlain(yycontext *ctx, char *yytext, int yyleng) { #define a ctx->val[-1] #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_1_OPMLPlain\n")); a = cons(yy,a); ; #undef yythunkpos #undef yypos #undef yy #undef a } YY_ACTION(void) yy_1_OPMLSetextHeading2(yycontext *ctx, char *yytext, int yyleng) { #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_1_OPMLSetextHeading2\n")); yy = mk_str(yytext); yy->key = H2; ; #undef yythunkpos #undef yypos #undef yy } YY_ACTION(void) yy_1_OPMLSetextHeading1(yycontext *ctx, char *yytext, int yyleng) { #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_1_OPMLSetextHeading1\n")); yy = mk_str(yytext); yy->key = H1; ; #undef yythunkpos #undef yypos #undef yy } YY_ACTION(void) yy_1_OPMLAtxHeading(yycontext *ctx, char *yytext, int yyleng) { #define s ctx->val[-1] #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_1_OPMLAtxHeading\n")); yy = mk_str(yytext); yy->key = s->key; free(s); ; #undef yythunkpos #undef yypos #undef yy #undef s } YY_ACTION(void) yy_3_OPMLHeadingSection(yycontext *ctx, char *yytext, int yyleng) { #define a ctx->val[-1] #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_3_OPMLHeadingSection\n")); yy = mk_list(HEADINGSECTION, a);; #undef yythunkpos #undef yypos #undef yy #undef a } YY_ACTION(void) yy_2_OPMLHeadingSection(yycontext *ctx, char *yytext, int yyleng) { #define a ctx->val[-1] #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_2_OPMLHeadingSection\n")); a = cons(yy, a); ; #undef yythunkpos #undef yypos #undef yy #undef a } YY_ACTION(void) yy_1_OPMLHeadingSection(yycontext *ctx, char *yytext, int yyleng) { #define a ctx->val[-1] #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_1_OPMLHeadingSection\n")); a = cons(yy, a); ; #undef yythunkpos #undef yypos #undef yy #undef a } YY_ACTION(void) yy_3_DocForOPML(yycontext *ctx, char *yytext, int yyleng) { #define a ctx->val[-1] #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_3_DocForOPML\n")); parse_result = reverse(a); ; #undef yythunkpos #undef yypos #undef yy #undef a } YY_ACTION(void) yy_2_DocForOPML(yycontext *ctx, char *yytext, int yyleng) { #define a ctx->val[-1] #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_2_DocForOPML\n")); a = cons(yy, a); ; #undef yythunkpos #undef yypos #undef yy #undef a } YY_ACTION(void) yy_1_DocForOPML(yycontext *ctx, char *yytext, int yyleng) { #define a ctx->val[-1] #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_1_DocForOPML\n")); a = cons(yy, a); ; #undef yythunkpos #undef yypos #undef yy #undef a } YY_ACTION(void) yy_1_MathSpan(yycontext *ctx, char *yytext, int yyleng) { #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_1_MathSpan\n")); /* Basically, these delimiters indicate math in LaTeX syntax, and the delimiters are compatible with MathJax and LaTeX ASCIIMathML is *not* supported */ yy = mk_str(yytext); yy->key = MATHSPAN; ; #undef yythunkpos #undef yypos #undef yy } YY_ACTION(void) yy_1_AutoLabel(yycontext *ctx, char *yytext, int yyleng) { #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_1_AutoLabel\n")); char *label = label_from_string(yytext,0); yy = mk_str(label); yy->key = AUTOLABEL; free(label); ; #undef yythunkpos #undef yypos #undef yy } YY_ACTION(void) yy_2_TableCaption(yycontext *ctx, char *yytext, int yyleng) { #define c ctx->val[-1] #define a ctx->val[-2] #define b ctx->val[-3] #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_2_TableCaption\n")); yy = a; yy->key = TABLECAPTION; if ( (b != NULL) && (b->key == TABLELABEL) ) { b->next = yy->children; yy->children = b; } ; #undef yythunkpos #undef yypos #undef yy #undef c #undef a #undef b } YY_ACTION(void) yy_1_TableCaption(yycontext *ctx, char *yytext, int yyleng) { #define c ctx->val[-1] #define a ctx->val[-2] #define b ctx->val[-3] #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_1_TableCaption\n")); b = c; b->key = TABLELABEL;; #undef yythunkpos #undef yypos #undef yy #undef c #undef a #undef b } YY_ACTION(void) yy_1_RightAlign(yycontext *ctx, char *yytext, int yyleng) { #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_1_RightAlign\n")); yy = mk_str("r");; #undef yythunkpos #undef yypos #undef yy } YY_ACTION(void) yy_1_RightAlignWrap(yycontext *ctx, char *yytext, int yyleng) { #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_1_RightAlignWrap\n")); yy = mk_str("R");; #undef yythunkpos #undef yypos #undef yy } YY_ACTION(void) yy_1_CenterAlign(yycontext *ctx, char *yytext, int yyleng) { #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_1_CenterAlign\n")); yy = mk_str("c");; #undef yythunkpos #undef yypos #undef yy } YY_ACTION(void) yy_1_CenterAlignWrap(yycontext *ctx, char *yytext, int yyleng) { #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_1_CenterAlignWrap\n")); yy = mk_str("C");; #undef yythunkpos #undef yypos #undef yy } YY_ACTION(void) yy_1_LeftAlign(yycontext *ctx, char *yytext, int yyleng) { #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_1_LeftAlign\n")); yy = mk_str("l");; #undef yythunkpos #undef yypos #undef yy } YY_ACTION(void) yy_1_LeftAlignWrap(yycontext *ctx, char *yytext, int yyleng) { #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_1_LeftAlignWrap\n")); yy = mk_str("L");; #undef yythunkpos #undef yypos #undef yy } YY_ACTION(void) yy_2_SeparatorLine(yycontext *ctx, char *yytext, int yyleng) { #define a ctx->val[-1] #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_2_SeparatorLine\n")); yy = mk_str_from_list(a,false); yy->key = TABLESEPARATOR; ; #undef yythunkpos #undef yypos #undef yy #undef a } YY_ACTION(void) yy_1_SeparatorLine(yycontext *ctx, char *yytext, int yyleng) { #define a ctx->val[-1] #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_1_SeparatorLine\n")); a = cons(yy, a);; #undef yythunkpos #undef yypos #undef yy #undef a } YY_ACTION(void) yy_1_EmptyCell(yycontext *ctx, char *yytext, int yyleng) { #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_1_EmptyCell\n")); yy = mk_element(TABLECELL);; #undef yythunkpos #undef yypos #undef yy } YY_ACTION(void) yy_2_FullCell(yycontext *ctx, char *yytext, int yyleng) { #define a ctx->val[-1] #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_2_FullCell\n")); yy = mk_list(TABLECELL,a); ; #undef yythunkpos #undef yypos #undef yy #undef a } YY_ACTION(void) yy_1_FullCell(yycontext *ctx, char *yytext, int yyleng) { #define a ctx->val[-1] #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_1_FullCell\n")); a = cons(yy,a); #undef yythunkpos #undef yypos #undef yy #undef a } YY_ACTION(void) yy_1_CellStr(yycontext *ctx, char *yytext, int yyleng) { #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_1_CellStr\n")); yy = mk_str(yytext); ; #undef yythunkpos #undef yypos #undef yy } YY_ACTION(void) yy_1_ExtendedCell(yycontext *ctx, char *yytext, int yyleng) { #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_1_ExtendedCell\n")); element *span; span = mk_str(yytext); span->key = CELLSPAN; span->next = yy->children; yy->children = span; ; #undef yythunkpos #undef yypos #undef yy } YY_ACTION(void) yy_2_TableRow(yycontext *ctx, char *yytext, int yyleng) { #define a ctx->val[-1] #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_2_TableRow\n")); yy = mk_list(TABLEROW, a); ; #undef yythunkpos #undef yypos #undef yy #undef a } YY_ACTION(void) yy_1_TableRow(yycontext *ctx, char *yytext, int yyleng) { #define a ctx->val[-1] #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_1_TableRow\n")); a = cons(yy, a); ; #undef yythunkpos #undef yypos #undef yy #undef a } YY_ACTION(void) yy_2_TableBody(yycontext *ctx, char *yytext, int yyleng) { #define a ctx->val[-1] #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_2_TableBody\n")); yy = mk_list(TABLEBODY, a);; #undef yythunkpos #undef yypos #undef yy #undef a } YY_ACTION(void) yy_1_TableBody(yycontext *ctx, char *yytext, int yyleng) { #define a ctx->val[-1] #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_1_TableBody\n")); a = cons(yy, a);; #undef yythunkpos #undef yypos #undef yy #undef a } YY_ACTION(void) yy_7_Table(yycontext *ctx, char *yytext, int yyleng) { #define b ctx->val[-1] #define a ctx->val[-2] #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_7_Table\n")); if (b != NULL) { append_list(b,a); }; yy = mk_list(TABLE, a); ; #undef yythunkpos #undef yypos #undef yy #undef b #undef a } YY_ACTION(void) yy_6_Table(yycontext *ctx, char *yytext, int yyleng) { #define b ctx->val[-1] #define a ctx->val[-2] #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_6_Table\n")); b = cons(yy, b);; #undef yythunkpos #undef yypos #undef yy #undef b #undef a } YY_ACTION(void) yy_5_Table(yycontext *ctx, char *yytext, int yyleng) { #define b ctx->val[-1] #define a ctx->val[-2] #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_5_Table\n")); a = cons(yy, a); ; #undef yythunkpos #undef yypos #undef yy #undef b #undef a } YY_ACTION(void) yy_4_Table(yycontext *ctx, char *yytext, int yyleng) { #define b ctx->val[-1] #define a ctx->val[-2] #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_4_Table\n")); a = cons(yy, a);; #undef yythunkpos #undef yypos #undef yy #undef b #undef a } YY_ACTION(void) yy_3_Table(yycontext *ctx, char *yytext, int yyleng) { #define b ctx->val[-1] #define a ctx->val[-2] #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_3_Table\n")); append_list(yy,a); ; #undef yythunkpos #undef yypos #undef yy #undef b #undef a } YY_ACTION(void) yy_2_Table(yycontext *ctx, char *yytext, int yyleng) { #define b ctx->val[-1] #define a ctx->val[-2] #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_2_Table\n")); yy->key = TABLEHEAD; a = cons(yy, a); ; #undef yythunkpos #undef yypos #undef yy #undef b #undef a } YY_ACTION(void) yy_1_Table(yycontext *ctx, char *yytext, int yyleng) { #define b ctx->val[-1] #define a ctx->val[-2] #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_1_Table\n")); b = cons(yy, b);; #undef yythunkpos #undef yypos #undef yy #undef b #undef a } YY_ACTION(void) yy_7_Definition(yycontext *ctx, char *yytext, int yyleng) { #define b ctx->val[-1] #define a ctx->val[-2] #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_7_Definition\n")); if (b != NULL) { a = cons(b,a);} element *raw = mk_str_from_list(a, false); raw->key = RAW; yy = mk_list(DEFINITION,raw); ; #undef yythunkpos #undef yypos #undef yy #undef b #undef a } YY_ACTION(void) yy_6_Definition(yycontext *ctx, char *yytext, int yyleng) { #define b ctx->val[-1] #define a ctx->val[-2] #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_6_Definition\n")); a = cons(mk_str("\n"),a);; #undef yythunkpos #undef yypos #undef yy #undef b #undef a } YY_ACTION(void) yy_5_Definition(yycontext *ctx, char *yytext, int yyleng) { #define b ctx->val[-1] #define a ctx->val[-2] #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_5_Definition\n")); a = cons(mk_str(yytext),a);; #undef yythunkpos #undef yypos #undef yy #undef b #undef a } YY_ACTION(void) yy_4_Definition(yycontext *ctx, char *yytext, int yyleng) { #define b ctx->val[-1] #define a ctx->val[-2] #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_4_Definition\n")); a = cons(mk_str("\n"),a);; #undef yythunkpos #undef yypos #undef yy #undef b #undef a } YY_ACTION(void) yy_3_Definition(yycontext *ctx, char *yytext, int yyleng) { #define b ctx->val[-1] #define a ctx->val[-2] #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_3_Definition\n")); a = cons(mk_str(yytext), a);; #undef yythunkpos #undef yypos #undef yy #undef b #undef a } YY_ACTION(void) yy_2_Definition(yycontext *ctx, char *yytext, int yyleng) { #define b ctx->val[-1] #define a ctx->val[-2] #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_2_Definition\n")); a = cons(mk_str(yytext), a);; #undef yythunkpos #undef yypos #undef yy #undef b #undef a } YY_ACTION(void) yy_1_Definition(yycontext *ctx, char *yytext, int yyleng) { #define b ctx->val[-1] #define a ctx->val[-2] #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_1_Definition\n")); b = cons(mk_str("\n"),b); ; #undef yythunkpos #undef yypos #undef yy #undef b #undef a } YY_ACTION(void) yy_2_Term(yycontext *ctx, char *yytext, int yyleng) { #define a ctx->val[-1] #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_2_Term\n")); yy = mk_list(TERM,a); ; #undef yythunkpos #undef yypos #undef yy #undef a } YY_ACTION(void) yy_1_Term(yycontext *ctx, char *yytext, int yyleng) { #define a ctx->val[-1] #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_1_Term\n")); a = cons(yy, a);; #undef yythunkpos #undef yypos #undef yy #undef a } YY_ACTION(void) yy_3_DefinitionList(yycontext *ctx, char *yytext, int yyleng) { #define a ctx->val[-1] #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_3_DefinitionList\n")); yy = mk_list(LIST, a); yy->key = DEFLIST; ; #undef yythunkpos #undef yypos #undef yy #undef a } YY_ACTION(void) yy_2_DefinitionList(yycontext *ctx, char *yytext, int yyleng) { #define a ctx->val[-1] #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_2_DefinitionList\n")); a = cons(yy, a);; #undef yythunkpos #undef yypos #undef yy #undef a } YY_ACTION(void) yy_1_DefinitionList(yycontext *ctx, char *yytext, int yyleng) { #define a ctx->val[-1] #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_1_DefinitionList\n")); a = cons(yy, a); ; #undef yythunkpos #undef yypos #undef yy #undef a } YY_ACTION(void) yy_4_AutoLabels(yycontext *ctx, char *yytext, int yyleng) { #define c ctx->val[-1] #define b ctx->val[-2] #define a ctx->val[-3] #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_4_AutoLabels\n")); labels = a; ; #undef yythunkpos #undef yypos #undef yy #undef c #undef b #undef a } YY_ACTION(void) yy_3_AutoLabels(yycontext *ctx, char *yytext, int yyleng) { #define c ctx->val[-1] #define b ctx->val[-2] #define a ctx->val[-3] #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_3_AutoLabels\n")); GString *label = g_string_new(""); char *lab; if (c->children->key == TABLELABEL) { print_raw_element_list(label, c->children->children); } else { print_raw_element_list(label, c->children); } lab = label_from_string(label->str,0); a = cons(mk_str(lab), a); free(lab); g_string_free(label,true); free_element_list(c);; #undef yythunkpos #undef yypos #undef yy #undef c #undef b #undef a } YY_ACTION(void) yy_2_AutoLabels(yycontext *ctx, char *yytext, int yyleng) { #define c ctx->val[-1] #define b ctx->val[-2] #define a ctx->val[-3] #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_2_AutoLabels\n")); GString *label = g_string_new(""); char *lab; if (c->children->key == TABLELABEL) { print_raw_element_list(label, c->children->children); } else { print_raw_element_list(label, c->children); } lab = label_from_string(label->str,0); a = cons(mk_str(lab), a); free(lab); g_string_free(label,true); free_element_list(c);; #undef yythunkpos #undef yypos #undef yy #undef c #undef b #undef a } YY_ACTION(void) yy_1_AutoLabels(yycontext *ctx, char *yytext, int yyleng) { #define c ctx->val[-1] #define b ctx->val[-2] #define a ctx->val[-3] #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_1_AutoLabels\n")); GString *label = g_string_new(""); char *lab; print_raw_element_list(label, b->children); if (b->children->key == AUTOLABEL) { lab = label_from_string(b->children->contents.str,0); } else { lab = label_from_string(label->str,0); } a = cons(mk_str(lab), a); free(lab); g_string_free(label,true); /* TODO: this causes segfault when trying to use a footnote in the header */ /* I would like to fix it at some point */ /* free_element_list(b); */ ; #undef yythunkpos #undef yypos #undef yy #undef c #undef b #undef a } YY_ACTION(void) yy_1_RawCitationReference(yycontext *ctx, char *yytext, int yyleng) { #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_1_RawCitationReference\n")); yy = mk_str(yytext); ; #undef yythunkpos #undef yypos #undef yy } YY_ACTION(void) yy_1_CitationReferenceSingle(yycontext *ctx, char *yytext, int yyleng) { #define ref ctx->val[-1] #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_1_CitationReferenceSingle\n")); element *match; if (find_note(&match, ref->contents.str)) { yy = mk_element(CITATION); assert(match->children != NULL); yy->children = match->children; yy->contents.str = strdup(ref->contents.str); } else { char *s; s = malloc(strlen(ref->contents.str) + 4); sprintf(s, "[#%s]", ref->contents.str); yy = mk_str(s); yy->key = CITATION; free(s); } ; #undef yythunkpos #undef yypos #undef yy #undef ref } YY_ACTION(void) yy_1_CitationReferenceDouble(yycontext *ctx, char *yytext, int yyleng) { #define ref ctx->val[-1] #define b ctx->val[-2] #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_1_CitationReferenceDouble\n")); element *match; if (find_note(&match, ref->contents.str)) { /* This citation is specified within the document */ yy = mk_element(CITATION); assert(match->children != NULL); b->next = match->children; b->key = LOCATOR; yy->children = b; yy->contents.str = strdup(ref->contents.str); } else { /* Citation not specified - likely bibtex citation */ /* TODO: fix this - need to print label as well */ char *s; s = malloc(strlen(ref->contents.str) + 4); sprintf(s, "[#%s]", ref->contents.str); yy = mk_str(s); yy->key = CITATION; b->key = LOCATOR; yy->children = b; free(s); } GString *label = g_string_new(""); char *lab; print_raw_element_list(label, b->children); lab = label_from_string(label->str,0); if (strcmp(lab,"notcited") == 0 ) { yy->key = NOCITATION; } g_string_free(label, true); free(lab); ; #undef yythunkpos #undef yypos #undef yy #undef ref #undef b } YY_ACTION(void) yy_3_RawNoteBlock(yycontext *ctx, char *yytext, int yyleng) { #define a ctx->val[-1] #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_3_RawNoteBlock\n")); yy = mk_str_from_list(a, true); yy->key = RAW; ; #undef yythunkpos #undef yypos #undef yy #undef a } YY_ACTION(void) yy_2_RawNoteBlock(yycontext *ctx, char *yytext, int yyleng) { #define a ctx->val[-1] #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_2_RawNoteBlock\n")); a = cons(mk_str(yytext), a); ; #undef yythunkpos #undef yypos #undef yy #undef a } YY_ACTION(void) yy_1_RawNoteBlock(yycontext *ctx, char *yytext, int yyleng) { #define a ctx->val[-1] #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_1_RawNoteBlock\n")); a = cons(yy, a); ; #undef yythunkpos #undef yypos #undef yy #undef a } YY_ACTION(void) yy_2_Notes(yycontext *ctx, char *yytext, int yyleng) { #define b ctx->val[-1] #define a ctx->val[-2] #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_2_Notes\n")); notes = reverse(a); ; #undef yythunkpos #undef yypos #undef yy #undef b #undef a } YY_ACTION(void) yy_1_Notes(yycontext *ctx, char *yytext, int yyleng) { #define b ctx->val[-1] #define a ctx->val[-2] #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_1_Notes\n")); a = cons(b, a); ; #undef yythunkpos #undef yypos #undef yy #undef b #undef a } YY_ACTION(void) yy_2_InlineNote(yycontext *ctx, char *yytext, int yyleng) { #define a ctx->val[-1] #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_2_InlineNote\n")); yy = mk_list(NOTE, a); yy->contents.str = 0; ; #undef yythunkpos #undef yypos #undef yy #undef a } YY_ACTION(void) yy_1_InlineNote(yycontext *ctx, char *yytext, int yyleng) { #define a ctx->val[-1] #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_1_InlineNote\n")); a = cons(yy, a); ; #undef yythunkpos #undef yypos #undef yy #undef a } YY_ACTION(void) yy_3_Note(yycontext *ctx, char *yytext, int yyleng) { #define a ctx->val[-1] #define ref ctx->val[-2] #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_3_Note\n")); element *label; label = mk_str(ref->contents.str); label->key = NOTELABEL; a = cons(label,a); yy = mk_list(NOTE, a); yy->contents.str = strdup(ref->contents.str); ; #undef yythunkpos #undef yypos #undef yy #undef a #undef ref } YY_ACTION(void) yy_2_Note(yycontext *ctx, char *yytext, int yyleng) { #define a ctx->val[-1] #define ref ctx->val[-2] #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_2_Note\n")); a = cons(yy, a); ; #undef yythunkpos #undef yypos #undef yy #undef a #undef ref } YY_ACTION(void) yy_1_Note(yycontext *ctx, char *yytext, int yyleng) { #define a ctx->val[-1] #define ref ctx->val[-2] #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_1_Note\n")); a = cons(yy, a); ; #undef yythunkpos #undef yypos #undef yy #undef a #undef ref } YY_ACTION(void) yy_1_GlossarySortKey(yycontext *ctx, char *yytext, int yyleng) { #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_1_GlossarySortKey\n")); yy = mk_str(yytext); yy->key = GLOSSARYSORTKEY; ; #undef yythunkpos #undef yypos #undef yy } YY_ACTION(void) yy_1_GlossaryTerm(yycontext *ctx, char *yytext, int yyleng) { #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_1_GlossaryTerm\n")); yy = mk_list(LIST, NULL); yy->contents.str = 0; yy->children = mk_str(yytext); yy->key = GLOSSARYTERM; ; #undef yythunkpos #undef yypos #undef yy } YY_ACTION(void) yy_5_Glossary(yycontext *ctx, char *yytext, int yyleng) { #define ref ctx->val[-1] #define a ctx->val[-2] #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_5_Glossary\n")); yy = mk_list(GLOSSARY, a); yy->contents.str = strdup(ref->contents.str); ; #undef yythunkpos #undef yypos #undef yy #undef ref #undef a } YY_ACTION(void) yy_4_Glossary(yycontext *ctx, char *yytext, int yyleng) { #define ref ctx->val[-1] #define a ctx->val[-2] #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_4_Glossary\n")); a = cons(yy, a); ; #undef yythunkpos #undef yypos #undef yy #undef ref #undef a } YY_ACTION(void) yy_3_Glossary(yycontext *ctx, char *yytext, int yyleng) { #define ref ctx->val[-1] #define a ctx->val[-2] #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_3_Glossary\n")); a = cons(yy, a); ; #undef yythunkpos #undef yypos #undef yy #undef ref #undef a } YY_ACTION(void) yy_2_Glossary(yycontext *ctx, char *yytext, int yyleng) { #define ref ctx->val[-1] #define a ctx->val[-2] #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_2_Glossary\n")); a = cons(yy, a); ; #undef yythunkpos #undef yypos #undef yy #undef ref #undef a } YY_ACTION(void) yy_1_Glossary(yycontext *ctx, char *yytext, int yyleng) { #define ref ctx->val[-1] #define a ctx->val[-2] #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_1_Glossary\n")); a = cons(yy, a); ; #undef yythunkpos #undef yypos #undef yy #undef ref #undef a } YY_ACTION(void) yy_1_RawNoteReference(yycontext *ctx, char *yytext, int yyleng) { #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_1_RawNoteReference\n")); yy = mk_str(yytext); ; #undef yythunkpos #undef yypos #undef yy } YY_ACTION(void) yy_1_NoteReference(yycontext *ctx, char *yytext, int yyleng) { #define ref ctx->val[-1] #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_1_NoteReference\n")); element *match; if (find_note(&match, ref->contents.str)) { yy = mk_element(NOTE); assert(match->children != NULL); yy->children = match->children; yy->contents.str = 0; } else { char *s; s = malloc(strlen(ref->contents.str) + 4); sprintf(s, "[^%s]", ref->contents.str); yy = mk_str(s); free(s); } ; #undef yythunkpos #undef yypos #undef yy #undef ref } YY_ACTION(void) yy_2_DoubleQuoted(yycontext *ctx, char *yytext, int yyleng) { #define b ctx->val[-1] #define a ctx->val[-2] #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_2_DoubleQuoted\n")); yy = mk_list(DOUBLEQUOTED, a); ; #undef yythunkpos #undef yypos #undef yy #undef b #undef a } YY_ACTION(void) yy_1_DoubleQuoted(yycontext *ctx, char *yytext, int yyleng) { #define b ctx->val[-1] #define a ctx->val[-2] #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_1_DoubleQuoted\n")); a = cons(b, a); ; #undef yythunkpos #undef yypos #undef yy #undef b #undef a } YY_ACTION(void) yy_2_SingleQuoted(yycontext *ctx, char *yytext, int yyleng) { #define b ctx->val[-1] #define a ctx->val[-2] #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_2_SingleQuoted\n")); yy = mk_list(SINGLEQUOTED, a); ; #undef yythunkpos #undef yypos #undef yy #undef b #undef a } YY_ACTION(void) yy_1_SingleQuoted(yycontext *ctx, char *yytext, int yyleng) { #define b ctx->val[-1] #define a ctx->val[-2] #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_1_SingleQuoted\n")); a = cons(b, a); ; #undef yythunkpos #undef yypos #undef yy #undef b #undef a } YY_ACTION(void) yy_1_EmDash(yycontext *ctx, char *yytext, int yyleng) { #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_1_EmDash\n")); yy = mk_element(EMDASH); yy->contents.str = strdup(yytext); ; #undef yythunkpos #undef yypos #undef yy } YY_ACTION(void) yy_1_EnDash(yycontext *ctx, char *yytext, int yyleng) { #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_1_EnDash\n")); yy = mk_element(ENDASH); yy->contents.str = strdup(yytext); ; #undef yythunkpos #undef yypos #undef yy } YY_ACTION(void) yy_1_Ellipsis(yycontext *ctx, char *yytext, int yyleng) { #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_1_Ellipsis\n")); yy = mk_element(ELLIPSIS); ; #undef yythunkpos #undef yypos #undef yy } YY_ACTION(void) yy_1_Apostrophe(yycontext *ctx, char *yytext, int yyleng) { #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_1_Apostrophe\n")); yy = mk_element(APOSTROPHE); ; #undef yythunkpos #undef yypos #undef yy } YY_ACTION(void) yy_1_Line(yycontext *ctx, char *yytext, int yyleng) { #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_1_Line\n")); yy = mk_str(yytext); ; #undef yythunkpos #undef yypos #undef yy } YY_ACTION(void) yy_1_StartList(yycontext *ctx, char *yytext, int yyleng) { #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_1_StartList\n")); yy = NULL; ; #undef yythunkpos #undef yypos #undef yy } YY_ACTION(void) yy_1_RawHtml(yycontext *ctx, char *yytext, int yyleng) { #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_1_RawHtml\n")); if (extension(EXT_FILTER_HTML)) { yy = mk_list(LIST, NULL); } else { yy = mk_str(yytext); yy->key = HTML; } ; #undef yythunkpos #undef yypos #undef yy } YY_ACTION(void) yy_1_Code(yycontext *ctx, char *yytext, int yyleng) { #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_1_Code\n")); yy = mk_str(yytext); yy->key = CODE; ; #undef yythunkpos #undef yypos #undef yy } YY_ACTION(void) yy_2_References(yycontext *ctx, char *yytext, int yyleng) { #define b ctx->val[-1] #define a ctx->val[-2] #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_2_References\n")); references = reverse(a); ; #undef yythunkpos #undef yypos #undef yy #undef b #undef a } YY_ACTION(void) yy_1_References(yycontext *ctx, char *yytext, int yyleng) { #define b ctx->val[-1] #define a ctx->val[-2] #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_1_References\n")); a = cons(b, a); ; #undef yythunkpos #undef yypos #undef yy #undef b #undef a } YY_ACTION(void) yy_1_RefTitle(yycontext *ctx, char *yytext, int yyleng) { #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_1_RefTitle\n")); yy = mk_str(yytext); yy->key = RAW;; #undef yythunkpos #undef yypos #undef yy } YY_ACTION(void) yy_1_RefSrc(yycontext *ctx, char *yytext, int yyleng) { #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_1_RefSrc\n")); yy = mk_str(yytext); yy->key = HTML; ; #undef yythunkpos #undef yypos #undef yy } YY_ACTION(void) yy_2_Label(yycontext *ctx, char *yytext, int yyleng) { #define a ctx->val[-1] #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_2_Label\n")); yy = mk_list(LIST, a); ; #undef yythunkpos #undef yypos #undef yy #undef a } YY_ACTION(void) yy_1_Label(yycontext *ctx, char *yytext, int yyleng) { #define a ctx->val[-1] #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_1_Label\n")); a = cons(yy, a); ; #undef yythunkpos #undef yypos #undef yy #undef a } YY_ACTION(void) yy_1_AttrValue(yycontext *ctx, char *yytext, int yyleng) { #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_1_AttrValue\n")); yy = mk_str(yytext); yy->key = ATTRVALUE; ; #undef yythunkpos #undef yypos #undef yy } YY_ACTION(void) yy_1_AttrKey(yycontext *ctx, char *yytext, int yyleng) { #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_1_AttrKey\n")); char *lab; lab = label_from_string(yytext,0); yy = mk_str(lab); yy->key = ATTRKEY; free(lab); ; #undef yythunkpos #undef yypos #undef yy } YY_ACTION(void) yy_1_Attribute(yycontext *ctx, char *yytext, int yyleng) { #define b ctx->val[-1] #define a ctx->val[-2] #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_1_Attribute\n")); yy = a; yy->children = b; ; #undef yythunkpos #undef yypos #undef yy #undef b #undef a } YY_ACTION(void) yy_2_Attributes(yycontext *ctx, char *yytext, int yyleng) { #define a ctx->val[-1] #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_2_Attributes\n")); yy = mk_list(LIST,a); ; #undef yythunkpos #undef yypos #undef yy #undef a } YY_ACTION(void) yy_1_Attributes(yycontext *ctx, char *yytext, int yyleng) { #define a ctx->val[-1] #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_1_Attributes\n")); a =cons(yy,a);; #undef yythunkpos #undef yypos #undef yy #undef a } YY_ACTION(void) yy_2_Reference(yycontext *ctx, char *yytext, int yyleng) { #define t ctx->val[-1] #define s ctx->val[-2] #define l ctx->val[-3] #define a ctx->val[-4] #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_2_Reference\n")); char *label; GString *text = g_string_new(""); print_raw_element_list(text, l->children); label = label_from_string(text->str,0); if (a == NULL) { yy = mk_link(l->children, s->contents.str, t->contents.str, a, label); } else { yy = mk_link(l->children, s->contents.str, t->contents.str, a->children, label); } free_element(s); free_element(t); free(l); free(label); g_string_free(text, TRUE); yy->key = REFERENCE; ; #undef yythunkpos #undef yypos #undef yy #undef t #undef s #undef l #undef a } YY_ACTION(void) yy_1_Reference(yycontext *ctx, char *yytext, int yyleng) { #define t ctx->val[-1] #define s ctx->val[-2] #define l ctx->val[-3] #define a ctx->val[-4] #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_1_Reference\n")); a = cons(yy,a);; #undef yythunkpos #undef yypos #undef yy #undef t #undef s #undef l #undef a } YY_ACTION(void) yy_1_AutoLinkEmail(yycontext *ctx, char *yytext, int yyleng) { #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_1_AutoLinkEmail\n")); char *mailto = malloc(strlen(yytext) + 8); sprintf(mailto, "mailto:%s", yytext); yy = mk_link(mk_str(yytext), mailto, "", NULL, ""); free(mailto); ; #undef yythunkpos #undef yypos #undef yy } YY_ACTION(void) yy_1_AutoLinkUrl(yycontext *ctx, char *yytext, int yyleng) { #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_1_AutoLinkUrl\n")); yy = mk_link(mk_str(yytext), yytext, "", NULL, ""); ; #undef yythunkpos #undef yypos #undef yy } YY_ACTION(void) yy_1_Title(yycontext *ctx, char *yytext, int yyleng) { #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_1_Title\n")); yy = mk_str(yytext); ; #undef yythunkpos #undef yypos #undef yy } YY_ACTION(void) yy_1_Source(yycontext *ctx, char *yytext, int yyleng) { #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_1_Source\n")); yy = mk_str(yytext); ; #undef yythunkpos #undef yypos #undef yy } YY_ACTION(void) yy_1_ExplicitLink(yycontext *ctx, char *yytext, int yyleng) { #define t ctx->val[-1] #define s ctx->val[-2] #define l ctx->val[-3] #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_1_ExplicitLink\n")); yy = mk_link(l->children, s->contents.str, t->contents.str, NULL, ""); free_element(s); free_element(t); free(l); ; #undef yythunkpos #undef yypos #undef yy #undef t #undef s #undef l } YY_ACTION(void) yy_1_ReferenceLinkSingle(yycontext *ctx, char *yytext, int yyleng) { #define a ctx->val[-1] #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_1_ReferenceLinkSingle\n")); link match; if (find_reference(&match, a->children)) { yy = mk_link(a->children, match.url, match.title, match.attr, match.identifier); free(a); } else if ( !extension(EXT_COMPATIBILITY) && find_label(&match, a->children)) { GString *text = g_string_new(""); print_raw_element_list(text, a->children); char *lab = label_from_string(text->str,0); GString *label = g_string_new(lab); g_string_prepend(label,"#"); yy = mk_link(a->children, label->str, "", NULL, lab); g_string_free(text, TRUE); g_string_free(label, TRUE); free(lab); free(a); } else { element *result; result = mk_element(LIST); result->children = cons(mk_str("["), cons(a, cons(mk_str("]"), mk_str(yytext)))); yy = result; } ; #undef yythunkpos #undef yypos #undef yy #undef a } YY_ACTION(void) yy_1_ReferenceLinkDouble(yycontext *ctx, char *yytext, int yyleng) { #define b ctx->val[-1] #define a ctx->val[-2] #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_1_ReferenceLinkDouble\n")); link match; if (find_reference(&match, b->children)) { yy = mk_link(a->children, match.url, match.title, match.attr, match.identifier); free(a); free_element_list(b); } else if ( !extension(EXT_COMPATIBILITY) && find_label(&match, b->children)) { GString *text = g_string_new(""); print_raw_element_list(text, b->children); char *lab = label_from_string(text->str,0); GString *label = g_string_new(lab); g_string_prepend(label,"#"); yy = mk_link(a->children, label->str, "", NULL, lab); free(lab); g_string_free(text, TRUE); g_string_free(label, TRUE); free(a); free_element_list(b); } else { element *result; result = mk_element(LIST); result->children = cons(mk_str("["), cons(a, cons(mk_str("]"), cons(mk_str("["), cons(b, mk_str("]")))))); yy = result; } ; #undef yythunkpos #undef yypos #undef yy #undef b #undef a } YY_ACTION(void) yy_1_Image(yycontext *ctx, char *yytext, int yyleng) { #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_1_Image\n")); if (yy->key == LINK) { yy->key = IMAGE; } else { element *result; result = yy; yy->children = cons(mk_str("!"), result->children); } ; #undef yythunkpos #undef yypos #undef yy } YY_ACTION(void) yy_1_ImageBlock(yycontext *ctx, char *yytext, int yyleng) { #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_1_ImageBlock\n")); if (yy->key == IMAGE) yy->key = IMAGEBLOCK; ; #undef yythunkpos #undef yypos #undef yy } YY_ACTION(void) yy_2_StrongUl(yycontext *ctx, char *yytext, int yyleng) { #define b ctx->val[-1] #define a ctx->val[-2] #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_2_StrongUl\n")); yy = mk_list(STRONG, a); ; #undef yythunkpos #undef yypos #undef yy #undef b #undef a } YY_ACTION(void) yy_1_StrongUl(yycontext *ctx, char *yytext, int yyleng) { #define b ctx->val[-1] #define a ctx->val[-2] #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_1_StrongUl\n")); a = cons(b, a); ; #undef yythunkpos #undef yypos #undef yy #undef b #undef a } YY_ACTION(void) yy_2_StrongStar(yycontext *ctx, char *yytext, int yyleng) { #define b ctx->val[-1] #define a ctx->val[-2] #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_2_StrongStar\n")); yy = mk_list(STRONG, a); ; #undef yythunkpos #undef yypos #undef yy #undef b #undef a } YY_ACTION(void) yy_1_StrongStar(yycontext *ctx, char *yytext, int yyleng) { #define b ctx->val[-1] #define a ctx->val[-2] #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_1_StrongStar\n")); a = cons(b, a); ; #undef yythunkpos #undef yypos #undef yy #undef b #undef a } YY_ACTION(void) yy_3_EmphUl(yycontext *ctx, char *yytext, int yyleng) { #define b ctx->val[-1] #define a ctx->val[-2] #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_3_EmphUl\n")); yy = mk_list(EMPH, a); ; #undef yythunkpos #undef yypos #undef yy #undef b #undef a } YY_ACTION(void) yy_2_EmphUl(yycontext *ctx, char *yytext, int yyleng) { #define b ctx->val[-1] #define a ctx->val[-2] #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_2_EmphUl\n")); a = cons(b, a); ; #undef yythunkpos #undef yypos #undef yy #undef b #undef a } YY_ACTION(void) yy_1_EmphUl(yycontext *ctx, char *yytext, int yyleng) { #define b ctx->val[-1] #define a ctx->val[-2] #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_1_EmphUl\n")); a = cons(b, a); ; #undef yythunkpos #undef yypos #undef yy #undef b #undef a } YY_ACTION(void) yy_3_EmphStar(yycontext *ctx, char *yytext, int yyleng) { #define b ctx->val[-1] #define a ctx->val[-2] #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_3_EmphStar\n")); yy = mk_list(EMPH, a); ; #undef yythunkpos #undef yypos #undef yy #undef b #undef a } YY_ACTION(void) yy_2_EmphStar(yycontext *ctx, char *yytext, int yyleng) { #define b ctx->val[-1] #define a ctx->val[-2] #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_2_EmphStar\n")); a = cons(b, a); ; #undef yythunkpos #undef yypos #undef yy #undef b #undef a } YY_ACTION(void) yy_1_EmphStar(yycontext *ctx, char *yytext, int yyleng) { #define b ctx->val[-1] #define a ctx->val[-2] #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_1_EmphStar\n")); a = cons(b, a); ; #undef yythunkpos #undef yypos #undef yy #undef b #undef a } YY_ACTION(void) yy_1_UlOrStarLine(yycontext *ctx, char *yytext, int yyleng) { #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_1_UlOrStarLine\n")); yy = mk_str(yytext); ; #undef yythunkpos #undef yypos #undef yy } YY_ACTION(void) yy_1_Symbol(yycontext *ctx, char *yytext, int yyleng) { #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_1_Symbol\n")); yy = mk_str(yytext); ; #undef yythunkpos #undef yypos #undef yy } YY_ACTION(void) yy_1_LineBreak(yycontext *ctx, char *yytext, int yyleng) { #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_1_LineBreak\n")); yy = mk_element(LINEBREAK); ; #undef yythunkpos #undef yypos #undef yy } YY_ACTION(void) yy_1_TerminalEndline(yycontext *ctx, char *yytext, int yyleng) { #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_1_TerminalEndline\n")); yy = NULL; ; #undef yythunkpos #undef yypos #undef yy } YY_ACTION(void) yy_1_NormalEndline(yycontext *ctx, char *yytext, int yyleng) { #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_1_NormalEndline\n")); yy = mk_str("\n"); yy->key = SPACE; ; #undef yythunkpos #undef yypos #undef yy } YY_ACTION(void) yy_1_Entity(yycontext *ctx, char *yytext, int yyleng) { #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_1_Entity\n")); yy = mk_str(yytext); yy->key = HTML; ; #undef yythunkpos #undef yypos #undef yy } YY_ACTION(void) yy_1_EscapedChar(yycontext *ctx, char *yytext, int yyleng) { #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_1_EscapedChar\n")); yy = mk_str(yytext); ; #undef yythunkpos #undef yypos #undef yy } YY_ACTION(void) yy_1_AposChunk(yycontext *ctx, char *yytext, int yyleng) { #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_1_AposChunk\n")); yy = mk_element(APOSTROPHE); ; #undef yythunkpos #undef yypos #undef yy } YY_ACTION(void) yy_1_StrChunk(yycontext *ctx, char *yytext, int yyleng) { #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_1_StrChunk\n")); yy = mk_str(yytext); ; #undef yythunkpos #undef yypos #undef yy } YY_ACTION(void) yy_3_Str(yycontext *ctx, char *yytext, int yyleng) { #define a ctx->val[-1] #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_3_Str\n")); if (a->next == NULL) { yy = a; } else { yy = mk_list(LIST, a); } ; #undef yythunkpos #undef yypos #undef yy #undef a } YY_ACTION(void) yy_2_Str(yycontext *ctx, char *yytext, int yyleng) { #define a ctx->val[-1] #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_2_Str\n")); a = cons(yy, a); ; #undef yythunkpos #undef yypos #undef yy #undef a } YY_ACTION(void) yy_1_Str(yycontext *ctx, char *yytext, int yyleng) { #define a ctx->val[-1] #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_1_Str\n")); a = cons(mk_str(yytext), a); ; #undef yythunkpos #undef yypos #undef yy #undef a } YY_ACTION(void) yy_1_Space(yycontext *ctx, char *yytext, int yyleng) { #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_1_Space\n")); yy = mk_str(" "); yy->key = SPACE; ; #undef yythunkpos #undef yypos #undef yy } YY_ACTION(void) yy_3_Inlines(yycontext *ctx, char *yytext, int yyleng) { #define c ctx->val[-1] #define a ctx->val[-2] #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_3_Inlines\n")); yy = mk_list(LIST, a); ; #undef yythunkpos #undef yypos #undef yy #undef c #undef a } YY_ACTION(void) yy_2_Inlines(yycontext *ctx, char *yytext, int yyleng) { #define c ctx->val[-1] #define a ctx->val[-2] #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_2_Inlines\n")); a = cons(c, a); ; #undef yythunkpos #undef yypos #undef yy #undef c #undef a } YY_ACTION(void) yy_1_Inlines(yycontext *ctx, char *yytext, int yyleng) { #define c ctx->val[-1] #define a ctx->val[-2] #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_1_Inlines\n")); a = cons(yy, a); ; #undef yythunkpos #undef yypos #undef yy #undef c #undef a } YY_ACTION(void) yy_1_StyleBlock(yycontext *ctx, char *yytext, int yyleng) { #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_1_StyleBlock\n")); if (extension(EXT_FILTER_STYLES)) { yy = mk_list(LIST, NULL); } else { yy = mk_str(yytext); yy->key = HTMLBLOCK; } ; #undef yythunkpos #undef yypos #undef yy } YY_ACTION(void) yy_1_MarkdownHtmlBlock(yycontext *ctx, char *yytext, int yyleng) { #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_1_MarkdownHtmlBlock\n")); yy = mk_str(yytext); yy->key = RAW; ; #undef yythunkpos #undef yypos #undef yy } YY_ACTION(void) yy_1_HtmlBlock(yycontext *ctx, char *yytext, int yyleng) { #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_1_HtmlBlock\n")); if (extension(EXT_FILTER_HTML)) { yy = mk_list(LIST, NULL); } else { yy = mk_str(yytext); if ( extension(EXT_PROCESS_HTML)) yy->key = RAW; else yy->key = HTMLBLOCK; } ; #undef yythunkpos #undef yypos #undef yy } YY_ACTION(void) yy_1_OrderedList(yycontext *ctx, char *yytext, int yyleng) { #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_1_OrderedList\n")); yy->key = ORDEREDLIST; ; #undef yythunkpos #undef yypos #undef yy } YY_ACTION(void) yy_3_ListContinuationBlock(yycontext *ctx, char *yytext, int yyleng) { #define a ctx->val[-1] #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_3_ListContinuationBlock\n")); yy = mk_str_from_list(a, false); ; #undef yythunkpos #undef yypos #undef yy #undef a } YY_ACTION(void) yy_2_ListContinuationBlock(yycontext *ctx, char *yytext, int yyleng) { #define a ctx->val[-1] #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_2_ListContinuationBlock\n")); a = cons(yy, a); ; #undef yythunkpos #undef yypos #undef yy #undef a } YY_ACTION(void) yy_1_ListContinuationBlock(yycontext *ctx, char *yytext, int yyleng) { #define a ctx->val[-1] #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_1_ListContinuationBlock\n")); if (strlen(yytext) == 0) a = cons(mk_str("\001"), a); /* block separator */ else a = cons(mk_str(yytext), a); ; #undef yythunkpos #undef yypos #undef yy #undef a } YY_ACTION(void) yy_3_ListBlock(yycontext *ctx, char *yytext, int yyleng) { #define a ctx->val[-1] #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_3_ListBlock\n")); yy = mk_str_from_list(a, false); ; #undef yythunkpos #undef yypos #undef yy #undef a } YY_ACTION(void) yy_2_ListBlock(yycontext *ctx, char *yytext, int yyleng) { #define a ctx->val[-1] #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_2_ListBlock\n")); a = cons(yy, a); ; #undef yythunkpos #undef yypos #undef yy #undef a } YY_ACTION(void) yy_1_ListBlock(yycontext *ctx, char *yytext, int yyleng) { #define a ctx->val[-1] #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_1_ListBlock\n")); a = cons(yy, a); ; #undef yythunkpos #undef yypos #undef yy #undef a } YY_ACTION(void) yy_3_ListItemTight(yycontext *ctx, char *yytext, int yyleng) { #define a ctx->val[-1] #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_3_ListItemTight\n")); element *raw; raw = mk_str_from_list(a, false); raw->key = RAW; yy = mk_element(LISTITEM); yy->children = raw; ; #undef yythunkpos #undef yypos #undef yy #undef a } YY_ACTION(void) yy_2_ListItemTight(yycontext *ctx, char *yytext, int yyleng) { #define a ctx->val[-1] #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_2_ListItemTight\n")); a = cons(yy, a); ; #undef yythunkpos #undef yypos #undef yy #undef a } YY_ACTION(void) yy_1_ListItemTight(yycontext *ctx, char *yytext, int yyleng) { #define a ctx->val[-1] #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_1_ListItemTight\n")); a = cons(yy, a); ; #undef yythunkpos #undef yypos #undef yy #undef a } YY_ACTION(void) yy_3_ListItem(yycontext *ctx, char *yytext, int yyleng) { #define a ctx->val[-1] #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_3_ListItem\n")); element *raw; raw = mk_str_from_list(a, false); raw->key = RAW; yy = mk_element(LISTITEM); yy->children = raw; ; #undef yythunkpos #undef yypos #undef yy #undef a } YY_ACTION(void) yy_2_ListItem(yycontext *ctx, char *yytext, int yyleng) { #define a ctx->val[-1] #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_2_ListItem\n")); a = cons(yy, a); ; #undef yythunkpos #undef yypos #undef yy #undef a } YY_ACTION(void) yy_1_ListItem(yycontext *ctx, char *yytext, int yyleng) { #define a ctx->val[-1] #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_1_ListItem\n")); a = cons(yy, a); ; #undef yythunkpos #undef yypos #undef yy #undef a } YY_ACTION(void) yy_2_ListLoose(yycontext *ctx, char *yytext, int yyleng) { #define b ctx->val[-1] #define a ctx->val[-2] #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_2_ListLoose\n")); yy = mk_list(LIST, a); ; #undef yythunkpos #undef yypos #undef yy #undef b #undef a } YY_ACTION(void) yy_1_ListLoose(yycontext *ctx, char *yytext, int yyleng) { #define b ctx->val[-1] #define a ctx->val[-2] #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_1_ListLoose\n")); element *li; li = b->children; li->contents.str = realloc(li->contents.str, strlen(li->contents.str) + 3); strcat(li->contents.str, "\n\n"); /* In loose list, \n\n added to end of each element */ a = cons(b, a); ; #undef yythunkpos #undef yypos #undef yy #undef b #undef a } YY_ACTION(void) yy_2_ListTight(yycontext *ctx, char *yytext, int yyleng) { #define a ctx->val[-1] #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_2_ListTight\n")); yy = mk_list(LIST, a); ; #undef yythunkpos #undef yypos #undef yy #undef a } YY_ACTION(void) yy_1_ListTight(yycontext *ctx, char *yytext, int yyleng) { #define a ctx->val[-1] #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_1_ListTight\n")); a = cons(yy, a); ; #undef yythunkpos #undef yypos #undef yy #undef a } YY_ACTION(void) yy_1_BulletList(yycontext *ctx, char *yytext, int yyleng) { #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_1_BulletList\n")); yy->key = BULLETLIST; ; #undef yythunkpos #undef yypos #undef yy } YY_ACTION(void) yy_1_HorizontalRule(yycontext *ctx, char *yytext, int yyleng) { #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_1_HorizontalRule\n")); yy = mk_element(HRULE); ; #undef yythunkpos #undef yypos #undef yy } YY_ACTION(void) yy_2_Verbatim(yycontext *ctx, char *yytext, int yyleng) { #define a ctx->val[-1] #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_2_Verbatim\n")); yy = mk_str_from_list(a, false); yy->key = VERBATIM; ; #undef yythunkpos #undef yypos #undef yy #undef a } YY_ACTION(void) yy_1_Verbatim(yycontext *ctx, char *yytext, int yyleng) { #define a ctx->val[-1] #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_1_Verbatim\n")); a = cons(yy, a); ; #undef yythunkpos #undef yypos #undef yy #undef a } YY_ACTION(void) yy_3_VerbatimChunk(yycontext *ctx, char *yytext, int yyleng) { #define a ctx->val[-1] #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_3_VerbatimChunk\n")); yy = mk_str_from_list(a, false); ; #undef yythunkpos #undef yypos #undef yy #undef a } YY_ACTION(void) yy_2_VerbatimChunk(yycontext *ctx, char *yytext, int yyleng) { #define a ctx->val[-1] #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_2_VerbatimChunk\n")); a = cons(yy, a); ; #undef yythunkpos #undef yypos #undef yy #undef a } YY_ACTION(void) yy_1_VerbatimChunk(yycontext *ctx, char *yytext, int yyleng) { #define a ctx->val[-1] #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_1_VerbatimChunk\n")); a = cons(mk_str("\n"), a); ; #undef yythunkpos #undef yypos #undef yy #undef a } YY_ACTION(void) yy_4_BlockQuoteRaw(yycontext *ctx, char *yytext, int yyleng) { #define a ctx->val[-1] #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_4_BlockQuoteRaw\n")); yy = mk_str_from_list(a, true); yy->key = RAW; ; #undef yythunkpos #undef yypos #undef yy #undef a } YY_ACTION(void) yy_3_BlockQuoteRaw(yycontext *ctx, char *yytext, int yyleng) { #define a ctx->val[-1] #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_3_BlockQuoteRaw\n")); a = cons(mk_str("\n"), a); ; #undef yythunkpos #undef yypos #undef yy #undef a } YY_ACTION(void) yy_2_BlockQuoteRaw(yycontext *ctx, char *yytext, int yyleng) { #define a ctx->val[-1] #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_2_BlockQuoteRaw\n")); a = cons(yy, a); ; #undef yythunkpos #undef yypos #undef yy #undef a } YY_ACTION(void) yy_1_BlockQuoteRaw(yycontext *ctx, char *yytext, int yyleng) { #define a ctx->val[-1] #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_1_BlockQuoteRaw\n")); a = cons(yy, a); ; #undef yythunkpos #undef yypos #undef yy #undef a } YY_ACTION(void) yy_1_BlockQuote(yycontext *ctx, char *yytext, int yyleng) { #define a ctx->val[-1] #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_1_BlockQuote\n")); yy = mk_element(BLOCKQUOTE); yy->children = a; ; #undef yythunkpos #undef yypos #undef yy #undef a } YY_ACTION(void) yy_3_HeadingSection(yycontext *ctx, char *yytext, int yyleng) { #define a ctx->val[-1] #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_3_HeadingSection\n")); yy = mk_list(HEADINGSECTION, a);; #undef yythunkpos #undef yypos #undef yy #undef a } YY_ACTION(void) yy_2_HeadingSection(yycontext *ctx, char *yytext, int yyleng) { #define a ctx->val[-1] #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_2_HeadingSection\n")); a = cons(yy, a); ; #undef yythunkpos #undef yypos #undef yy #undef a } YY_ACTION(void) yy_1_HeadingSection(yycontext *ctx, char *yytext, int yyleng) { #define a ctx->val[-1] #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_1_HeadingSection\n")); a = cons(yy, a); ; #undef yythunkpos #undef yypos #undef yy #undef a } YY_ACTION(void) yy_3_SetextHeading2(yycontext *ctx, char *yytext, int yyleng) { #define b ctx->val[-1] #define a ctx->val[-2] #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_3_SetextHeading2\n")); yy = mk_list(H2, a); ; #undef yythunkpos #undef yypos #undef yy #undef b #undef a } YY_ACTION(void) yy_2_SetextHeading2(yycontext *ctx, char *yytext, int yyleng) { #define b ctx->val[-1] #define a ctx->val[-2] #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_2_SetextHeading2\n")); append_list(b,a); #undef yythunkpos #undef yypos #undef yy #undef b #undef a } YY_ACTION(void) yy_1_SetextHeading2(yycontext *ctx, char *yytext, int yyleng) { #define b ctx->val[-1] #define a ctx->val[-2] #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_1_SetextHeading2\n")); a = cons(yy, a); ; #undef yythunkpos #undef yypos #undef yy #undef b #undef a } YY_ACTION(void) yy_3_SetextHeading1(yycontext *ctx, char *yytext, int yyleng) { #define b ctx->val[-1] #define a ctx->val[-2] #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_3_SetextHeading1\n")); yy = mk_list(H1, a); ; #undef yythunkpos #undef yypos #undef yy #undef b #undef a } YY_ACTION(void) yy_2_SetextHeading1(yycontext *ctx, char *yytext, int yyleng) { #define b ctx->val[-1] #define a ctx->val[-2] #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_2_SetextHeading1\n")); append_list(b,a);; #undef yythunkpos #undef yypos #undef yy #undef b #undef a } YY_ACTION(void) yy_1_SetextHeading1(yycontext *ctx, char *yytext, int yyleng) { #define b ctx->val[-1] #define a ctx->val[-2] #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_1_SetextHeading1\n")); a = cons(yy, a); ; #undef yythunkpos #undef yypos #undef yy #undef b #undef a } YY_ACTION(void) yy_3_AtxHeading(yycontext *ctx, char *yytext, int yyleng) { #define b ctx->val[-1] #define a ctx->val[-2] #define s ctx->val[-3] #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_3_AtxHeading\n")); yy = mk_list(s->key,a); free(s); ; #undef yythunkpos #undef yypos #undef yy #undef b #undef a #undef s } YY_ACTION(void) yy_2_AtxHeading(yycontext *ctx, char *yytext, int yyleng) { #define b ctx->val[-1] #define a ctx->val[-2] #define s ctx->val[-3] #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_2_AtxHeading\n")); append_list(b,a);; #undef yythunkpos #undef yypos #undef yy #undef b #undef a #undef s } YY_ACTION(void) yy_1_AtxHeading(yycontext *ctx, char *yytext, int yyleng) { #define b ctx->val[-1] #define a ctx->val[-2] #define s ctx->val[-3] #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_1_AtxHeading\n")); a = cons(yy, a); ; #undef yythunkpos #undef yypos #undef yy #undef b #undef a #undef s } YY_ACTION(void) yy_1_AtxStart(yycontext *ctx, char *yytext, int yyleng) { #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_1_AtxStart\n")); yy = mk_element(H1 + (strlen(yytext) - 1)); ; #undef yythunkpos #undef yypos #undef yy } YY_ACTION(void) yy_1_Plain(yycontext *ctx, char *yytext, int yyleng) { #define a ctx->val[-1] #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_1_Plain\n")); yy = a; yy->key = PLAIN; ; #undef yythunkpos #undef yypos #undef yy #undef a } YY_ACTION(void) yy_1_Para(yycontext *ctx, char *yytext, int yyleng) { #define a ctx->val[-1] #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_1_Para\n")); yy = a; yy->key = PARA; ; #undef yythunkpos #undef yypos #undef yy #undef a } YY_ACTION(void) yy_4_MetaDataValue(yycontext *ctx, char *yytext, int yyleng) { #define a ctx->val[-1] #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_4_MetaDataValue\n")); yy = mk_str_from_list(a,false); trim_trailing_whitespace(yy->contents.str); yy->key = METAVALUE; ; #undef yythunkpos #undef yypos #undef yy #undef a } YY_ACTION(void) yy_3_MetaDataValue(yycontext *ctx, char *yytext, int yyleng) { #define a ctx->val[-1] #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_3_MetaDataValue\n")); a = cons(mk_str(yytext), a);; #undef yythunkpos #undef yypos #undef yy #undef a } YY_ACTION(void) yy_2_MetaDataValue(yycontext *ctx, char *yytext, int yyleng) { #define a ctx->val[-1] #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_2_MetaDataValue\n")); a = cons(mk_str("\n"), a);; #undef yythunkpos #undef yypos #undef yy #undef a } YY_ACTION(void) yy_1_MetaDataValue(yycontext *ctx, char *yytext, int yyleng) { #define a ctx->val[-1] #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_1_MetaDataValue\n")); a = cons(mk_str(yytext), a); ; #undef yythunkpos #undef yypos #undef yy #undef a } YY_ACTION(void) yy_1_MetaDataKey(yycontext *ctx, char *yytext, int yyleng) { #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_1_MetaDataKey\n")); char *label = label_from_string(yytext,0); yy = mk_str(label); free(label); yy->key = METAKEY; ; #undef yythunkpos #undef yypos #undef yy } YY_ACTION(void) yy_1_MetaDataKeyValue(yycontext *ctx, char *yytext, int yyleng) { #define b ctx->val[-1] #define a ctx->val[-2] #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_1_MetaDataKeyValue\n")); yy = a; yy->children = b; ; #undef yythunkpos #undef yypos #undef yy #undef b #undef a } YY_ACTION(void) yy_2_MetaDataOnly2(yycontext *ctx, char *yytext, int yyleng) { #define a ctx->val[-1] #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_2_MetaDataOnly2\n")); parse_result = mk_list(LIST,a); ; #undef yythunkpos #undef yypos #undef yy #undef a } YY_ACTION(void) yy_1_MetaDataOnly2(yycontext *ctx, char *yytext, int yyleng) { #define a ctx->val[-1] #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_1_MetaDataOnly2\n")); a = cons(yy, a); ; #undef yythunkpos #undef yypos #undef yy #undef a } YY_ACTION(void) yy_2_MetaDataOnly(yycontext *ctx, char *yytext, int yyleng) { #define a ctx->val[-1] #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_2_MetaDataOnly\n")); parse_result = reverse(a); ; #undef yythunkpos #undef yypos #undef yy #undef a } YY_ACTION(void) yy_1_MetaDataOnly(yycontext *ctx, char *yytext, int yyleng) { #define a ctx->val[-1] #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_1_MetaDataOnly\n")); a = cons(yy, a); ; #undef yythunkpos #undef yypos #undef yy #undef a } YY_ACTION(void) yy_2_MetaData(yycontext *ctx, char *yytext, int yyleng) { #define a ctx->val[-1] #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_2_MetaData\n")); yy = mk_list(LIST, a); yy->key = METADATA; ; #undef yythunkpos #undef yypos #undef yy #undef a } YY_ACTION(void) yy_1_MetaData(yycontext *ctx, char *yytext, int yyleng) { #define a ctx->val[-1] #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_1_MetaData\n")); a = cons(yy, a); ; #undef yythunkpos #undef yypos #undef yy #undef a } YY_ACTION(void) yy_3_DocWithMetaData(yycontext *ctx, char *yytext, int yyleng) { #define b ctx->val[-1] #define a ctx->val[-2] #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_3_DocWithMetaData\n")); if (b != NULL) a = cons(b, a); parse_result = reverse(a); ; #undef yythunkpos #undef yypos #undef yy #undef b #undef a } YY_ACTION(void) yy_2_DocWithMetaData(yycontext *ctx, char *yytext, int yyleng) { #define b ctx->val[-1] #define a ctx->val[-2] #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_2_DocWithMetaData\n")); a = cons(yy, a); ; #undef yythunkpos #undef yypos #undef yy #undef b #undef a } YY_ACTION(void) yy_1_DocWithMetaData(yycontext *ctx, char *yytext, int yyleng) { #define b ctx->val[-1] #define a ctx->val[-2] #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_1_DocWithMetaData\n")); a = cons(yy, a); b = mk_element(FOOTER);; #undef yythunkpos #undef yypos #undef yy #undef b #undef a } YY_ACTION(void) yy_2_Doc(yycontext *ctx, char *yytext, int yyleng) { #define a ctx->val[-1] #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_2_Doc\n")); parse_result = reverse(a); ; #undef yythunkpos #undef yypos #undef yy #undef a } YY_ACTION(void) yy_1_Doc(yycontext *ctx, char *yytext, int yyleng) { #define a ctx->val[-1] #define yy ctx->yy #define yypos ctx->pos #define yythunkpos ctx->thunkpos yyprintf((stderr, "do yy_1_Doc\n")); a = cons(yy, a); ; #undef yythunkpos #undef yypos #undef yy #undef a } YY_RULE(int) yy_MarkdownHtmlAttribute(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "MarkdownHtmlAttribute")); { int yypos2= ctx->pos, yythunkpos2= ctx->thunkpos; if (!yymatchString(ctx, "markdown")) goto l3; goto l2; l3:; ctx->pos= yypos2; ctx->thunkpos= yythunkpos2; if (!yymatchString(ctx, "MARKDOWN")) goto l1; } l2:; if (!yy_Spnl(ctx)) goto l1; if (!yymatchChar(ctx, '=')) goto l1; if (!yy_Spnl(ctx)) goto l1; { int yypos4= ctx->pos, yythunkpos4= ctx->thunkpos; if (!yymatchChar(ctx, '"')) goto l4; if (!yy_Spnl(ctx)) goto l4; goto l5; l4:; ctx->pos= yypos4; ctx->thunkpos= yythunkpos4; } l5:; if (!yymatchChar(ctx, '1')) goto l1; { int yypos6= ctx->pos, yythunkpos6= ctx->thunkpos; if (!yy_Spnl(ctx)) goto l6; if (!yymatchChar(ctx, '"')) goto l6; goto l7; l6:; ctx->pos= yypos6; ctx->thunkpos= yythunkpos6; } l7:; if (!yy_Spnl(ctx)) goto l1; yyprintf((stderr, " ok %s @ %s\n", "MarkdownHtmlAttribute", ctx->buf+ctx->pos)); return 1; l1:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "MarkdownHtmlAttribute", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_OPMLSetextHeading2(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "OPMLSetextHeading2")); yyText(ctx, ctx->begin, ctx->end); if (!(YY_BEGIN)) goto l8; l9:; { int yypos10= ctx->pos, yythunkpos10= ctx->thunkpos; { int yypos11= ctx->pos, yythunkpos11= ctx->thunkpos; if (!yymatchChar(ctx, '\r')) goto l11; goto l10; l11:; ctx->pos= yypos11; ctx->thunkpos= yythunkpos11; } { int yypos12= ctx->pos, yythunkpos12= ctx->thunkpos; if (!yymatchChar(ctx, '\n')) goto l12; goto l10; l12:; ctx->pos= yypos12; ctx->thunkpos= yythunkpos12; } if (!yymatchDot(ctx)) goto l10; goto l9; l10:; ctx->pos= yypos10; ctx->thunkpos= yythunkpos10; } yyText(ctx, ctx->begin, ctx->end); if (!(YY_END)) goto l8; if (!yy_Newline(ctx)) goto l8; if (!yy_SetextBottom2(ctx)) goto l8; yyDo(ctx, yy_1_OPMLSetextHeading2, ctx->begin, ctx->end); yyprintf((stderr, " ok %s @ %s\n", "OPMLSetextHeading2", ctx->buf+ctx->pos)); return 1; l8:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "OPMLSetextHeading2", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_OPMLSetextHeading1(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "OPMLSetextHeading1")); yyText(ctx, ctx->begin, ctx->end); if (!(YY_BEGIN)) goto l13; l14:; { int yypos15= ctx->pos, yythunkpos15= ctx->thunkpos; { int yypos16= ctx->pos, yythunkpos16= ctx->thunkpos; if (!yymatchChar(ctx, '\r')) goto l16; goto l15; l16:; ctx->pos= yypos16; ctx->thunkpos= yythunkpos16; } { int yypos17= ctx->pos, yythunkpos17= ctx->thunkpos; if (!yymatchChar(ctx, '\n')) goto l17; goto l15; l17:; ctx->pos= yypos17; ctx->thunkpos= yythunkpos17; } if (!yymatchDot(ctx)) goto l15; goto l14; l15:; ctx->pos= yypos15; ctx->thunkpos= yythunkpos15; } yyText(ctx, ctx->begin, ctx->end); if (!(YY_END)) goto l13; if (!yy_Newline(ctx)) goto l13; if (!yy_SetextBottom1(ctx)) goto l13; yyDo(ctx, yy_1_OPMLSetextHeading1, ctx->begin, ctx->end); yyprintf((stderr, " ok %s @ %s\n", "OPMLSetextHeading1", ctx->buf+ctx->pos)); return 1; l13:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "OPMLSetextHeading1", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_OPMLSetextHeading(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "OPMLSetextHeading")); { int yypos19= ctx->pos, yythunkpos19= ctx->thunkpos; if (!yy_OPMLSetextHeading1(ctx)) goto l20; goto l19; l20:; ctx->pos= yypos19; ctx->thunkpos= yythunkpos19; if (!yy_OPMLSetextHeading2(ctx)) goto l18; } l19:; yyprintf((stderr, " ok %s @ %s\n", "OPMLSetextHeading", ctx->buf+ctx->pos)); return 1; l18:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "OPMLSetextHeading", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_OPMLAtxHeading(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyDo(ctx, yyPush, 1, 0); yyprintf((stderr, "%s\n", "OPMLAtxHeading")); { int yypos22= ctx->pos, yythunkpos22= ctx->thunkpos; if (!yy_Heading(ctx)) goto l21; ctx->pos= yypos22; ctx->thunkpos= yythunkpos22; } if (!yy_AtxStart(ctx)) goto l21; yyDo(ctx, yySet, -1, 0); { int yypos23= ctx->pos, yythunkpos23= ctx->thunkpos; if (!yy_Sp(ctx)) goto l23; goto l24; l23:; ctx->pos= yypos23; ctx->thunkpos= yythunkpos23; } l24:; yyText(ctx, ctx->begin, ctx->end); if (!(YY_BEGIN)) goto l21; l25:; { int yypos26= ctx->pos, yythunkpos26= ctx->thunkpos; { int yypos27= ctx->pos, yythunkpos27= ctx->thunkpos; if (!yy_Newline(ctx)) goto l27; goto l26; l27:; ctx->pos= yypos27; ctx->thunkpos= yythunkpos27; } { int yypos28= ctx->pos, yythunkpos28= ctx->thunkpos; { int yypos29= ctx->pos, yythunkpos29= ctx->thunkpos; if (!yy_Sp(ctx)) goto l29; goto l30; l29:; ctx->pos= yypos29; ctx->thunkpos= yythunkpos29; } l30:; l31:; { int yypos32= ctx->pos, yythunkpos32= ctx->thunkpos; if (!yymatchChar(ctx, '#')) goto l32; goto l31; l32:; ctx->pos= yypos32; ctx->thunkpos= yythunkpos32; } if (!yy_Sp(ctx)) goto l28; if (!yy_Newline(ctx)) goto l28; goto l26; l28:; ctx->pos= yypos28; ctx->thunkpos= yythunkpos28; } if (!yymatchDot(ctx)) goto l26; goto l25; l26:; ctx->pos= yypos26; ctx->thunkpos= yythunkpos26; } yyText(ctx, ctx->begin, ctx->end); if (!(YY_END)) goto l21; { int yypos33= ctx->pos, yythunkpos33= ctx->thunkpos; { int yypos35= ctx->pos, yythunkpos35= ctx->thunkpos; if (!yy_Sp(ctx)) goto l35; goto l36; l35:; ctx->pos= yypos35; ctx->thunkpos= yythunkpos35; } l36:; if (!yymatchChar(ctx, '#')) goto l33; l37:; { int yypos38= ctx->pos, yythunkpos38= ctx->thunkpos; if (!yymatchChar(ctx, '#')) goto l38; goto l37; l38:; ctx->pos= yypos38; ctx->thunkpos= yythunkpos38; } goto l34; l33:; ctx->pos= yypos33; ctx->thunkpos= yythunkpos33; } l34:; { int yypos39= ctx->pos, yythunkpos39= ctx->thunkpos; if (!yy_Sp(ctx)) goto l39; goto l40; l39:; ctx->pos= yypos39; ctx->thunkpos= yythunkpos39; } l40:; if (!yy_Newline(ctx)) goto l21; yyDo(ctx, yy_1_OPMLAtxHeading, ctx->begin, ctx->end); yyprintf((stderr, " ok %s @ %s\n", "OPMLAtxHeading", ctx->buf+ctx->pos)); yyDo(ctx, yyPop, 1, 0); return 1; l21:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "OPMLAtxHeading", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_OPMLSectionBlock(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "OPMLSectionBlock")); l42:; { int yypos43= ctx->pos, yythunkpos43= ctx->thunkpos; if (!yy_BlankLine(ctx)) goto l43; goto l42; l43:; ctx->pos= yypos43; ctx->thunkpos= yythunkpos43; } { int yypos44= ctx->pos, yythunkpos44= ctx->thunkpos; if (!yy_OPMLHeading(ctx)) goto l44; goto l41; l44:; ctx->pos= yypos44; ctx->thunkpos= yythunkpos44; } if (!yy_OPMLPlain(ctx)) goto l41; yyprintf((stderr, " ok %s @ %s\n", "OPMLSectionBlock", ctx->buf+ctx->pos)); return 1; l41:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "OPMLSectionBlock", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_OPMLHeading(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "OPMLHeading")); { int yypos46= ctx->pos, yythunkpos46= ctx->thunkpos; if (!yy_OPMLAtxHeading(ctx)) goto l47; goto l46; l47:; ctx->pos= yypos46; ctx->thunkpos= yythunkpos46; if (!yy_OPMLSetextHeading(ctx)) goto l45; } l46:; yyprintf((stderr, " ok %s @ %s\n", "OPMLHeading", ctx->buf+ctx->pos)); return 1; l45:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "OPMLHeading", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_OPMLPlain(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyDo(ctx, yyPush, 1, 0); yyprintf((stderr, "%s\n", "OPMLPlain")); if (!yy_StartList(ctx)) goto l48; yyDo(ctx, yySet, -1, 0); { int yypos51= ctx->pos, yythunkpos51= ctx->thunkpos; if (!yy_BlankLine(ctx)) goto l51; goto l48; l51:; ctx->pos= yypos51; ctx->thunkpos= yythunkpos51; } { int yypos52= ctx->pos, yythunkpos52= ctx->thunkpos; if (!yy_Heading(ctx)) goto l52; goto l48; l52:; ctx->pos= yypos52; ctx->thunkpos= yythunkpos52; } if (!yy_Line(ctx)) goto l48; yyDo(ctx, yy_1_OPMLPlain, ctx->begin, ctx->end); l49:; { int yypos50= ctx->pos, yythunkpos50= ctx->thunkpos; { int yypos53= ctx->pos, yythunkpos53= ctx->thunkpos; if (!yy_BlankLine(ctx)) goto l53; goto l50; l53:; ctx->pos= yypos53; ctx->thunkpos= yythunkpos53; } { int yypos54= ctx->pos, yythunkpos54= ctx->thunkpos; if (!yy_Heading(ctx)) goto l54; goto l50; l54:; ctx->pos= yypos54; ctx->thunkpos= yythunkpos54; } if (!yy_Line(ctx)) goto l50; yyDo(ctx, yy_1_OPMLPlain, ctx->begin, ctx->end); goto l49; l50:; ctx->pos= yypos50; ctx->thunkpos= yythunkpos50; } yyDo(ctx, yy_2_OPMLPlain, ctx->begin, ctx->end); yyprintf((stderr, " ok %s @ %s\n", "OPMLPlain", ctx->buf+ctx->pos)); yyDo(ctx, yyPop, 1, 0); return 1; l48:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "OPMLPlain", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_OPMLHeadingSection(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyDo(ctx, yyPush, 1, 0); yyprintf((stderr, "%s\n", "OPMLHeadingSection")); if (!yy_StartList(ctx)) goto l55; yyDo(ctx, yySet, -1, 0); if (!yy_OPMLHeading(ctx)) goto l55; yyDo(ctx, yy_1_OPMLHeadingSection, ctx->begin, ctx->end); l56:; { int yypos57= ctx->pos, yythunkpos57= ctx->thunkpos; if (!yy_OPMLSectionBlock(ctx)) goto l57; yyDo(ctx, yy_2_OPMLHeadingSection, ctx->begin, ctx->end); goto l56; l57:; ctx->pos= yypos57; ctx->thunkpos= yythunkpos57; } yyDo(ctx, yy_3_OPMLHeadingSection, ctx->begin, ctx->end); yyprintf((stderr, " ok %s @ %s\n", "OPMLHeadingSection", ctx->buf+ctx->pos)); yyDo(ctx, yyPop, 1, 0); return 1; l55:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "OPMLHeadingSection", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_OPMLBlock(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "OPMLBlock")); l59:; { int yypos60= ctx->pos, yythunkpos60= ctx->thunkpos; if (!yy_BlankLine(ctx)) goto l60; goto l59; l60:; ctx->pos= yypos60; ctx->thunkpos= yythunkpos60; } { int yypos61= ctx->pos, yythunkpos61= ctx->thunkpos; if (!yy_OPMLHeadingSection(ctx)) goto l62; goto l61; l62:; ctx->pos= yypos61; ctx->thunkpos= yythunkpos61; if (!yy_OPMLPlain(ctx)) goto l58; } l61:; yyprintf((stderr, " ok %s @ %s\n", "OPMLBlock", ctx->buf+ctx->pos)); return 1; l58:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "OPMLBlock", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_DocForOPML(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyDo(ctx, yyPush, 1, 0); yyprintf((stderr, "%s\n", "DocForOPML")); { int yypos64= ctx->pos, yythunkpos64= ctx->thunkpos; if (!yy_BOM(ctx)) goto l64; goto l65; l64:; ctx->pos= yypos64; ctx->thunkpos= yythunkpos64; } l65:; if (!yy_StartList(ctx)) goto l63; yyDo(ctx, yySet, -1, 0); { int yypos66= ctx->pos, yythunkpos66= ctx->thunkpos; yyText(ctx, ctx->begin, ctx->end); if (!( !extension(EXT_COMPATIBILITY) )) goto l66; { int yypos68= ctx->pos, yythunkpos68= ctx->thunkpos; if (!yy_MetaDataKey(ctx)) goto l66; if (!yy_Sp(ctx)) goto l66; if (!yymatchChar(ctx, ':')) goto l66; if (!yy_Sp(ctx)) goto l66; { int yypos69= ctx->pos, yythunkpos69= ctx->thunkpos; if (!yy_Newline(ctx)) goto l69; goto l66; l69:; ctx->pos= yypos69; ctx->thunkpos= yythunkpos69; } ctx->pos= yypos68; ctx->thunkpos= yythunkpos68; } if (!yy_MetaData(ctx)) goto l66; yyDo(ctx, yy_1_DocForOPML, ctx->begin, ctx->end); goto l67; l66:; ctx->pos= yypos66; ctx->thunkpos= yythunkpos66; } l67:; l70:; { int yypos71= ctx->pos, yythunkpos71= ctx->thunkpos; if (!yy_OPMLBlock(ctx)) goto l71; yyDo(ctx, yy_2_DocForOPML, ctx->begin, ctx->end); goto l70; l71:; ctx->pos= yypos71; ctx->thunkpos= yythunkpos71; } yyDo(ctx, yy_3_DocForOPML, ctx->begin, ctx->end); yyprintf((stderr, " ok %s @ %s\n", "DocForOPML", ctx->buf+ctx->pos)); yyDo(ctx, yyPop, 1, 0); return 1; l63:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "DocForOPML", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_RightAlign(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "RightAlign")); if (!yymatchChar(ctx, '-')) goto l72; l73:; { int yypos74= ctx->pos, yythunkpos74= ctx->thunkpos; if (!yymatchChar(ctx, '-')) goto l74; goto l73; l74:; ctx->pos= yypos74; ctx->thunkpos= yythunkpos74; } if (!yymatchChar(ctx, ':')) goto l72; { int yypos75= ctx->pos, yythunkpos75= ctx->thunkpos; { int yypos76= ctx->pos, yythunkpos76= ctx->thunkpos; if (!yymatchChar(ctx, '-')) goto l76; goto l72; l76:; ctx->pos= yypos76; ctx->thunkpos= yythunkpos76; } { int yypos77= ctx->pos, yythunkpos77= ctx->thunkpos; if (!yymatchChar(ctx, ':')) goto l77; goto l72; l77:; ctx->pos= yypos77; ctx->thunkpos= yythunkpos77; } ctx->pos= yypos75; ctx->thunkpos= yythunkpos75; } yyDo(ctx, yy_1_RightAlign, ctx->begin, ctx->end); yyprintf((stderr, " ok %s @ %s\n", "RightAlign", ctx->buf+ctx->pos)); return 1; l72:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "RightAlign", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_CenterAlign(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "CenterAlign")); if (!yymatchChar(ctx, ':')) goto l78; l79:; { int yypos80= ctx->pos, yythunkpos80= ctx->thunkpos; if (!yymatchChar(ctx, '-')) goto l80; goto l79; l80:; ctx->pos= yypos80; ctx->thunkpos= yythunkpos80; } if (!yymatchChar(ctx, ':')) goto l78; { int yypos81= ctx->pos, yythunkpos81= ctx->thunkpos; { int yypos82= ctx->pos, yythunkpos82= ctx->thunkpos; if (!yymatchChar(ctx, '-')) goto l82; goto l78; l82:; ctx->pos= yypos82; ctx->thunkpos= yythunkpos82; } { int yypos83= ctx->pos, yythunkpos83= ctx->thunkpos; if (!yymatchChar(ctx, ':')) goto l83; goto l78; l83:; ctx->pos= yypos83; ctx->thunkpos= yythunkpos83; } ctx->pos= yypos81; ctx->thunkpos= yythunkpos81; } yyDo(ctx, yy_1_CenterAlign, ctx->begin, ctx->end); yyprintf((stderr, " ok %s @ %s\n", "CenterAlign", ctx->buf+ctx->pos)); return 1; l78:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "CenterAlign", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_LeftAlign(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "LeftAlign")); { int yypos85= ctx->pos, yythunkpos85= ctx->thunkpos; if (!yymatchChar(ctx, ':')) goto l85; goto l86; l85:; ctx->pos= yypos85; ctx->thunkpos= yythunkpos85; } l86:; if (!yymatchChar(ctx, '-')) goto l84; l87:; { int yypos88= ctx->pos, yythunkpos88= ctx->thunkpos; if (!yymatchChar(ctx, '-')) goto l88; goto l87; l88:; ctx->pos= yypos88; ctx->thunkpos= yythunkpos88; } { int yypos89= ctx->pos, yythunkpos89= ctx->thunkpos; { int yypos90= ctx->pos, yythunkpos90= ctx->thunkpos; if (!yymatchChar(ctx, '-')) goto l90; goto l84; l90:; ctx->pos= yypos90; ctx->thunkpos= yythunkpos90; } { int yypos91= ctx->pos, yythunkpos91= ctx->thunkpos; if (!yymatchChar(ctx, ':')) goto l91; goto l84; l91:; ctx->pos= yypos91; ctx->thunkpos= yythunkpos91; } ctx->pos= yypos89; ctx->thunkpos= yythunkpos89; } yyDo(ctx, yy_1_LeftAlign, ctx->begin, ctx->end); yyprintf((stderr, " ok %s @ %s\n", "LeftAlign", ctx->buf+ctx->pos)); return 1; l84:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "LeftAlign", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_RightAlignWrap(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "RightAlignWrap")); if (!yymatchChar(ctx, '-')) goto l92; l93:; { int yypos94= ctx->pos, yythunkpos94= ctx->thunkpos; if (!yymatchChar(ctx, '-')) goto l94; goto l93; l94:; ctx->pos= yypos94; ctx->thunkpos= yythunkpos94; } if (!yymatchChar(ctx, ':')) goto l92; if (!yymatchChar(ctx, '+')) goto l92; { int yypos95= ctx->pos, yythunkpos95= ctx->thunkpos; { int yypos96= ctx->pos, yythunkpos96= ctx->thunkpos; if (!yymatchChar(ctx, '-')) goto l96; goto l92; l96:; ctx->pos= yypos96; ctx->thunkpos= yythunkpos96; } { int yypos97= ctx->pos, yythunkpos97= ctx->thunkpos; if (!yymatchChar(ctx, ':')) goto l97; goto l92; l97:; ctx->pos= yypos97; ctx->thunkpos= yythunkpos97; } ctx->pos= yypos95; ctx->thunkpos= yythunkpos95; } yyDo(ctx, yy_1_RightAlignWrap, ctx->begin, ctx->end); yyprintf((stderr, " ok %s @ %s\n", "RightAlignWrap", ctx->buf+ctx->pos)); return 1; l92:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "RightAlignWrap", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_CenterAlignWrap(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "CenterAlignWrap")); if (!yymatchChar(ctx, ':')) goto l98; l99:; { int yypos100= ctx->pos, yythunkpos100= ctx->thunkpos; if (!yymatchChar(ctx, '-')) goto l100; goto l99; l100:; ctx->pos= yypos100; ctx->thunkpos= yythunkpos100; } if (!yymatchChar(ctx, '+')) goto l98; if (!yymatchChar(ctx, ':')) goto l98; { int yypos101= ctx->pos, yythunkpos101= ctx->thunkpos; { int yypos102= ctx->pos, yythunkpos102= ctx->thunkpos; if (!yymatchChar(ctx, '-')) goto l102; goto l98; l102:; ctx->pos= yypos102; ctx->thunkpos= yythunkpos102; } { int yypos103= ctx->pos, yythunkpos103= ctx->thunkpos; if (!yymatchChar(ctx, ':')) goto l103; goto l98; l103:; ctx->pos= yypos103; ctx->thunkpos= yythunkpos103; } ctx->pos= yypos101; ctx->thunkpos= yythunkpos101; } yyDo(ctx, yy_1_CenterAlignWrap, ctx->begin, ctx->end); yyprintf((stderr, " ok %s @ %s\n", "CenterAlignWrap", ctx->buf+ctx->pos)); return 1; l98:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "CenterAlignWrap", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_LeftAlignWrap(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "LeftAlignWrap")); { int yypos105= ctx->pos, yythunkpos105= ctx->thunkpos; if (!yymatchChar(ctx, ':')) goto l105; goto l106; l105:; ctx->pos= yypos105; ctx->thunkpos= yythunkpos105; } l106:; if (!yymatchChar(ctx, '-')) goto l104; l107:; { int yypos108= ctx->pos, yythunkpos108= ctx->thunkpos; if (!yymatchChar(ctx, '-')) goto l108; goto l107; l108:; ctx->pos= yypos108; ctx->thunkpos= yythunkpos108; } if (!yymatchChar(ctx, '+')) goto l104; { int yypos109= ctx->pos, yythunkpos109= ctx->thunkpos; { int yypos110= ctx->pos, yythunkpos110= ctx->thunkpos; if (!yymatchChar(ctx, '-')) goto l110; goto l104; l110:; ctx->pos= yypos110; ctx->thunkpos= yythunkpos110; } { int yypos111= ctx->pos, yythunkpos111= ctx->thunkpos; if (!yymatchChar(ctx, ':')) goto l111; goto l104; l111:; ctx->pos= yypos111; ctx->thunkpos= yythunkpos111; } ctx->pos= yypos109; ctx->thunkpos= yythunkpos109; } yyDo(ctx, yy_1_LeftAlignWrap, ctx->begin, ctx->end); yyprintf((stderr, " ok %s @ %s\n", "LeftAlignWrap", ctx->buf+ctx->pos)); return 1; l104:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "LeftAlignWrap", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_AlignmentCell(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "AlignmentCell")); if (!yy_Sp(ctx)) goto l112; { int yypos113= ctx->pos, yythunkpos113= ctx->thunkpos; if (!yy_CellDivider(ctx)) goto l113; goto l112; l113:; ctx->pos= yypos113; ctx->thunkpos= yythunkpos113; } { int yypos114= ctx->pos, yythunkpos114= ctx->thunkpos; if (!yy_LeftAlignWrap(ctx)) goto l115; goto l114; l115:; ctx->pos= yypos114; ctx->thunkpos= yythunkpos114; if (!yy_CenterAlignWrap(ctx)) goto l116; goto l114; l116:; ctx->pos= yypos114; ctx->thunkpos= yythunkpos114; if (!yy_RightAlignWrap(ctx)) goto l117; goto l114; l117:; ctx->pos= yypos114; ctx->thunkpos= yythunkpos114; if (!yy_LeftAlign(ctx)) goto l118; goto l114; l118:; ctx->pos= yypos114; ctx->thunkpos= yythunkpos114; if (!yy_CenterAlign(ctx)) goto l119; goto l114; l119:; ctx->pos= yypos114; ctx->thunkpos= yythunkpos114; if (!yy_RightAlign(ctx)) goto l112; } l114:; if (!yy_Sp(ctx)) goto l112; { int yypos120= ctx->pos, yythunkpos120= ctx->thunkpos; if (!yy_CellDivider(ctx)) goto l120; goto l121; l120:; ctx->pos= yypos120; ctx->thunkpos= yythunkpos120; } l121:; yyprintf((stderr, " ok %s @ %s\n", "AlignmentCell", ctx->buf+ctx->pos)); return 1; l112:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "AlignmentCell", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_CellStr(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "CellStr")); yyText(ctx, ctx->begin, ctx->end); if (!(YY_BEGIN)) goto l122; { int yypos123= ctx->pos, yythunkpos123= ctx->thunkpos; if (!yy_CellDivider(ctx)) goto l123; goto l122; l123:; ctx->pos= yypos123; ctx->thunkpos= yythunkpos123; } if (!yy_NormalChar(ctx)) goto l122; l124:; { int yypos125= ctx->pos, yythunkpos125= ctx->thunkpos; { int yypos126= ctx->pos, yythunkpos126= ctx->thunkpos; { int yypos128= ctx->pos, yythunkpos128= ctx->thunkpos; if (!yy_CellDivider(ctx)) goto l128; goto l127; l128:; ctx->pos= yypos128; ctx->thunkpos= yythunkpos128; } if (!yy_NormalChar(ctx)) goto l127; goto l126; l127:; ctx->pos= yypos126; ctx->thunkpos= yythunkpos126; if (!yymatchChar(ctx, '_')) goto l125; l129:; { int yypos130= ctx->pos, yythunkpos130= ctx->thunkpos; if (!yymatchChar(ctx, '_')) goto l130; goto l129; l130:; ctx->pos= yypos130; ctx->thunkpos= yythunkpos130; } { int yypos131= ctx->pos, yythunkpos131= ctx->thunkpos; if (!yy_Alphanumeric(ctx)) goto l125; ctx->pos= yypos131; ctx->thunkpos= yythunkpos131; } } l126:; goto l124; l125:; ctx->pos= yypos125; ctx->thunkpos= yythunkpos125; } yyText(ctx, ctx->begin, ctx->end); if (!(YY_END)) goto l122; yyDo(ctx, yy_1_CellStr, ctx->begin, ctx->end); yyprintf((stderr, " ok %s @ %s\n", "CellStr", ctx->buf+ctx->pos)); return 1; l122:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "CellStr", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_FullCell(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyDo(ctx, yyPush, 1, 0); yyprintf((stderr, "%s\n", "FullCell")); if (!yy_Sp(ctx)) goto l132; if (!yy_StartList(ctx)) goto l132; yyDo(ctx, yySet, -1, 0); { int yypos135= ctx->pos, yythunkpos135= ctx->thunkpos; { int yypos137= ctx->pos, yythunkpos137= ctx->thunkpos; if (!yy_CellDivider(ctx)) goto l137; goto l136; l137:; ctx->pos= yypos137; ctx->thunkpos= yythunkpos137; } if (!yy_CellStr(ctx)) goto l136; goto l135; l136:; ctx->pos= yypos135; ctx->thunkpos= yythunkpos135; { int yypos138= ctx->pos, yythunkpos138= ctx->thunkpos; if (!yy_Newline(ctx)) goto l138; goto l132; l138:; ctx->pos= yypos138; ctx->thunkpos= yythunkpos138; } { int yypos139= ctx->pos, yythunkpos139= ctx->thunkpos; if (!yy_Endline(ctx)) goto l139; goto l132; l139:; ctx->pos= yypos139; ctx->thunkpos= yythunkpos139; } { int yypos140= ctx->pos, yythunkpos140= ctx->thunkpos; if (!yy_CellDivider(ctx)) goto l140; goto l132; l140:; ctx->pos= yypos140; ctx->thunkpos= yythunkpos140; } { int yypos141= ctx->pos, yythunkpos141= ctx->thunkpos; if (!yy_Str(ctx)) goto l141; goto l132; l141:; ctx->pos= yypos141; ctx->thunkpos= yythunkpos141; } { int yypos142= ctx->pos, yythunkpos142= ctx->thunkpos; if (!yy_Sp(ctx)) goto l142; { int yypos143= ctx->pos, yythunkpos143= ctx->thunkpos; if (!yy_CellDivider(ctx)) goto l142; ctx->pos= yypos143; ctx->thunkpos= yythunkpos143; } goto l132; l142:; ctx->pos= yypos142; ctx->thunkpos= yythunkpos142; } if (!yy_Inline(ctx)) goto l132; } l135:; yyDo(ctx, yy_1_FullCell, ctx->begin, ctx->end); l133:; { int yypos134= ctx->pos, yythunkpos134= ctx->thunkpos; { int yypos144= ctx->pos, yythunkpos144= ctx->thunkpos; { int yypos146= ctx->pos, yythunkpos146= ctx->thunkpos; if (!yy_CellDivider(ctx)) goto l146; goto l145; l146:; ctx->pos= yypos146; ctx->thunkpos= yythunkpos146; } if (!yy_CellStr(ctx)) goto l145; goto l144; l145:; ctx->pos= yypos144; ctx->thunkpos= yythunkpos144; { int yypos147= ctx->pos, yythunkpos147= ctx->thunkpos; if (!yy_Newline(ctx)) goto l147; goto l134; l147:; ctx->pos= yypos147; ctx->thunkpos= yythunkpos147; } { int yypos148= ctx->pos, yythunkpos148= ctx->thunkpos; if (!yy_Endline(ctx)) goto l148; goto l134; l148:; ctx->pos= yypos148; ctx->thunkpos= yythunkpos148; } { int yypos149= ctx->pos, yythunkpos149= ctx->thunkpos; if (!yy_CellDivider(ctx)) goto l149; goto l134; l149:; ctx->pos= yypos149; ctx->thunkpos= yythunkpos149; } { int yypos150= ctx->pos, yythunkpos150= ctx->thunkpos; if (!yy_Str(ctx)) goto l150; goto l134; l150:; ctx->pos= yypos150; ctx->thunkpos= yythunkpos150; } { int yypos151= ctx->pos, yythunkpos151= ctx->thunkpos; if (!yy_Sp(ctx)) goto l151; { int yypos152= ctx->pos, yythunkpos152= ctx->thunkpos; if (!yy_CellDivider(ctx)) goto l151; ctx->pos= yypos152; ctx->thunkpos= yythunkpos152; } goto l134; l151:; ctx->pos= yypos151; ctx->thunkpos= yythunkpos151; } if (!yy_Inline(ctx)) goto l134; } l144:; yyDo(ctx, yy_1_FullCell, ctx->begin, ctx->end); goto l133; l134:; ctx->pos= yypos134; ctx->thunkpos= yythunkpos134; } if (!yy_Sp(ctx)) goto l132; { int yypos153= ctx->pos, yythunkpos153= ctx->thunkpos; if (!yy_CellDivider(ctx)) goto l153; goto l154; l153:; ctx->pos= yypos153; ctx->thunkpos= yythunkpos153; } l154:; yyDo(ctx, yy_2_FullCell, ctx->begin, ctx->end); yyprintf((stderr, " ok %s @ %s\n", "FullCell", ctx->buf+ctx->pos)); yyDo(ctx, yyPop, 1, 0); return 1; l132:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "FullCell", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_EmptyCell(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "EmptyCell")); if (!yy_Sp(ctx)) goto l155; if (!yy_CellDivider(ctx)) goto l155; yyDo(ctx, yy_1_EmptyCell, ctx->begin, ctx->end); yyprintf((stderr, " ok %s @ %s\n", "EmptyCell", ctx->buf+ctx->pos)); return 1; l155:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "EmptyCell", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_ExtendedCell(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "ExtendedCell")); { int yypos157= ctx->pos, yythunkpos157= ctx->thunkpos; if (!yy_EmptyCell(ctx)) goto l158; goto l157; l158:; ctx->pos= yypos157; ctx->thunkpos= yythunkpos157; if (!yy_FullCell(ctx)) goto l156; } l157:; yyText(ctx, ctx->begin, ctx->end); if (!(YY_BEGIN)) goto l156; if (!yy_CellDivider(ctx)) goto l156; l159:; { int yypos160= ctx->pos, yythunkpos160= ctx->thunkpos; if (!yy_CellDivider(ctx)) goto l160; goto l159; l160:; ctx->pos= yypos160; ctx->thunkpos= yythunkpos160; } yyText(ctx, ctx->begin, ctx->end); if (!(YY_END)) goto l156; yyDo(ctx, yy_1_ExtendedCell, ctx->begin, ctx->end); yyprintf((stderr, " ok %s @ %s\n", "ExtendedCell", ctx->buf+ctx->pos)); return 1; l156:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "ExtendedCell", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_TableCell(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "TableCell")); { int yypos162= ctx->pos, yythunkpos162= ctx->thunkpos; if (!yy_ExtendedCell(ctx)) goto l163; goto l162; l163:; ctx->pos= yypos162; ctx->thunkpos= yythunkpos162; if (!yy_EmptyCell(ctx)) goto l164; goto l162; l164:; ctx->pos= yypos162; ctx->thunkpos= yythunkpos162; if (!yy_FullCell(ctx)) goto l161; } l162:; yyprintf((stderr, " ok %s @ %s\n", "TableCell", ctx->buf+ctx->pos)); return 1; l161:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "TableCell", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_CellDivider(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "CellDivider")); if (!yymatchChar(ctx, '|')) goto l165; yyprintf((stderr, " ok %s @ %s\n", "CellDivider", ctx->buf+ctx->pos)); return 1; l165:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "CellDivider", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_TableLine(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "TableLine")); l167:; { int yypos168= ctx->pos, yythunkpos168= ctx->thunkpos; { int yypos169= ctx->pos, yythunkpos169= ctx->thunkpos; if (!yy_Newline(ctx)) goto l169; goto l168; l169:; ctx->pos= yypos169; ctx->thunkpos= yythunkpos169; } { int yypos170= ctx->pos, yythunkpos170= ctx->thunkpos; if (!yy_CellDivider(ctx)) goto l170; goto l168; l170:; ctx->pos= yypos170; ctx->thunkpos= yythunkpos170; } if (!yymatchDot(ctx)) goto l168; goto l167; l168:; ctx->pos= yypos168; ctx->thunkpos= yythunkpos168; } if (!yy_CellDivider(ctx)) goto l166; yyprintf((stderr, " ok %s @ %s\n", "TableLine", ctx->buf+ctx->pos)); return 1; l166:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "TableLine", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_TableRow(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyDo(ctx, yyPush, 1, 0); yyprintf((stderr, "%s\n", "TableRow")); if (!yy_StartList(ctx)) goto l171; yyDo(ctx, yySet, -1, 0); { int yypos172= ctx->pos, yythunkpos172= ctx->thunkpos; if (!yy_SeparatorLine(ctx)) goto l172; goto l171; l172:; ctx->pos= yypos172; ctx->thunkpos= yythunkpos172; } { int yypos173= ctx->pos, yythunkpos173= ctx->thunkpos; if (!yy_TableLine(ctx)) goto l171; ctx->pos= yypos173; ctx->thunkpos= yythunkpos173; } { int yypos174= ctx->pos, yythunkpos174= ctx->thunkpos; if (!yy_CellDivider(ctx)) goto l174; goto l175; l174:; ctx->pos= yypos174; ctx->thunkpos= yythunkpos174; } l175:; if (!yy_TableCell(ctx)) goto l171; yyDo(ctx, yy_1_TableRow, ctx->begin, ctx->end); l176:; { int yypos177= ctx->pos, yythunkpos177= ctx->thunkpos; if (!yy_TableCell(ctx)) goto l177; yyDo(ctx, yy_1_TableRow, ctx->begin, ctx->end); goto l176; l177:; ctx->pos= yypos177; ctx->thunkpos= yythunkpos177; } if (!yy_Sp(ctx)) goto l171; if (!yy_Newline(ctx)) goto l171; yyDo(ctx, yy_2_TableRow, ctx->begin, ctx->end); yyprintf((stderr, " ok %s @ %s\n", "TableRow", ctx->buf+ctx->pos)); yyDo(ctx, yyPop, 1, 0); return 1; l171:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "TableRow", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_Definition(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyDo(ctx, yyPush, 2, 0); yyprintf((stderr, "%s\n", "Definition")); if (!yy_StartList(ctx)) goto l178; yyDo(ctx, yySet, -2, 0); if (!yy_StartList(ctx)) goto l178; yyDo(ctx, yySet, -1, 0); { int yypos179= ctx->pos, yythunkpos179= ctx->thunkpos; if (!yy_BlankLine(ctx)) goto l179; yyDo(ctx, yy_1_Definition, ctx->begin, ctx->end); goto l180; l179:; ctx->pos= yypos179; ctx->thunkpos= yythunkpos179; } l180:; if (!yy_NonindentSpace(ctx)) goto l178; if (!yymatchChar(ctx, ':')) goto l178; if (!yy_Sp(ctx)) goto l178; if (!yy_RawLine(ctx)) goto l178; yyDo(ctx, yy_2_Definition, ctx->begin, ctx->end); l181:; { int yypos182= ctx->pos, yythunkpos182= ctx->thunkpos; { int yypos183= ctx->pos, yythunkpos183= ctx->thunkpos; if (!yymatchChar(ctx, ':')) goto l183; goto l182; l183:; ctx->pos= yypos183; ctx->thunkpos= yythunkpos183; } { int yypos184= ctx->pos, yythunkpos184= ctx->thunkpos; if (!yy_BlankLine(ctx)) goto l184; goto l182; l184:; ctx->pos= yypos184; ctx->thunkpos= yythunkpos184; } if (!yy_RawLine(ctx)) goto l182; yyDo(ctx, yy_3_Definition, ctx->begin, ctx->end); goto l181; l182:; ctx->pos= yypos182; ctx->thunkpos= yythunkpos182; } l185:; { int yypos186= ctx->pos, yythunkpos186= ctx->thunkpos; if (!yy_BlankLine(ctx)) goto l186; yyDo(ctx, yy_4_Definition, ctx->begin, ctx->end); if (!yy_IndentedLine(ctx)) goto l186; yyDo(ctx, yy_5_Definition, ctx->begin, ctx->end); l187:; { int yypos188= ctx->pos, yythunkpos188= ctx->thunkpos; if (!yy_IndentedLine(ctx)) goto l188; yyDo(ctx, yy_5_Definition, ctx->begin, ctx->end); goto l187; l188:; ctx->pos= yypos188; ctx->thunkpos= yythunkpos188; } yyDo(ctx, yy_6_Definition, ctx->begin, ctx->end); goto l185; l186:; ctx->pos= yypos186; ctx->thunkpos= yythunkpos186; } yyDo(ctx, yy_7_Definition, ctx->begin, ctx->end); yyprintf((stderr, " ok %s @ %s\n", "Definition", ctx->buf+ctx->pos)); yyDo(ctx, yyPop, 2, 0); return 1; l178:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "Definition", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_Term(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyDo(ctx, yyPush, 1, 0); yyprintf((stderr, "%s\n", "Term")); if (!yy_StartList(ctx)) goto l189; yyDo(ctx, yySet, -1, 0); { int yypos190= ctx->pos, yythunkpos190= ctx->thunkpos; if (!yy_BlankLine(ctx)) goto l190; goto l189; l190:; ctx->pos= yypos190; ctx->thunkpos= yythunkpos190; } { int yypos191= ctx->pos, yythunkpos191= ctx->thunkpos; if (!yymatchChar(ctx, ':')) goto l191; goto l189; l191:; ctx->pos= yypos191; ctx->thunkpos= yythunkpos191; } { int yypos194= ctx->pos, yythunkpos194= ctx->thunkpos; if (!yy_Newline(ctx)) goto l194; goto l189; l194:; ctx->pos= yypos194; ctx->thunkpos= yythunkpos194; } { int yypos195= ctx->pos, yythunkpos195= ctx->thunkpos; if (!yy_Endline(ctx)) goto l195; goto l189; l195:; ctx->pos= yypos195; ctx->thunkpos= yythunkpos195; } if (!yy_Inline(ctx)) goto l189; yyDo(ctx, yy_1_Term, ctx->begin, ctx->end); l192:; { int yypos193= ctx->pos, yythunkpos193= ctx->thunkpos; { int yypos196= ctx->pos, yythunkpos196= ctx->thunkpos; if (!yy_Newline(ctx)) goto l196; goto l193; l196:; ctx->pos= yypos196; ctx->thunkpos= yythunkpos196; } { int yypos197= ctx->pos, yythunkpos197= ctx->thunkpos; if (!yy_Endline(ctx)) goto l197; goto l193; l197:; ctx->pos= yypos197; ctx->thunkpos= yythunkpos197; } if (!yy_Inline(ctx)) goto l193; yyDo(ctx, yy_1_Term, ctx->begin, ctx->end); goto l192; l193:; ctx->pos= yypos193; ctx->thunkpos= yythunkpos193; } if (!yy_Newline(ctx)) goto l189; yyDo(ctx, yy_2_Term, ctx->begin, ctx->end); yyprintf((stderr, " ok %s @ %s\n", "Term", ctx->buf+ctx->pos)); yyDo(ctx, yyPop, 1, 0); return 1; l189:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "Term", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_TermLine(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "TermLine")); { int yypos199= ctx->pos, yythunkpos199= ctx->thunkpos; if (!yymatchChar(ctx, ':')) goto l199; goto l198; l199:; ctx->pos= yypos199; ctx->thunkpos= yythunkpos199; } { int yypos200= ctx->pos, yythunkpos200= ctx->thunkpos; if (!yy_BlankLine(ctx)) goto l200; goto l198; l200:; ctx->pos= yypos200; ctx->thunkpos= yythunkpos200; } l201:; { int yypos202= ctx->pos, yythunkpos202= ctx->thunkpos; { int yypos203= ctx->pos, yythunkpos203= ctx->thunkpos; if (!yy_Newline(ctx)) goto l203; goto l202; l203:; ctx->pos= yypos203; ctx->thunkpos= yythunkpos203; } if (!yymatchDot(ctx)) goto l202; goto l201; l202:; ctx->pos= yypos202; ctx->thunkpos= yythunkpos202; } if (!yy_Newline(ctx)) goto l198; yyprintf((stderr, " ok %s @ %s\n", "TermLine", ctx->buf+ctx->pos)); return 1; l198:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "TermLine", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_SeparatorLine(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyDo(ctx, yyPush, 1, 0); yyprintf((stderr, "%s\n", "SeparatorLine")); if (!yy_StartList(ctx)) goto l204; yyDo(ctx, yySet, -1, 0); { int yypos205= ctx->pos, yythunkpos205= ctx->thunkpos; if (!yy_TableLine(ctx)) goto l204; ctx->pos= yypos205; ctx->thunkpos= yythunkpos205; } { int yypos206= ctx->pos, yythunkpos206= ctx->thunkpos; if (!yy_CellDivider(ctx)) goto l206; goto l207; l206:; ctx->pos= yypos206; ctx->thunkpos= yythunkpos206; } l207:; if (!yy_AlignmentCell(ctx)) goto l204; yyDo(ctx, yy_1_SeparatorLine, ctx->begin, ctx->end); l208:; { int yypos209= ctx->pos, yythunkpos209= ctx->thunkpos; if (!yy_AlignmentCell(ctx)) goto l209; yyDo(ctx, yy_1_SeparatorLine, ctx->begin, ctx->end); goto l208; l209:; ctx->pos= yypos209; ctx->thunkpos= yythunkpos209; } if (!yy_Sp(ctx)) goto l204; if (!yy_Newline(ctx)) goto l204; yyDo(ctx, yy_2_SeparatorLine, ctx->begin, ctx->end); yyprintf((stderr, " ok %s @ %s\n", "SeparatorLine", ctx->buf+ctx->pos)); yyDo(ctx, yyPop, 1, 0); return 1; l204:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "SeparatorLine", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_TableBody(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyDo(ctx, yyPush, 1, 0); yyprintf((stderr, "%s\n", "TableBody")); if (!yy_StartList(ctx)) goto l210; yyDo(ctx, yySet, -1, 0); if (!yy_TableRow(ctx)) goto l210; yyDo(ctx, yy_1_TableBody, ctx->begin, ctx->end); l211:; { int yypos212= ctx->pos, yythunkpos212= ctx->thunkpos; if (!yy_TableRow(ctx)) goto l212; yyDo(ctx, yy_1_TableBody, ctx->begin, ctx->end); goto l211; l212:; ctx->pos= yypos212; ctx->thunkpos= yythunkpos212; } yyDo(ctx, yy_2_TableBody, ctx->begin, ctx->end); yyprintf((stderr, " ok %s @ %s\n", "TableBody", ctx->buf+ctx->pos)); yyDo(ctx, yyPop, 1, 0); return 1; l210:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "TableBody", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_TableCaption(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyDo(ctx, yyPush, 3, 0); yyprintf((stderr, "%s\n", "TableCaption")); if (!yy_StartList(ctx)) goto l213; yyDo(ctx, yySet, -3, 0); if (!yy_Label(ctx)) goto l213; yyDo(ctx, yySet, -2, 0); { int yypos214= ctx->pos, yythunkpos214= ctx->thunkpos; if (!yy_Label(ctx)) goto l214; yyDo(ctx, yySet, -1, 0); yyDo(ctx, yy_1_TableCaption, ctx->begin, ctx->end); goto l215; l214:; ctx->pos= yypos214; ctx->thunkpos= yythunkpos214; } l215:; if (!yy_Sp(ctx)) goto l213; if (!yy_Newline(ctx)) goto l213; yyDo(ctx, yy_2_TableCaption, ctx->begin, ctx->end); yyprintf((stderr, " ok %s @ %s\n", "TableCaption", ctx->buf+ctx->pos)); yyDo(ctx, yyPop, 3, 0); return 1; l213:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "TableCaption", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_AutoLabels(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyDo(ctx, yyPush, 3, 0); yyprintf((stderr, "%s\n", "AutoLabels")); yyText(ctx, ctx->begin, ctx->end); if (!( !extension(EXT_COMPATIBILITY) && !extension(EXT_NO_LABELS))) goto l216; if (!yy_StartList(ctx)) goto l216; yyDo(ctx, yySet, -3, 0); l217:; { int yypos218= ctx->pos, yythunkpos218= ctx->thunkpos; { int yypos219= ctx->pos, yythunkpos219= ctx->thunkpos; if (!yy_Heading(ctx)) goto l220; yyDo(ctx, yySet, -2, 0); yyDo(ctx, yy_1_AutoLabels, ctx->begin, ctx->end); goto l219; l220:; ctx->pos= yypos219; ctx->thunkpos= yythunkpos219; if (!yy_TableCaption(ctx)) goto l221; yyDo(ctx, yySet, -1, 0); yyDo(ctx, yy_2_AutoLabels, ctx->begin, ctx->end); if (!yy_TableBody(ctx)) goto l221; goto l219; l221:; ctx->pos= yypos219; ctx->thunkpos= yythunkpos219; { int yypos225= ctx->pos, yythunkpos225= ctx->thunkpos; if (!yy_TableBody(ctx)) goto l226; goto l225; l226:; ctx->pos= yypos225; ctx->thunkpos= yythunkpos225; if (!yy_SeparatorLine(ctx)) goto l222; } l225:; l223:; { int yypos224= ctx->pos, yythunkpos224= ctx->thunkpos; { int yypos227= ctx->pos, yythunkpos227= ctx->thunkpos; if (!yy_TableBody(ctx)) goto l228; goto l227; l228:; ctx->pos= yypos227; ctx->thunkpos= yythunkpos227; if (!yy_SeparatorLine(ctx)) goto l224; } l227:; goto l223; l224:; ctx->pos= yypos224; ctx->thunkpos= yythunkpos224; } if (!yy_TableCaption(ctx)) goto l222; yyDo(ctx, yySet, -1, 0); yyDo(ctx, yy_3_AutoLabels, ctx->begin, ctx->end); goto l219; l222:; ctx->pos= yypos219; ctx->thunkpos= yythunkpos219; if (!yy_SkipBlock(ctx)) goto l218; } l219:; goto l217; l218:; ctx->pos= yypos218; ctx->thunkpos= yythunkpos218; } yyDo(ctx, yy_4_AutoLabels, ctx->begin, ctx->end); yyprintf((stderr, " ok %s @ %s\n", "AutoLabels", ctx->buf+ctx->pos)); yyDo(ctx, yyPop, 3, 0); return 1; l216:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "AutoLabels", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_RawCitationReference(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "RawCitationReference")); if (!yymatchString(ctx, "[#")) goto l229; yyText(ctx, ctx->begin, ctx->end); if (!(YY_BEGIN)) goto l229; { int yypos232= ctx->pos, yythunkpos232= ctx->thunkpos; if (!yy_Newline(ctx)) goto l232; goto l229; l232:; ctx->pos= yypos232; ctx->thunkpos= yythunkpos232; } { int yypos233= ctx->pos, yythunkpos233= ctx->thunkpos; if (!yymatchChar(ctx, ']')) goto l233; goto l229; l233:; ctx->pos= yypos233; ctx->thunkpos= yythunkpos233; } if (!yymatchDot(ctx)) goto l229; l230:; { int yypos231= ctx->pos, yythunkpos231= ctx->thunkpos; { int yypos234= ctx->pos, yythunkpos234= ctx->thunkpos; if (!yy_Newline(ctx)) goto l234; goto l231; l234:; ctx->pos= yypos234; ctx->thunkpos= yythunkpos234; } { int yypos235= ctx->pos, yythunkpos235= ctx->thunkpos; if (!yymatchChar(ctx, ']')) goto l235; goto l231; l235:; ctx->pos= yypos235; ctx->thunkpos= yythunkpos235; } if (!yymatchDot(ctx)) goto l231; goto l230; l231:; ctx->pos= yypos231; ctx->thunkpos= yythunkpos231; } yyText(ctx, ctx->begin, ctx->end); if (!(YY_END)) goto l229; if (!yymatchChar(ctx, ']')) goto l229; yyDo(ctx, yy_1_RawCitationReference, ctx->begin, ctx->end); yyprintf((stderr, " ok %s @ %s\n", "RawCitationReference", ctx->buf+ctx->pos)); return 1; l229:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "RawCitationReference", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_CitationReferenceSingle(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyDo(ctx, yyPush, 1, 0); yyprintf((stderr, "%s\n", "CitationReferenceSingle")); { int yypos237= ctx->pos, yythunkpos237= ctx->thunkpos; if (!yymatchString(ctx, "[]")) goto l238; if (!yy_Spnl(ctx)) goto l238; if (!yy_RawCitationReference(ctx)) goto l238; yyDo(ctx, yySet, -1, 0); goto l237; l238:; ctx->pos= yypos237; ctx->thunkpos= yythunkpos237; if (!yy_RawCitationReference(ctx)) goto l236; yyDo(ctx, yySet, -1, 0); yyText(ctx, ctx->begin, ctx->end); if (!(YY_BEGIN)) goto l236; { int yypos239= ctx->pos, yythunkpos239= ctx->thunkpos; if (!yy_Spnl(ctx)) goto l239; if (!yymatchString(ctx, "[]")) goto l239; goto l240; l239:; ctx->pos= yypos239; ctx->thunkpos= yythunkpos239; } l240:; yyText(ctx, ctx->begin, ctx->end); if (!(YY_END)) goto l236; } l237:; yyDo(ctx, yy_1_CitationReferenceSingle, ctx->begin, ctx->end); yyprintf((stderr, " ok %s @ %s\n", "CitationReferenceSingle", ctx->buf+ctx->pos)); yyDo(ctx, yyPop, 1, 0); return 1; l236:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "CitationReferenceSingle", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_CitationReferenceDouble(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyDo(ctx, yyPush, 2, 0); yyprintf((stderr, "%s\n", "CitationReferenceDouble")); { int yypos242= ctx->pos, yythunkpos242= ctx->thunkpos; if (!yymatchString(ctx, "[]")) goto l242; goto l241; l242:; ctx->pos= yypos242; ctx->thunkpos= yythunkpos242; } if (!yy_Label(ctx)) goto l241; yyDo(ctx, yySet, -2, 0); yyText(ctx, ctx->begin, ctx->end); if (!(YY_BEGIN)) goto l241; if (!yy_Spnl(ctx)) goto l241; yyText(ctx, ctx->begin, ctx->end); if (!(YY_END)) goto l241; { int yypos243= ctx->pos, yythunkpos243= ctx->thunkpos; if (!yymatchString(ctx, "[]")) goto l243; goto l241; l243:; ctx->pos= yypos243; ctx->thunkpos= yythunkpos243; } if (!yy_RawCitationReference(ctx)) goto l241; yyDo(ctx, yySet, -1, 0); yyDo(ctx, yy_1_CitationReferenceDouble, ctx->begin, ctx->end); yyprintf((stderr, " ok %s @ %s\n", "CitationReferenceDouble", ctx->buf+ctx->pos)); yyDo(ctx, yyPop, 2, 0); return 1; l241:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "CitationReferenceDouble", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_Notes(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyDo(ctx, yyPush, 2, 0); yyprintf((stderr, "%s\n", "Notes")); if (!yy_StartList(ctx)) goto l244; yyDo(ctx, yySet, -2, 0); l245:; { int yypos246= ctx->pos, yythunkpos246= ctx->thunkpos; { int yypos247= ctx->pos, yythunkpos247= ctx->thunkpos; { int yypos249= ctx->pos, yythunkpos249= ctx->thunkpos; if (!yy_Glossary(ctx)) goto l250; yyDo(ctx, yySet, -1, 0); goto l249; l250:; ctx->pos= yypos249; ctx->thunkpos= yythunkpos249; if (!yy_Note(ctx)) goto l248; yyDo(ctx, yySet, -1, 0); } l249:; yyDo(ctx, yy_1_Notes, ctx->begin, ctx->end); goto l247; l248:; ctx->pos= yypos247; ctx->thunkpos= yythunkpos247; if (!yy_SkipBlock(ctx)) goto l246; } l247:; goto l245; l246:; ctx->pos= yypos246; ctx->thunkpos= yythunkpos246; } yyDo(ctx, yy_2_Notes, ctx->begin, ctx->end); yyprintf((stderr, " ok %s @ %s\n", "Notes", ctx->buf+ctx->pos)); yyDo(ctx, yyPop, 2, 0); return 1; l244:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "Notes", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_InlineNote(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyDo(ctx, yyPush, 1, 0); yyprintf((stderr, "%s\n", "InlineNote")); yyText(ctx, ctx->begin, ctx->end); if (!( extension(EXT_NOTES) )) goto l251; if (!yymatchString(ctx, "^[")) goto l251; if (!yy_StartList(ctx)) goto l251; yyDo(ctx, yySet, -1, 0); { int yypos254= ctx->pos, yythunkpos254= ctx->thunkpos; if (!yymatchChar(ctx, ']')) goto l254; goto l251; l254:; ctx->pos= yypos254; ctx->thunkpos= yythunkpos254; } if (!yy_Inline(ctx)) goto l251; yyDo(ctx, yy_1_InlineNote, ctx->begin, ctx->end); l252:; { int yypos253= ctx->pos, yythunkpos253= ctx->thunkpos; { int yypos255= ctx->pos, yythunkpos255= ctx->thunkpos; if (!yymatchChar(ctx, ']')) goto l255; goto l253; l255:; ctx->pos= yypos255; ctx->thunkpos= yythunkpos255; } if (!yy_Inline(ctx)) goto l253; yyDo(ctx, yy_1_InlineNote, ctx->begin, ctx->end); goto l252; l253:; ctx->pos= yypos253; ctx->thunkpos= yythunkpos253; } if (!yymatchChar(ctx, ']')) goto l251; yyDo(ctx, yy_2_InlineNote, ctx->begin, ctx->end); yyprintf((stderr, " ok %s @ %s\n", "InlineNote", ctx->buf+ctx->pos)); yyDo(ctx, yyPop, 1, 0); return 1; l251:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "InlineNote", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_RawNoteBlock(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyDo(ctx, yyPush, 1, 0); yyprintf((stderr, "%s\n", "RawNoteBlock")); if (!yy_StartList(ctx)) goto l256; yyDo(ctx, yySet, -1, 0); { int yypos259= ctx->pos, yythunkpos259= ctx->thunkpos; if (!yy_BlankLine(ctx)) goto l259; goto l256; l259:; ctx->pos= yypos259; ctx->thunkpos= yythunkpos259; } if (!yy_OptionallyIndentedLine(ctx)) goto l256; yyDo(ctx, yy_1_RawNoteBlock, ctx->begin, ctx->end); l257:; { int yypos258= ctx->pos, yythunkpos258= ctx->thunkpos; { int yypos260= ctx->pos, yythunkpos260= ctx->thunkpos; if (!yy_BlankLine(ctx)) goto l260; goto l258; l260:; ctx->pos= yypos260; ctx->thunkpos= yythunkpos260; } if (!yy_OptionallyIndentedLine(ctx)) goto l258; yyDo(ctx, yy_1_RawNoteBlock, ctx->begin, ctx->end); goto l257; l258:; ctx->pos= yypos258; ctx->thunkpos= yythunkpos258; } yyText(ctx, ctx->begin, ctx->end); if (!(YY_BEGIN)) goto l256; l261:; { int yypos262= ctx->pos, yythunkpos262= ctx->thunkpos; if (!yy_BlankLine(ctx)) goto l262; goto l261; l262:; ctx->pos= yypos262; ctx->thunkpos= yythunkpos262; } yyText(ctx, ctx->begin, ctx->end); if (!(YY_END)) goto l256; yyDo(ctx, yy_2_RawNoteBlock, ctx->begin, ctx->end); yyDo(ctx, yy_3_RawNoteBlock, ctx->begin, ctx->end); yyprintf((stderr, " ok %s @ %s\n", "RawNoteBlock", ctx->buf+ctx->pos)); yyDo(ctx, yyPop, 1, 0); return 1; l256:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "RawNoteBlock", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_GlossarySortKey(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "GlossarySortKey")); if (!yymatchChar(ctx, '(')) goto l263; yyText(ctx, ctx->begin, ctx->end); if (!(YY_BEGIN)) goto l263; l264:; { int yypos265= ctx->pos, yythunkpos265= ctx->thunkpos; { int yypos266= ctx->pos, yythunkpos266= ctx->thunkpos; if (!yymatchChar(ctx, ')')) goto l266; goto l265; l266:; ctx->pos= yypos266; ctx->thunkpos= yythunkpos266; } { int yypos267= ctx->pos, yythunkpos267= ctx->thunkpos; if (!yy_Newline(ctx)) goto l267; goto l265; l267:; ctx->pos= yypos267; ctx->thunkpos= yythunkpos267; } if (!yymatchDot(ctx)) goto l265; goto l264; l265:; ctx->pos= yypos265; ctx->thunkpos= yythunkpos265; } yyText(ctx, ctx->begin, ctx->end); if (!(YY_END)) goto l263; if (!yymatchChar(ctx, ')')) goto l263; yyDo(ctx, yy_1_GlossarySortKey, ctx->begin, ctx->end); yyprintf((stderr, " ok %s @ %s\n", "GlossarySortKey", ctx->buf+ctx->pos)); return 1; l263:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "GlossarySortKey", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_GlossaryTerm(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "GlossaryTerm")); yyText(ctx, ctx->begin, ctx->end); if (!(YY_BEGIN)) goto l268; { int yypos271= ctx->pos, yythunkpos271= ctx->thunkpos; if (!yy_Newline(ctx)) goto l271; goto l268; l271:; ctx->pos= yypos271; ctx->thunkpos= yythunkpos271; } { int yypos272= ctx->pos, yythunkpos272= ctx->thunkpos; if (!yymatchChar(ctx, '(')) goto l272; goto l268; l272:; ctx->pos= yypos272; ctx->thunkpos= yythunkpos272; } if (!yymatchDot(ctx)) goto l268; l269:; { int yypos270= ctx->pos, yythunkpos270= ctx->thunkpos; { int yypos273= ctx->pos, yythunkpos273= ctx->thunkpos; if (!yy_Newline(ctx)) goto l273; goto l270; l273:; ctx->pos= yypos273; ctx->thunkpos= yythunkpos273; } { int yypos274= ctx->pos, yythunkpos274= ctx->thunkpos; if (!yymatchChar(ctx, '(')) goto l274; goto l270; l274:; ctx->pos= yypos274; ctx->thunkpos= yythunkpos274; } if (!yymatchDot(ctx)) goto l270; goto l269; l270:; ctx->pos= yypos270; ctx->thunkpos= yythunkpos270; } yyText(ctx, ctx->begin, ctx->end); if (!(YY_END)) goto l268; yyDo(ctx, yy_1_GlossaryTerm, ctx->begin, ctx->end); yyprintf((stderr, " ok %s @ %s\n", "GlossaryTerm", ctx->buf+ctx->pos)); return 1; l268:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "GlossaryTerm", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_RawNoteReference(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "RawNoteReference")); { int yypos276= ctx->pos, yythunkpos276= ctx->thunkpos; if (!yymatchString(ctx, "[^")) goto l277; goto l276; l277:; ctx->pos= yypos276; ctx->thunkpos= yythunkpos276; if (!yymatchString(ctx, "[#")) goto l275; } l276:; yyText(ctx, ctx->begin, ctx->end); if (!(YY_BEGIN)) goto l275; { int yypos280= ctx->pos, yythunkpos280= ctx->thunkpos; if (!yy_Newline(ctx)) goto l280; goto l275; l280:; ctx->pos= yypos280; ctx->thunkpos= yythunkpos280; } { int yypos281= ctx->pos, yythunkpos281= ctx->thunkpos; if (!yymatchChar(ctx, ']')) goto l281; goto l275; l281:; ctx->pos= yypos281; ctx->thunkpos= yythunkpos281; } if (!yymatchDot(ctx)) goto l275; l278:; { int yypos279= ctx->pos, yythunkpos279= ctx->thunkpos; { int yypos282= ctx->pos, yythunkpos282= ctx->thunkpos; if (!yy_Newline(ctx)) goto l282; goto l279; l282:; ctx->pos= yypos282; ctx->thunkpos= yythunkpos282; } { int yypos283= ctx->pos, yythunkpos283= ctx->thunkpos; if (!yymatchChar(ctx, ']')) goto l283; goto l279; l283:; ctx->pos= yypos283; ctx->thunkpos= yythunkpos283; } if (!yymatchDot(ctx)) goto l279; goto l278; l279:; ctx->pos= yypos279; ctx->thunkpos= yythunkpos279; } yyText(ctx, ctx->begin, ctx->end); if (!(YY_END)) goto l275; if (!yymatchChar(ctx, ']')) goto l275; yyDo(ctx, yy_1_RawNoteReference, ctx->begin, ctx->end); yyprintf((stderr, " ok %s @ %s\n", "RawNoteReference", ctx->buf+ctx->pos)); return 1; l275:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "RawNoteReference", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_DoubleQuoteEnd(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "DoubleQuoteEnd")); if (!yymatchChar(ctx, '"')) goto l284; yyprintf((stderr, " ok %s @ %s\n", "DoubleQuoteEnd", ctx->buf+ctx->pos)); return 1; l284:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "DoubleQuoteEnd", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_DoubleQuoteStart(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "DoubleQuoteStart")); if (!yymatchChar(ctx, '"')) goto l285; yyprintf((stderr, " ok %s @ %s\n", "DoubleQuoteStart", ctx->buf+ctx->pos)); return 1; l285:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "DoubleQuoteStart", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_SingleQuoteEnd(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "SingleQuoteEnd")); if (!yymatchChar(ctx, '\'')) goto l286; { int yypos287= ctx->pos, yythunkpos287= ctx->thunkpos; if (!yy_Alphanumeric(ctx)) goto l287; goto l286; l287:; ctx->pos= yypos287; ctx->thunkpos= yythunkpos287; } yyprintf((stderr, " ok %s @ %s\n", "SingleQuoteEnd", ctx->buf+ctx->pos)); return 1; l286:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "SingleQuoteEnd", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_SingleQuoteStart(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "SingleQuoteStart")); if (!yymatchChar(ctx, '\'')) goto l288; { int yypos289= ctx->pos, yythunkpos289= ctx->thunkpos; { int yypos290= ctx->pos, yythunkpos290= ctx->thunkpos; if (!yy_Spacechar(ctx)) goto l291; goto l290; l291:; ctx->pos= yypos290; ctx->thunkpos= yythunkpos290; if (!yy_Newline(ctx)) goto l289; } l290:; goto l288; l289:; ctx->pos= yypos289; ctx->thunkpos= yythunkpos289; } yyprintf((stderr, " ok %s @ %s\n", "SingleQuoteStart", ctx->buf+ctx->pos)); return 1; l288:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "SingleQuoteStart", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_EnDash(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "EnDash")); yyText(ctx, ctx->begin, ctx->end); if (!(YY_BEGIN)) goto l292; { int yypos293= ctx->pos, yythunkpos293= ctx->thunkpos; if (!yymatchString(ctx, "--")) goto l294; goto l293; l294:; ctx->pos= yypos293; ctx->thunkpos= yythunkpos293; if (!yymatchChar(ctx, '-')) goto l292; { int yypos295= ctx->pos, yythunkpos295= ctx->thunkpos; if (!yy_Digit(ctx)) goto l292; ctx->pos= yypos295; ctx->thunkpos= yythunkpos295; } } l293:; yyText(ctx, ctx->begin, ctx->end); if (!(YY_END)) goto l292; yyDo(ctx, yy_1_EnDash, ctx->begin, ctx->end); yyprintf((stderr, " ok %s @ %s\n", "EnDash", ctx->buf+ctx->pos)); return 1; l292:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "EnDash", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_EmDash(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "EmDash")); yyText(ctx, ctx->begin, ctx->end); if (!(YY_BEGIN)) goto l296; if (!yymatchString(ctx, "---")) goto l296; yyText(ctx, ctx->begin, ctx->end); if (!(YY_END)) goto l296; yyDo(ctx, yy_1_EmDash, ctx->begin, ctx->end); yyprintf((stderr, " ok %s @ %s\n", "EmDash", ctx->buf+ctx->pos)); return 1; l296:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "EmDash", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_Apostrophe(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "Apostrophe")); if (!yymatchChar(ctx, '\'')) goto l297; yyDo(ctx, yy_1_Apostrophe, ctx->begin, ctx->end); yyprintf((stderr, " ok %s @ %s\n", "Apostrophe", ctx->buf+ctx->pos)); return 1; l297:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "Apostrophe", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_DoubleQuoted(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyDo(ctx, yyPush, 2, 0); yyprintf((stderr, "%s\n", "DoubleQuoted")); if (!yy_DoubleQuoteStart(ctx)) goto l298; if (!yy_StartList(ctx)) goto l298; yyDo(ctx, yySet, -2, 0); { int yypos301= ctx->pos, yythunkpos301= ctx->thunkpos; if (!yy_DoubleQuoteEnd(ctx)) goto l301; goto l298; l301:; ctx->pos= yypos301; ctx->thunkpos= yythunkpos301; } if (!yy_Inline(ctx)) goto l298; yyDo(ctx, yySet, -1, 0); yyDo(ctx, yy_1_DoubleQuoted, ctx->begin, ctx->end); l299:; { int yypos300= ctx->pos, yythunkpos300= ctx->thunkpos; { int yypos302= ctx->pos, yythunkpos302= ctx->thunkpos; if (!yy_DoubleQuoteEnd(ctx)) goto l302; goto l300; l302:; ctx->pos= yypos302; ctx->thunkpos= yythunkpos302; } if (!yy_Inline(ctx)) goto l300; yyDo(ctx, yySet, -1, 0); yyDo(ctx, yy_1_DoubleQuoted, ctx->begin, ctx->end); goto l299; l300:; ctx->pos= yypos300; ctx->thunkpos= yythunkpos300; } if (!yy_DoubleQuoteEnd(ctx)) goto l298; yyDo(ctx, yy_2_DoubleQuoted, ctx->begin, ctx->end); yyprintf((stderr, " ok %s @ %s\n", "DoubleQuoted", ctx->buf+ctx->pos)); yyDo(ctx, yyPop, 2, 0); return 1; l298:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "DoubleQuoted", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_SingleQuoted(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyDo(ctx, yyPush, 2, 0); yyprintf((stderr, "%s\n", "SingleQuoted")); if (!yy_SingleQuoteStart(ctx)) goto l303; if (!yy_StartList(ctx)) goto l303; yyDo(ctx, yySet, -2, 0); { int yypos306= ctx->pos, yythunkpos306= ctx->thunkpos; if (!yy_SingleQuoteEnd(ctx)) goto l306; goto l303; l306:; ctx->pos= yypos306; ctx->thunkpos= yythunkpos306; } if (!yy_Inline(ctx)) goto l303; yyDo(ctx, yySet, -1, 0); yyDo(ctx, yy_1_SingleQuoted, ctx->begin, ctx->end); l304:; { int yypos305= ctx->pos, yythunkpos305= ctx->thunkpos; { int yypos307= ctx->pos, yythunkpos307= ctx->thunkpos; if (!yy_SingleQuoteEnd(ctx)) goto l307; goto l305; l307:; ctx->pos= yypos307; ctx->thunkpos= yythunkpos307; } if (!yy_Inline(ctx)) goto l305; yyDo(ctx, yySet, -1, 0); yyDo(ctx, yy_1_SingleQuoted, ctx->begin, ctx->end); goto l304; l305:; ctx->pos= yypos305; ctx->thunkpos= yythunkpos305; } if (!yy_SingleQuoteEnd(ctx)) goto l303; yyDo(ctx, yy_2_SingleQuoted, ctx->begin, ctx->end); yyprintf((stderr, " ok %s @ %s\n", "SingleQuoted", ctx->buf+ctx->pos)); yyDo(ctx, yyPop, 2, 0); return 1; l303:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "SingleQuoted", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_Dash(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "Dash")); { int yypos309= ctx->pos, yythunkpos309= ctx->thunkpos; if (!yy_EmDash(ctx)) goto l310; goto l309; l310:; ctx->pos= yypos309; ctx->thunkpos= yythunkpos309; if (!yy_EnDash(ctx)) goto l308; } l309:; yyprintf((stderr, " ok %s @ %s\n", "Dash", ctx->buf+ctx->pos)); return 1; l308:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "Dash", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_Ellipsis(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "Ellipsis")); { int yypos312= ctx->pos, yythunkpos312= ctx->thunkpos; if (!yymatchString(ctx, "...")) goto l313; goto l312; l313:; ctx->pos= yypos312; ctx->thunkpos= yythunkpos312; if (!yymatchString(ctx, ". . .")) goto l311; } l312:; yyDo(ctx, yy_1_Ellipsis, ctx->begin, ctx->end); yyprintf((stderr, " ok %s @ %s\n", "Ellipsis", ctx->buf+ctx->pos)); return 1; l311:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "Ellipsis", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_Digit(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; 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 l314; yyprintf((stderr, " ok %s @ %s\n", "Digit", ctx->buf+ctx->pos)); return 1; l314:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "Digit", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_ExtendedSpecialChar(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "ExtendedSpecialChar")); { int yypos316= ctx->pos, yythunkpos316= ctx->thunkpos; yyText(ctx, ctx->begin, ctx->end); if (!( extension(EXT_SMART) )) goto l317; { int yypos318= ctx->pos, yythunkpos318= ctx->thunkpos; if (!yymatchChar(ctx, '.')) goto l319; goto l318; l319:; ctx->pos= yypos318; ctx->thunkpos= yythunkpos318; if (!yymatchChar(ctx, '-')) goto l320; goto l318; l320:; ctx->pos= yypos318; ctx->thunkpos= yythunkpos318; if (!yymatchChar(ctx, '\'')) goto l321; goto l318; l321:; ctx->pos= yypos318; ctx->thunkpos= yythunkpos318; if (!yymatchChar(ctx, '"')) goto l317; } l318:; goto l316; l317:; ctx->pos= yypos316; ctx->thunkpos= yythunkpos316; yyText(ctx, ctx->begin, ctx->end); if (!( extension(EXT_NOTES) )) goto l315; if (!yymatchChar(ctx, '^')) goto l315; } l316:; yyprintf((stderr, " ok %s @ %s\n", "ExtendedSpecialChar", ctx->buf+ctx->pos)); return 1; l315:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "ExtendedSpecialChar", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_Quoted(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "Quoted")); { int yypos323= ctx->pos, yythunkpos323= ctx->thunkpos; if (!yymatchChar(ctx, '"')) goto l324; l325:; { int yypos326= ctx->pos, yythunkpos326= ctx->thunkpos; { int yypos327= ctx->pos, yythunkpos327= ctx->thunkpos; if (!yymatchChar(ctx, '"')) goto l327; goto l326; l327:; ctx->pos= yypos327; ctx->thunkpos= yythunkpos327; } if (!yymatchDot(ctx)) goto l326; goto l325; l326:; ctx->pos= yypos326; ctx->thunkpos= yythunkpos326; } if (!yymatchChar(ctx, '"')) goto l324; goto l323; l324:; ctx->pos= yypos323; ctx->thunkpos= yythunkpos323; if (!yymatchChar(ctx, '\'')) goto l322; l328:; { int yypos329= ctx->pos, yythunkpos329= ctx->thunkpos; { int yypos330= ctx->pos, yythunkpos330= ctx->thunkpos; if (!yymatchChar(ctx, '\'')) goto l330; goto l329; l330:; ctx->pos= yypos330; ctx->thunkpos= yythunkpos330; } if (!yymatchDot(ctx)) goto l329; goto l328; l329:; ctx->pos= yypos329; ctx->thunkpos= yythunkpos329; } if (!yymatchChar(ctx, '\'')) goto l322; } l323:; yyprintf((stderr, " ok %s @ %s\n", "Quoted", ctx->buf+ctx->pos)); return 1; l322:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "Quoted", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_HtmlTag(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "HtmlTag")); if (!yymatchChar(ctx, '<')) goto l331; if (!yy_Spnl(ctx)) goto l331; { int yypos332= ctx->pos, yythunkpos332= ctx->thunkpos; if (!yymatchChar(ctx, '/')) goto l332; goto l333; l332:; ctx->pos= yypos332; ctx->thunkpos= yythunkpos332; } l333:; if (!yy_AlphanumericAscii(ctx)) goto l331; l334:; { int yypos335= ctx->pos, yythunkpos335= ctx->thunkpos; if (!yy_AlphanumericAscii(ctx)) goto l335; goto l334; l335:; ctx->pos= yypos335; ctx->thunkpos= yythunkpos335; } if (!yy_Spnl(ctx)) goto l331; l336:; { int yypos337= ctx->pos, yythunkpos337= ctx->thunkpos; if (!yy_HtmlAttribute(ctx)) goto l337; goto l336; l337:; ctx->pos= yypos337; ctx->thunkpos= yythunkpos337; } { int yypos338= ctx->pos, yythunkpos338= ctx->thunkpos; if (!yymatchChar(ctx, '/')) goto l338; goto l339; l338:; ctx->pos= yypos338; ctx->thunkpos= yythunkpos338; } l339:; if (!yy_Spnl(ctx)) goto l331; if (!yymatchChar(ctx, '>')) goto l331; yyprintf((stderr, " ok %s @ %s\n", "HtmlTag", ctx->buf+ctx->pos)); return 1; l331:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "HtmlTag", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_Ticks5(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "Ticks5")); if (!yymatchString(ctx, "`````")) goto l340; { int yypos341= ctx->pos, yythunkpos341= ctx->thunkpos; if (!yymatchChar(ctx, '`')) goto l341; goto l340; l341:; ctx->pos= yypos341; ctx->thunkpos= yythunkpos341; } yyprintf((stderr, " ok %s @ %s\n", "Ticks5", ctx->buf+ctx->pos)); return 1; l340:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "Ticks5", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_Ticks4(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "Ticks4")); if (!yymatchString(ctx, "````")) goto l342; { int yypos343= ctx->pos, yythunkpos343= ctx->thunkpos; if (!yymatchChar(ctx, '`')) goto l343; goto l342; l343:; ctx->pos= yypos343; ctx->thunkpos= yythunkpos343; } yyprintf((stderr, " ok %s @ %s\n", "Ticks4", ctx->buf+ctx->pos)); return 1; l342:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "Ticks4", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_Ticks3(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "Ticks3")); if (!yymatchString(ctx, "```")) goto l344; { int yypos345= ctx->pos, yythunkpos345= ctx->thunkpos; if (!yymatchChar(ctx, '`')) goto l345; goto l344; l345:; ctx->pos= yypos345; ctx->thunkpos= yythunkpos345; } yyprintf((stderr, " ok %s @ %s\n", "Ticks3", ctx->buf+ctx->pos)); return 1; l344:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "Ticks3", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_Ticks2(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "Ticks2")); if (!yymatchString(ctx, "``")) goto l346; { int yypos347= ctx->pos, yythunkpos347= ctx->thunkpos; if (!yymatchChar(ctx, '`')) goto l347; goto l346; l347:; ctx->pos= yypos347; ctx->thunkpos= yythunkpos347; } yyprintf((stderr, " ok %s @ %s\n", "Ticks2", ctx->buf+ctx->pos)); return 1; l346:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "Ticks2", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_Ticks1(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "Ticks1")); if (!yymatchChar(ctx, '`')) goto l348; { int yypos349= ctx->pos, yythunkpos349= ctx->thunkpos; if (!yymatchChar(ctx, '`')) goto l349; goto l348; l349:; ctx->pos= yypos349; ctx->thunkpos= yythunkpos349; } yyprintf((stderr, " ok %s @ %s\n", "Ticks1", ctx->buf+ctx->pos)); return 1; l348:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "Ticks1", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_SkipBlock(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "SkipBlock")); { int yypos351= ctx->pos, yythunkpos351= ctx->thunkpos; if (!yy_HtmlBlock(ctx)) goto l352; goto l351; l352:; ctx->pos= yypos351; ctx->thunkpos= yythunkpos351; { int yypos356= ctx->pos, yythunkpos356= ctx->thunkpos; if (!yymatchChar(ctx, '#')) goto l356; goto l353; l356:; ctx->pos= yypos356; ctx->thunkpos= yythunkpos356; } { int yypos357= ctx->pos, yythunkpos357= ctx->thunkpos; if (!yy_SetextBottom1(ctx)) goto l357; goto l353; l357:; ctx->pos= yypos357; ctx->thunkpos= yythunkpos357; } { int yypos358= ctx->pos, yythunkpos358= ctx->thunkpos; if (!yy_SetextBottom2(ctx)) goto l358; goto l353; l358:; ctx->pos= yypos358; ctx->thunkpos= yythunkpos358; } { int yypos359= ctx->pos, yythunkpos359= ctx->thunkpos; if (!yy_BlankLine(ctx)) goto l359; goto l353; l359:; ctx->pos= yypos359; ctx->thunkpos= yythunkpos359; } if (!yy_RawLine(ctx)) goto l353; l354:; { int yypos355= ctx->pos, yythunkpos355= ctx->thunkpos; { int yypos360= ctx->pos, yythunkpos360= ctx->thunkpos; if (!yymatchChar(ctx, '#')) goto l360; goto l355; l360:; ctx->pos= yypos360; ctx->thunkpos= yythunkpos360; } { int yypos361= ctx->pos, yythunkpos361= ctx->thunkpos; if (!yy_SetextBottom1(ctx)) goto l361; goto l355; l361:; ctx->pos= yypos361; ctx->thunkpos= yythunkpos361; } { int yypos362= ctx->pos, yythunkpos362= ctx->thunkpos; if (!yy_SetextBottom2(ctx)) goto l362; goto l355; l362:; ctx->pos= yypos362; ctx->thunkpos= yythunkpos362; } { int yypos363= ctx->pos, yythunkpos363= ctx->thunkpos; if (!yy_BlankLine(ctx)) goto l363; goto l355; l363:; ctx->pos= yypos363; ctx->thunkpos= yythunkpos363; } if (!yy_RawLine(ctx)) goto l355; goto l354; l355:; ctx->pos= yypos355; ctx->thunkpos= yythunkpos355; } l364:; { int yypos365= ctx->pos, yythunkpos365= ctx->thunkpos; if (!yy_BlankLine(ctx)) goto l365; goto l364; l365:; ctx->pos= yypos365; ctx->thunkpos= yythunkpos365; } goto l351; l353:; ctx->pos= yypos351; ctx->thunkpos= yythunkpos351; if (!yy_BlankLine(ctx)) goto l366; l367:; { int yypos368= ctx->pos, yythunkpos368= ctx->thunkpos; if (!yy_BlankLine(ctx)) goto l368; goto l367; l368:; ctx->pos= yypos368; ctx->thunkpos= yythunkpos368; } goto l351; l366:; ctx->pos= yypos351; ctx->thunkpos= yythunkpos351; if (!yy_RawLine(ctx)) goto l350; } l351:; yyprintf((stderr, " ok %s @ %s\n", "SkipBlock", ctx->buf+ctx->pos)); return 1; l350:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "SkipBlock", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_References(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyDo(ctx, yyPush, 2, 0); yyprintf((stderr, "%s\n", "References")); if (!yy_StartList(ctx)) goto l369; yyDo(ctx, yySet, -2, 0); l370:; { int yypos371= ctx->pos, yythunkpos371= ctx->thunkpos; { int yypos372= ctx->pos, yythunkpos372= ctx->thunkpos; if (!yy_Reference(ctx)) goto l373; yyDo(ctx, yySet, -1, 0); yyDo(ctx, yy_1_References, ctx->begin, ctx->end); goto l372; l373:; ctx->pos= yypos372; ctx->thunkpos= yythunkpos372; if (!yy_SkipBlock(ctx)) goto l371; } l372:; goto l370; l371:; ctx->pos= yypos371; ctx->thunkpos= yythunkpos371; } yyDo(ctx, yy_2_References, ctx->begin, ctx->end); yyprintf((stderr, " ok %s @ %s\n", "References", ctx->buf+ctx->pos)); yyDo(ctx, yyPop, 2, 0); return 1; l369:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "References", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_EmptyTitle(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "EmptyTitle")); yyText(ctx, ctx->begin, ctx->end); if (!(YY_BEGIN)) goto l374; if (!yymatchString(ctx, "")) goto l374; yyText(ctx, ctx->begin, ctx->end); if (!(YY_END)) goto l374; yyprintf((stderr, " ok %s @ %s\n", "EmptyTitle", ctx->buf+ctx->pos)); return 1; l374:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "EmptyTitle", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_RefTitleParens(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "RefTitleParens")); if (!yy_Spnl(ctx)) goto l375; if (!yymatchChar(ctx, '(')) goto l375; yyText(ctx, ctx->begin, ctx->end); if (!(YY_BEGIN)) goto l375; l376:; { int yypos377= ctx->pos, yythunkpos377= ctx->thunkpos; { int yypos378= ctx->pos, yythunkpos378= ctx->thunkpos; { int yypos379= ctx->pos, yythunkpos379= ctx->thunkpos; if (!yymatchChar(ctx, ')')) goto l380; if (!yy_Sp(ctx)) goto l380; if (!yy_Newline(ctx)) goto l380; goto l379; l380:; ctx->pos= yypos379; ctx->thunkpos= yythunkpos379; if (!yy_Newline(ctx)) goto l381; goto l379; l381:; ctx->pos= yypos379; ctx->thunkpos= yythunkpos379; yyText(ctx, ctx->begin, ctx->end); if (!( !extension(EXT_COMPATIBILITY) )) goto l378; if (!yymatchChar(ctx, ')')) goto l378; if (!yy_Sp(ctx)) goto l378; if (!yy_AlphanumericAscii(ctx)) goto l378; l382:; { int yypos383= ctx->pos, yythunkpos383= ctx->thunkpos; if (!yy_AlphanumericAscii(ctx)) goto l383; goto l382; l383:; ctx->pos= yypos383; ctx->thunkpos= yythunkpos383; } if (!yymatchChar(ctx, '=')) goto l378; } l379:; goto l377; l378:; ctx->pos= yypos378; ctx->thunkpos= yythunkpos378; } if (!yymatchDot(ctx)) goto l377; goto l376; l377:; ctx->pos= yypos377; ctx->thunkpos= yythunkpos377; } yyText(ctx, ctx->begin, ctx->end); if (!(YY_END)) goto l375; if (!yymatchChar(ctx, ')')) goto l375; yyprintf((stderr, " ok %s @ %s\n", "RefTitleParens", ctx->buf+ctx->pos)); return 1; l375:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "RefTitleParens", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_RefTitleDouble(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "RefTitleDouble")); if (!yy_Spnl(ctx)) goto l384; if (!yymatchChar(ctx, '"')) goto l384; yyText(ctx, ctx->begin, ctx->end); if (!(YY_BEGIN)) goto l384; l385:; { int yypos386= ctx->pos, yythunkpos386= ctx->thunkpos; { int yypos387= ctx->pos, yythunkpos387= ctx->thunkpos; { int yypos388= ctx->pos, yythunkpos388= ctx->thunkpos; if (!yymatchChar(ctx, '"')) goto l389; if (!yy_Sp(ctx)) goto l389; if (!yy_Newline(ctx)) goto l389; goto l388; l389:; ctx->pos= yypos388; ctx->thunkpos= yythunkpos388; if (!yy_Newline(ctx)) goto l390; goto l388; l390:; ctx->pos= yypos388; ctx->thunkpos= yythunkpos388; yyText(ctx, ctx->begin, ctx->end); if (!( !extension(EXT_COMPATIBILITY) )) goto l387; if (!yymatchChar(ctx, '"')) goto l387; if (!yy_Sp(ctx)) goto l387; if (!yy_AlphanumericAscii(ctx)) goto l387; l391:; { int yypos392= ctx->pos, yythunkpos392= ctx->thunkpos; if (!yy_AlphanumericAscii(ctx)) goto l392; goto l391; l392:; ctx->pos= yypos392; ctx->thunkpos= yythunkpos392; } if (!yymatchChar(ctx, '=')) goto l387; } l388:; goto l386; l387:; ctx->pos= yypos387; ctx->thunkpos= yythunkpos387; } if (!yymatchDot(ctx)) goto l386; goto l385; l386:; ctx->pos= yypos386; ctx->thunkpos= yythunkpos386; } yyText(ctx, ctx->begin, ctx->end); if (!(YY_END)) goto l384; if (!yymatchChar(ctx, '"')) goto l384; yyprintf((stderr, " ok %s @ %s\n", "RefTitleDouble", ctx->buf+ctx->pos)); return 1; l384:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "RefTitleDouble", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_RefTitleSingle(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "RefTitleSingle")); if (!yy_Spnl(ctx)) goto l393; if (!yymatchChar(ctx, '\'')) goto l393; yyText(ctx, ctx->begin, ctx->end); if (!(YY_BEGIN)) goto l393; l394:; { int yypos395= ctx->pos, yythunkpos395= ctx->thunkpos; { int yypos396= ctx->pos, yythunkpos396= ctx->thunkpos; { int yypos397= ctx->pos, yythunkpos397= ctx->thunkpos; if (!yymatchChar(ctx, '\'')) goto l398; if (!yy_Sp(ctx)) goto l398; if (!yy_Newline(ctx)) goto l398; goto l397; l398:; ctx->pos= yypos397; ctx->thunkpos= yythunkpos397; if (!yy_Newline(ctx)) goto l399; goto l397; l399:; ctx->pos= yypos397; ctx->thunkpos= yythunkpos397; yyText(ctx, ctx->begin, ctx->end); if (!( !extension(EXT_COMPATIBILITY) )) goto l396; if (!yymatchChar(ctx, '\'')) goto l396; if (!yy_Sp(ctx)) goto l396; if (!yy_AlphanumericAscii(ctx)) goto l396; l400:; { int yypos401= ctx->pos, yythunkpos401= ctx->thunkpos; if (!yy_AlphanumericAscii(ctx)) goto l401; goto l400; l401:; ctx->pos= yypos401; ctx->thunkpos= yythunkpos401; } if (!yymatchChar(ctx, '=')) goto l396; } l397:; goto l395; l396:; ctx->pos= yypos396; ctx->thunkpos= yythunkpos396; } if (!yymatchDot(ctx)) goto l395; goto l394; l395:; ctx->pos= yypos395; ctx->thunkpos= yythunkpos395; } yyText(ctx, ctx->begin, ctx->end); if (!(YY_END)) goto l393; if (!yymatchChar(ctx, '\'')) goto l393; yyprintf((stderr, " ok %s @ %s\n", "RefTitleSingle", ctx->buf+ctx->pos)); return 1; l393:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "RefTitleSingle", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_UnQuotedValue(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "UnQuotedValue")); yyText(ctx, ctx->begin, ctx->end); if (!(YY_BEGIN)) goto l402; { int yypos405= ctx->pos, yythunkpos405= ctx->thunkpos; if (!yy_AlphanumericAscii(ctx)) goto l406; goto l405; l406:; ctx->pos= yypos405; ctx->thunkpos= yythunkpos405; if (!yymatchChar(ctx, '.')) goto l402; } l405:; l403:; { int yypos404= ctx->pos, yythunkpos404= ctx->thunkpos; { int yypos407= ctx->pos, yythunkpos407= ctx->thunkpos; if (!yy_AlphanumericAscii(ctx)) goto l408; goto l407; l408:; ctx->pos= yypos407; ctx->thunkpos= yythunkpos407; if (!yymatchChar(ctx, '.')) goto l404; } l407:; goto l403; l404:; ctx->pos= yypos404; ctx->thunkpos= yythunkpos404; } yyText(ctx, ctx->begin, ctx->end); if (!(YY_END)) goto l402; yyprintf((stderr, " ok %s @ %s\n", "UnQuotedValue", ctx->buf+ctx->pos)); return 1; l402:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "UnQuotedValue", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_QuotedValue(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "QuotedValue")); if (!yymatchChar(ctx, '"')) goto l409; yyText(ctx, ctx->begin, ctx->end); if (!(YY_BEGIN)) goto l409; l410:; { int yypos411= ctx->pos, yythunkpos411= ctx->thunkpos; { int yypos412= ctx->pos, yythunkpos412= ctx->thunkpos; if (!yymatchChar(ctx, '"')) goto l412; goto l411; l412:; ctx->pos= yypos412; ctx->thunkpos= yythunkpos412; } if (!yymatchDot(ctx)) goto l411; goto l410; l411:; ctx->pos= yypos411; ctx->thunkpos= yythunkpos411; } yyText(ctx, ctx->begin, ctx->end); if (!(YY_END)) goto l409; if (!yymatchChar(ctx, '"')) goto l409; yyprintf((stderr, " ok %s @ %s\n", "QuotedValue", ctx->buf+ctx->pos)); return 1; l409:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "QuotedValue", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_AttrValue(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "AttrValue")); { int yypos414= ctx->pos, yythunkpos414= ctx->thunkpos; if (!yy_QuotedValue(ctx)) goto l415; goto l414; l415:; ctx->pos= yypos414; ctx->thunkpos= yythunkpos414; if (!yy_UnQuotedValue(ctx)) goto l413; } l414:; yyDo(ctx, yy_1_AttrValue, ctx->begin, ctx->end); yyprintf((stderr, " ok %s @ %s\n", "AttrValue", ctx->buf+ctx->pos)); return 1; l413:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "AttrValue", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_AttrKey(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "AttrKey")); yyText(ctx, ctx->begin, ctx->end); if (!(YY_BEGIN)) goto l416; if (!yy_AlphanumericAscii(ctx)) goto l416; l417:; { int yypos418= ctx->pos, yythunkpos418= ctx->thunkpos; if (!yy_AlphanumericAscii(ctx)) goto l418; goto l417; l418:; ctx->pos= yypos418; ctx->thunkpos= yythunkpos418; } yyText(ctx, ctx->begin, ctx->end); if (!(YY_END)) goto l416; yyDo(ctx, yy_1_AttrKey, ctx->begin, ctx->end); yyprintf((stderr, " ok %s @ %s\n", "AttrKey", ctx->buf+ctx->pos)); return 1; l416:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "AttrKey", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_Attribute(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyDo(ctx, yyPush, 2, 0); yyprintf((stderr, "%s\n", "Attribute")); if (!yy_Spnl(ctx)) goto l419; if (!yy_AttrKey(ctx)) goto l419; yyDo(ctx, yySet, -2, 0); if (!yymatchChar(ctx, '=')) goto l419; if (!yy_AttrValue(ctx)) goto l419; yyDo(ctx, yySet, -1, 0); yyDo(ctx, yy_1_Attribute, ctx->begin, ctx->end); yyprintf((stderr, " ok %s @ %s\n", "Attribute", ctx->buf+ctx->pos)); yyDo(ctx, yyPop, 2, 0); return 1; l419:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "Attribute", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_Attributes(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyDo(ctx, yyPush, 1, 0); yyprintf((stderr, "%s\n", "Attributes")); if (!yy_StartList(ctx)) goto l420; yyDo(ctx, yySet, -1, 0); if (!yy_Attribute(ctx)) goto l420; yyDo(ctx, yy_1_Attributes, ctx->begin, ctx->end); l421:; { int yypos422= ctx->pos, yythunkpos422= ctx->thunkpos; if (!yy_Attribute(ctx)) goto l422; yyDo(ctx, yy_1_Attributes, ctx->begin, ctx->end); goto l421; l422:; ctx->pos= yypos422; ctx->thunkpos= yythunkpos422; } yyDo(ctx, yy_2_Attributes, ctx->begin, ctx->end); yyprintf((stderr, " ok %s @ %s\n", "Attributes", ctx->buf+ctx->pos)); yyDo(ctx, yyPop, 1, 0); return 1; l420:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "Attributes", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_RefTitle(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "RefTitle")); { int yypos424= ctx->pos, yythunkpos424= ctx->thunkpos; if (!yy_RefTitleSingle(ctx)) goto l425; goto l424; l425:; ctx->pos= yypos424; ctx->thunkpos= yythunkpos424; if (!yy_RefTitleDouble(ctx)) goto l426; goto l424; l426:; ctx->pos= yypos424; ctx->thunkpos= yythunkpos424; if (!yy_RefTitleParens(ctx)) goto l427; goto l424; l427:; ctx->pos= yypos424; ctx->thunkpos= yythunkpos424; if (!yy_EmptyTitle(ctx)) goto l423; } l424:; yyDo(ctx, yy_1_RefTitle, ctx->begin, ctx->end); yyprintf((stderr, " ok %s @ %s\n", "RefTitle", ctx->buf+ctx->pos)); return 1; l423:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "RefTitle", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_RefSrc(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "RefSrc")); yyText(ctx, ctx->begin, ctx->end); if (!(YY_BEGIN)) goto l428; if (!yy_Nonspacechar(ctx)) goto l428; l429:; { int yypos430= ctx->pos, yythunkpos430= ctx->thunkpos; if (!yy_Nonspacechar(ctx)) goto l430; goto l429; l430:; ctx->pos= yypos430; ctx->thunkpos= yythunkpos430; } yyText(ctx, ctx->begin, ctx->end); if (!(YY_END)) goto l428; yyDo(ctx, yy_1_RefSrc, ctx->begin, ctx->end); yyprintf((stderr, " ok %s @ %s\n", "RefSrc", ctx->buf+ctx->pos)); return 1; l428:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "RefSrc", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_AutoLinkEmail(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "AutoLinkEmail")); if (!yymatchChar(ctx, '<')) goto l431; { int yypos432= ctx->pos, yythunkpos432= ctx->thunkpos; if (!yymatchString(ctx, "mailto:")) goto l432; goto l433; l432:; ctx->pos= yypos432; ctx->thunkpos= yythunkpos432; } l433:; yyText(ctx, ctx->begin, ctx->end); if (!(YY_BEGIN)) goto l431; 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 l431; l434:; { int yypos435= ctx->pos, yythunkpos435= 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 l435; goto l434; l435:; ctx->pos= yypos435; ctx->thunkpos= yythunkpos435; } if (!yymatchChar(ctx, '@')) goto l431; { int yypos438= ctx->pos, yythunkpos438= ctx->thunkpos; if (!yy_Newline(ctx)) goto l438; goto l431; l438:; ctx->pos= yypos438; ctx->thunkpos= yythunkpos438; } { int yypos439= ctx->pos, yythunkpos439= ctx->thunkpos; if (!yymatchChar(ctx, '>')) goto l439; goto l431; l439:; ctx->pos= yypos439; ctx->thunkpos= yythunkpos439; } if (!yymatchDot(ctx)) goto l431; l436:; { int yypos437= ctx->pos, yythunkpos437= ctx->thunkpos; { int yypos440= ctx->pos, yythunkpos440= ctx->thunkpos; if (!yy_Newline(ctx)) goto l440; goto l437; l440:; ctx->pos= yypos440; ctx->thunkpos= yythunkpos440; } { int yypos441= ctx->pos, yythunkpos441= ctx->thunkpos; if (!yymatchChar(ctx, '>')) goto l441; goto l437; l441:; ctx->pos= yypos441; ctx->thunkpos= yythunkpos441; } if (!yymatchDot(ctx)) goto l437; goto l436; l437:; ctx->pos= yypos437; ctx->thunkpos= yythunkpos437; } yyText(ctx, ctx->begin, ctx->end); if (!(YY_END)) goto l431; if (!yymatchChar(ctx, '>')) goto l431; yyDo(ctx, yy_1_AutoLinkEmail, ctx->begin, ctx->end); yyprintf((stderr, " ok %s @ %s\n", "AutoLinkEmail", ctx->buf+ctx->pos)); return 1; l431:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "AutoLinkEmail", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_AutoLinkUrl(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "AutoLinkUrl")); if (!yymatchChar(ctx, '<')) goto l442; yyText(ctx, ctx->begin, ctx->end); if (!(YY_BEGIN)) goto l442; 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 l442; l443:; { int yypos444= ctx->pos, yythunkpos444= 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 l444; goto l443; l444:; ctx->pos= yypos444; ctx->thunkpos= yythunkpos444; } if (!yymatchString(ctx, "://")) goto l442; { int yypos447= ctx->pos, yythunkpos447= ctx->thunkpos; if (!yy_Newline(ctx)) goto l447; goto l442; l447:; ctx->pos= yypos447; ctx->thunkpos= yythunkpos447; } { int yypos448= ctx->pos, yythunkpos448= ctx->thunkpos; if (!yymatchChar(ctx, '>')) goto l448; goto l442; l448:; ctx->pos= yypos448; ctx->thunkpos= yythunkpos448; } if (!yymatchDot(ctx)) goto l442; l445:; { int yypos446= ctx->pos, yythunkpos446= ctx->thunkpos; { int yypos449= ctx->pos, yythunkpos449= ctx->thunkpos; if (!yy_Newline(ctx)) goto l449; goto l446; l449:; ctx->pos= yypos449; ctx->thunkpos= yythunkpos449; } { int yypos450= ctx->pos, yythunkpos450= ctx->thunkpos; if (!yymatchChar(ctx, '>')) goto l450; goto l446; l450:; ctx->pos= yypos450; ctx->thunkpos= yythunkpos450; } if (!yymatchDot(ctx)) goto l446; goto l445; l446:; ctx->pos= yypos446; ctx->thunkpos= yythunkpos446; } yyText(ctx, ctx->begin, ctx->end); if (!(YY_END)) goto l442; if (!yymatchChar(ctx, '>')) goto l442; yyDo(ctx, yy_1_AutoLinkUrl, ctx->begin, ctx->end); yyprintf((stderr, " ok %s @ %s\n", "AutoLinkUrl", ctx->buf+ctx->pos)); return 1; l442:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "AutoLinkUrl", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_TitleDouble(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "TitleDouble")); if (!yymatchChar(ctx, '"')) goto l451; yyText(ctx, ctx->begin, ctx->end); if (!(YY_BEGIN)) goto l451; l452:; { int yypos453= ctx->pos, yythunkpos453= ctx->thunkpos; { int yypos454= ctx->pos, yythunkpos454= ctx->thunkpos; if (!yymatchChar(ctx, '"')) goto l454; if (!yy_Sp(ctx)) goto l454; { int yypos455= ctx->pos, yythunkpos455= ctx->thunkpos; if (!yymatchChar(ctx, ')')) goto l456; goto l455; l456:; ctx->pos= yypos455; ctx->thunkpos= yythunkpos455; if (!yy_Newline(ctx)) goto l454; } l455:; goto l453; l454:; ctx->pos= yypos454; ctx->thunkpos= yythunkpos454; } if (!yymatchDot(ctx)) goto l453; goto l452; l453:; ctx->pos= yypos453; ctx->thunkpos= yythunkpos453; } yyText(ctx, ctx->begin, ctx->end); if (!(YY_END)) goto l451; if (!yymatchChar(ctx, '"')) goto l451; yyprintf((stderr, " ok %s @ %s\n", "TitleDouble", ctx->buf+ctx->pos)); return 1; l451:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "TitleDouble", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_TitleSingle(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "TitleSingle")); if (!yymatchChar(ctx, '\'')) goto l457; yyText(ctx, ctx->begin, ctx->end); if (!(YY_BEGIN)) goto l457; l458:; { int yypos459= ctx->pos, yythunkpos459= ctx->thunkpos; { int yypos460= ctx->pos, yythunkpos460= ctx->thunkpos; if (!yymatchChar(ctx, '\'')) goto l460; if (!yy_Sp(ctx)) goto l460; { int yypos461= ctx->pos, yythunkpos461= ctx->thunkpos; if (!yymatchChar(ctx, ')')) goto l462; goto l461; l462:; ctx->pos= yypos461; ctx->thunkpos= yythunkpos461; if (!yy_Newline(ctx)) goto l460; } l461:; goto l459; l460:; ctx->pos= yypos460; ctx->thunkpos= yythunkpos460; } if (!yymatchDot(ctx)) goto l459; goto l458; l459:; ctx->pos= yypos459; ctx->thunkpos= yythunkpos459; } yyText(ctx, ctx->begin, ctx->end); if (!(YY_END)) goto l457; if (!yymatchChar(ctx, '\'')) goto l457; yyprintf((stderr, " ok %s @ %s\n", "TitleSingle", ctx->buf+ctx->pos)); return 1; l457:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "TitleSingle", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_Nonspacechar(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "Nonspacechar")); { int yypos464= ctx->pos, yythunkpos464= ctx->thunkpos; if (!yy_Spacechar(ctx)) goto l464; goto l463; l464:; ctx->pos= yypos464; ctx->thunkpos= yythunkpos464; } { int yypos465= ctx->pos, yythunkpos465= ctx->thunkpos; if (!yy_Newline(ctx)) goto l465; goto l463; l465:; ctx->pos= yypos465; ctx->thunkpos= yythunkpos465; } if (!yymatchDot(ctx)) goto l463; yyprintf((stderr, " ok %s @ %s\n", "Nonspacechar", ctx->buf+ctx->pos)); return 1; l463:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "Nonspacechar", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_SourceContents(yycontext *ctx) { yyprintf((stderr, "%s\n", "SourceContents")); l467:; { int yypos468= ctx->pos, yythunkpos468= ctx->thunkpos; { int yypos469= ctx->pos, yythunkpos469= ctx->thunkpos; { int yypos473= ctx->pos, yythunkpos473= ctx->thunkpos; if (!yymatchChar(ctx, '(')) goto l473; goto l470; l473:; ctx->pos= yypos473; ctx->thunkpos= yythunkpos473; } { int yypos474= ctx->pos, yythunkpos474= ctx->thunkpos; if (!yymatchChar(ctx, ')')) goto l474; goto l470; l474:; ctx->pos= yypos474; ctx->thunkpos= yythunkpos474; } { int yypos475= ctx->pos, yythunkpos475= ctx->thunkpos; if (!yymatchChar(ctx, '>')) goto l475; goto l470; l475:; ctx->pos= yypos475; ctx->thunkpos= yythunkpos475; } if (!yy_Nonspacechar(ctx)) goto l470; l471:; { int yypos472= ctx->pos, yythunkpos472= ctx->thunkpos; { int yypos476= ctx->pos, yythunkpos476= ctx->thunkpos; if (!yymatchChar(ctx, '(')) goto l476; goto l472; l476:; ctx->pos= yypos476; ctx->thunkpos= yythunkpos476; } { int yypos477= ctx->pos, yythunkpos477= ctx->thunkpos; if (!yymatchChar(ctx, ')')) goto l477; goto l472; l477:; ctx->pos= yypos477; ctx->thunkpos= yythunkpos477; } { int yypos478= ctx->pos, yythunkpos478= ctx->thunkpos; if (!yymatchChar(ctx, '>')) goto l478; goto l472; l478:; ctx->pos= yypos478; ctx->thunkpos= yythunkpos478; } if (!yy_Nonspacechar(ctx)) goto l472; goto l471; l472:; ctx->pos= yypos472; ctx->thunkpos= yythunkpos472; } goto l469; l470:; ctx->pos= yypos469; ctx->thunkpos= yythunkpos469; if (!yymatchChar(ctx, '(')) goto l468; if (!yy_SourceContents(ctx)) goto l468; if (!yymatchChar(ctx, ')')) goto l468; } l469:; goto l467; l468:; ctx->pos= yypos468; ctx->thunkpos= yythunkpos468; } yyprintf((stderr, " ok %s @ %s\n", "SourceContents", ctx->buf+ctx->pos)); return 1; } YY_RULE(int) yy_Title(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "Title")); { int yypos480= ctx->pos, yythunkpos480= ctx->thunkpos; if (!yy_TitleSingle(ctx)) goto l481; goto l480; l481:; ctx->pos= yypos480; ctx->thunkpos= yythunkpos480; if (!yy_TitleDouble(ctx)) goto l482; goto l480; l482:; ctx->pos= yypos480; ctx->thunkpos= yythunkpos480; yyText(ctx, ctx->begin, ctx->end); if (!(YY_BEGIN)) goto l479; if (!yymatchString(ctx, "")) goto l479; yyText(ctx, ctx->begin, ctx->end); if (!(YY_END)) goto l479; } l480:; yyDo(ctx, yy_1_Title, ctx->begin, ctx->end); yyprintf((stderr, " ok %s @ %s\n", "Title", ctx->buf+ctx->pos)); return 1; l479:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "Title", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_Source(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "Source")); { int yypos484= ctx->pos, yythunkpos484= ctx->thunkpos; if (!yymatchChar(ctx, '<')) goto l485; yyText(ctx, ctx->begin, ctx->end); if (!(YY_BEGIN)) goto l485; if (!yy_SourceContents(ctx)) goto l485; yyText(ctx, ctx->begin, ctx->end); if (!(YY_END)) goto l485; if (!yymatchChar(ctx, '>')) goto l485; goto l484; l485:; ctx->pos= yypos484; ctx->thunkpos= yythunkpos484; yyText(ctx, ctx->begin, ctx->end); if (!(YY_BEGIN)) goto l483; if (!yy_SourceContents(ctx)) goto l483; yyText(ctx, ctx->begin, ctx->end); if (!(YY_END)) goto l483; } l484:; yyDo(ctx, yy_1_Source, ctx->begin, ctx->end); yyprintf((stderr, " ok %s @ %s\n", "Source", ctx->buf+ctx->pos)); return 1; l483:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "Source", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_Label(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyDo(ctx, yyPush, 1, 0); yyprintf((stderr, "%s\n", "Label")); if (!yymatchChar(ctx, '[')) goto l486; { int yypos487= ctx->pos, yythunkpos487= ctx->thunkpos; if (!yymatchChar(ctx, '[')) goto l487; goto l486; l487:; ctx->pos= yypos487; ctx->thunkpos= yythunkpos487; } { int yypos488= ctx->pos, yythunkpos488= ctx->thunkpos; { int yypos490= ctx->pos, yythunkpos490= ctx->thunkpos; if (!yymatchChar(ctx, '^')) goto l490; goto l489; l490:; ctx->pos= yypos490; ctx->thunkpos= yythunkpos490; } { int yypos491= ctx->pos, yythunkpos491= ctx->thunkpos; if (!yymatchChar(ctx, '#')) goto l491; goto l489; l491:; ctx->pos= yypos491; ctx->thunkpos= yythunkpos491; } yyText(ctx, ctx->begin, ctx->end); if (!( extension(EXT_NOTES) )) goto l489; goto l488; l489:; ctx->pos= yypos488; ctx->thunkpos= yythunkpos488; { int yypos492= ctx->pos, yythunkpos492= ctx->thunkpos; if (!yymatchDot(ctx)) goto l486; ctx->pos= yypos492; ctx->thunkpos= yythunkpos492; } yyText(ctx, ctx->begin, ctx->end); if (!( !extension(EXT_NOTES) )) goto l486; } l488:; if (!yy_StartList(ctx)) goto l486; yyDo(ctx, yySet, -1, 0); l493:; { int yypos494= ctx->pos, yythunkpos494= ctx->thunkpos; { int yypos495= ctx->pos, yythunkpos495= ctx->thunkpos; if (!yymatchChar(ctx, ']')) goto l495; goto l494; l495:; ctx->pos= yypos495; ctx->thunkpos= yythunkpos495; } if (!yy_Inline(ctx)) goto l494; yyDo(ctx, yy_1_Label, ctx->begin, ctx->end); goto l493; l494:; ctx->pos= yypos494; ctx->thunkpos= yythunkpos494; } if (!yymatchChar(ctx, ']')) goto l486; yyDo(ctx, yy_2_Label, ctx->begin, ctx->end); yyprintf((stderr, " ok %s @ %s\n", "Label", ctx->buf+ctx->pos)); yyDo(ctx, yyPop, 1, 0); return 1; l486:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "Label", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_ReferenceLinkSingle(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyDo(ctx, yyPush, 1, 0); yyprintf((stderr, "%s\n", "ReferenceLinkSingle")); if (!yy_Label(ctx)) goto l496; yyDo(ctx, yySet, -1, 0); yyText(ctx, ctx->begin, ctx->end); if (!(YY_BEGIN)) goto l496; { int yypos497= ctx->pos, yythunkpos497= ctx->thunkpos; if (!yy_Spnl(ctx)) goto l497; if (!yymatchString(ctx, "[]")) goto l497; goto l498; l497:; ctx->pos= yypos497; ctx->thunkpos= yythunkpos497; } l498:; yyText(ctx, ctx->begin, ctx->end); if (!(YY_END)) goto l496; yyDo(ctx, yy_1_ReferenceLinkSingle, ctx->begin, ctx->end); yyprintf((stderr, " ok %s @ %s\n", "ReferenceLinkSingle", ctx->buf+ctx->pos)); yyDo(ctx, yyPop, 1, 0); return 1; l496:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "ReferenceLinkSingle", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_ReferenceLinkDouble(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyDo(ctx, yyPush, 2, 0); yyprintf((stderr, "%s\n", "ReferenceLinkDouble")); if (!yy_Label(ctx)) goto l499; yyDo(ctx, yySet, -2, 0); yyText(ctx, ctx->begin, ctx->end); if (!(YY_BEGIN)) goto l499; if (!yy_Spnl(ctx)) goto l499; yyText(ctx, ctx->begin, ctx->end); if (!(YY_END)) goto l499; { int yypos500= ctx->pos, yythunkpos500= ctx->thunkpos; if (!yymatchString(ctx, "[]")) goto l500; goto l499; l500:; ctx->pos= yypos500; ctx->thunkpos= yythunkpos500; } if (!yy_Label(ctx)) goto l499; yyDo(ctx, yySet, -1, 0); yyDo(ctx, yy_1_ReferenceLinkDouble, ctx->begin, ctx->end); yyprintf((stderr, " ok %s @ %s\n", "ReferenceLinkDouble", ctx->buf+ctx->pos)); yyDo(ctx, yyPop, 2, 0); return 1; l499:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "ReferenceLinkDouble", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_AutoLink(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "AutoLink")); { int yypos502= ctx->pos, yythunkpos502= ctx->thunkpos; if (!yy_AutoLinkUrl(ctx)) goto l503; goto l502; l503:; ctx->pos= yypos502; ctx->thunkpos= yythunkpos502; if (!yy_AutoLinkEmail(ctx)) goto l501; } l502:; yyprintf((stderr, " ok %s @ %s\n", "AutoLink", ctx->buf+ctx->pos)); return 1; l501:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "AutoLink", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_ReferenceLink(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "ReferenceLink")); { int yypos505= ctx->pos, yythunkpos505= ctx->thunkpos; if (!yy_ReferenceLinkDouble(ctx)) goto l506; goto l505; l506:; ctx->pos= yypos505; ctx->thunkpos= yythunkpos505; if (!yy_ReferenceLinkSingle(ctx)) goto l504; } l505:; yyprintf((stderr, " ok %s @ %s\n", "ReferenceLink", ctx->buf+ctx->pos)); return 1; l504:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "ReferenceLink", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_ExplicitLink(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyDo(ctx, yyPush, 3, 0); yyprintf((stderr, "%s\n", "ExplicitLink")); if (!yy_Label(ctx)) goto l507; yyDo(ctx, yySet, -3, 0); if (!yymatchChar(ctx, '(')) goto l507; if (!yy_Sp(ctx)) goto l507; if (!yy_Source(ctx)) goto l507; yyDo(ctx, yySet, -2, 0); if (!yy_Spnl(ctx)) goto l507; if (!yy_Title(ctx)) goto l507; yyDo(ctx, yySet, -1, 0); if (!yy_Sp(ctx)) goto l507; if (!yymatchChar(ctx, ')')) goto l507; yyDo(ctx, yy_1_ExplicitLink, ctx->begin, ctx->end); yyprintf((stderr, " ok %s @ %s\n", "ExplicitLink", ctx->buf+ctx->pos)); yyDo(ctx, yyPop, 3, 0); return 1; l507:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "ExplicitLink", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_StrongUl(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyDo(ctx, yyPush, 2, 0); yyprintf((stderr, "%s\n", "StrongUl")); if (!yymatchString(ctx, "__")) goto l508; { int yypos509= ctx->pos, yythunkpos509= ctx->thunkpos; if (!yy_Whitespace(ctx)) goto l509; goto l508; l509:; ctx->pos= yypos509; ctx->thunkpos= yythunkpos509; } if (!yy_StartList(ctx)) goto l508; yyDo(ctx, yySet, -2, 0); { int yypos512= ctx->pos, yythunkpos512= ctx->thunkpos; if (!yymatchString(ctx, "__")) goto l512; goto l508; l512:; ctx->pos= yypos512; ctx->thunkpos= yythunkpos512; } if (!yy_Inline(ctx)) goto l508; yyDo(ctx, yySet, -1, 0); yyDo(ctx, yy_1_StrongUl, ctx->begin, ctx->end); l510:; { int yypos511= ctx->pos, yythunkpos511= ctx->thunkpos; { int yypos513= ctx->pos, yythunkpos513= ctx->thunkpos; if (!yymatchString(ctx, "__")) goto l513; goto l511; l513:; ctx->pos= yypos513; ctx->thunkpos= yythunkpos513; } if (!yy_Inline(ctx)) goto l511; yyDo(ctx, yySet, -1, 0); yyDo(ctx, yy_1_StrongUl, ctx->begin, ctx->end); goto l510; l511:; ctx->pos= yypos511; ctx->thunkpos= yythunkpos511; } if (!yymatchString(ctx, "__")) goto l508; yyDo(ctx, yy_2_StrongUl, ctx->begin, ctx->end); yyprintf((stderr, " ok %s @ %s\n", "StrongUl", ctx->buf+ctx->pos)); yyDo(ctx, yyPop, 2, 0); return 1; l508:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "StrongUl", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_StrongStar(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyDo(ctx, yyPush, 2, 0); yyprintf((stderr, "%s\n", "StrongStar")); if (!yymatchString(ctx, "**")) goto l514; { int yypos515= ctx->pos, yythunkpos515= ctx->thunkpos; if (!yy_Whitespace(ctx)) goto l515; goto l514; l515:; ctx->pos= yypos515; ctx->thunkpos= yythunkpos515; } if (!yy_StartList(ctx)) goto l514; yyDo(ctx, yySet, -2, 0); { int yypos518= ctx->pos, yythunkpos518= ctx->thunkpos; if (!yymatchString(ctx, "**")) goto l518; goto l514; l518:; ctx->pos= yypos518; ctx->thunkpos= yythunkpos518; } if (!yy_Inline(ctx)) goto l514; yyDo(ctx, yySet, -1, 0); yyDo(ctx, yy_1_StrongStar, ctx->begin, ctx->end); l516:; { int yypos517= ctx->pos, yythunkpos517= ctx->thunkpos; { int yypos519= ctx->pos, yythunkpos519= ctx->thunkpos; if (!yymatchString(ctx, "**")) goto l519; goto l517; l519:; ctx->pos= yypos519; ctx->thunkpos= yythunkpos519; } if (!yy_Inline(ctx)) goto l517; yyDo(ctx, yySet, -1, 0); yyDo(ctx, yy_1_StrongStar, ctx->begin, ctx->end); goto l516; l517:; ctx->pos= yypos517; ctx->thunkpos= yythunkpos517; } if (!yymatchString(ctx, "**")) goto l514; yyDo(ctx, yy_2_StrongStar, ctx->begin, ctx->end); yyprintf((stderr, " ok %s @ %s\n", "StrongStar", ctx->buf+ctx->pos)); yyDo(ctx, yyPop, 2, 0); return 1; l514:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "StrongStar", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_Whitespace(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "Whitespace")); { int yypos521= ctx->pos, yythunkpos521= ctx->thunkpos; if (!yy_Spacechar(ctx)) goto l522; goto l521; l522:; ctx->pos= yypos521; ctx->thunkpos= yythunkpos521; if (!yy_Newline(ctx)) goto l520; } l521:; yyprintf((stderr, " ok %s @ %s\n", "Whitespace", ctx->buf+ctx->pos)); return 1; l520:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "Whitespace", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_EmphUl(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyDo(ctx, yyPush, 2, 0); yyprintf((stderr, "%s\n", "EmphUl")); if (!yymatchChar(ctx, '_')) goto l523; { int yypos524= ctx->pos, yythunkpos524= ctx->thunkpos; if (!yy_Whitespace(ctx)) goto l524; goto l523; l524:; ctx->pos= yypos524; ctx->thunkpos= yythunkpos524; } if (!yy_StartList(ctx)) goto l523; yyDo(ctx, yySet, -2, 0); { int yypos527= ctx->pos, yythunkpos527= ctx->thunkpos; { int yypos529= ctx->pos, yythunkpos529= ctx->thunkpos; if (!yymatchChar(ctx, '_')) goto l529; goto l528; l529:; ctx->pos= yypos529; ctx->thunkpos= yythunkpos529; } if (!yy_Inline(ctx)) goto l528; yyDo(ctx, yySet, -1, 0); yyDo(ctx, yy_1_EmphUl, ctx->begin, ctx->end); goto l527; l528:; ctx->pos= yypos527; ctx->thunkpos= yythunkpos527; if (!yy_StrongUl(ctx)) goto l523; yyDo(ctx, yySet, -1, 0); yyDo(ctx, yy_2_EmphUl, ctx->begin, ctx->end); } l527:; l525:; { int yypos526= ctx->pos, yythunkpos526= ctx->thunkpos; { int yypos530= ctx->pos, yythunkpos530= ctx->thunkpos; { int yypos532= ctx->pos, yythunkpos532= ctx->thunkpos; if (!yymatchChar(ctx, '_')) goto l532; goto l531; l532:; ctx->pos= yypos532; ctx->thunkpos= yythunkpos532; } if (!yy_Inline(ctx)) goto l531; yyDo(ctx, yySet, -1, 0); yyDo(ctx, yy_1_EmphUl, ctx->begin, ctx->end); goto l530; l531:; ctx->pos= yypos530; ctx->thunkpos= yythunkpos530; if (!yy_StrongUl(ctx)) goto l526; yyDo(ctx, yySet, -1, 0); yyDo(ctx, yy_2_EmphUl, ctx->begin, ctx->end); } l530:; goto l525; l526:; ctx->pos= yypos526; ctx->thunkpos= yythunkpos526; } if (!yymatchChar(ctx, '_')) goto l523; yyDo(ctx, yy_3_EmphUl, ctx->begin, ctx->end); yyprintf((stderr, " ok %s @ %s\n", "EmphUl", ctx->buf+ctx->pos)); yyDo(ctx, yyPop, 2, 0); return 1; l523:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "EmphUl", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_EmphStar(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyDo(ctx, yyPush, 2, 0); yyprintf((stderr, "%s\n", "EmphStar")); if (!yymatchChar(ctx, '*')) goto l533; { int yypos534= ctx->pos, yythunkpos534= ctx->thunkpos; if (!yy_Whitespace(ctx)) goto l534; goto l533; l534:; ctx->pos= yypos534; ctx->thunkpos= yythunkpos534; } if (!yy_StartList(ctx)) goto l533; yyDo(ctx, yySet, -2, 0); { int yypos537= ctx->pos, yythunkpos537= ctx->thunkpos; { int yypos539= ctx->pos, yythunkpos539= ctx->thunkpos; if (!yymatchChar(ctx, '*')) goto l539; goto l538; l539:; ctx->pos= yypos539; ctx->thunkpos= yythunkpos539; } if (!yy_Inline(ctx)) goto l538; yyDo(ctx, yySet, -1, 0); yyDo(ctx, yy_1_EmphStar, ctx->begin, ctx->end); goto l537; l538:; ctx->pos= yypos537; ctx->thunkpos= yythunkpos537; if (!yy_StrongStar(ctx)) goto l533; yyDo(ctx, yySet, -1, 0); yyDo(ctx, yy_2_EmphStar, ctx->begin, ctx->end); } l537:; l535:; { int yypos536= ctx->pos, yythunkpos536= ctx->thunkpos; { int yypos540= ctx->pos, yythunkpos540= ctx->thunkpos; { int yypos542= ctx->pos, yythunkpos542= ctx->thunkpos; if (!yymatchChar(ctx, '*')) goto l542; goto l541; l542:; ctx->pos= yypos542; ctx->thunkpos= yythunkpos542; } if (!yy_Inline(ctx)) goto l541; yyDo(ctx, yySet, -1, 0); yyDo(ctx, yy_1_EmphStar, ctx->begin, ctx->end); goto l540; l541:; ctx->pos= yypos540; ctx->thunkpos= yythunkpos540; if (!yy_StrongStar(ctx)) goto l536; yyDo(ctx, yySet, -1, 0); yyDo(ctx, yy_2_EmphStar, ctx->begin, ctx->end); } l540:; goto l535; l536:; ctx->pos= yypos536; ctx->thunkpos= yythunkpos536; } if (!yymatchChar(ctx, '*')) goto l533; yyDo(ctx, yy_3_EmphStar, ctx->begin, ctx->end); yyprintf((stderr, " ok %s @ %s\n", "EmphStar", ctx->buf+ctx->pos)); yyDo(ctx, yyPop, 2, 0); return 1; l533:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "EmphStar", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_StarLine(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "StarLine")); { int yypos544= ctx->pos, yythunkpos544= ctx->thunkpos; yyText(ctx, ctx->begin, ctx->end); if (!(YY_BEGIN)) goto l545; if (!yymatchString(ctx, "****")) goto l545; l546:; { int yypos547= ctx->pos, yythunkpos547= ctx->thunkpos; if (!yymatchChar(ctx, '*')) goto l547; goto l546; l547:; ctx->pos= yypos547; ctx->thunkpos= yythunkpos547; } yyText(ctx, ctx->begin, ctx->end); if (!(YY_END)) goto l545; goto l544; l545:; ctx->pos= yypos544; ctx->thunkpos= yythunkpos544; yyText(ctx, ctx->begin, ctx->end); if (!(YY_BEGIN)) goto l543; if (!yy_Spacechar(ctx)) goto l543; if (!yymatchChar(ctx, '*')) goto l543; l548:; { int yypos549= ctx->pos, yythunkpos549= ctx->thunkpos; if (!yymatchChar(ctx, '*')) goto l549; goto l548; l549:; ctx->pos= yypos549; ctx->thunkpos= yythunkpos549; } { int yypos550= ctx->pos, yythunkpos550= ctx->thunkpos; if (!yy_Spacechar(ctx)) goto l543; ctx->pos= yypos550; ctx->thunkpos= yythunkpos550; } yyText(ctx, ctx->begin, ctx->end); if (!(YY_END)) goto l543; } l544:; yyprintf((stderr, " ok %s @ %s\n", "StarLine", ctx->buf+ctx->pos)); return 1; l543:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "StarLine", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_UlLine(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "UlLine")); { int yypos552= ctx->pos, yythunkpos552= ctx->thunkpos; yyText(ctx, ctx->begin, ctx->end); if (!(YY_BEGIN)) goto l553; if (!yymatchString(ctx, "____")) goto l553; l554:; { int yypos555= ctx->pos, yythunkpos555= ctx->thunkpos; if (!yymatchChar(ctx, '_')) goto l555; goto l554; l555:; ctx->pos= yypos555; ctx->thunkpos= yythunkpos555; } yyText(ctx, ctx->begin, ctx->end); if (!(YY_END)) goto l553; goto l552; l553:; ctx->pos= yypos552; ctx->thunkpos= yythunkpos552; yyText(ctx, ctx->begin, ctx->end); if (!(YY_BEGIN)) goto l551; if (!yy_Spacechar(ctx)) goto l551; if (!yymatchChar(ctx, '_')) goto l551; l556:; { int yypos557= ctx->pos, yythunkpos557= ctx->thunkpos; if (!yymatchChar(ctx, '_')) goto l557; goto l556; l557:; ctx->pos= yypos557; ctx->thunkpos= yythunkpos557; } { int yypos558= ctx->pos, yythunkpos558= ctx->thunkpos; if (!yy_Spacechar(ctx)) goto l551; ctx->pos= yypos558; ctx->thunkpos= yythunkpos558; } yyText(ctx, ctx->begin, ctx->end); if (!(YY_END)) goto l551; } l552:; yyprintf((stderr, " ok %s @ %s\n", "UlLine", ctx->buf+ctx->pos)); return 1; l551:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "UlLine", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_SpecialChar(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "SpecialChar")); { int yypos560= ctx->pos, yythunkpos560= ctx->thunkpos; if (!yymatchChar(ctx, '*')) goto l561; goto l560; l561:; ctx->pos= yypos560; ctx->thunkpos= yythunkpos560; if (!yymatchChar(ctx, '_')) goto l562; goto l560; l562:; ctx->pos= yypos560; ctx->thunkpos= yythunkpos560; if (!yymatchChar(ctx, '`')) goto l563; goto l560; l563:; ctx->pos= yypos560; ctx->thunkpos= yythunkpos560; if (!yymatchChar(ctx, '&')) goto l564; goto l560; l564:; ctx->pos= yypos560; ctx->thunkpos= yythunkpos560; if (!yymatchChar(ctx, '[')) goto l565; goto l560; l565:; ctx->pos= yypos560; ctx->thunkpos= yythunkpos560; if (!yymatchChar(ctx, ']')) goto l566; goto l560; l566:; ctx->pos= yypos560; ctx->thunkpos= yythunkpos560; if (!yymatchChar(ctx, '(')) goto l567; goto l560; l567:; ctx->pos= yypos560; ctx->thunkpos= yythunkpos560; if (!yymatchChar(ctx, ')')) goto l568; goto l560; l568:; ctx->pos= yypos560; ctx->thunkpos= yythunkpos560; if (!yymatchChar(ctx, '<')) goto l569; goto l560; l569:; ctx->pos= yypos560; ctx->thunkpos= yythunkpos560; if (!yymatchChar(ctx, '!')) goto l570; goto l560; l570:; ctx->pos= yypos560; ctx->thunkpos= yythunkpos560; if (!yymatchChar(ctx, '#')) goto l571; goto l560; l571:; ctx->pos= yypos560; ctx->thunkpos= yythunkpos560; if (!yymatchChar(ctx, '\\')) goto l572; goto l560; l572:; ctx->pos= yypos560; ctx->thunkpos= yythunkpos560; if (!yymatchChar(ctx, '\'')) goto l573; goto l560; l573:; ctx->pos= yypos560; ctx->thunkpos= yythunkpos560; if (!yymatchChar(ctx, '"')) goto l574; goto l560; l574:; ctx->pos= yypos560; ctx->thunkpos= yythunkpos560; if (!yy_ExtendedSpecialChar(ctx)) goto l559; } l560:; yyprintf((stderr, " ok %s @ %s\n", "SpecialChar", ctx->buf+ctx->pos)); return 1; l559:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "SpecialChar", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_Eof(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "Eof")); { int yypos576= ctx->pos, yythunkpos576= ctx->thunkpos; if (!yymatchDot(ctx)) goto l576; goto l575; l576:; ctx->pos= yypos576; ctx->thunkpos= yythunkpos576; } yyprintf((stderr, " ok %s @ %s\n", "Eof", ctx->buf+ctx->pos)); return 1; l575:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "Eof", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_NormalEndline(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "NormalEndline")); if (!yy_Sp(ctx)) goto l577; if (!yy_Newline(ctx)) goto l577; { int yypos578= ctx->pos, yythunkpos578= ctx->thunkpos; if (!yy_BlankLine(ctx)) goto l578; goto l577; l578:; ctx->pos= yypos578; ctx->thunkpos= yythunkpos578; } { int yypos579= ctx->pos, yythunkpos579= ctx->thunkpos; if (!yymatchChar(ctx, '>')) goto l579; goto l577; l579:; ctx->pos= yypos579; ctx->thunkpos= yythunkpos579; } { int yypos580= ctx->pos, yythunkpos580= ctx->thunkpos; if (!yy_AtxStart(ctx)) goto l580; goto l577; l580:; ctx->pos= yypos580; ctx->thunkpos= yythunkpos580; } { int yypos581= ctx->pos, yythunkpos581= ctx->thunkpos; if (!yy_Line(ctx)) goto l581; { int yypos582= ctx->pos, yythunkpos582= ctx->thunkpos; if (!yymatchChar(ctx, '=')) goto l583; l584:; { int yypos585= ctx->pos, yythunkpos585= ctx->thunkpos; if (!yymatchChar(ctx, '=')) goto l585; goto l584; l585:; ctx->pos= yypos585; ctx->thunkpos= yythunkpos585; } goto l582; l583:; ctx->pos= yypos582; ctx->thunkpos= yythunkpos582; if (!yymatchChar(ctx, '-')) goto l581; l586:; { int yypos587= ctx->pos, yythunkpos587= ctx->thunkpos; if (!yymatchChar(ctx, '-')) goto l587; goto l586; l587:; ctx->pos= yypos587; ctx->thunkpos= yythunkpos587; } } l582:; if (!yy_Newline(ctx)) goto l581; goto l577; l581:; ctx->pos= yypos581; ctx->thunkpos= yythunkpos581; } yyDo(ctx, yy_1_NormalEndline, ctx->begin, ctx->end); yyprintf((stderr, " ok %s @ %s\n", "NormalEndline", ctx->buf+ctx->pos)); return 1; l577:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "NormalEndline", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_TerminalEndline(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "TerminalEndline")); if (!yy_Sp(ctx)) goto l588; if (!yy_Newline(ctx)) goto l588; if (!yy_Eof(ctx)) goto l588; yyDo(ctx, yy_1_TerminalEndline, ctx->begin, ctx->end); yyprintf((stderr, " ok %s @ %s\n", "TerminalEndline", ctx->buf+ctx->pos)); return 1; l588:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "TerminalEndline", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_LineBreak(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "LineBreak")); if (!yymatchString(ctx, " ")) goto l589; if (!yy_NormalEndline(ctx)) goto l589; yyDo(ctx, yy_1_LineBreak, ctx->begin, ctx->end); yyprintf((stderr, " ok %s @ %s\n", "LineBreak", ctx->buf+ctx->pos)); return 1; l589:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "LineBreak", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_CharEntity(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "CharEntity")); yyText(ctx, ctx->begin, ctx->end); if (!(YY_BEGIN)) goto l590; if (!yymatchChar(ctx, '&')) goto l590; 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 l590; l591:; { int yypos592= ctx->pos, yythunkpos592= 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 l592; goto l591; l592:; ctx->pos= yypos592; ctx->thunkpos= yythunkpos592; } if (!yymatchChar(ctx, ';')) goto l590; yyText(ctx, ctx->begin, ctx->end); if (!(YY_END)) goto l590; yyprintf((stderr, " ok %s @ %s\n", "CharEntity", ctx->buf+ctx->pos)); return 1; l590:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "CharEntity", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_DecEntity(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "DecEntity")); yyText(ctx, ctx->begin, ctx->end); if (!(YY_BEGIN)) goto l593; if (!yymatchChar(ctx, '&')) goto l593; if (!yymatchChar(ctx, '#')) goto l593; 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 l593; l594:; { int yypos595= ctx->pos, yythunkpos595= 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 l595; goto l594; l595:; ctx->pos= yypos595; ctx->thunkpos= yythunkpos595; } yyText(ctx, ctx->begin, ctx->end); if (!(YY_END)) goto l593; if (!yymatchChar(ctx, ';')) goto l593; yyText(ctx, ctx->begin, ctx->end); if (!(YY_END)) goto l593; yyprintf((stderr, " ok %s @ %s\n", "DecEntity", ctx->buf+ctx->pos)); return 1; l593:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "DecEntity", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_HexEntity(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "HexEntity")); yyText(ctx, ctx->begin, ctx->end); if (!(YY_BEGIN)) goto l596; if (!yymatchChar(ctx, '&')) goto l596; if (!yymatchChar(ctx, '#')) goto l596; 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 l596; 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 l596; l597:; { int yypos598= ctx->pos, yythunkpos598= 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 l598; goto l597; l598:; ctx->pos= yypos598; ctx->thunkpos= yythunkpos598; } if (!yymatchChar(ctx, ';')) goto l596; yyText(ctx, ctx->begin, ctx->end); if (!(YY_END)) goto l596; yyprintf((stderr, " ok %s @ %s\n", "HexEntity", ctx->buf+ctx->pos)); return 1; l596:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "HexEntity", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_AposChunk(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "AposChunk")); yyText(ctx, ctx->begin, ctx->end); if (!( extension(EXT_SMART) )) goto l599; if (!yymatchChar(ctx, '\'')) goto l599; { int yypos600= ctx->pos, yythunkpos600= ctx->thunkpos; if (!yy_Alphanumeric(ctx)) goto l599; ctx->pos= yypos600; ctx->thunkpos= yythunkpos600; } yyDo(ctx, yy_1_AposChunk, ctx->begin, ctx->end); yyprintf((stderr, " ok %s @ %s\n", "AposChunk", ctx->buf+ctx->pos)); return 1; l599:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "AposChunk", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_Alphanumeric(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "Alphanumeric")); { int yypos602= ctx->pos, yythunkpos602= 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 l603; goto l602; l603:; ctx->pos= yypos602; ctx->thunkpos= yythunkpos602; if (!yymatchString(ctx, "\200")) goto l604; goto l602; l604:; ctx->pos= yypos602; ctx->thunkpos= yythunkpos602; if (!yymatchString(ctx, "\201")) goto l605; goto l602; l605:; ctx->pos= yypos602; ctx->thunkpos= yythunkpos602; if (!yymatchString(ctx, "\202")) goto l606; goto l602; l606:; ctx->pos= yypos602; ctx->thunkpos= yythunkpos602; if (!yymatchString(ctx, "\203")) goto l607; goto l602; l607:; ctx->pos= yypos602; ctx->thunkpos= yythunkpos602; if (!yymatchString(ctx, "\204")) goto l608; goto l602; l608:; ctx->pos= yypos602; ctx->thunkpos= yythunkpos602; if (!yymatchString(ctx, "\205")) goto l609; goto l602; l609:; ctx->pos= yypos602; ctx->thunkpos= yythunkpos602; if (!yymatchString(ctx, "\206")) goto l610; goto l602; l610:; ctx->pos= yypos602; ctx->thunkpos= yythunkpos602; if (!yymatchString(ctx, "\207")) goto l611; goto l602; l611:; ctx->pos= yypos602; ctx->thunkpos= yythunkpos602; if (!yymatchString(ctx, "\210")) goto l612; goto l602; l612:; ctx->pos= yypos602; ctx->thunkpos= yythunkpos602; if (!yymatchString(ctx, "\211")) goto l613; goto l602; l613:; ctx->pos= yypos602; ctx->thunkpos= yythunkpos602; if (!yymatchString(ctx, "\212")) goto l614; goto l602; l614:; ctx->pos= yypos602; ctx->thunkpos= yythunkpos602; if (!yymatchString(ctx, "\213")) goto l615; goto l602; l615:; ctx->pos= yypos602; ctx->thunkpos= yythunkpos602; if (!yymatchString(ctx, "\214")) goto l616; goto l602; l616:; ctx->pos= yypos602; ctx->thunkpos= yythunkpos602; if (!yymatchString(ctx, "\215")) goto l617; goto l602; l617:; ctx->pos= yypos602; ctx->thunkpos= yythunkpos602; if (!yymatchString(ctx, "\216")) goto l618; goto l602; l618:; ctx->pos= yypos602; ctx->thunkpos= yythunkpos602; if (!yymatchString(ctx, "\217")) goto l619; goto l602; l619:; ctx->pos= yypos602; ctx->thunkpos= yythunkpos602; if (!yymatchString(ctx, "\220")) goto l620; goto l602; l620:; ctx->pos= yypos602; ctx->thunkpos= yythunkpos602; if (!yymatchString(ctx, "\221")) goto l621; goto l602; l621:; ctx->pos= yypos602; ctx->thunkpos= yythunkpos602; if (!yymatchString(ctx, "\222")) goto l622; goto l602; l622:; ctx->pos= yypos602; ctx->thunkpos= yythunkpos602; if (!yymatchString(ctx, "\223")) goto l623; goto l602; l623:; ctx->pos= yypos602; ctx->thunkpos= yythunkpos602; if (!yymatchString(ctx, "\224")) goto l624; goto l602; l624:; ctx->pos= yypos602; ctx->thunkpos= yythunkpos602; if (!yymatchString(ctx, "\225")) goto l625; goto l602; l625:; ctx->pos= yypos602; ctx->thunkpos= yythunkpos602; if (!yymatchString(ctx, "\226")) goto l626; goto l602; l626:; ctx->pos= yypos602; ctx->thunkpos= yythunkpos602; if (!yymatchString(ctx, "\227")) goto l627; goto l602; l627:; ctx->pos= yypos602; ctx->thunkpos= yythunkpos602; if (!yymatchString(ctx, "\230")) goto l628; goto l602; l628:; ctx->pos= yypos602; ctx->thunkpos= yythunkpos602; if (!yymatchString(ctx, "\231")) goto l629; goto l602; l629:; ctx->pos= yypos602; ctx->thunkpos= yythunkpos602; if (!yymatchString(ctx, "\232")) goto l630; goto l602; l630:; ctx->pos= yypos602; ctx->thunkpos= yythunkpos602; if (!yymatchString(ctx, "\233")) goto l631; goto l602; l631:; ctx->pos= yypos602; ctx->thunkpos= yythunkpos602; if (!yymatchString(ctx, "\234")) goto l632; goto l602; l632:; ctx->pos= yypos602; ctx->thunkpos= yythunkpos602; if (!yymatchString(ctx, "\235")) goto l633; goto l602; l633:; ctx->pos= yypos602; ctx->thunkpos= yythunkpos602; if (!yymatchString(ctx, "\236")) goto l634; goto l602; l634:; ctx->pos= yypos602; ctx->thunkpos= yythunkpos602; if (!yymatchString(ctx, "\237")) goto l635; goto l602; l635:; ctx->pos= yypos602; ctx->thunkpos= yythunkpos602; if (!yymatchString(ctx, "\240")) goto l636; goto l602; l636:; ctx->pos= yypos602; ctx->thunkpos= yythunkpos602; if (!yymatchString(ctx, "\241")) goto l637; goto l602; l637:; ctx->pos= yypos602; ctx->thunkpos= yythunkpos602; if (!yymatchString(ctx, "\242")) goto l638; goto l602; l638:; ctx->pos= yypos602; ctx->thunkpos= yythunkpos602; if (!yymatchString(ctx, "\243")) goto l639; goto l602; l639:; ctx->pos= yypos602; ctx->thunkpos= yythunkpos602; if (!yymatchString(ctx, "\244")) goto l640; goto l602; l640:; ctx->pos= yypos602; ctx->thunkpos= yythunkpos602; if (!yymatchString(ctx, "\245")) goto l641; goto l602; l641:; ctx->pos= yypos602; ctx->thunkpos= yythunkpos602; if (!yymatchString(ctx, "\246")) goto l642; goto l602; l642:; ctx->pos= yypos602; ctx->thunkpos= yythunkpos602; if (!yymatchString(ctx, "\247")) goto l643; goto l602; l643:; ctx->pos= yypos602; ctx->thunkpos= yythunkpos602; if (!yymatchString(ctx, "\250")) goto l644; goto l602; l644:; ctx->pos= yypos602; ctx->thunkpos= yythunkpos602; if (!yymatchString(ctx, "\251")) goto l645; goto l602; l645:; ctx->pos= yypos602; ctx->thunkpos= yythunkpos602; if (!yymatchString(ctx, "\252")) goto l646; goto l602; l646:; ctx->pos= yypos602; ctx->thunkpos= yythunkpos602; if (!yymatchString(ctx, "\253")) goto l647; goto l602; l647:; ctx->pos= yypos602; ctx->thunkpos= yythunkpos602; if (!yymatchString(ctx, "\254")) goto l648; goto l602; l648:; ctx->pos= yypos602; ctx->thunkpos= yythunkpos602; if (!yymatchString(ctx, "\255")) goto l649; goto l602; l649:; ctx->pos= yypos602; ctx->thunkpos= yythunkpos602; if (!yymatchString(ctx, "\256")) goto l650; goto l602; l650:; ctx->pos= yypos602; ctx->thunkpos= yythunkpos602; if (!yymatchString(ctx, "\257")) goto l651; goto l602; l651:; ctx->pos= yypos602; ctx->thunkpos= yythunkpos602; if (!yymatchString(ctx, "\260")) goto l652; goto l602; l652:; ctx->pos= yypos602; ctx->thunkpos= yythunkpos602; if (!yymatchString(ctx, "\261")) goto l653; goto l602; l653:; ctx->pos= yypos602; ctx->thunkpos= yythunkpos602; if (!yymatchString(ctx, "\262")) goto l654; goto l602; l654:; ctx->pos= yypos602; ctx->thunkpos= yythunkpos602; if (!yymatchString(ctx, "\263")) goto l655; goto l602; l655:; ctx->pos= yypos602; ctx->thunkpos= yythunkpos602; if (!yymatchString(ctx, "\264")) goto l656; goto l602; l656:; ctx->pos= yypos602; ctx->thunkpos= yythunkpos602; if (!yymatchString(ctx, "\265")) goto l657; goto l602; l657:; ctx->pos= yypos602; ctx->thunkpos= yythunkpos602; if (!yymatchString(ctx, "\266")) goto l658; goto l602; l658:; ctx->pos= yypos602; ctx->thunkpos= yythunkpos602; if (!yymatchString(ctx, "\267")) goto l659; goto l602; l659:; ctx->pos= yypos602; ctx->thunkpos= yythunkpos602; if (!yymatchString(ctx, "\270")) goto l660; goto l602; l660:; ctx->pos= yypos602; ctx->thunkpos= yythunkpos602; if (!yymatchString(ctx, "\271")) goto l661; goto l602; l661:; ctx->pos= yypos602; ctx->thunkpos= yythunkpos602; if (!yymatchString(ctx, "\272")) goto l662; goto l602; l662:; ctx->pos= yypos602; ctx->thunkpos= yythunkpos602; if (!yymatchString(ctx, "\273")) goto l663; goto l602; l663:; ctx->pos= yypos602; ctx->thunkpos= yythunkpos602; if (!yymatchString(ctx, "\274")) goto l664; goto l602; l664:; ctx->pos= yypos602; ctx->thunkpos= yythunkpos602; if (!yymatchString(ctx, "\275")) goto l665; goto l602; l665:; ctx->pos= yypos602; ctx->thunkpos= yythunkpos602; if (!yymatchString(ctx, "\276")) goto l666; goto l602; l666:; ctx->pos= yypos602; ctx->thunkpos= yythunkpos602; if (!yymatchString(ctx, "\277")) goto l667; goto l602; l667:; ctx->pos= yypos602; ctx->thunkpos= yythunkpos602; if (!yymatchString(ctx, "\300")) goto l668; goto l602; l668:; ctx->pos= yypos602; ctx->thunkpos= yythunkpos602; if (!yymatchString(ctx, "\301")) goto l669; goto l602; l669:; ctx->pos= yypos602; ctx->thunkpos= yythunkpos602; if (!yymatchString(ctx, "\302")) goto l670; goto l602; l670:; ctx->pos= yypos602; ctx->thunkpos= yythunkpos602; if (!yymatchString(ctx, "\303")) goto l671; goto l602; l671:; ctx->pos= yypos602; ctx->thunkpos= yythunkpos602; if (!yymatchString(ctx, "\304")) goto l672; goto l602; l672:; ctx->pos= yypos602; ctx->thunkpos= yythunkpos602; if (!yymatchString(ctx, "\305")) goto l673; goto l602; l673:; ctx->pos= yypos602; ctx->thunkpos= yythunkpos602; if (!yymatchString(ctx, "\306")) goto l674; goto l602; l674:; ctx->pos= yypos602; ctx->thunkpos= yythunkpos602; if (!yymatchString(ctx, "\307")) goto l675; goto l602; l675:; ctx->pos= yypos602; ctx->thunkpos= yythunkpos602; if (!yymatchString(ctx, "\310")) goto l676; goto l602; l676:; ctx->pos= yypos602; ctx->thunkpos= yythunkpos602; if (!yymatchString(ctx, "\311")) goto l677; goto l602; l677:; ctx->pos= yypos602; ctx->thunkpos= yythunkpos602; if (!yymatchString(ctx, "\312")) goto l678; goto l602; l678:; ctx->pos= yypos602; ctx->thunkpos= yythunkpos602; if (!yymatchString(ctx, "\313")) goto l679; goto l602; l679:; ctx->pos= yypos602; ctx->thunkpos= yythunkpos602; if (!yymatchString(ctx, "\314")) goto l680; goto l602; l680:; ctx->pos= yypos602; ctx->thunkpos= yythunkpos602; if (!yymatchString(ctx, "\315")) goto l681; goto l602; l681:; ctx->pos= yypos602; ctx->thunkpos= yythunkpos602; if (!yymatchString(ctx, "\316")) goto l682; goto l602; l682:; ctx->pos= yypos602; ctx->thunkpos= yythunkpos602; if (!yymatchString(ctx, "\317")) goto l683; goto l602; l683:; ctx->pos= yypos602; ctx->thunkpos= yythunkpos602; if (!yymatchString(ctx, "\320")) goto l684; goto l602; l684:; ctx->pos= yypos602; ctx->thunkpos= yythunkpos602; if (!yymatchString(ctx, "\321")) goto l685; goto l602; l685:; ctx->pos= yypos602; ctx->thunkpos= yythunkpos602; if (!yymatchString(ctx, "\322")) goto l686; goto l602; l686:; ctx->pos= yypos602; ctx->thunkpos= yythunkpos602; if (!yymatchString(ctx, "\323")) goto l687; goto l602; l687:; ctx->pos= yypos602; ctx->thunkpos= yythunkpos602; if (!yymatchString(ctx, "\324")) goto l688; goto l602; l688:; ctx->pos= yypos602; ctx->thunkpos= yythunkpos602; if (!yymatchString(ctx, "\325")) goto l689; goto l602; l689:; ctx->pos= yypos602; ctx->thunkpos= yythunkpos602; if (!yymatchString(ctx, "\326")) goto l690; goto l602; l690:; ctx->pos= yypos602; ctx->thunkpos= yythunkpos602; if (!yymatchString(ctx, "\327")) goto l691; goto l602; l691:; ctx->pos= yypos602; ctx->thunkpos= yythunkpos602; if (!yymatchString(ctx, "\330")) goto l692; goto l602; l692:; ctx->pos= yypos602; ctx->thunkpos= yythunkpos602; if (!yymatchString(ctx, "\331")) goto l693; goto l602; l693:; ctx->pos= yypos602; ctx->thunkpos= yythunkpos602; if (!yymatchString(ctx, "\332")) goto l694; goto l602; l694:; ctx->pos= yypos602; ctx->thunkpos= yythunkpos602; if (!yymatchString(ctx, "\333")) goto l695; goto l602; l695:; ctx->pos= yypos602; ctx->thunkpos= yythunkpos602; if (!yymatchString(ctx, "\334")) goto l696; goto l602; l696:; ctx->pos= yypos602; ctx->thunkpos= yythunkpos602; if (!yymatchString(ctx, "\335")) goto l697; goto l602; l697:; ctx->pos= yypos602; ctx->thunkpos= yythunkpos602; if (!yymatchString(ctx, "\336")) goto l698; goto l602; l698:; ctx->pos= yypos602; ctx->thunkpos= yythunkpos602; if (!yymatchString(ctx, "\337")) goto l699; goto l602; l699:; ctx->pos= yypos602; ctx->thunkpos= yythunkpos602; if (!yymatchString(ctx, "\340")) goto l700; goto l602; l700:; ctx->pos= yypos602; ctx->thunkpos= yythunkpos602; if (!yymatchString(ctx, "\341")) goto l701; goto l602; l701:; ctx->pos= yypos602; ctx->thunkpos= yythunkpos602; if (!yymatchString(ctx, "\342")) goto l702; goto l602; l702:; ctx->pos= yypos602; ctx->thunkpos= yythunkpos602; if (!yymatchString(ctx, "\343")) goto l703; goto l602; l703:; ctx->pos= yypos602; ctx->thunkpos= yythunkpos602; if (!yymatchString(ctx, "\344")) goto l704; goto l602; l704:; ctx->pos= yypos602; ctx->thunkpos= yythunkpos602; if (!yymatchString(ctx, "\345")) goto l705; goto l602; l705:; ctx->pos= yypos602; ctx->thunkpos= yythunkpos602; if (!yymatchString(ctx, "\346")) goto l706; goto l602; l706:; ctx->pos= yypos602; ctx->thunkpos= yythunkpos602; if (!yymatchString(ctx, "\347")) goto l707; goto l602; l707:; ctx->pos= yypos602; ctx->thunkpos= yythunkpos602; if (!yymatchString(ctx, "\350")) goto l708; goto l602; l708:; ctx->pos= yypos602; ctx->thunkpos= yythunkpos602; if (!yymatchString(ctx, "\351")) goto l709; goto l602; l709:; ctx->pos= yypos602; ctx->thunkpos= yythunkpos602; if (!yymatchString(ctx, "\352")) goto l710; goto l602; l710:; ctx->pos= yypos602; ctx->thunkpos= yythunkpos602; if (!yymatchString(ctx, "\353")) goto l711; goto l602; l711:; ctx->pos= yypos602; ctx->thunkpos= yythunkpos602; if (!yymatchString(ctx, "\354")) goto l712; goto l602; l712:; ctx->pos= yypos602; ctx->thunkpos= yythunkpos602; if (!yymatchString(ctx, "\355")) goto l713; goto l602; l713:; ctx->pos= yypos602; ctx->thunkpos= yythunkpos602; if (!yymatchString(ctx, "\356")) goto l714; goto l602; l714:; ctx->pos= yypos602; ctx->thunkpos= yythunkpos602; if (!yymatchString(ctx, "\357")) goto l715; goto l602; l715:; ctx->pos= yypos602; ctx->thunkpos= yythunkpos602; if (!yymatchString(ctx, "\360")) goto l716; goto l602; l716:; ctx->pos= yypos602; ctx->thunkpos= yythunkpos602; if (!yymatchString(ctx, "\361")) goto l717; goto l602; l717:; ctx->pos= yypos602; ctx->thunkpos= yythunkpos602; if (!yymatchString(ctx, "\362")) goto l718; goto l602; l718:; ctx->pos= yypos602; ctx->thunkpos= yythunkpos602; if (!yymatchString(ctx, "\363")) goto l719; goto l602; l719:; ctx->pos= yypos602; ctx->thunkpos= yythunkpos602; if (!yymatchString(ctx, "\364")) goto l720; goto l602; l720:; ctx->pos= yypos602; ctx->thunkpos= yythunkpos602; if (!yymatchString(ctx, "\365")) goto l721; goto l602; l721:; ctx->pos= yypos602; ctx->thunkpos= yythunkpos602; if (!yymatchString(ctx, "\366")) goto l722; goto l602; l722:; ctx->pos= yypos602; ctx->thunkpos= yythunkpos602; if (!yymatchString(ctx, "\367")) goto l723; goto l602; l723:; ctx->pos= yypos602; ctx->thunkpos= yythunkpos602; if (!yymatchString(ctx, "\370")) goto l724; goto l602; l724:; ctx->pos= yypos602; ctx->thunkpos= yythunkpos602; if (!yymatchString(ctx, "\371")) goto l725; goto l602; l725:; ctx->pos= yypos602; ctx->thunkpos= yythunkpos602; if (!yymatchString(ctx, "\372")) goto l726; goto l602; l726:; ctx->pos= yypos602; ctx->thunkpos= yythunkpos602; if (!yymatchString(ctx, "\373")) goto l727; goto l602; l727:; ctx->pos= yypos602; ctx->thunkpos= yythunkpos602; if (!yymatchString(ctx, "\374")) goto l728; goto l602; l728:; ctx->pos= yypos602; ctx->thunkpos= yythunkpos602; if (!yymatchString(ctx, "\375")) goto l729; goto l602; l729:; ctx->pos= yypos602; ctx->thunkpos= yythunkpos602; if (!yymatchString(ctx, "\376")) goto l730; goto l602; l730:; ctx->pos= yypos602; ctx->thunkpos= yythunkpos602; if (!yymatchString(ctx, "\377")) goto l601; } l602:; yyprintf((stderr, " ok %s @ %s\n", "Alphanumeric", ctx->buf+ctx->pos)); return 1; l601:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "Alphanumeric", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_StrChunk(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "StrChunk")); { int yypos732= ctx->pos, yythunkpos732= ctx->thunkpos; yyText(ctx, ctx->begin, ctx->end); if (!(YY_BEGIN)) goto l733; { int yypos736= ctx->pos, yythunkpos736= ctx->thunkpos; if (!yy_NormalChar(ctx)) goto l737; goto l736; l737:; ctx->pos= yypos736; ctx->thunkpos= yythunkpos736; if (!yymatchChar(ctx, '_')) goto l733; l738:; { int yypos739= ctx->pos, yythunkpos739= ctx->thunkpos; if (!yymatchChar(ctx, '_')) goto l739; goto l738; l739:; ctx->pos= yypos739; ctx->thunkpos= yythunkpos739; } { int yypos740= ctx->pos, yythunkpos740= ctx->thunkpos; if (!yy_Alphanumeric(ctx)) goto l733; ctx->pos= yypos740; ctx->thunkpos= yythunkpos740; } } l736:; l734:; { int yypos735= ctx->pos, yythunkpos735= ctx->thunkpos; { int yypos741= ctx->pos, yythunkpos741= ctx->thunkpos; if (!yy_NormalChar(ctx)) goto l742; goto l741; l742:; ctx->pos= yypos741; ctx->thunkpos= yythunkpos741; if (!yymatchChar(ctx, '_')) goto l735; l743:; { int yypos744= ctx->pos, yythunkpos744= ctx->thunkpos; if (!yymatchChar(ctx, '_')) goto l744; goto l743; l744:; ctx->pos= yypos744; ctx->thunkpos= yythunkpos744; } { int yypos745= ctx->pos, yythunkpos745= ctx->thunkpos; if (!yy_Alphanumeric(ctx)) goto l735; ctx->pos= yypos745; ctx->thunkpos= yythunkpos745; } } l741:; goto l734; l735:; ctx->pos= yypos735; ctx->thunkpos= yythunkpos735; } yyText(ctx, ctx->begin, ctx->end); if (!(YY_END)) goto l733; yyDo(ctx, yy_1_StrChunk, ctx->begin, ctx->end); goto l732; l733:; ctx->pos= yypos732; ctx->thunkpos= yythunkpos732; if (!yy_AposChunk(ctx)) goto l731; } l732:; yyprintf((stderr, " ok %s @ %s\n", "StrChunk", ctx->buf+ctx->pos)); return 1; l731:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "StrChunk", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_NormalChar(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "NormalChar")); { int yypos747= ctx->pos, yythunkpos747= ctx->thunkpos; { int yypos748= ctx->pos, yythunkpos748= ctx->thunkpos; if (!yy_SpecialChar(ctx)) goto l749; goto l748; l749:; ctx->pos= yypos748; ctx->thunkpos= yythunkpos748; if (!yy_Spacechar(ctx)) goto l750; goto l748; l750:; ctx->pos= yypos748; ctx->thunkpos= yythunkpos748; if (!yy_Newline(ctx)) goto l747; } l748:; goto l746; l747:; ctx->pos= yypos747; ctx->thunkpos= yythunkpos747; } if (!yymatchDot(ctx)) goto l746; yyprintf((stderr, " ok %s @ %s\n", "NormalChar", ctx->buf+ctx->pos)); return 1; l746:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "NormalChar", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_Symbol(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "Symbol")); yyText(ctx, ctx->begin, ctx->end); if (!(YY_BEGIN)) goto l751; if (!yy_SpecialChar(ctx)) goto l751; yyText(ctx, ctx->begin, ctx->end); if (!(YY_END)) goto l751; yyDo(ctx, yy_1_Symbol, ctx->begin, ctx->end); yyprintf((stderr, " ok %s @ %s\n", "Symbol", ctx->buf+ctx->pos)); return 1; l751:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "Symbol", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_Smart(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "Smart")); yyText(ctx, ctx->begin, ctx->end); if (!( extension(EXT_SMART) )) goto l752; { int yypos753= ctx->pos, yythunkpos753= ctx->thunkpos; if (!yy_Ellipsis(ctx)) goto l754; goto l753; l754:; ctx->pos= yypos753; ctx->thunkpos= yythunkpos753; if (!yy_Dash(ctx)) goto l755; goto l753; l755:; ctx->pos= yypos753; ctx->thunkpos= yythunkpos753; if (!yy_SingleQuoted(ctx)) goto l756; goto l753; l756:; ctx->pos= yypos753; ctx->thunkpos= yythunkpos753; if (!yy_DoubleQuoted(ctx)) goto l757; goto l753; l757:; ctx->pos= yypos753; ctx->thunkpos= yythunkpos753; if (!yy_Apostrophe(ctx)) goto l752; } l753:; yyprintf((stderr, " ok %s @ %s\n", "Smart", ctx->buf+ctx->pos)); return 1; l752:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "Smart", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_EscapedChar(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "EscapedChar")); if (!yymatchChar(ctx, '\\')) goto l758; { int yypos759= ctx->pos, yythunkpos759= ctx->thunkpos; if (!yy_Newline(ctx)) goto l759; goto l758; l759:; ctx->pos= yypos759; ctx->thunkpos= yythunkpos759; } yyText(ctx, ctx->begin, ctx->end); if (!(YY_BEGIN)) goto l758; 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 l758; yyText(ctx, ctx->begin, ctx->end); if (!(YY_END)) goto l758; yyDo(ctx, yy_1_EscapedChar, ctx->begin, ctx->end); yyprintf((stderr, " ok %s @ %s\n", "EscapedChar", ctx->buf+ctx->pos)); return 1; l758:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "EscapedChar", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_Entity(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "Entity")); { int yypos761= ctx->pos, yythunkpos761= ctx->thunkpos; if (!yy_HexEntity(ctx)) goto l762; goto l761; l762:; ctx->pos= yypos761; ctx->thunkpos= yythunkpos761; if (!yy_DecEntity(ctx)) goto l763; goto l761; l763:; ctx->pos= yypos761; ctx->thunkpos= yythunkpos761; if (!yy_CharEntity(ctx)) goto l760; } l761:; yyDo(ctx, yy_1_Entity, ctx->begin, ctx->end); yyprintf((stderr, " ok %s @ %s\n", "Entity", ctx->buf+ctx->pos)); return 1; l760:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "Entity", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_RawHtml(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "RawHtml")); yyText(ctx, ctx->begin, ctx->end); if (!(YY_BEGIN)) goto l764; { int yypos765= ctx->pos, yythunkpos765= ctx->thunkpos; if (!yy_HtmlComment(ctx)) goto l766; goto l765; l766:; ctx->pos= yypos765; ctx->thunkpos= yythunkpos765; if (!yy_HtmlBlockScript(ctx)) goto l767; goto l765; l767:; ctx->pos= yypos765; ctx->thunkpos= yythunkpos765; if (!yy_HtmlTag(ctx)) goto l764; } l765:; yyText(ctx, ctx->begin, ctx->end); if (!(YY_END)) goto l764; yyDo(ctx, yy_1_RawHtml, ctx->begin, ctx->end); yyprintf((stderr, " ok %s @ %s\n", "RawHtml", ctx->buf+ctx->pos)); return 1; l764:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "RawHtml", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_Code(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "Code")); { int yypos769= ctx->pos, yythunkpos769= ctx->thunkpos; if (!yy_Ticks1(ctx)) goto l770; if (!yy_Sp(ctx)) goto l770; yyText(ctx, ctx->begin, ctx->end); if (!(YY_BEGIN)) goto l770; { int yypos773= ctx->pos, yythunkpos773= ctx->thunkpos; { int yypos777= ctx->pos, yythunkpos777= ctx->thunkpos; if (!yymatchChar(ctx, '`')) goto l777; goto l774; l777:; ctx->pos= yypos777; ctx->thunkpos= yythunkpos777; } if (!yy_Nonspacechar(ctx)) goto l774; l775:; { int yypos776= ctx->pos, yythunkpos776= ctx->thunkpos; { int yypos778= ctx->pos, yythunkpos778= ctx->thunkpos; if (!yymatchChar(ctx, '`')) goto l778; goto l776; l778:; ctx->pos= yypos778; ctx->thunkpos= yythunkpos778; } if (!yy_Nonspacechar(ctx)) goto l776; goto l775; l776:; ctx->pos= yypos776; ctx->thunkpos= yythunkpos776; } goto l773; l774:; ctx->pos= yypos773; ctx->thunkpos= yythunkpos773; { int yypos780= ctx->pos, yythunkpos780= ctx->thunkpos; if (!yy_Ticks1(ctx)) goto l780; goto l779; l780:; ctx->pos= yypos780; ctx->thunkpos= yythunkpos780; } if (!yymatchChar(ctx, '`')) goto l779; l781:; { int yypos782= ctx->pos, yythunkpos782= ctx->thunkpos; if (!yymatchChar(ctx, '`')) goto l782; goto l781; l782:; ctx->pos= yypos782; ctx->thunkpos= yythunkpos782; } goto l773; l779:; ctx->pos= yypos773; ctx->thunkpos= yythunkpos773; { int yypos783= ctx->pos, yythunkpos783= ctx->thunkpos; if (!yy_Sp(ctx)) goto l783; if (!yy_Ticks1(ctx)) goto l783; goto l770; l783:; ctx->pos= yypos783; ctx->thunkpos= yythunkpos783; } { int yypos784= ctx->pos, yythunkpos784= ctx->thunkpos; if (!yy_Spacechar(ctx)) goto l785; goto l784; l785:; ctx->pos= yypos784; ctx->thunkpos= yythunkpos784; if (!yy_Newline(ctx)) goto l770; { int yypos786= ctx->pos, yythunkpos786= ctx->thunkpos; if (!yy_BlankLine(ctx)) goto l786; goto l770; l786:; ctx->pos= yypos786; ctx->thunkpos= yythunkpos786; } } l784:; } l773:; l771:; { int yypos772= ctx->pos, yythunkpos772= ctx->thunkpos; { int yypos787= ctx->pos, yythunkpos787= ctx->thunkpos; { int yypos791= ctx->pos, yythunkpos791= ctx->thunkpos; if (!yymatchChar(ctx, '`')) goto l791; goto l788; l791:; ctx->pos= yypos791; ctx->thunkpos= yythunkpos791; } if (!yy_Nonspacechar(ctx)) goto l788; l789:; { int yypos790= ctx->pos, yythunkpos790= ctx->thunkpos; { int yypos792= ctx->pos, yythunkpos792= ctx->thunkpos; if (!yymatchChar(ctx, '`')) goto l792; goto l790; l792:; ctx->pos= yypos792; ctx->thunkpos= yythunkpos792; } if (!yy_Nonspacechar(ctx)) goto l790; goto l789; l790:; ctx->pos= yypos790; ctx->thunkpos= yythunkpos790; } goto l787; l788:; ctx->pos= yypos787; ctx->thunkpos= yythunkpos787; { int yypos794= ctx->pos, yythunkpos794= ctx->thunkpos; if (!yy_Ticks1(ctx)) goto l794; goto l793; l794:; ctx->pos= yypos794; ctx->thunkpos= yythunkpos794; } if (!yymatchChar(ctx, '`')) goto l793; l795:; { int yypos796= ctx->pos, yythunkpos796= ctx->thunkpos; if (!yymatchChar(ctx, '`')) goto l796; goto l795; l796:; ctx->pos= yypos796; ctx->thunkpos= yythunkpos796; } goto l787; l793:; ctx->pos= yypos787; ctx->thunkpos= yythunkpos787; { int yypos797= ctx->pos, yythunkpos797= ctx->thunkpos; if (!yy_Sp(ctx)) goto l797; if (!yy_Ticks1(ctx)) goto l797; goto l772; l797:; ctx->pos= yypos797; ctx->thunkpos= yythunkpos797; } { int yypos798= ctx->pos, yythunkpos798= ctx->thunkpos; if (!yy_Spacechar(ctx)) goto l799; goto l798; l799:; ctx->pos= yypos798; ctx->thunkpos= yythunkpos798; if (!yy_Newline(ctx)) goto l772; { int yypos800= ctx->pos, yythunkpos800= ctx->thunkpos; if (!yy_BlankLine(ctx)) goto l800; goto l772; l800:; ctx->pos= yypos800; ctx->thunkpos= yythunkpos800; } } l798:; } l787:; goto l771; l772:; ctx->pos= yypos772; ctx->thunkpos= yythunkpos772; } yyText(ctx, ctx->begin, ctx->end); if (!(YY_END)) goto l770; if (!yy_Sp(ctx)) goto l770; if (!yy_Ticks1(ctx)) goto l770; goto l769; l770:; ctx->pos= yypos769; ctx->thunkpos= yythunkpos769; if (!yy_Ticks2(ctx)) goto l801; if (!yy_Sp(ctx)) goto l801; yyText(ctx, ctx->begin, ctx->end); if (!(YY_BEGIN)) goto l801; { int yypos804= ctx->pos, yythunkpos804= ctx->thunkpos; { int yypos808= ctx->pos, yythunkpos808= ctx->thunkpos; if (!yymatchChar(ctx, '`')) goto l808; goto l805; l808:; ctx->pos= yypos808; ctx->thunkpos= yythunkpos808; } if (!yy_Nonspacechar(ctx)) goto l805; l806:; { int yypos807= ctx->pos, yythunkpos807= ctx->thunkpos; { int yypos809= ctx->pos, yythunkpos809= ctx->thunkpos; if (!yymatchChar(ctx, '`')) goto l809; goto l807; l809:; ctx->pos= yypos809; ctx->thunkpos= yythunkpos809; } if (!yy_Nonspacechar(ctx)) goto l807; goto l806; l807:; ctx->pos= yypos807; ctx->thunkpos= yythunkpos807; } goto l804; l805:; ctx->pos= yypos804; ctx->thunkpos= yythunkpos804; { int yypos811= ctx->pos, yythunkpos811= ctx->thunkpos; if (!yy_Ticks2(ctx)) goto l811; goto l810; l811:; ctx->pos= yypos811; ctx->thunkpos= yythunkpos811; } if (!yymatchChar(ctx, '`')) goto l810; l812:; { int yypos813= ctx->pos, yythunkpos813= ctx->thunkpos; if (!yymatchChar(ctx, '`')) goto l813; goto l812; l813:; ctx->pos= yypos813; ctx->thunkpos= yythunkpos813; } goto l804; l810:; ctx->pos= yypos804; ctx->thunkpos= yythunkpos804; { int yypos814= ctx->pos, yythunkpos814= ctx->thunkpos; if (!yy_Sp(ctx)) goto l814; if (!yy_Ticks2(ctx)) goto l814; goto l801; l814:; ctx->pos= yypos814; ctx->thunkpos= yythunkpos814; } { int yypos815= ctx->pos, yythunkpos815= ctx->thunkpos; if (!yy_Spacechar(ctx)) goto l816; goto l815; l816:; ctx->pos= yypos815; ctx->thunkpos= yythunkpos815; if (!yy_Newline(ctx)) goto l801; { int yypos817= ctx->pos, yythunkpos817= ctx->thunkpos; if (!yy_BlankLine(ctx)) goto l817; goto l801; l817:; ctx->pos= yypos817; ctx->thunkpos= yythunkpos817; } } l815:; } l804:; l802:; { int yypos803= ctx->pos, yythunkpos803= ctx->thunkpos; { int yypos818= ctx->pos, yythunkpos818= ctx->thunkpos; { int yypos822= ctx->pos, yythunkpos822= ctx->thunkpos; if (!yymatchChar(ctx, '`')) goto l822; goto l819; l822:; ctx->pos= yypos822; ctx->thunkpos= yythunkpos822; } if (!yy_Nonspacechar(ctx)) goto l819; l820:; { int yypos821= ctx->pos, yythunkpos821= ctx->thunkpos; { int yypos823= ctx->pos, yythunkpos823= ctx->thunkpos; if (!yymatchChar(ctx, '`')) goto l823; goto l821; l823:; ctx->pos= yypos823; ctx->thunkpos= yythunkpos823; } if (!yy_Nonspacechar(ctx)) goto l821; goto l820; l821:; ctx->pos= yypos821; ctx->thunkpos= yythunkpos821; } goto l818; l819:; ctx->pos= yypos818; ctx->thunkpos= yythunkpos818; { int yypos825= ctx->pos, yythunkpos825= ctx->thunkpos; if (!yy_Ticks2(ctx)) goto l825; goto l824; l825:; ctx->pos= yypos825; ctx->thunkpos= yythunkpos825; } if (!yymatchChar(ctx, '`')) goto l824; l826:; { int yypos827= ctx->pos, yythunkpos827= ctx->thunkpos; if (!yymatchChar(ctx, '`')) goto l827; goto l826; l827:; ctx->pos= yypos827; ctx->thunkpos= yythunkpos827; } goto l818; l824:; ctx->pos= yypos818; ctx->thunkpos= yythunkpos818; { int yypos828= ctx->pos, yythunkpos828= ctx->thunkpos; if (!yy_Sp(ctx)) goto l828; if (!yy_Ticks2(ctx)) goto l828; goto l803; l828:; ctx->pos= yypos828; ctx->thunkpos= yythunkpos828; } { int yypos829= ctx->pos, yythunkpos829= ctx->thunkpos; if (!yy_Spacechar(ctx)) goto l830; goto l829; l830:; ctx->pos= yypos829; ctx->thunkpos= yythunkpos829; if (!yy_Newline(ctx)) goto l803; { int yypos831= ctx->pos, yythunkpos831= ctx->thunkpos; if (!yy_BlankLine(ctx)) goto l831; goto l803; l831:; ctx->pos= yypos831; ctx->thunkpos= yythunkpos831; } } l829:; } l818:; goto l802; l803:; ctx->pos= yypos803; ctx->thunkpos= yythunkpos803; } yyText(ctx, ctx->begin, ctx->end); if (!(YY_END)) goto l801; if (!yy_Sp(ctx)) goto l801; if (!yy_Ticks2(ctx)) goto l801; goto l769; l801:; ctx->pos= yypos769; ctx->thunkpos= yythunkpos769; if (!yy_Ticks3(ctx)) goto l832; if (!yy_Sp(ctx)) goto l832; yyText(ctx, ctx->begin, ctx->end); if (!(YY_BEGIN)) goto l832; { int yypos835= ctx->pos, yythunkpos835= ctx->thunkpos; { int yypos839= ctx->pos, yythunkpos839= ctx->thunkpos; if (!yymatchChar(ctx, '`')) goto l839; goto l836; l839:; ctx->pos= yypos839; ctx->thunkpos= yythunkpos839; } if (!yy_Nonspacechar(ctx)) goto l836; l837:; { int yypos838= ctx->pos, yythunkpos838= ctx->thunkpos; { int yypos840= ctx->pos, yythunkpos840= ctx->thunkpos; if (!yymatchChar(ctx, '`')) goto l840; goto l838; l840:; ctx->pos= yypos840; ctx->thunkpos= yythunkpos840; } if (!yy_Nonspacechar(ctx)) goto l838; goto l837; l838:; ctx->pos= yypos838; ctx->thunkpos= yythunkpos838; } goto l835; l836:; ctx->pos= yypos835; ctx->thunkpos= yythunkpos835; { int yypos842= ctx->pos, yythunkpos842= ctx->thunkpos; if (!yy_Ticks3(ctx)) goto l842; goto l841; l842:; ctx->pos= yypos842; ctx->thunkpos= yythunkpos842; } if (!yymatchChar(ctx, '`')) goto l841; l843:; { int yypos844= ctx->pos, yythunkpos844= ctx->thunkpos; if (!yymatchChar(ctx, '`')) goto l844; goto l843; l844:; ctx->pos= yypos844; ctx->thunkpos= yythunkpos844; } goto l835; l841:; ctx->pos= yypos835; ctx->thunkpos= yythunkpos835; { int yypos845= ctx->pos, yythunkpos845= ctx->thunkpos; if (!yy_Sp(ctx)) goto l845; if (!yy_Ticks3(ctx)) goto l845; goto l832; l845:; ctx->pos= yypos845; ctx->thunkpos= yythunkpos845; } { int yypos846= ctx->pos, yythunkpos846= ctx->thunkpos; if (!yy_Spacechar(ctx)) goto l847; goto l846; l847:; ctx->pos= yypos846; ctx->thunkpos= yythunkpos846; if (!yy_Newline(ctx)) goto l832; { int yypos848= ctx->pos, yythunkpos848= ctx->thunkpos; if (!yy_BlankLine(ctx)) goto l848; goto l832; l848:; ctx->pos= yypos848; ctx->thunkpos= yythunkpos848; } } l846:; } l835:; l833:; { int yypos834= ctx->pos, yythunkpos834= ctx->thunkpos; { int yypos849= ctx->pos, yythunkpos849= ctx->thunkpos; { int yypos853= ctx->pos, yythunkpos853= ctx->thunkpos; if (!yymatchChar(ctx, '`')) goto l853; goto l850; l853:; ctx->pos= yypos853; ctx->thunkpos= yythunkpos853; } if (!yy_Nonspacechar(ctx)) goto l850; l851:; { int yypos852= ctx->pos, yythunkpos852= ctx->thunkpos; { int yypos854= ctx->pos, yythunkpos854= ctx->thunkpos; if (!yymatchChar(ctx, '`')) goto l854; goto l852; l854:; ctx->pos= yypos854; ctx->thunkpos= yythunkpos854; } if (!yy_Nonspacechar(ctx)) goto l852; goto l851; l852:; ctx->pos= yypos852; ctx->thunkpos= yythunkpos852; } goto l849; l850:; ctx->pos= yypos849; ctx->thunkpos= yythunkpos849; { int yypos856= ctx->pos, yythunkpos856= ctx->thunkpos; if (!yy_Ticks3(ctx)) goto l856; goto l855; l856:; ctx->pos= yypos856; ctx->thunkpos= yythunkpos856; } if (!yymatchChar(ctx, '`')) goto l855; l857:; { int yypos858= ctx->pos, yythunkpos858= ctx->thunkpos; if (!yymatchChar(ctx, '`')) goto l858; goto l857; l858:; ctx->pos= yypos858; ctx->thunkpos= yythunkpos858; } goto l849; l855:; ctx->pos= yypos849; ctx->thunkpos= yythunkpos849; { int yypos859= ctx->pos, yythunkpos859= ctx->thunkpos; if (!yy_Sp(ctx)) goto l859; if (!yy_Ticks3(ctx)) goto l859; goto l834; l859:; ctx->pos= yypos859; ctx->thunkpos= yythunkpos859; } { int yypos860= ctx->pos, yythunkpos860= ctx->thunkpos; if (!yy_Spacechar(ctx)) goto l861; goto l860; l861:; ctx->pos= yypos860; ctx->thunkpos= yythunkpos860; if (!yy_Newline(ctx)) goto l834; { int yypos862= ctx->pos, yythunkpos862= ctx->thunkpos; if (!yy_BlankLine(ctx)) goto l862; goto l834; l862:; ctx->pos= yypos862; ctx->thunkpos= yythunkpos862; } } l860:; } l849:; goto l833; l834:; ctx->pos= yypos834; ctx->thunkpos= yythunkpos834; } yyText(ctx, ctx->begin, ctx->end); if (!(YY_END)) goto l832; if (!yy_Sp(ctx)) goto l832; if (!yy_Ticks3(ctx)) goto l832; goto l769; l832:; ctx->pos= yypos769; ctx->thunkpos= yythunkpos769; if (!yy_Ticks4(ctx)) goto l863; if (!yy_Sp(ctx)) goto l863; yyText(ctx, ctx->begin, ctx->end); if (!(YY_BEGIN)) goto l863; { int yypos866= ctx->pos, yythunkpos866= ctx->thunkpos; { int yypos870= ctx->pos, yythunkpos870= ctx->thunkpos; if (!yymatchChar(ctx, '`')) goto l870; goto l867; l870:; ctx->pos= yypos870; ctx->thunkpos= yythunkpos870; } if (!yy_Nonspacechar(ctx)) goto l867; l868:; { int yypos869= ctx->pos, yythunkpos869= ctx->thunkpos; { int yypos871= ctx->pos, yythunkpos871= ctx->thunkpos; if (!yymatchChar(ctx, '`')) goto l871; goto l869; l871:; ctx->pos= yypos871; ctx->thunkpos= yythunkpos871; } if (!yy_Nonspacechar(ctx)) goto l869; goto l868; l869:; ctx->pos= yypos869; ctx->thunkpos= yythunkpos869; } goto l866; l867:; ctx->pos= yypos866; ctx->thunkpos= yythunkpos866; { int yypos873= ctx->pos, yythunkpos873= ctx->thunkpos; if (!yy_Ticks4(ctx)) goto l873; goto l872; l873:; ctx->pos= yypos873; ctx->thunkpos= yythunkpos873; } if (!yymatchChar(ctx, '`')) goto l872; l874:; { int yypos875= ctx->pos, yythunkpos875= ctx->thunkpos; if (!yymatchChar(ctx, '`')) goto l875; goto l874; l875:; ctx->pos= yypos875; ctx->thunkpos= yythunkpos875; } goto l866; l872:; ctx->pos= yypos866; ctx->thunkpos= yythunkpos866; { int yypos876= ctx->pos, yythunkpos876= ctx->thunkpos; if (!yy_Sp(ctx)) goto l876; if (!yy_Ticks4(ctx)) goto l876; goto l863; l876:; ctx->pos= yypos876; ctx->thunkpos= yythunkpos876; } { int yypos877= ctx->pos, yythunkpos877= ctx->thunkpos; if (!yy_Spacechar(ctx)) goto l878; goto l877; l878:; ctx->pos= yypos877; ctx->thunkpos= yythunkpos877; if (!yy_Newline(ctx)) goto l863; { int yypos879= ctx->pos, yythunkpos879= ctx->thunkpos; if (!yy_BlankLine(ctx)) goto l879; goto l863; l879:; ctx->pos= yypos879; ctx->thunkpos= yythunkpos879; } } l877:; } l866:; l864:; { int yypos865= ctx->pos, yythunkpos865= ctx->thunkpos; { int yypos880= ctx->pos, yythunkpos880= ctx->thunkpos; { int yypos884= ctx->pos, yythunkpos884= ctx->thunkpos; if (!yymatchChar(ctx, '`')) goto l884; goto l881; l884:; ctx->pos= yypos884; ctx->thunkpos= yythunkpos884; } if (!yy_Nonspacechar(ctx)) goto l881; l882:; { int yypos883= ctx->pos, yythunkpos883= ctx->thunkpos; { int yypos885= ctx->pos, yythunkpos885= ctx->thunkpos; if (!yymatchChar(ctx, '`')) goto l885; goto l883; l885:; ctx->pos= yypos885; ctx->thunkpos= yythunkpos885; } if (!yy_Nonspacechar(ctx)) goto l883; goto l882; l883:; ctx->pos= yypos883; ctx->thunkpos= yythunkpos883; } goto l880; l881:; ctx->pos= yypos880; ctx->thunkpos= yythunkpos880; { int yypos887= ctx->pos, yythunkpos887= ctx->thunkpos; if (!yy_Ticks4(ctx)) goto l887; goto l886; l887:; ctx->pos= yypos887; ctx->thunkpos= yythunkpos887; } if (!yymatchChar(ctx, '`')) goto l886; l888:; { int yypos889= ctx->pos, yythunkpos889= ctx->thunkpos; if (!yymatchChar(ctx, '`')) goto l889; goto l888; l889:; ctx->pos= yypos889; ctx->thunkpos= yythunkpos889; } goto l880; l886:; ctx->pos= yypos880; ctx->thunkpos= yythunkpos880; { int yypos890= ctx->pos, yythunkpos890= ctx->thunkpos; if (!yy_Sp(ctx)) goto l890; if (!yy_Ticks4(ctx)) goto l890; goto l865; l890:; ctx->pos= yypos890; ctx->thunkpos= yythunkpos890; } { int yypos891= ctx->pos, yythunkpos891= ctx->thunkpos; if (!yy_Spacechar(ctx)) goto l892; goto l891; l892:; ctx->pos= yypos891; ctx->thunkpos= yythunkpos891; if (!yy_Newline(ctx)) goto l865; { int yypos893= ctx->pos, yythunkpos893= ctx->thunkpos; if (!yy_BlankLine(ctx)) goto l893; goto l865; l893:; ctx->pos= yypos893; ctx->thunkpos= yythunkpos893; } } l891:; } l880:; goto l864; l865:; ctx->pos= yypos865; ctx->thunkpos= yythunkpos865; } yyText(ctx, ctx->begin, ctx->end); if (!(YY_END)) goto l863; if (!yy_Sp(ctx)) goto l863; if (!yy_Ticks4(ctx)) goto l863; goto l769; l863:; ctx->pos= yypos769; ctx->thunkpos= yythunkpos769; if (!yy_Ticks5(ctx)) goto l768; if (!yy_Sp(ctx)) goto l768; yyText(ctx, ctx->begin, ctx->end); if (!(YY_BEGIN)) goto l768; { int yypos896= ctx->pos, yythunkpos896= ctx->thunkpos; { int yypos900= ctx->pos, yythunkpos900= ctx->thunkpos; if (!yymatchChar(ctx, '`')) goto l900; goto l897; l900:; ctx->pos= yypos900; ctx->thunkpos= yythunkpos900; } if (!yy_Nonspacechar(ctx)) goto l897; l898:; { int yypos899= ctx->pos, yythunkpos899= ctx->thunkpos; { int yypos901= ctx->pos, yythunkpos901= ctx->thunkpos; if (!yymatchChar(ctx, '`')) goto l901; goto l899; l901:; ctx->pos= yypos901; ctx->thunkpos= yythunkpos901; } if (!yy_Nonspacechar(ctx)) goto l899; goto l898; l899:; ctx->pos= yypos899; ctx->thunkpos= yythunkpos899; } goto l896; l897:; ctx->pos= yypos896; ctx->thunkpos= yythunkpos896; { int yypos903= ctx->pos, yythunkpos903= ctx->thunkpos; if (!yy_Ticks5(ctx)) goto l903; goto l902; l903:; ctx->pos= yypos903; ctx->thunkpos= yythunkpos903; } if (!yymatchChar(ctx, '`')) goto l902; l904:; { int yypos905= ctx->pos, yythunkpos905= ctx->thunkpos; if (!yymatchChar(ctx, '`')) goto l905; goto l904; l905:; ctx->pos= yypos905; ctx->thunkpos= yythunkpos905; } goto l896; l902:; ctx->pos= yypos896; ctx->thunkpos= yythunkpos896; { int yypos906= ctx->pos, yythunkpos906= ctx->thunkpos; if (!yy_Sp(ctx)) goto l906; if (!yy_Ticks5(ctx)) goto l906; goto l768; l906:; ctx->pos= yypos906; ctx->thunkpos= yythunkpos906; } { int yypos907= ctx->pos, yythunkpos907= ctx->thunkpos; if (!yy_Spacechar(ctx)) goto l908; goto l907; l908:; ctx->pos= yypos907; ctx->thunkpos= yythunkpos907; if (!yy_Newline(ctx)) goto l768; { int yypos909= ctx->pos, yythunkpos909= ctx->thunkpos; if (!yy_BlankLine(ctx)) goto l909; goto l768; l909:; ctx->pos= yypos909; ctx->thunkpos= yythunkpos909; } } l907:; } l896:; l894:; { int yypos895= ctx->pos, yythunkpos895= ctx->thunkpos; { int yypos910= ctx->pos, yythunkpos910= ctx->thunkpos; { int yypos914= ctx->pos, yythunkpos914= ctx->thunkpos; if (!yymatchChar(ctx, '`')) goto l914; goto l911; l914:; ctx->pos= yypos914; ctx->thunkpos= yythunkpos914; } if (!yy_Nonspacechar(ctx)) goto l911; l912:; { int yypos913= ctx->pos, yythunkpos913= ctx->thunkpos; { int yypos915= ctx->pos, yythunkpos915= ctx->thunkpos; if (!yymatchChar(ctx, '`')) goto l915; goto l913; l915:; ctx->pos= yypos915; ctx->thunkpos= yythunkpos915; } if (!yy_Nonspacechar(ctx)) goto l913; goto l912; l913:; ctx->pos= yypos913; ctx->thunkpos= yythunkpos913; } goto l910; l911:; ctx->pos= yypos910; ctx->thunkpos= yythunkpos910; { int yypos917= ctx->pos, yythunkpos917= ctx->thunkpos; if (!yy_Ticks5(ctx)) goto l917; goto l916; l917:; ctx->pos= yypos917; ctx->thunkpos= yythunkpos917; } if (!yymatchChar(ctx, '`')) goto l916; l918:; { int yypos919= ctx->pos, yythunkpos919= ctx->thunkpos; if (!yymatchChar(ctx, '`')) goto l919; goto l918; l919:; ctx->pos= yypos919; ctx->thunkpos= yythunkpos919; } goto l910; l916:; ctx->pos= yypos910; ctx->thunkpos= yythunkpos910; { int yypos920= ctx->pos, yythunkpos920= ctx->thunkpos; if (!yy_Sp(ctx)) goto l920; if (!yy_Ticks5(ctx)) goto l920; goto l895; l920:; ctx->pos= yypos920; ctx->thunkpos= yythunkpos920; } { int yypos921= ctx->pos, yythunkpos921= ctx->thunkpos; if (!yy_Spacechar(ctx)) goto l922; goto l921; l922:; ctx->pos= yypos921; ctx->thunkpos= yythunkpos921; if (!yy_Newline(ctx)) goto l895; { int yypos923= ctx->pos, yythunkpos923= ctx->thunkpos; if (!yy_BlankLine(ctx)) goto l923; goto l895; l923:; ctx->pos= yypos923; ctx->thunkpos= yythunkpos923; } } l921:; } l910:; goto l894; l895:; ctx->pos= yypos895; ctx->thunkpos= yythunkpos895; } yyText(ctx, ctx->begin, ctx->end); if (!(YY_END)) goto l768; if (!yy_Sp(ctx)) goto l768; if (!yy_Ticks5(ctx)) goto l768; } l769:; yyDo(ctx, yy_1_Code, ctx->begin, ctx->end); yyprintf((stderr, " ok %s @ %s\n", "Code", ctx->buf+ctx->pos)); return 1; l768:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "Code", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_NoteReference(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyDo(ctx, yyPush, 1, 0); yyprintf((stderr, "%s\n", "NoteReference")); yyText(ctx, ctx->begin, ctx->end); if (!( extension(EXT_NOTES) )) goto l924; if (!yy_RawNoteReference(ctx)) goto l924; yyDo(ctx, yySet, -1, 0); yyDo(ctx, yy_1_NoteReference, ctx->begin, ctx->end); yyprintf((stderr, " ok %s @ %s\n", "NoteReference", ctx->buf+ctx->pos)); yyDo(ctx, yyPop, 1, 0); return 1; l924:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "NoteReference", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_Link(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "Link")); { int yypos926= ctx->pos, yythunkpos926= ctx->thunkpos; if (!yy_ExplicitLink(ctx)) goto l927; goto l926; l927:; ctx->pos= yypos926; ctx->thunkpos= yythunkpos926; if (!yy_ReferenceLink(ctx)) goto l928; goto l926; l928:; ctx->pos= yypos926; ctx->thunkpos= yythunkpos926; if (!yy_AutoLink(ctx)) goto l925; } l926:; yyprintf((stderr, " ok %s @ %s\n", "Link", ctx->buf+ctx->pos)); return 1; l925:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "Link", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_Image(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "Image")); if (!yymatchChar(ctx, '!')) goto l929; { int yypos930= ctx->pos, yythunkpos930= ctx->thunkpos; if (!yy_ExplicitLink(ctx)) goto l931; goto l930; l931:; ctx->pos= yypos930; ctx->thunkpos= yythunkpos930; if (!yy_ReferenceLink(ctx)) goto l929; } l930:; yyDo(ctx, yy_1_Image, ctx->begin, ctx->end); yyprintf((stderr, " ok %s @ %s\n", "Image", ctx->buf+ctx->pos)); return 1; l929:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "Image", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_CitationReference(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "CitationReference")); { int yypos933= ctx->pos, yythunkpos933= ctx->thunkpos; if (!yy_CitationReferenceDouble(ctx)) goto l934; goto l933; l934:; ctx->pos= yypos933; ctx->thunkpos= yythunkpos933; if (!yy_CitationReferenceSingle(ctx)) goto l932; } l933:; yyprintf((stderr, " ok %s @ %s\n", "CitationReference", ctx->buf+ctx->pos)); return 1; l932:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "CitationReference", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_Emph(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "Emph")); { int yypos936= ctx->pos, yythunkpos936= ctx->thunkpos; if (!yy_EmphStar(ctx)) goto l937; goto l936; l937:; ctx->pos= yypos936; ctx->thunkpos= yythunkpos936; if (!yy_EmphUl(ctx)) goto l935; } l936:; yyprintf((stderr, " ok %s @ %s\n", "Emph", ctx->buf+ctx->pos)); return 1; l935:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "Emph", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_Strong(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "Strong")); { int yypos939= ctx->pos, yythunkpos939= ctx->thunkpos; if (!yy_StrongStar(ctx)) goto l940; goto l939; l940:; ctx->pos= yypos939; ctx->thunkpos= yythunkpos939; if (!yy_StrongUl(ctx)) goto l938; } l939:; yyprintf((stderr, " ok %s @ %s\n", "Strong", ctx->buf+ctx->pos)); return 1; l938:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "Strong", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_Space(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "Space")); if (!yy_Spacechar(ctx)) goto l941; l942:; { int yypos943= ctx->pos, yythunkpos943= ctx->thunkpos; if (!yy_Spacechar(ctx)) goto l943; goto l942; l943:; ctx->pos= yypos943; ctx->thunkpos= yythunkpos943; } yyDo(ctx, yy_1_Space, ctx->begin, ctx->end); yyprintf((stderr, " ok %s @ %s\n", "Space", ctx->buf+ctx->pos)); return 1; l941:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "Space", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_UlOrStarLine(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "UlOrStarLine")); { int yypos945= ctx->pos, yythunkpos945= ctx->thunkpos; if (!yy_UlLine(ctx)) goto l946; goto l945; l946:; ctx->pos= yypos945; ctx->thunkpos= yythunkpos945; if (!yy_StarLine(ctx)) goto l944; } l945:; yyDo(ctx, yy_1_UlOrStarLine, ctx->begin, ctx->end); yyprintf((stderr, " ok %s @ %s\n", "UlOrStarLine", ctx->buf+ctx->pos)); return 1; l944:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "UlOrStarLine", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_MathSpan(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "MathSpan")); if (!yymatchChar(ctx, '\\')) goto l947; yyText(ctx, ctx->begin, ctx->end); if (!(YY_BEGIN)) goto l947; { int yypos948= ctx->pos, yythunkpos948= ctx->thunkpos; if (!yymatchString(ctx, "\\[")) goto l949; l950:; { int yypos951= ctx->pos, yythunkpos951= ctx->thunkpos; { int yypos952= ctx->pos, yythunkpos952= ctx->thunkpos; if (!yymatchString(ctx, "\\\\]")) goto l952; goto l951; l952:; ctx->pos= yypos952; ctx->thunkpos= yythunkpos952; } if (!yymatchDot(ctx)) goto l951; goto l950; l951:; ctx->pos= yypos951; ctx->thunkpos= yythunkpos951; } if (!yymatchString(ctx, "\\\\]")) goto l949; goto l948; l949:; ctx->pos= yypos948; ctx->thunkpos= yythunkpos948; if (!yymatchString(ctx, "\\(")) goto l947; l953:; { int yypos954= ctx->pos, yythunkpos954= ctx->thunkpos; { int yypos955= ctx->pos, yythunkpos955= ctx->thunkpos; if (!yymatchString(ctx, "\\\\)")) goto l955; goto l954; l955:; ctx->pos= yypos955; ctx->thunkpos= yythunkpos955; } if (!yymatchDot(ctx)) goto l954; goto l953; l954:; ctx->pos= yypos954; ctx->thunkpos= yythunkpos954; } if (!yymatchString(ctx, "\\\\)")) goto l947; } l948:; yyText(ctx, ctx->begin, ctx->end); if (!(YY_END)) goto l947; yyDo(ctx, yy_1_MathSpan, ctx->begin, ctx->end); yyprintf((stderr, " ok %s @ %s\n", "MathSpan", ctx->buf+ctx->pos)); return 1; l947:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "MathSpan", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_Str(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyDo(ctx, yyPush, 1, 0); yyprintf((stderr, "%s\n", "Str")); if (!yy_StartList(ctx)) goto l956; yyDo(ctx, yySet, -1, 0); yyText(ctx, ctx->begin, ctx->end); if (!(YY_BEGIN)) goto l956; if (!yy_NormalChar(ctx)) goto l956; l957:; { int yypos958= ctx->pos, yythunkpos958= ctx->thunkpos; if (!yy_NormalChar(ctx)) goto l958; goto l957; l958:; ctx->pos= yypos958; ctx->thunkpos= yythunkpos958; } yyText(ctx, ctx->begin, ctx->end); if (!(YY_END)) goto l956; yyDo(ctx, yy_1_Str, ctx->begin, ctx->end); l959:; { int yypos960= ctx->pos, yythunkpos960= ctx->thunkpos; if (!yy_StrChunk(ctx)) goto l960; yyDo(ctx, yy_2_Str, ctx->begin, ctx->end); goto l959; l960:; ctx->pos= yypos960; ctx->thunkpos= yythunkpos960; } yyDo(ctx, yy_3_Str, ctx->begin, ctx->end); yyprintf((stderr, " ok %s @ %s\n", "Str", ctx->buf+ctx->pos)); yyDo(ctx, yyPop, 1, 0); return 1; l956:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "Str", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_InStyleTags(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "InStyleTags")); if (!yy_StyleOpen(ctx)) goto l961; l962:; { int yypos963= ctx->pos, yythunkpos963= ctx->thunkpos; { int yypos964= ctx->pos, yythunkpos964= ctx->thunkpos; if (!yy_StyleClose(ctx)) goto l964; goto l963; l964:; ctx->pos= yypos964; ctx->thunkpos= yythunkpos964; } if (!yymatchDot(ctx)) goto l963; goto l962; l963:; ctx->pos= yypos963; ctx->thunkpos= yythunkpos963; } if (!yy_StyleClose(ctx)) goto l961; yyprintf((stderr, " ok %s @ %s\n", "InStyleTags", ctx->buf+ctx->pos)); return 1; l961:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "InStyleTags", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_StyleClose(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "StyleClose")); if (!yymatchChar(ctx, '<')) goto l965; if (!yy_Spnl(ctx)) goto l965; if (!yymatchChar(ctx, '/')) goto l965; { int yypos966= ctx->pos, yythunkpos966= ctx->thunkpos; if (!yymatchString(ctx, "style")) goto l967; goto l966; l967:; ctx->pos= yypos966; ctx->thunkpos= yythunkpos966; if (!yymatchString(ctx, "STYLE")) goto l965; } l966:; if (!yy_Spnl(ctx)) goto l965; if (!yymatchChar(ctx, '>')) goto l965; yyprintf((stderr, " ok %s @ %s\n", "StyleClose", ctx->buf+ctx->pos)); return 1; l965:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "StyleClose", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_StyleOpen(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "StyleOpen")); if (!yymatchChar(ctx, '<')) goto l968; if (!yy_Spnl(ctx)) goto l968; { int yypos969= ctx->pos, yythunkpos969= ctx->thunkpos; if (!yymatchString(ctx, "style")) goto l970; goto l969; l970:; ctx->pos= yypos969; ctx->thunkpos= yythunkpos969; if (!yymatchString(ctx, "STYLE")) goto l968; } l969:; if (!yy_Spnl(ctx)) goto l968; l971:; { int yypos972= ctx->pos, yythunkpos972= ctx->thunkpos; if (!yy_HtmlAttribute(ctx)) goto l972; goto l971; l972:; ctx->pos= yypos972; ctx->thunkpos= yythunkpos972; } if (!yymatchChar(ctx, '>')) goto l968; yyprintf((stderr, " ok %s @ %s\n", "StyleOpen", ctx->buf+ctx->pos)); return 1; l968:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "StyleOpen", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_HtmlBlockType(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "HtmlBlockType")); { int yypos974= ctx->pos, yythunkpos974= ctx->thunkpos; if (!yymatchString(ctx, "address")) goto l975; goto l974; l975:; ctx->pos= yypos974; ctx->thunkpos= yythunkpos974; if (!yymatchString(ctx, "blockquote")) goto l976; goto l974; l976:; ctx->pos= yypos974; ctx->thunkpos= yythunkpos974; if (!yymatchString(ctx, "center")) goto l977; goto l974; l977:; ctx->pos= yypos974; ctx->thunkpos= yythunkpos974; if (!yymatchString(ctx, "dir")) goto l978; goto l974; l978:; ctx->pos= yypos974; ctx->thunkpos= yythunkpos974; if (!yymatchString(ctx, "div")) goto l979; goto l974; l979:; ctx->pos= yypos974; ctx->thunkpos= yythunkpos974; if (!yymatchString(ctx, "dl")) goto l980; goto l974; l980:; ctx->pos= yypos974; ctx->thunkpos= yythunkpos974; if (!yymatchString(ctx, "fieldset")) goto l981; goto l974; l981:; ctx->pos= yypos974; ctx->thunkpos= yythunkpos974; if (!yymatchString(ctx, "form")) goto l982; goto l974; l982:; ctx->pos= yypos974; ctx->thunkpos= yythunkpos974; if (!yymatchString(ctx, "h1")) goto l983; goto l974; l983:; ctx->pos= yypos974; ctx->thunkpos= yythunkpos974; if (!yymatchString(ctx, "h2")) goto l984; goto l974; l984:; ctx->pos= yypos974; ctx->thunkpos= yythunkpos974; if (!yymatchString(ctx, "h3")) goto l985; goto l974; l985:; ctx->pos= yypos974; ctx->thunkpos= yythunkpos974; if (!yymatchString(ctx, "h4")) goto l986; goto l974; l986:; ctx->pos= yypos974; ctx->thunkpos= yythunkpos974; if (!yymatchString(ctx, "h5")) goto l987; goto l974; l987:; ctx->pos= yypos974; ctx->thunkpos= yythunkpos974; if (!yymatchString(ctx, "h6")) goto l988; goto l974; l988:; ctx->pos= yypos974; ctx->thunkpos= yythunkpos974; if (!yymatchString(ctx, "hr")) goto l989; goto l974; l989:; ctx->pos= yypos974; ctx->thunkpos= yythunkpos974; if (!yymatchString(ctx, "isindex")) goto l990; goto l974; l990:; ctx->pos= yypos974; ctx->thunkpos= yythunkpos974; if (!yymatchString(ctx, "menu")) goto l991; goto l974; l991:; ctx->pos= yypos974; ctx->thunkpos= yythunkpos974; if (!yymatchString(ctx, "noframes")) goto l992; goto l974; l992:; ctx->pos= yypos974; ctx->thunkpos= yythunkpos974; if (!yymatchString(ctx, "noscript")) goto l993; goto l974; l993:; ctx->pos= yypos974; ctx->thunkpos= yythunkpos974; if (!yymatchString(ctx, "ol")) goto l994; goto l974; l994:; ctx->pos= yypos974; ctx->thunkpos= yythunkpos974; if (!yymatchChar(ctx, 'p')) goto l995; goto l974; l995:; ctx->pos= yypos974; ctx->thunkpos= yythunkpos974; if (!yymatchString(ctx, "pre")) goto l996; goto l974; l996:; ctx->pos= yypos974; ctx->thunkpos= yythunkpos974; if (!yymatchString(ctx, "table")) goto l997; goto l974; l997:; ctx->pos= yypos974; ctx->thunkpos= yythunkpos974; if (!yymatchString(ctx, "ul")) goto l998; goto l974; l998:; ctx->pos= yypos974; ctx->thunkpos= yythunkpos974; if (!yymatchString(ctx, "dd")) goto l999; goto l974; l999:; ctx->pos= yypos974; ctx->thunkpos= yythunkpos974; if (!yymatchString(ctx, "dt")) goto l1000; goto l974; l1000:; ctx->pos= yypos974; ctx->thunkpos= yythunkpos974; if (!yymatchString(ctx, "frameset")) goto l1001; goto l974; l1001:; ctx->pos= yypos974; ctx->thunkpos= yythunkpos974; if (!yymatchString(ctx, "li")) goto l1002; goto l974; l1002:; ctx->pos= yypos974; ctx->thunkpos= yythunkpos974; if (!yymatchString(ctx, "tbody")) goto l1003; goto l974; l1003:; ctx->pos= yypos974; ctx->thunkpos= yythunkpos974; if (!yymatchString(ctx, "td")) goto l1004; goto l974; l1004:; ctx->pos= yypos974; ctx->thunkpos= yythunkpos974; if (!yymatchString(ctx, "tfoot")) goto l1005; goto l974; l1005:; ctx->pos= yypos974; ctx->thunkpos= yythunkpos974; if (!yymatchString(ctx, "th")) goto l1006; goto l974; l1006:; ctx->pos= yypos974; ctx->thunkpos= yythunkpos974; if (!yymatchString(ctx, "thead")) goto l1007; goto l974; l1007:; ctx->pos= yypos974; ctx->thunkpos= yythunkpos974; if (!yymatchString(ctx, "tr")) goto l1008; goto l974; l1008:; ctx->pos= yypos974; ctx->thunkpos= yythunkpos974; if (!yymatchString(ctx, "script")) goto l1009; goto l974; l1009:; ctx->pos= yypos974; ctx->thunkpos= yythunkpos974; if (!yymatchString(ctx, "ADDRESS")) goto l1010; goto l974; l1010:; ctx->pos= yypos974; ctx->thunkpos= yythunkpos974; if (!yymatchString(ctx, "BLOCKQUOTE")) goto l1011; goto l974; l1011:; ctx->pos= yypos974; ctx->thunkpos= yythunkpos974; if (!yymatchString(ctx, "CENTER")) goto l1012; goto l974; l1012:; ctx->pos= yypos974; ctx->thunkpos= yythunkpos974; if (!yymatchString(ctx, "DIR")) goto l1013; goto l974; l1013:; ctx->pos= yypos974; ctx->thunkpos= yythunkpos974; if (!yymatchString(ctx, "DIV")) goto l1014; goto l974; l1014:; ctx->pos= yypos974; ctx->thunkpos= yythunkpos974; if (!yymatchString(ctx, "DL")) goto l1015; goto l974; l1015:; ctx->pos= yypos974; ctx->thunkpos= yythunkpos974; if (!yymatchString(ctx, "FIELDSET")) goto l1016; goto l974; l1016:; ctx->pos= yypos974; ctx->thunkpos= yythunkpos974; if (!yymatchString(ctx, "FORM")) goto l1017; goto l974; l1017:; ctx->pos= yypos974; ctx->thunkpos= yythunkpos974; if (!yymatchString(ctx, "H1")) goto l1018; goto l974; l1018:; ctx->pos= yypos974; ctx->thunkpos= yythunkpos974; if (!yymatchString(ctx, "H2")) goto l1019; goto l974; l1019:; ctx->pos= yypos974; ctx->thunkpos= yythunkpos974; if (!yymatchString(ctx, "H3")) goto l1020; goto l974; l1020:; ctx->pos= yypos974; ctx->thunkpos= yythunkpos974; if (!yymatchString(ctx, "H4")) goto l1021; goto l974; l1021:; ctx->pos= yypos974; ctx->thunkpos= yythunkpos974; if (!yymatchString(ctx, "H5")) goto l1022; goto l974; l1022:; ctx->pos= yypos974; ctx->thunkpos= yythunkpos974; if (!yymatchString(ctx, "H6")) goto l1023; goto l974; l1023:; ctx->pos= yypos974; ctx->thunkpos= yythunkpos974; if (!yymatchString(ctx, "HR")) goto l1024; goto l974; l1024:; ctx->pos= yypos974; ctx->thunkpos= yythunkpos974; if (!yymatchString(ctx, "ISINDEX")) goto l1025; goto l974; l1025:; ctx->pos= yypos974; ctx->thunkpos= yythunkpos974; if (!yymatchString(ctx, "MENU")) goto l1026; goto l974; l1026:; ctx->pos= yypos974; ctx->thunkpos= yythunkpos974; if (!yymatchString(ctx, "NOFRAMES")) goto l1027; goto l974; l1027:; ctx->pos= yypos974; ctx->thunkpos= yythunkpos974; if (!yymatchString(ctx, "NOSCRIPT")) goto l1028; goto l974; l1028:; ctx->pos= yypos974; ctx->thunkpos= yythunkpos974; if (!yymatchString(ctx, "OL")) goto l1029; goto l974; l1029:; ctx->pos= yypos974; ctx->thunkpos= yythunkpos974; if (!yymatchChar(ctx, 'P')) goto l1030; goto l974; l1030:; ctx->pos= yypos974; ctx->thunkpos= yythunkpos974; if (!yymatchString(ctx, "PRE")) goto l1031; goto l974; l1031:; ctx->pos= yypos974; ctx->thunkpos= yythunkpos974; if (!yymatchString(ctx, "TABLE")) goto l1032; goto l974; l1032:; ctx->pos= yypos974; ctx->thunkpos= yythunkpos974; if (!yymatchString(ctx, "UL")) goto l1033; goto l974; l1033:; ctx->pos= yypos974; ctx->thunkpos= yythunkpos974; if (!yymatchString(ctx, "DD")) goto l1034; goto l974; l1034:; ctx->pos= yypos974; ctx->thunkpos= yythunkpos974; if (!yymatchString(ctx, "DT")) goto l1035; goto l974; l1035:; ctx->pos= yypos974; ctx->thunkpos= yythunkpos974; if (!yymatchString(ctx, "FRAMESET")) goto l1036; goto l974; l1036:; ctx->pos= yypos974; ctx->thunkpos= yythunkpos974; if (!yymatchString(ctx, "LI")) goto l1037; goto l974; l1037:; ctx->pos= yypos974; ctx->thunkpos= yythunkpos974; if (!yymatchString(ctx, "TBODY")) goto l1038; goto l974; l1038:; ctx->pos= yypos974; ctx->thunkpos= yythunkpos974; if (!yymatchString(ctx, "TD")) goto l1039; goto l974; l1039:; ctx->pos= yypos974; ctx->thunkpos= yythunkpos974; if (!yymatchString(ctx, "TFOOT")) goto l1040; goto l974; l1040:; ctx->pos= yypos974; ctx->thunkpos= yythunkpos974; if (!yymatchString(ctx, "TH")) goto l1041; goto l974; l1041:; ctx->pos= yypos974; ctx->thunkpos= yythunkpos974; if (!yymatchString(ctx, "THEAD")) goto l1042; goto l974; l1042:; ctx->pos= yypos974; ctx->thunkpos= yythunkpos974; if (!yymatchString(ctx, "TR")) goto l1043; goto l974; l1043:; ctx->pos= yypos974; ctx->thunkpos= yythunkpos974; if (!yymatchString(ctx, "SCRIPT")) goto l973; } l974:; yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockType", ctx->buf+ctx->pos)); return 1; l973:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockType", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_HtmlBlockSelfClosing(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "HtmlBlockSelfClosing")); if (!yymatchChar(ctx, '<')) goto l1044; if (!yy_Spnl(ctx)) goto l1044; if (!yy_HtmlBlockType(ctx)) goto l1044; if (!yy_Spnl(ctx)) goto l1044; l1045:; { int yypos1046= ctx->pos, yythunkpos1046= ctx->thunkpos; if (!yy_HtmlAttribute(ctx)) goto l1046; goto l1045; l1046:; ctx->pos= yypos1046; ctx->thunkpos= yythunkpos1046; } if (!yymatchChar(ctx, '/')) goto l1044; if (!yy_Spnl(ctx)) goto l1044; if (!yymatchChar(ctx, '>')) goto l1044; yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockSelfClosing", ctx->buf+ctx->pos)); return 1; l1044:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockSelfClosing", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_HtmlComment(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "HtmlComment")); if (!yymatchString(ctx, "")) goto l1050; goto l1049; l1050:; ctx->pos= yypos1050; ctx->thunkpos= yythunkpos1050; } if (!yymatchDot(ctx)) goto l1049; goto l1048; l1049:; ctx->pos= yypos1049; ctx->thunkpos= yythunkpos1049; } if (!yymatchString(ctx, "-->")) goto l1047; yyprintf((stderr, " ok %s @ %s\n", "HtmlComment", ctx->buf+ctx->pos)); return 1; l1047:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "HtmlComment", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_MarkdownHtmlTagOpen(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyDo(ctx, yyPush, 1, 0); yyprintf((stderr, "%s\n", "MarkdownHtmlTagOpen")); if (!yy_StartList(ctx)) goto l1051; yyDo(ctx, yySet, -1, 0); if (!yymatchChar(ctx, '<')) goto l1051; yyDo(ctx, yy_1_MarkdownHtmlTagOpen, ctx->begin, ctx->end); if (!yy_Spnl(ctx)) goto l1051; yyText(ctx, ctx->begin, ctx->end); if (!(YY_BEGIN)) goto l1051; if (!yy_HtmlBlockType(ctx)) goto l1051; yyText(ctx, ctx->begin, ctx->end); if (!(YY_END)) goto l1051; yyDo(ctx, yy_2_MarkdownHtmlTagOpen, ctx->begin, ctx->end); if (!yy_Spnl(ctx)) goto l1051; l1052:; { int yypos1053= ctx->pos, yythunkpos1053= ctx->thunkpos; { int yypos1054= ctx->pos, yythunkpos1054= ctx->thunkpos; if (!yy_MarkdownHtmlAttribute(ctx)) goto l1054; goto l1053; l1054:; ctx->pos= yypos1054; ctx->thunkpos= yythunkpos1054; } yyText(ctx, ctx->begin, ctx->end); if (!(YY_BEGIN)) goto l1053; if (!yy_HtmlAttribute(ctx)) goto l1053; yyText(ctx, ctx->begin, ctx->end); if (!(YY_END)) goto l1053; yyDo(ctx, yy_3_MarkdownHtmlTagOpen, ctx->begin, ctx->end); goto l1052; l1053:; ctx->pos= yypos1053; ctx->thunkpos= yythunkpos1053; } if (!yy_MarkdownHtmlAttribute(ctx)) goto l1051; l1055:; { int yypos1056= ctx->pos, yythunkpos1056= ctx->thunkpos; yyText(ctx, ctx->begin, ctx->end); if (!(YY_BEGIN)) goto l1056; if (!yy_HtmlAttribute(ctx)) goto l1056; yyText(ctx, ctx->begin, ctx->end); if (!(YY_END)) goto l1056; yyDo(ctx, yy_4_MarkdownHtmlTagOpen, ctx->begin, ctx->end); goto l1055; l1056:; ctx->pos= yypos1056; ctx->thunkpos= yythunkpos1056; } if (!yymatchChar(ctx, '>')) goto l1051; yyDo(ctx, yy_5_MarkdownHtmlTagOpen, ctx->begin, ctx->end); yyDo(ctx, yy_6_MarkdownHtmlTagOpen, ctx->begin, ctx->end); yyprintf((stderr, " ok %s @ %s\n", "MarkdownHtmlTagOpen", ctx->buf+ctx->pos)); yyDo(ctx, yyPop, 1, 0); return 1; l1051:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "MarkdownHtmlTagOpen", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_HtmlBlockInTags(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "HtmlBlockInTags")); { int yypos1058= ctx->pos, yythunkpos1058= ctx->thunkpos; if (!yy_HtmlBlockAddress(ctx)) goto l1059; goto l1058; l1059:; ctx->pos= yypos1058; ctx->thunkpos= yythunkpos1058; if (!yy_HtmlBlockArticle(ctx)) goto l1060; goto l1058; l1060:; ctx->pos= yypos1058; ctx->thunkpos= yythunkpos1058; if (!yy_HtmlBlockAside(ctx)) goto l1061; goto l1058; l1061:; ctx->pos= yypos1058; ctx->thunkpos= yythunkpos1058; if (!yy_HtmlBlockCanvas(ctx)) goto l1062; goto l1058; l1062:; ctx->pos= yypos1058; ctx->thunkpos= yythunkpos1058; if (!yy_HtmlBlockBlockquote(ctx)) goto l1063; goto l1058; l1063:; ctx->pos= yypos1058; ctx->thunkpos= yythunkpos1058; if (!yy_HtmlBlockCenter(ctx)) goto l1064; goto l1058; l1064:; ctx->pos= yypos1058; ctx->thunkpos= yythunkpos1058; if (!yy_HtmlBlockDir(ctx)) goto l1065; goto l1058; l1065:; ctx->pos= yypos1058; ctx->thunkpos= yythunkpos1058; if (!yy_HtmlBlockDiv(ctx)) goto l1066; goto l1058; l1066:; ctx->pos= yypos1058; ctx->thunkpos= yythunkpos1058; if (!yy_HtmlBlockDl(ctx)) goto l1067; goto l1058; l1067:; ctx->pos= yypos1058; ctx->thunkpos= yythunkpos1058; if (!yy_HtmlBlockFieldset(ctx)) goto l1068; goto l1058; l1068:; ctx->pos= yypos1058; ctx->thunkpos= yythunkpos1058; if (!yy_HtmlBlockFigure(ctx)) goto l1069; goto l1058; l1069:; ctx->pos= yypos1058; ctx->thunkpos= yythunkpos1058; if (!yy_HtmlBlockFooter(ctx)) goto l1070; goto l1058; l1070:; ctx->pos= yypos1058; ctx->thunkpos= yythunkpos1058; if (!yy_HtmlBlockForm(ctx)) goto l1071; goto l1058; l1071:; ctx->pos= yypos1058; ctx->thunkpos= yythunkpos1058; if (!yy_HtmlBlockHeader(ctx)) goto l1072; goto l1058; l1072:; ctx->pos= yypos1058; ctx->thunkpos= yythunkpos1058; if (!yy_HtmlBlockHgroup(ctx)) goto l1073; goto l1058; l1073:; ctx->pos= yypos1058; ctx->thunkpos= yythunkpos1058; if (!yy_HtmlBlockH1(ctx)) goto l1074; goto l1058; l1074:; ctx->pos= yypos1058; ctx->thunkpos= yythunkpos1058; if (!yy_HtmlBlockH2(ctx)) goto l1075; goto l1058; l1075:; ctx->pos= yypos1058; ctx->thunkpos= yythunkpos1058; if (!yy_HtmlBlockH3(ctx)) goto l1076; goto l1058; l1076:; ctx->pos= yypos1058; ctx->thunkpos= yythunkpos1058; if (!yy_HtmlBlockH4(ctx)) goto l1077; goto l1058; l1077:; ctx->pos= yypos1058; ctx->thunkpos= yythunkpos1058; if (!yy_HtmlBlockH5(ctx)) goto l1078; goto l1058; l1078:; ctx->pos= yypos1058; ctx->thunkpos= yythunkpos1058; if (!yy_HtmlBlockH6(ctx)) goto l1079; goto l1058; l1079:; ctx->pos= yypos1058; ctx->thunkpos= yythunkpos1058; if (!yy_HtmlBlockMenu(ctx)) goto l1080; goto l1058; l1080:; ctx->pos= yypos1058; ctx->thunkpos= yythunkpos1058; if (!yy_HtmlBlockNoframes(ctx)) goto l1081; goto l1058; l1081:; ctx->pos= yypos1058; ctx->thunkpos= yythunkpos1058; if (!yy_HtmlBlockNoscript(ctx)) goto l1082; goto l1058; l1082:; ctx->pos= yypos1058; ctx->thunkpos= yythunkpos1058; if (!yy_HtmlBlockOl(ctx)) goto l1083; goto l1058; l1083:; ctx->pos= yypos1058; ctx->thunkpos= yythunkpos1058; if (!yy_HtmlBlockP(ctx)) goto l1084; goto l1058; l1084:; ctx->pos= yypos1058; ctx->thunkpos= yythunkpos1058; if (!yy_HtmlBlockPre(ctx)) goto l1085; goto l1058; l1085:; ctx->pos= yypos1058; ctx->thunkpos= yythunkpos1058; if (!yy_HtmlBlockProgress(ctx)) goto l1086; goto l1058; l1086:; ctx->pos= yypos1058; ctx->thunkpos= yythunkpos1058; if (!yy_HtmlBlockSection(ctx)) goto l1087; goto l1058; l1087:; ctx->pos= yypos1058; ctx->thunkpos= yythunkpos1058; if (!yy_HtmlBlockTable(ctx)) goto l1088; goto l1058; l1088:; ctx->pos= yypos1058; ctx->thunkpos= yythunkpos1058; if (!yy_HtmlBlockUl(ctx)) goto l1089; goto l1058; l1089:; ctx->pos= yypos1058; ctx->thunkpos= yythunkpos1058; if (!yy_HtmlBlockVideo(ctx)) goto l1090; goto l1058; l1090:; ctx->pos= yypos1058; ctx->thunkpos= yythunkpos1058; if (!yy_HtmlBlockDd(ctx)) goto l1091; goto l1058; l1091:; ctx->pos= yypos1058; ctx->thunkpos= yythunkpos1058; if (!yy_HtmlBlockDt(ctx)) goto l1092; goto l1058; l1092:; ctx->pos= yypos1058; ctx->thunkpos= yythunkpos1058; if (!yy_HtmlBlockFrameset(ctx)) goto l1093; goto l1058; l1093:; ctx->pos= yypos1058; ctx->thunkpos= yythunkpos1058; if (!yy_HtmlBlockLi(ctx)) goto l1094; goto l1058; l1094:; ctx->pos= yypos1058; ctx->thunkpos= yythunkpos1058; if (!yy_HtmlBlockTbody(ctx)) goto l1095; goto l1058; l1095:; ctx->pos= yypos1058; ctx->thunkpos= yythunkpos1058; if (!yy_HtmlBlockTd(ctx)) goto l1096; goto l1058; l1096:; ctx->pos= yypos1058; ctx->thunkpos= yythunkpos1058; if (!yy_HtmlBlockTfoot(ctx)) goto l1097; goto l1058; l1097:; ctx->pos= yypos1058; ctx->thunkpos= yythunkpos1058; if (!yy_HtmlBlockTh(ctx)) goto l1098; goto l1058; l1098:; ctx->pos= yypos1058; ctx->thunkpos= yythunkpos1058; if (!yy_HtmlBlockThead(ctx)) goto l1099; goto l1058; l1099:; ctx->pos= yypos1058; ctx->thunkpos= yythunkpos1058; if (!yy_HtmlBlockTr(ctx)) goto l1100; goto l1058; l1100:; ctx->pos= yypos1058; ctx->thunkpos= yythunkpos1058; if (!yy_HtmlBlockScript(ctx)) goto l1057; } l1058:; yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockInTags", ctx->buf+ctx->pos)); return 1; l1057:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockInTags", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_HtmlBlockScript(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "HtmlBlockScript")); if (!yy_HtmlBlockOpenScript(ctx)) goto l1101; l1102:; { int yypos1103= ctx->pos, yythunkpos1103= ctx->thunkpos; { int yypos1104= ctx->pos, yythunkpos1104= ctx->thunkpos; if (!yy_HtmlBlockCloseScript(ctx)) goto l1104; goto l1103; l1104:; ctx->pos= yypos1104; ctx->thunkpos= yythunkpos1104; } if (!yymatchDot(ctx)) goto l1103; goto l1102; l1103:; ctx->pos= yypos1103; ctx->thunkpos= yythunkpos1103; } if (!yy_HtmlBlockCloseScript(ctx)) goto l1101; yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockScript", ctx->buf+ctx->pos)); return 1; l1101:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockScript", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_HtmlBlockCloseScript(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "HtmlBlockCloseScript")); if (!yymatchChar(ctx, '<')) goto l1105; if (!yy_Spnl(ctx)) goto l1105; if (!yymatchChar(ctx, '/')) goto l1105; { int yypos1106= ctx->pos, yythunkpos1106= ctx->thunkpos; if (!yymatchString(ctx, "script")) goto l1107; goto l1106; l1107:; ctx->pos= yypos1106; ctx->thunkpos= yythunkpos1106; if (!yymatchString(ctx, "SCRIPT")) goto l1105; } l1106:; if (!yy_Spnl(ctx)) goto l1105; if (!yymatchChar(ctx, '>')) goto l1105; yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockCloseScript", ctx->buf+ctx->pos)); return 1; l1105:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockCloseScript", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_HtmlBlockOpenScript(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "HtmlBlockOpenScript")); if (!yymatchChar(ctx, '<')) goto l1108; if (!yy_Spnl(ctx)) goto l1108; { int yypos1109= ctx->pos, yythunkpos1109= ctx->thunkpos; if (!yymatchString(ctx, "script")) goto l1110; goto l1109; l1110:; ctx->pos= yypos1109; ctx->thunkpos= yythunkpos1109; if (!yymatchString(ctx, "SCRIPT")) goto l1108; } l1109:; if (!yy_Spnl(ctx)) goto l1108; l1111:; { int yypos1112= ctx->pos, yythunkpos1112= ctx->thunkpos; if (!yy_HtmlAttribute(ctx)) goto l1112; goto l1111; l1112:; ctx->pos= yypos1112; ctx->thunkpos= yythunkpos1112; } if (!yymatchChar(ctx, '>')) goto l1108; yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockOpenScript", ctx->buf+ctx->pos)); return 1; l1108:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockOpenScript", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_HtmlBlockTr(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "HtmlBlockTr")); if (!yy_HtmlBlockOpenTr(ctx)) goto l1113; l1114:; { int yypos1115= ctx->pos, yythunkpos1115= ctx->thunkpos; { int yypos1116= ctx->pos, yythunkpos1116= ctx->thunkpos; if (!yy_HtmlBlockTr(ctx)) goto l1117; goto l1116; l1117:; ctx->pos= yypos1116; ctx->thunkpos= yythunkpos1116; { int yypos1118= ctx->pos, yythunkpos1118= ctx->thunkpos; if (!yy_HtmlBlockCloseTr(ctx)) goto l1118; goto l1115; l1118:; ctx->pos= yypos1118; ctx->thunkpos= yythunkpos1118; } if (!yymatchDot(ctx)) goto l1115; } l1116:; goto l1114; l1115:; ctx->pos= yypos1115; ctx->thunkpos= yythunkpos1115; } if (!yy_HtmlBlockCloseTr(ctx)) goto l1113; yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockTr", ctx->buf+ctx->pos)); return 1; l1113:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockTr", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_HtmlBlockCloseTr(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "HtmlBlockCloseTr")); if (!yymatchChar(ctx, '<')) goto l1119; if (!yy_Spnl(ctx)) goto l1119; if (!yymatchChar(ctx, '/')) goto l1119; { int yypos1120= ctx->pos, yythunkpos1120= ctx->thunkpos; if (!yymatchString(ctx, "tr")) goto l1121; goto l1120; l1121:; ctx->pos= yypos1120; ctx->thunkpos= yythunkpos1120; if (!yymatchString(ctx, "TR")) goto l1119; } l1120:; if (!yy_Spnl(ctx)) goto l1119; if (!yymatchChar(ctx, '>')) goto l1119; yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockCloseTr", ctx->buf+ctx->pos)); return 1; l1119:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockCloseTr", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_HtmlBlockOpenTr(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "HtmlBlockOpenTr")); if (!yymatchChar(ctx, '<')) goto l1122; if (!yy_Spnl(ctx)) goto l1122; { int yypos1123= ctx->pos, yythunkpos1123= ctx->thunkpos; if (!yymatchString(ctx, "tr")) goto l1124; goto l1123; l1124:; ctx->pos= yypos1123; ctx->thunkpos= yythunkpos1123; if (!yymatchString(ctx, "TR")) goto l1122; } l1123:; if (!yy_Spnl(ctx)) goto l1122; l1125:; { int yypos1126= ctx->pos, yythunkpos1126= ctx->thunkpos; if (!yy_HtmlAttribute(ctx)) goto l1126; goto l1125; l1126:; ctx->pos= yypos1126; ctx->thunkpos= yythunkpos1126; } if (!yymatchChar(ctx, '>')) goto l1122; yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockOpenTr", ctx->buf+ctx->pos)); return 1; l1122:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockOpenTr", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_HtmlBlockThead(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "HtmlBlockThead")); if (!yy_HtmlBlockOpenThead(ctx)) goto l1127; l1128:; { int yypos1129= ctx->pos, yythunkpos1129= ctx->thunkpos; { int yypos1130= ctx->pos, yythunkpos1130= ctx->thunkpos; if (!yy_HtmlBlockThead(ctx)) goto l1131; goto l1130; l1131:; ctx->pos= yypos1130; ctx->thunkpos= yythunkpos1130; { int yypos1132= ctx->pos, yythunkpos1132= ctx->thunkpos; if (!yy_HtmlBlockCloseThead(ctx)) goto l1132; goto l1129; l1132:; ctx->pos= yypos1132; ctx->thunkpos= yythunkpos1132; } if (!yymatchDot(ctx)) goto l1129; } l1130:; goto l1128; l1129:; ctx->pos= yypos1129; ctx->thunkpos= yythunkpos1129; } if (!yy_HtmlBlockCloseThead(ctx)) goto l1127; yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockThead", ctx->buf+ctx->pos)); return 1; l1127:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockThead", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_HtmlBlockCloseThead(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "HtmlBlockCloseThead")); if (!yymatchChar(ctx, '<')) goto l1133; if (!yy_Spnl(ctx)) goto l1133; if (!yymatchChar(ctx, '/')) goto l1133; { int yypos1134= ctx->pos, yythunkpos1134= ctx->thunkpos; if (!yymatchString(ctx, "thead")) goto l1135; goto l1134; l1135:; ctx->pos= yypos1134; ctx->thunkpos= yythunkpos1134; if (!yymatchString(ctx, "THEAD")) goto l1133; } l1134:; if (!yy_Spnl(ctx)) goto l1133; if (!yymatchChar(ctx, '>')) goto l1133; yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockCloseThead", ctx->buf+ctx->pos)); return 1; l1133:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockCloseThead", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_HtmlBlockOpenThead(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "HtmlBlockOpenThead")); if (!yymatchChar(ctx, '<')) goto l1136; if (!yy_Spnl(ctx)) goto l1136; { int yypos1137= ctx->pos, yythunkpos1137= ctx->thunkpos; if (!yymatchString(ctx, "thead")) goto l1138; goto l1137; l1138:; ctx->pos= yypos1137; ctx->thunkpos= yythunkpos1137; if (!yymatchString(ctx, "THEAD")) goto l1136; } l1137:; if (!yy_Spnl(ctx)) goto l1136; l1139:; { int yypos1140= ctx->pos, yythunkpos1140= ctx->thunkpos; if (!yy_HtmlAttribute(ctx)) goto l1140; goto l1139; l1140:; ctx->pos= yypos1140; ctx->thunkpos= yythunkpos1140; } if (!yymatchChar(ctx, '>')) goto l1136; yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockOpenThead", ctx->buf+ctx->pos)); return 1; l1136:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockOpenThead", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_HtmlBlockTh(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "HtmlBlockTh")); if (!yy_HtmlBlockOpenTh(ctx)) goto l1141; l1142:; { int yypos1143= ctx->pos, yythunkpos1143= ctx->thunkpos; { int yypos1144= ctx->pos, yythunkpos1144= ctx->thunkpos; if (!yy_HtmlBlockTh(ctx)) goto l1145; goto l1144; l1145:; ctx->pos= yypos1144; ctx->thunkpos= yythunkpos1144; { int yypos1146= ctx->pos, yythunkpos1146= ctx->thunkpos; if (!yy_HtmlBlockCloseTh(ctx)) goto l1146; goto l1143; l1146:; ctx->pos= yypos1146; ctx->thunkpos= yythunkpos1146; } if (!yymatchDot(ctx)) goto l1143; } l1144:; goto l1142; l1143:; ctx->pos= yypos1143; ctx->thunkpos= yythunkpos1143; } if (!yy_HtmlBlockCloseTh(ctx)) goto l1141; yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockTh", ctx->buf+ctx->pos)); return 1; l1141:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockTh", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_HtmlBlockCloseTh(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "HtmlBlockCloseTh")); if (!yymatchChar(ctx, '<')) goto l1147; if (!yy_Spnl(ctx)) goto l1147; if (!yymatchChar(ctx, '/')) goto l1147; { int yypos1148= ctx->pos, yythunkpos1148= ctx->thunkpos; if (!yymatchString(ctx, "th")) goto l1149; goto l1148; l1149:; ctx->pos= yypos1148; ctx->thunkpos= yythunkpos1148; if (!yymatchString(ctx, "TH")) goto l1147; } l1148:; if (!yy_Spnl(ctx)) goto l1147; if (!yymatchChar(ctx, '>')) goto l1147; yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockCloseTh", ctx->buf+ctx->pos)); return 1; l1147:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockCloseTh", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_HtmlBlockOpenTh(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "HtmlBlockOpenTh")); if (!yymatchChar(ctx, '<')) goto l1150; if (!yy_Spnl(ctx)) goto l1150; { int yypos1151= ctx->pos, yythunkpos1151= ctx->thunkpos; if (!yymatchString(ctx, "th")) goto l1152; goto l1151; l1152:; ctx->pos= yypos1151; ctx->thunkpos= yythunkpos1151; if (!yymatchString(ctx, "TH")) goto l1150; } l1151:; if (!yy_Spnl(ctx)) goto l1150; l1153:; { int yypos1154= ctx->pos, yythunkpos1154= ctx->thunkpos; if (!yy_HtmlAttribute(ctx)) goto l1154; goto l1153; l1154:; ctx->pos= yypos1154; ctx->thunkpos= yythunkpos1154; } if (!yymatchChar(ctx, '>')) goto l1150; yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockOpenTh", ctx->buf+ctx->pos)); return 1; l1150:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockOpenTh", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_HtmlBlockTfoot(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "HtmlBlockTfoot")); if (!yy_HtmlBlockOpenTfoot(ctx)) goto l1155; l1156:; { int yypos1157= ctx->pos, yythunkpos1157= ctx->thunkpos; { int yypos1158= ctx->pos, yythunkpos1158= ctx->thunkpos; if (!yy_HtmlBlockTfoot(ctx)) goto l1159; goto l1158; l1159:; ctx->pos= yypos1158; ctx->thunkpos= yythunkpos1158; { int yypos1160= ctx->pos, yythunkpos1160= ctx->thunkpos; if (!yy_HtmlBlockCloseTfoot(ctx)) goto l1160; goto l1157; l1160:; ctx->pos= yypos1160; ctx->thunkpos= yythunkpos1160; } if (!yymatchDot(ctx)) goto l1157; } l1158:; goto l1156; l1157:; ctx->pos= yypos1157; ctx->thunkpos= yythunkpos1157; } if (!yy_HtmlBlockCloseTfoot(ctx)) goto l1155; yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockTfoot", ctx->buf+ctx->pos)); return 1; l1155:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockTfoot", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_HtmlBlockCloseTfoot(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "HtmlBlockCloseTfoot")); if (!yymatchChar(ctx, '<')) goto l1161; if (!yy_Spnl(ctx)) goto l1161; if (!yymatchChar(ctx, '/')) goto l1161; { int yypos1162= ctx->pos, yythunkpos1162= ctx->thunkpos; if (!yymatchString(ctx, "tfoot")) goto l1163; goto l1162; l1163:; ctx->pos= yypos1162; ctx->thunkpos= yythunkpos1162; if (!yymatchString(ctx, "TFOOT")) goto l1161; } l1162:; if (!yy_Spnl(ctx)) goto l1161; if (!yymatchChar(ctx, '>')) goto l1161; yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockCloseTfoot", ctx->buf+ctx->pos)); return 1; l1161:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockCloseTfoot", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_HtmlBlockOpenTfoot(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "HtmlBlockOpenTfoot")); if (!yymatchChar(ctx, '<')) goto l1164; if (!yy_Spnl(ctx)) goto l1164; { int yypos1165= ctx->pos, yythunkpos1165= ctx->thunkpos; if (!yymatchString(ctx, "tfoot")) goto l1166; goto l1165; l1166:; ctx->pos= yypos1165; ctx->thunkpos= yythunkpos1165; if (!yymatchString(ctx, "TFOOT")) goto l1164; } l1165:; if (!yy_Spnl(ctx)) goto l1164; l1167:; { int yypos1168= ctx->pos, yythunkpos1168= ctx->thunkpos; if (!yy_HtmlAttribute(ctx)) goto l1168; goto l1167; l1168:; ctx->pos= yypos1168; ctx->thunkpos= yythunkpos1168; } if (!yymatchChar(ctx, '>')) goto l1164; yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockOpenTfoot", ctx->buf+ctx->pos)); return 1; l1164:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockOpenTfoot", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_HtmlBlockTd(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "HtmlBlockTd")); if (!yy_HtmlBlockOpenTd(ctx)) goto l1169; l1170:; { int yypos1171= ctx->pos, yythunkpos1171= ctx->thunkpos; { int yypos1172= ctx->pos, yythunkpos1172= ctx->thunkpos; if (!yy_HtmlBlockTd(ctx)) goto l1173; goto l1172; l1173:; ctx->pos= yypos1172; ctx->thunkpos= yythunkpos1172; { int yypos1174= ctx->pos, yythunkpos1174= ctx->thunkpos; if (!yy_HtmlBlockCloseTd(ctx)) goto l1174; goto l1171; l1174:; ctx->pos= yypos1174; ctx->thunkpos= yythunkpos1174; } if (!yymatchDot(ctx)) goto l1171; } l1172:; goto l1170; l1171:; ctx->pos= yypos1171; ctx->thunkpos= yythunkpos1171; } if (!yy_HtmlBlockCloseTd(ctx)) goto l1169; yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockTd", ctx->buf+ctx->pos)); return 1; l1169:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockTd", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_HtmlBlockCloseTd(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "HtmlBlockCloseTd")); if (!yymatchChar(ctx, '<')) goto l1175; if (!yy_Spnl(ctx)) goto l1175; if (!yymatchChar(ctx, '/')) goto l1175; { int yypos1176= ctx->pos, yythunkpos1176= ctx->thunkpos; if (!yymatchString(ctx, "td")) goto l1177; goto l1176; l1177:; ctx->pos= yypos1176; ctx->thunkpos= yythunkpos1176; if (!yymatchString(ctx, "TD")) goto l1175; } l1176:; if (!yy_Spnl(ctx)) goto l1175; if (!yymatchChar(ctx, '>')) goto l1175; yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockCloseTd", ctx->buf+ctx->pos)); return 1; l1175:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockCloseTd", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_HtmlBlockOpenTd(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "HtmlBlockOpenTd")); if (!yymatchChar(ctx, '<')) goto l1178; if (!yy_Spnl(ctx)) goto l1178; { int yypos1179= ctx->pos, yythunkpos1179= ctx->thunkpos; if (!yymatchString(ctx, "td")) goto l1180; goto l1179; l1180:; ctx->pos= yypos1179; ctx->thunkpos= yythunkpos1179; if (!yymatchString(ctx, "TD")) goto l1178; } l1179:; if (!yy_Spnl(ctx)) goto l1178; l1181:; { int yypos1182= ctx->pos, yythunkpos1182= ctx->thunkpos; if (!yy_HtmlAttribute(ctx)) goto l1182; goto l1181; l1182:; ctx->pos= yypos1182; ctx->thunkpos= yythunkpos1182; } if (!yymatchChar(ctx, '>')) goto l1178; yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockOpenTd", ctx->buf+ctx->pos)); return 1; l1178:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockOpenTd", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_HtmlBlockTbody(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "HtmlBlockTbody")); if (!yy_HtmlBlockOpenTbody(ctx)) goto l1183; l1184:; { int yypos1185= ctx->pos, yythunkpos1185= ctx->thunkpos; { int yypos1186= ctx->pos, yythunkpos1186= ctx->thunkpos; if (!yy_HtmlBlockTbody(ctx)) goto l1187; goto l1186; l1187:; ctx->pos= yypos1186; ctx->thunkpos= yythunkpos1186; { int yypos1188= ctx->pos, yythunkpos1188= ctx->thunkpos; if (!yy_HtmlBlockCloseTbody(ctx)) goto l1188; goto l1185; l1188:; ctx->pos= yypos1188; ctx->thunkpos= yythunkpos1188; } if (!yymatchDot(ctx)) goto l1185; } l1186:; goto l1184; l1185:; ctx->pos= yypos1185; ctx->thunkpos= yythunkpos1185; } if (!yy_HtmlBlockCloseTbody(ctx)) goto l1183; yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockTbody", ctx->buf+ctx->pos)); return 1; l1183:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockTbody", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_HtmlBlockCloseTbody(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "HtmlBlockCloseTbody")); if (!yymatchChar(ctx, '<')) goto l1189; if (!yy_Spnl(ctx)) goto l1189; if (!yymatchChar(ctx, '/')) goto l1189; { int yypos1190= ctx->pos, yythunkpos1190= ctx->thunkpos; if (!yymatchString(ctx, "tbody")) goto l1191; goto l1190; l1191:; ctx->pos= yypos1190; ctx->thunkpos= yythunkpos1190; if (!yymatchString(ctx, "TBODY")) goto l1189; } l1190:; if (!yy_Spnl(ctx)) goto l1189; if (!yymatchChar(ctx, '>')) goto l1189; yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockCloseTbody", ctx->buf+ctx->pos)); return 1; l1189:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockCloseTbody", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_HtmlBlockOpenTbody(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "HtmlBlockOpenTbody")); if (!yymatchChar(ctx, '<')) goto l1192; if (!yy_Spnl(ctx)) goto l1192; { int yypos1193= ctx->pos, yythunkpos1193= ctx->thunkpos; if (!yymatchString(ctx, "tbody")) goto l1194; goto l1193; l1194:; ctx->pos= yypos1193; ctx->thunkpos= yythunkpos1193; if (!yymatchString(ctx, "TBODY")) goto l1192; } l1193:; if (!yy_Spnl(ctx)) goto l1192; l1195:; { int yypos1196= ctx->pos, yythunkpos1196= ctx->thunkpos; if (!yy_HtmlAttribute(ctx)) goto l1196; goto l1195; l1196:; ctx->pos= yypos1196; ctx->thunkpos= yythunkpos1196; } if (!yymatchChar(ctx, '>')) goto l1192; yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockOpenTbody", ctx->buf+ctx->pos)); return 1; l1192:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockOpenTbody", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_HtmlBlockLi(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "HtmlBlockLi")); if (!yy_HtmlBlockOpenLi(ctx)) goto l1197; l1198:; { int yypos1199= ctx->pos, yythunkpos1199= ctx->thunkpos; { int yypos1200= ctx->pos, yythunkpos1200= ctx->thunkpos; if (!yy_HtmlBlockLi(ctx)) goto l1201; goto l1200; l1201:; ctx->pos= yypos1200; ctx->thunkpos= yythunkpos1200; { int yypos1202= ctx->pos, yythunkpos1202= ctx->thunkpos; if (!yy_HtmlBlockCloseLi(ctx)) goto l1202; goto l1199; l1202:; ctx->pos= yypos1202; ctx->thunkpos= yythunkpos1202; } if (!yymatchDot(ctx)) goto l1199; } l1200:; goto l1198; l1199:; ctx->pos= yypos1199; ctx->thunkpos= yythunkpos1199; } if (!yy_HtmlBlockCloseLi(ctx)) goto l1197; yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockLi", ctx->buf+ctx->pos)); return 1; l1197:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockLi", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_HtmlBlockCloseLi(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "HtmlBlockCloseLi")); if (!yymatchChar(ctx, '<')) goto l1203; if (!yy_Spnl(ctx)) goto l1203; if (!yymatchChar(ctx, '/')) goto l1203; { int yypos1204= ctx->pos, yythunkpos1204= ctx->thunkpos; if (!yymatchString(ctx, "li")) goto l1205; goto l1204; l1205:; ctx->pos= yypos1204; ctx->thunkpos= yythunkpos1204; if (!yymatchString(ctx, "LI")) goto l1203; } l1204:; if (!yy_Spnl(ctx)) goto l1203; if (!yymatchChar(ctx, '>')) goto l1203; yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockCloseLi", ctx->buf+ctx->pos)); return 1; l1203:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockCloseLi", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_HtmlBlockOpenLi(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "HtmlBlockOpenLi")); if (!yymatchChar(ctx, '<')) goto l1206; if (!yy_Spnl(ctx)) goto l1206; { int yypos1207= ctx->pos, yythunkpos1207= ctx->thunkpos; if (!yymatchString(ctx, "li")) goto l1208; goto l1207; l1208:; ctx->pos= yypos1207; ctx->thunkpos= yythunkpos1207; if (!yymatchString(ctx, "LI")) goto l1206; } l1207:; if (!yy_Spnl(ctx)) goto l1206; l1209:; { int yypos1210= ctx->pos, yythunkpos1210= ctx->thunkpos; if (!yy_HtmlAttribute(ctx)) goto l1210; goto l1209; l1210:; ctx->pos= yypos1210; ctx->thunkpos= yythunkpos1210; } if (!yymatchChar(ctx, '>')) goto l1206; yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockOpenLi", ctx->buf+ctx->pos)); return 1; l1206:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockOpenLi", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_HtmlBlockFrameset(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "HtmlBlockFrameset")); if (!yy_HtmlBlockOpenFrameset(ctx)) goto l1211; l1212:; { int yypos1213= ctx->pos, yythunkpos1213= ctx->thunkpos; { int yypos1214= ctx->pos, yythunkpos1214= ctx->thunkpos; if (!yy_HtmlBlockFrameset(ctx)) goto l1215; goto l1214; l1215:; ctx->pos= yypos1214; ctx->thunkpos= yythunkpos1214; { int yypos1216= ctx->pos, yythunkpos1216= ctx->thunkpos; if (!yy_HtmlBlockCloseFrameset(ctx)) goto l1216; goto l1213; l1216:; ctx->pos= yypos1216; ctx->thunkpos= yythunkpos1216; } if (!yymatchDot(ctx)) goto l1213; } l1214:; goto l1212; l1213:; ctx->pos= yypos1213; ctx->thunkpos= yythunkpos1213; } if (!yy_HtmlBlockCloseFrameset(ctx)) goto l1211; yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockFrameset", ctx->buf+ctx->pos)); return 1; l1211:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockFrameset", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_HtmlBlockCloseFrameset(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "HtmlBlockCloseFrameset")); if (!yymatchChar(ctx, '<')) goto l1217; if (!yy_Spnl(ctx)) goto l1217; if (!yymatchChar(ctx, '/')) goto l1217; { int yypos1218= ctx->pos, yythunkpos1218= ctx->thunkpos; if (!yymatchString(ctx, "frameset")) goto l1219; goto l1218; l1219:; ctx->pos= yypos1218; ctx->thunkpos= yythunkpos1218; if (!yymatchString(ctx, "FRAMESET")) goto l1217; } l1218:; if (!yy_Spnl(ctx)) goto l1217; if (!yymatchChar(ctx, '>')) goto l1217; yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockCloseFrameset", ctx->buf+ctx->pos)); return 1; l1217:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockCloseFrameset", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_HtmlBlockOpenFrameset(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "HtmlBlockOpenFrameset")); if (!yymatchChar(ctx, '<')) goto l1220; if (!yy_Spnl(ctx)) goto l1220; { int yypos1221= ctx->pos, yythunkpos1221= ctx->thunkpos; if (!yymatchString(ctx, "frameset")) goto l1222; goto l1221; l1222:; ctx->pos= yypos1221; ctx->thunkpos= yythunkpos1221; if (!yymatchString(ctx, "FRAMESET")) goto l1220; } l1221:; if (!yy_Spnl(ctx)) goto l1220; l1223:; { int yypos1224= ctx->pos, yythunkpos1224= ctx->thunkpos; if (!yy_HtmlAttribute(ctx)) goto l1224; goto l1223; l1224:; ctx->pos= yypos1224; ctx->thunkpos= yythunkpos1224; } if (!yymatchChar(ctx, '>')) goto l1220; yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockOpenFrameset", ctx->buf+ctx->pos)); return 1; l1220:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockOpenFrameset", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_HtmlBlockDt(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "HtmlBlockDt")); if (!yy_HtmlBlockOpenDt(ctx)) goto l1225; l1226:; { int yypos1227= ctx->pos, yythunkpos1227= ctx->thunkpos; { int yypos1228= ctx->pos, yythunkpos1228= ctx->thunkpos; if (!yy_HtmlBlockDt(ctx)) goto l1229; goto l1228; l1229:; ctx->pos= yypos1228; ctx->thunkpos= yythunkpos1228; { int yypos1230= ctx->pos, yythunkpos1230= ctx->thunkpos; if (!yy_HtmlBlockCloseDt(ctx)) goto l1230; goto l1227; l1230:; ctx->pos= yypos1230; ctx->thunkpos= yythunkpos1230; } if (!yymatchDot(ctx)) goto l1227; } l1228:; goto l1226; l1227:; ctx->pos= yypos1227; ctx->thunkpos= yythunkpos1227; } if (!yy_HtmlBlockCloseDt(ctx)) goto l1225; yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockDt", ctx->buf+ctx->pos)); return 1; l1225:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockDt", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_HtmlBlockCloseDt(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "HtmlBlockCloseDt")); if (!yymatchChar(ctx, '<')) goto l1231; if (!yy_Spnl(ctx)) goto l1231; if (!yymatchChar(ctx, '/')) goto l1231; { int yypos1232= ctx->pos, yythunkpos1232= ctx->thunkpos; if (!yymatchString(ctx, "dt")) goto l1233; goto l1232; l1233:; ctx->pos= yypos1232; ctx->thunkpos= yythunkpos1232; if (!yymatchString(ctx, "DT")) goto l1231; } l1232:; if (!yy_Spnl(ctx)) goto l1231; if (!yymatchChar(ctx, '>')) goto l1231; yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockCloseDt", ctx->buf+ctx->pos)); return 1; l1231:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockCloseDt", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_HtmlBlockOpenDt(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "HtmlBlockOpenDt")); if (!yymatchChar(ctx, '<')) goto l1234; if (!yy_Spnl(ctx)) goto l1234; { int yypos1235= ctx->pos, yythunkpos1235= ctx->thunkpos; if (!yymatchString(ctx, "dt")) goto l1236; goto l1235; l1236:; ctx->pos= yypos1235; ctx->thunkpos= yythunkpos1235; if (!yymatchString(ctx, "DT")) goto l1234; } l1235:; if (!yy_Spnl(ctx)) goto l1234; l1237:; { int yypos1238= ctx->pos, yythunkpos1238= ctx->thunkpos; if (!yy_HtmlAttribute(ctx)) goto l1238; goto l1237; l1238:; ctx->pos= yypos1238; ctx->thunkpos= yythunkpos1238; } if (!yymatchChar(ctx, '>')) goto l1234; yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockOpenDt", ctx->buf+ctx->pos)); return 1; l1234:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockOpenDt", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_HtmlBlockDd(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "HtmlBlockDd")); if (!yy_HtmlBlockOpenDd(ctx)) goto l1239; l1240:; { int yypos1241= ctx->pos, yythunkpos1241= ctx->thunkpos; { int yypos1242= ctx->pos, yythunkpos1242= ctx->thunkpos; if (!yy_HtmlBlockDd(ctx)) goto l1243; goto l1242; l1243:; ctx->pos= yypos1242; ctx->thunkpos= yythunkpos1242; { int yypos1244= ctx->pos, yythunkpos1244= ctx->thunkpos; if (!yy_HtmlBlockCloseDd(ctx)) goto l1244; goto l1241; l1244:; ctx->pos= yypos1244; ctx->thunkpos= yythunkpos1244; } if (!yymatchDot(ctx)) goto l1241; } l1242:; goto l1240; l1241:; ctx->pos= yypos1241; ctx->thunkpos= yythunkpos1241; } if (!yy_HtmlBlockCloseDd(ctx)) goto l1239; yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockDd", ctx->buf+ctx->pos)); return 1; l1239:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockDd", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_HtmlBlockCloseDd(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "HtmlBlockCloseDd")); if (!yymatchChar(ctx, '<')) goto l1245; if (!yy_Spnl(ctx)) goto l1245; if (!yymatchChar(ctx, '/')) goto l1245; { int yypos1246= ctx->pos, yythunkpos1246= ctx->thunkpos; if (!yymatchString(ctx, "dd")) goto l1247; goto l1246; l1247:; ctx->pos= yypos1246; ctx->thunkpos= yythunkpos1246; if (!yymatchString(ctx, "DD")) goto l1245; } l1246:; if (!yy_Spnl(ctx)) goto l1245; if (!yymatchChar(ctx, '>')) goto l1245; yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockCloseDd", ctx->buf+ctx->pos)); return 1; l1245:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockCloseDd", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_HtmlBlockOpenDd(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "HtmlBlockOpenDd")); if (!yymatchChar(ctx, '<')) goto l1248; if (!yy_Spnl(ctx)) goto l1248; { int yypos1249= ctx->pos, yythunkpos1249= ctx->thunkpos; if (!yymatchString(ctx, "dd")) goto l1250; goto l1249; l1250:; ctx->pos= yypos1249; ctx->thunkpos= yythunkpos1249; if (!yymatchString(ctx, "DD")) goto l1248; } l1249:; if (!yy_Spnl(ctx)) goto l1248; l1251:; { int yypos1252= ctx->pos, yythunkpos1252= ctx->thunkpos; if (!yy_HtmlAttribute(ctx)) goto l1252; goto l1251; l1252:; ctx->pos= yypos1252; ctx->thunkpos= yythunkpos1252; } if (!yymatchChar(ctx, '>')) goto l1248; yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockOpenDd", ctx->buf+ctx->pos)); return 1; l1248:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockOpenDd", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_HtmlBlockVideo(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "HtmlBlockVideo")); if (!yy_HtmlBlockOpenVideo(ctx)) goto l1253; l1254:; { int yypos1255= ctx->pos, yythunkpos1255= ctx->thunkpos; { int yypos1256= ctx->pos, yythunkpos1256= ctx->thunkpos; if (!yy_HtmlBlockVideo(ctx)) goto l1257; goto l1256; l1257:; ctx->pos= yypos1256; ctx->thunkpos= yythunkpos1256; { int yypos1258= ctx->pos, yythunkpos1258= ctx->thunkpos; if (!yy_HtmlBlockCloseVideo(ctx)) goto l1258; goto l1255; l1258:; ctx->pos= yypos1258; ctx->thunkpos= yythunkpos1258; } if (!yymatchDot(ctx)) goto l1255; } l1256:; goto l1254; l1255:; ctx->pos= yypos1255; ctx->thunkpos= yythunkpos1255; } if (!yy_HtmlBlockCloseVideo(ctx)) goto l1253; yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockVideo", ctx->buf+ctx->pos)); return 1; l1253:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockVideo", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_HtmlBlockCloseVideo(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "HtmlBlockCloseVideo")); if (!yymatchChar(ctx, '<')) goto l1259; if (!yy_Spnl(ctx)) goto l1259; if (!yymatchChar(ctx, '/')) goto l1259; { int yypos1260= ctx->pos, yythunkpos1260= ctx->thunkpos; if (!yymatchString(ctx, "video")) goto l1261; goto l1260; l1261:; ctx->pos= yypos1260; ctx->thunkpos= yythunkpos1260; if (!yymatchString(ctx, "VIDEO")) goto l1259; } l1260:; if (!yy_Spnl(ctx)) goto l1259; if (!yymatchChar(ctx, '>')) goto l1259; yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockCloseVideo", ctx->buf+ctx->pos)); return 1; l1259:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockCloseVideo", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_HtmlBlockOpenVideo(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "HtmlBlockOpenVideo")); if (!yymatchChar(ctx, '<')) goto l1262; if (!yy_Spnl(ctx)) goto l1262; { int yypos1263= ctx->pos, yythunkpos1263= ctx->thunkpos; if (!yymatchString(ctx, "video")) goto l1264; goto l1263; l1264:; ctx->pos= yypos1263; ctx->thunkpos= yythunkpos1263; if (!yymatchString(ctx, "VIDEO")) goto l1262; } l1263:; if (!yy_Spnl(ctx)) goto l1262; l1265:; { int yypos1266= ctx->pos, yythunkpos1266= ctx->thunkpos; if (!yy_HtmlAttribute(ctx)) goto l1266; goto l1265; l1266:; ctx->pos= yypos1266; ctx->thunkpos= yythunkpos1266; } if (!yymatchChar(ctx, '>')) goto l1262; yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockOpenVideo", ctx->buf+ctx->pos)); return 1; l1262:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockOpenVideo", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_HtmlBlockUl(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "HtmlBlockUl")); if (!yy_HtmlBlockOpenUl(ctx)) goto l1267; l1268:; { int yypos1269= ctx->pos, yythunkpos1269= ctx->thunkpos; { int yypos1270= ctx->pos, yythunkpos1270= ctx->thunkpos; if (!yy_HtmlBlockUl(ctx)) goto l1271; goto l1270; l1271:; ctx->pos= yypos1270; ctx->thunkpos= yythunkpos1270; { int yypos1272= ctx->pos, yythunkpos1272= ctx->thunkpos; if (!yy_HtmlBlockCloseUl(ctx)) goto l1272; goto l1269; l1272:; ctx->pos= yypos1272; ctx->thunkpos= yythunkpos1272; } if (!yymatchDot(ctx)) goto l1269; } l1270:; goto l1268; l1269:; ctx->pos= yypos1269; ctx->thunkpos= yythunkpos1269; } if (!yy_HtmlBlockCloseUl(ctx)) goto l1267; yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockUl", ctx->buf+ctx->pos)); return 1; l1267:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockUl", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_HtmlBlockCloseUl(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "HtmlBlockCloseUl")); if (!yymatchChar(ctx, '<')) goto l1273; if (!yy_Spnl(ctx)) goto l1273; if (!yymatchChar(ctx, '/')) goto l1273; { int yypos1274= ctx->pos, yythunkpos1274= ctx->thunkpos; if (!yymatchString(ctx, "ul")) goto l1275; goto l1274; l1275:; ctx->pos= yypos1274; ctx->thunkpos= yythunkpos1274; if (!yymatchString(ctx, "UL")) goto l1273; } l1274:; if (!yy_Spnl(ctx)) goto l1273; if (!yymatchChar(ctx, '>')) goto l1273; yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockCloseUl", ctx->buf+ctx->pos)); return 1; l1273:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockCloseUl", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_HtmlBlockOpenUl(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "HtmlBlockOpenUl")); if (!yymatchChar(ctx, '<')) goto l1276; if (!yy_Spnl(ctx)) goto l1276; { int yypos1277= ctx->pos, yythunkpos1277= ctx->thunkpos; if (!yymatchString(ctx, "ul")) goto l1278; goto l1277; l1278:; ctx->pos= yypos1277; ctx->thunkpos= yythunkpos1277; if (!yymatchString(ctx, "UL")) goto l1276; } l1277:; if (!yy_Spnl(ctx)) goto l1276; l1279:; { int yypos1280= ctx->pos, yythunkpos1280= ctx->thunkpos; if (!yy_HtmlAttribute(ctx)) goto l1280; goto l1279; l1280:; ctx->pos= yypos1280; ctx->thunkpos= yythunkpos1280; } if (!yymatchChar(ctx, '>')) goto l1276; yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockOpenUl", ctx->buf+ctx->pos)); return 1; l1276:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockOpenUl", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_HtmlBlockTable(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "HtmlBlockTable")); if (!yy_HtmlBlockOpenTable(ctx)) goto l1281; l1282:; { int yypos1283= ctx->pos, yythunkpos1283= ctx->thunkpos; { int yypos1284= ctx->pos, yythunkpos1284= ctx->thunkpos; if (!yy_HtmlBlockTable(ctx)) goto l1285; goto l1284; l1285:; ctx->pos= yypos1284; ctx->thunkpos= yythunkpos1284; { int yypos1286= ctx->pos, yythunkpos1286= ctx->thunkpos; if (!yy_HtmlBlockCloseTable(ctx)) goto l1286; goto l1283; l1286:; ctx->pos= yypos1286; ctx->thunkpos= yythunkpos1286; } if (!yymatchDot(ctx)) goto l1283; } l1284:; goto l1282; l1283:; ctx->pos= yypos1283; ctx->thunkpos= yythunkpos1283; } if (!yy_HtmlBlockCloseTable(ctx)) goto l1281; yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockTable", ctx->buf+ctx->pos)); return 1; l1281:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockTable", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_HtmlBlockCloseTable(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "HtmlBlockCloseTable")); if (!yymatchChar(ctx, '<')) goto l1287; if (!yy_Spnl(ctx)) goto l1287; if (!yymatchChar(ctx, '/')) goto l1287; { int yypos1288= ctx->pos, yythunkpos1288= ctx->thunkpos; if (!yymatchString(ctx, "table")) goto l1289; goto l1288; l1289:; ctx->pos= yypos1288; ctx->thunkpos= yythunkpos1288; if (!yymatchString(ctx, "TABLE")) goto l1287; } l1288:; if (!yy_Spnl(ctx)) goto l1287; if (!yymatchChar(ctx, '>')) goto l1287; yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockCloseTable", ctx->buf+ctx->pos)); return 1; l1287:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockCloseTable", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_HtmlBlockOpenTable(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "HtmlBlockOpenTable")); if (!yymatchChar(ctx, '<')) goto l1290; if (!yy_Spnl(ctx)) goto l1290; { int yypos1291= ctx->pos, yythunkpos1291= ctx->thunkpos; if (!yymatchString(ctx, "table")) goto l1292; goto l1291; l1292:; ctx->pos= yypos1291; ctx->thunkpos= yythunkpos1291; if (!yymatchString(ctx, "TABLE")) goto l1290; } l1291:; if (!yy_Spnl(ctx)) goto l1290; l1293:; { int yypos1294= ctx->pos, yythunkpos1294= ctx->thunkpos; if (!yy_HtmlAttribute(ctx)) goto l1294; goto l1293; l1294:; ctx->pos= yypos1294; ctx->thunkpos= yythunkpos1294; } if (!yymatchChar(ctx, '>')) goto l1290; yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockOpenTable", ctx->buf+ctx->pos)); return 1; l1290:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockOpenTable", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_HtmlBlockSection(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "HtmlBlockSection")); if (!yy_HtmlBlockOpenSection(ctx)) goto l1295; l1296:; { int yypos1297= ctx->pos, yythunkpos1297= ctx->thunkpos; { int yypos1298= ctx->pos, yythunkpos1298= ctx->thunkpos; if (!yy_HtmlBlockSection(ctx)) goto l1299; goto l1298; l1299:; ctx->pos= yypos1298; ctx->thunkpos= yythunkpos1298; { int yypos1300= ctx->pos, yythunkpos1300= ctx->thunkpos; if (!yy_HtmlBlockCloseSection(ctx)) goto l1300; goto l1297; l1300:; ctx->pos= yypos1300; ctx->thunkpos= yythunkpos1300; } if (!yymatchDot(ctx)) goto l1297; } l1298:; goto l1296; l1297:; ctx->pos= yypos1297; ctx->thunkpos= yythunkpos1297; } if (!yy_HtmlBlockCloseSection(ctx)) goto l1295; yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockSection", ctx->buf+ctx->pos)); return 1; l1295:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockSection", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_HtmlBlockCloseSection(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "HtmlBlockCloseSection")); if (!yymatchChar(ctx, '<')) goto l1301; if (!yy_Spnl(ctx)) goto l1301; if (!yymatchChar(ctx, '/')) goto l1301; { int yypos1302= ctx->pos, yythunkpos1302= ctx->thunkpos; if (!yymatchString(ctx, "section")) goto l1303; goto l1302; l1303:; ctx->pos= yypos1302; ctx->thunkpos= yythunkpos1302; if (!yymatchString(ctx, "SECTION")) goto l1301; } l1302:; if (!yy_Spnl(ctx)) goto l1301; if (!yymatchChar(ctx, '>')) goto l1301; yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockCloseSection", ctx->buf+ctx->pos)); return 1; l1301:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockCloseSection", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_HtmlBlockOpenSection(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "HtmlBlockOpenSection")); if (!yymatchChar(ctx, '<')) goto l1304; if (!yy_Spnl(ctx)) goto l1304; { int yypos1305= ctx->pos, yythunkpos1305= ctx->thunkpos; if (!yymatchString(ctx, "section")) goto l1306; goto l1305; l1306:; ctx->pos= yypos1305; ctx->thunkpos= yythunkpos1305; if (!yymatchString(ctx, "SECTION")) goto l1304; } l1305:; if (!yy_Spnl(ctx)) goto l1304; l1307:; { int yypos1308= ctx->pos, yythunkpos1308= ctx->thunkpos; if (!yy_HtmlAttribute(ctx)) goto l1308; goto l1307; l1308:; ctx->pos= yypos1308; ctx->thunkpos= yythunkpos1308; } if (!yymatchChar(ctx, '>')) goto l1304; yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockOpenSection", ctx->buf+ctx->pos)); return 1; l1304:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockOpenSection", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_HtmlBlockProgress(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "HtmlBlockProgress")); if (!yy_HtmlBlockOpenProgress(ctx)) goto l1309; l1310:; { int yypos1311= ctx->pos, yythunkpos1311= ctx->thunkpos; { int yypos1312= ctx->pos, yythunkpos1312= ctx->thunkpos; if (!yy_HtmlBlockProgress(ctx)) goto l1313; goto l1312; l1313:; ctx->pos= yypos1312; ctx->thunkpos= yythunkpos1312; { int yypos1314= ctx->pos, yythunkpos1314= ctx->thunkpos; if (!yy_HtmlBlockCloseProgress(ctx)) goto l1314; goto l1311; l1314:; ctx->pos= yypos1314; ctx->thunkpos= yythunkpos1314; } if (!yymatchDot(ctx)) goto l1311; } l1312:; goto l1310; l1311:; ctx->pos= yypos1311; ctx->thunkpos= yythunkpos1311; } if (!yy_HtmlBlockCloseProgress(ctx)) goto l1309; yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockProgress", ctx->buf+ctx->pos)); return 1; l1309:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockProgress", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_HtmlBlockCloseProgress(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "HtmlBlockCloseProgress")); if (!yymatchChar(ctx, '<')) goto l1315; if (!yy_Spnl(ctx)) goto l1315; if (!yymatchChar(ctx, '/')) goto l1315; { int yypos1316= ctx->pos, yythunkpos1316= ctx->thunkpos; if (!yymatchString(ctx, "progress")) goto l1317; goto l1316; l1317:; ctx->pos= yypos1316; ctx->thunkpos= yythunkpos1316; if (!yymatchString(ctx, "PROGRESS")) goto l1315; } l1316:; if (!yy_Spnl(ctx)) goto l1315; if (!yymatchChar(ctx, '>')) goto l1315; yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockCloseProgress", ctx->buf+ctx->pos)); return 1; l1315:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockCloseProgress", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_HtmlBlockOpenProgress(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "HtmlBlockOpenProgress")); if (!yymatchChar(ctx, '<')) goto l1318; if (!yy_Spnl(ctx)) goto l1318; { int yypos1319= ctx->pos, yythunkpos1319= ctx->thunkpos; if (!yymatchString(ctx, "progress")) goto l1320; goto l1319; l1320:; ctx->pos= yypos1319; ctx->thunkpos= yythunkpos1319; if (!yymatchString(ctx, "PROGRESS")) goto l1318; } l1319:; if (!yy_Spnl(ctx)) goto l1318; l1321:; { int yypos1322= ctx->pos, yythunkpos1322= ctx->thunkpos; if (!yy_HtmlAttribute(ctx)) goto l1322; goto l1321; l1322:; ctx->pos= yypos1322; ctx->thunkpos= yythunkpos1322; } if (!yymatchChar(ctx, '>')) goto l1318; yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockOpenProgress", ctx->buf+ctx->pos)); return 1; l1318:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockOpenProgress", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_HtmlBlockPre(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "HtmlBlockPre")); if (!yy_HtmlBlockOpenPre(ctx)) goto l1323; l1324:; { int yypos1325= ctx->pos, yythunkpos1325= ctx->thunkpos; { int yypos1326= ctx->pos, yythunkpos1326= ctx->thunkpos; if (!yy_HtmlBlockPre(ctx)) goto l1327; goto l1326; l1327:; ctx->pos= yypos1326; ctx->thunkpos= yythunkpos1326; { int yypos1328= ctx->pos, yythunkpos1328= ctx->thunkpos; if (!yy_HtmlBlockClosePre(ctx)) goto l1328; goto l1325; l1328:; ctx->pos= yypos1328; ctx->thunkpos= yythunkpos1328; } if (!yymatchDot(ctx)) goto l1325; } l1326:; goto l1324; l1325:; ctx->pos= yypos1325; ctx->thunkpos= yythunkpos1325; } if (!yy_HtmlBlockClosePre(ctx)) goto l1323; yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockPre", ctx->buf+ctx->pos)); return 1; l1323:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockPre", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_HtmlBlockClosePre(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "HtmlBlockClosePre")); if (!yymatchChar(ctx, '<')) goto l1329; if (!yy_Spnl(ctx)) goto l1329; if (!yymatchChar(ctx, '/')) goto l1329; { int yypos1330= ctx->pos, yythunkpos1330= ctx->thunkpos; if (!yymatchString(ctx, "pre")) goto l1331; goto l1330; l1331:; ctx->pos= yypos1330; ctx->thunkpos= yythunkpos1330; if (!yymatchString(ctx, "PRE")) goto l1329; } l1330:; if (!yy_Spnl(ctx)) goto l1329; if (!yymatchChar(ctx, '>')) goto l1329; yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockClosePre", ctx->buf+ctx->pos)); return 1; l1329:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockClosePre", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_HtmlBlockOpenPre(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "HtmlBlockOpenPre")); if (!yymatchChar(ctx, '<')) goto l1332; if (!yy_Spnl(ctx)) goto l1332; { int yypos1333= ctx->pos, yythunkpos1333= ctx->thunkpos; if (!yymatchString(ctx, "pre")) goto l1334; goto l1333; l1334:; ctx->pos= yypos1333; ctx->thunkpos= yythunkpos1333; if (!yymatchString(ctx, "PRE")) goto l1332; } l1333:; if (!yy_Spnl(ctx)) goto l1332; l1335:; { int yypos1336= ctx->pos, yythunkpos1336= ctx->thunkpos; if (!yy_HtmlAttribute(ctx)) goto l1336; goto l1335; l1336:; ctx->pos= yypos1336; ctx->thunkpos= yythunkpos1336; } if (!yymatchChar(ctx, '>')) goto l1332; yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockOpenPre", ctx->buf+ctx->pos)); return 1; l1332:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockOpenPre", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_HtmlBlockP(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "HtmlBlockP")); if (!yy_HtmlBlockOpenP(ctx)) goto l1337; l1338:; { int yypos1339= ctx->pos, yythunkpos1339= ctx->thunkpos; { int yypos1340= ctx->pos, yythunkpos1340= ctx->thunkpos; if (!yy_HtmlBlockP(ctx)) goto l1341; goto l1340; l1341:; ctx->pos= yypos1340; ctx->thunkpos= yythunkpos1340; { int yypos1342= ctx->pos, yythunkpos1342= ctx->thunkpos; if (!yy_HtmlBlockCloseP(ctx)) goto l1342; goto l1339; l1342:; ctx->pos= yypos1342; ctx->thunkpos= yythunkpos1342; } if (!yymatchDot(ctx)) goto l1339; } l1340:; goto l1338; l1339:; ctx->pos= yypos1339; ctx->thunkpos= yythunkpos1339; } if (!yy_HtmlBlockCloseP(ctx)) goto l1337; yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockP", ctx->buf+ctx->pos)); return 1; l1337:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockP", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_HtmlBlockCloseP(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "HtmlBlockCloseP")); if (!yymatchChar(ctx, '<')) goto l1343; if (!yy_Spnl(ctx)) goto l1343; if (!yymatchChar(ctx, '/')) goto l1343; { int yypos1344= ctx->pos, yythunkpos1344= ctx->thunkpos; if (!yymatchChar(ctx, 'p')) goto l1345; goto l1344; l1345:; ctx->pos= yypos1344; ctx->thunkpos= yythunkpos1344; if (!yymatchChar(ctx, 'P')) goto l1343; } l1344:; if (!yy_Spnl(ctx)) goto l1343; if (!yymatchChar(ctx, '>')) goto l1343; yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockCloseP", ctx->buf+ctx->pos)); return 1; l1343:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockCloseP", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_HtmlBlockOpenP(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "HtmlBlockOpenP")); if (!yymatchChar(ctx, '<')) goto l1346; if (!yy_Spnl(ctx)) goto l1346; { int yypos1347= ctx->pos, yythunkpos1347= ctx->thunkpos; if (!yymatchChar(ctx, 'p')) goto l1348; goto l1347; l1348:; ctx->pos= yypos1347; ctx->thunkpos= yythunkpos1347; if (!yymatchChar(ctx, 'P')) goto l1346; } l1347:; if (!yy_Spnl(ctx)) goto l1346; l1349:; { int yypos1350= ctx->pos, yythunkpos1350= ctx->thunkpos; if (!yy_HtmlAttribute(ctx)) goto l1350; goto l1349; l1350:; ctx->pos= yypos1350; ctx->thunkpos= yythunkpos1350; } if (!yymatchChar(ctx, '>')) goto l1346; yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockOpenP", ctx->buf+ctx->pos)); return 1; l1346:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockOpenP", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_HtmlBlockOl(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "HtmlBlockOl")); if (!yy_HtmlBlockOpenOl(ctx)) goto l1351; l1352:; { int yypos1353= ctx->pos, yythunkpos1353= ctx->thunkpos; { int yypos1354= ctx->pos, yythunkpos1354= ctx->thunkpos; if (!yy_HtmlBlockOl(ctx)) goto l1355; goto l1354; l1355:; ctx->pos= yypos1354; ctx->thunkpos= yythunkpos1354; { int yypos1356= ctx->pos, yythunkpos1356= ctx->thunkpos; if (!yy_HtmlBlockCloseOl(ctx)) goto l1356; goto l1353; l1356:; ctx->pos= yypos1356; ctx->thunkpos= yythunkpos1356; } if (!yymatchDot(ctx)) goto l1353; } l1354:; goto l1352; l1353:; ctx->pos= yypos1353; ctx->thunkpos= yythunkpos1353; } if (!yy_HtmlBlockCloseOl(ctx)) goto l1351; yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockOl", ctx->buf+ctx->pos)); return 1; l1351:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockOl", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_HtmlBlockCloseOl(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "HtmlBlockCloseOl")); if (!yymatchChar(ctx, '<')) goto l1357; if (!yy_Spnl(ctx)) goto l1357; if (!yymatchChar(ctx, '/')) goto l1357; { int yypos1358= ctx->pos, yythunkpos1358= ctx->thunkpos; if (!yymatchString(ctx, "ol")) goto l1359; goto l1358; l1359:; ctx->pos= yypos1358; ctx->thunkpos= yythunkpos1358; if (!yymatchString(ctx, "OL")) goto l1357; } l1358:; if (!yy_Spnl(ctx)) goto l1357; if (!yymatchChar(ctx, '>')) goto l1357; yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockCloseOl", ctx->buf+ctx->pos)); return 1; l1357:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockCloseOl", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_HtmlBlockOpenOl(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "HtmlBlockOpenOl")); if (!yymatchChar(ctx, '<')) goto l1360; if (!yy_Spnl(ctx)) goto l1360; { int yypos1361= ctx->pos, yythunkpos1361= ctx->thunkpos; if (!yymatchString(ctx, "ol")) goto l1362; goto l1361; l1362:; ctx->pos= yypos1361; ctx->thunkpos= yythunkpos1361; if (!yymatchString(ctx, "OL")) goto l1360; } l1361:; if (!yy_Spnl(ctx)) goto l1360; l1363:; { int yypos1364= ctx->pos, yythunkpos1364= ctx->thunkpos; if (!yy_HtmlAttribute(ctx)) goto l1364; goto l1363; l1364:; ctx->pos= yypos1364; ctx->thunkpos= yythunkpos1364; } if (!yymatchChar(ctx, '>')) goto l1360; yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockOpenOl", ctx->buf+ctx->pos)); return 1; l1360:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockOpenOl", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_HtmlBlockNoscript(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "HtmlBlockNoscript")); if (!yy_HtmlBlockOpenNoscript(ctx)) goto l1365; l1366:; { int yypos1367= ctx->pos, yythunkpos1367= ctx->thunkpos; { int yypos1368= ctx->pos, yythunkpos1368= ctx->thunkpos; if (!yy_HtmlBlockNoscript(ctx)) goto l1369; goto l1368; l1369:; ctx->pos= yypos1368; ctx->thunkpos= yythunkpos1368; { int yypos1370= ctx->pos, yythunkpos1370= ctx->thunkpos; if (!yy_HtmlBlockCloseNoscript(ctx)) goto l1370; goto l1367; l1370:; ctx->pos= yypos1370; ctx->thunkpos= yythunkpos1370; } if (!yymatchDot(ctx)) goto l1367; } l1368:; goto l1366; l1367:; ctx->pos= yypos1367; ctx->thunkpos= yythunkpos1367; } if (!yy_HtmlBlockCloseNoscript(ctx)) goto l1365; yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockNoscript", ctx->buf+ctx->pos)); return 1; l1365:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockNoscript", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_HtmlBlockCloseNoscript(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "HtmlBlockCloseNoscript")); if (!yymatchChar(ctx, '<')) goto l1371; if (!yy_Spnl(ctx)) goto l1371; if (!yymatchChar(ctx, '/')) goto l1371; { int yypos1372= ctx->pos, yythunkpos1372= ctx->thunkpos; if (!yymatchString(ctx, "noscript")) goto l1373; goto l1372; l1373:; ctx->pos= yypos1372; ctx->thunkpos= yythunkpos1372; if (!yymatchString(ctx, "NOSCRIPT")) goto l1371; } l1372:; if (!yy_Spnl(ctx)) goto l1371; if (!yymatchChar(ctx, '>')) goto l1371; yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockCloseNoscript", ctx->buf+ctx->pos)); return 1; l1371:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockCloseNoscript", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_HtmlBlockOpenNoscript(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "HtmlBlockOpenNoscript")); if (!yymatchChar(ctx, '<')) goto l1374; if (!yy_Spnl(ctx)) goto l1374; { int yypos1375= ctx->pos, yythunkpos1375= ctx->thunkpos; if (!yymatchString(ctx, "noscript")) goto l1376; goto l1375; l1376:; ctx->pos= yypos1375; ctx->thunkpos= yythunkpos1375; if (!yymatchString(ctx, "NOSCRIPT")) goto l1374; } l1375:; if (!yy_Spnl(ctx)) goto l1374; l1377:; { int yypos1378= ctx->pos, yythunkpos1378= ctx->thunkpos; if (!yy_HtmlAttribute(ctx)) goto l1378; goto l1377; l1378:; ctx->pos= yypos1378; ctx->thunkpos= yythunkpos1378; } if (!yymatchChar(ctx, '>')) goto l1374; yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockOpenNoscript", ctx->buf+ctx->pos)); return 1; l1374:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockOpenNoscript", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_HtmlBlockNoframes(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "HtmlBlockNoframes")); if (!yy_HtmlBlockOpenNoframes(ctx)) goto l1379; l1380:; { int yypos1381= ctx->pos, yythunkpos1381= ctx->thunkpos; { int yypos1382= ctx->pos, yythunkpos1382= ctx->thunkpos; if (!yy_HtmlBlockNoframes(ctx)) goto l1383; goto l1382; l1383:; ctx->pos= yypos1382; ctx->thunkpos= yythunkpos1382; { int yypos1384= ctx->pos, yythunkpos1384= ctx->thunkpos; if (!yy_HtmlBlockCloseNoframes(ctx)) goto l1384; goto l1381; l1384:; ctx->pos= yypos1384; ctx->thunkpos= yythunkpos1384; } if (!yymatchDot(ctx)) goto l1381; } l1382:; goto l1380; l1381:; ctx->pos= yypos1381; ctx->thunkpos= yythunkpos1381; } if (!yy_HtmlBlockCloseNoframes(ctx)) goto l1379; yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockNoframes", ctx->buf+ctx->pos)); return 1; l1379:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockNoframes", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_HtmlBlockCloseNoframes(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "HtmlBlockCloseNoframes")); if (!yymatchChar(ctx, '<')) goto l1385; if (!yy_Spnl(ctx)) goto l1385; if (!yymatchChar(ctx, '/')) goto l1385; { int yypos1386= ctx->pos, yythunkpos1386= ctx->thunkpos; if (!yymatchString(ctx, "noframes")) goto l1387; goto l1386; l1387:; ctx->pos= yypos1386; ctx->thunkpos= yythunkpos1386; if (!yymatchString(ctx, "NOFRAMES")) goto l1385; } l1386:; if (!yy_Spnl(ctx)) goto l1385; if (!yymatchChar(ctx, '>')) goto l1385; yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockCloseNoframes", ctx->buf+ctx->pos)); return 1; l1385:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockCloseNoframes", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_HtmlBlockOpenNoframes(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "HtmlBlockOpenNoframes")); if (!yymatchChar(ctx, '<')) goto l1388; if (!yy_Spnl(ctx)) goto l1388; { int yypos1389= ctx->pos, yythunkpos1389= ctx->thunkpos; if (!yymatchString(ctx, "noframes")) goto l1390; goto l1389; l1390:; ctx->pos= yypos1389; ctx->thunkpos= yythunkpos1389; if (!yymatchString(ctx, "NOFRAMES")) goto l1388; } l1389:; if (!yy_Spnl(ctx)) goto l1388; l1391:; { int yypos1392= ctx->pos, yythunkpos1392= ctx->thunkpos; if (!yy_HtmlAttribute(ctx)) goto l1392; goto l1391; l1392:; ctx->pos= yypos1392; ctx->thunkpos= yythunkpos1392; } if (!yymatchChar(ctx, '>')) goto l1388; yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockOpenNoframes", ctx->buf+ctx->pos)); return 1; l1388:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockOpenNoframes", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_HtmlBlockMenu(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "HtmlBlockMenu")); if (!yy_HtmlBlockOpenMenu(ctx)) goto l1393; l1394:; { int yypos1395= ctx->pos, yythunkpos1395= ctx->thunkpos; { int yypos1396= ctx->pos, yythunkpos1396= ctx->thunkpos; if (!yy_HtmlBlockMenu(ctx)) goto l1397; goto l1396; l1397:; ctx->pos= yypos1396; ctx->thunkpos= yythunkpos1396; { int yypos1398= ctx->pos, yythunkpos1398= ctx->thunkpos; if (!yy_HtmlBlockCloseMenu(ctx)) goto l1398; goto l1395; l1398:; ctx->pos= yypos1398; ctx->thunkpos= yythunkpos1398; } if (!yymatchDot(ctx)) goto l1395; } l1396:; goto l1394; l1395:; ctx->pos= yypos1395; ctx->thunkpos= yythunkpos1395; } if (!yy_HtmlBlockCloseMenu(ctx)) goto l1393; yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockMenu", ctx->buf+ctx->pos)); return 1; l1393:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockMenu", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_HtmlBlockCloseMenu(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "HtmlBlockCloseMenu")); if (!yymatchChar(ctx, '<')) goto l1399; if (!yy_Spnl(ctx)) goto l1399; if (!yymatchChar(ctx, '/')) goto l1399; { int yypos1400= ctx->pos, yythunkpos1400= ctx->thunkpos; if (!yymatchString(ctx, "menu")) goto l1401; goto l1400; l1401:; ctx->pos= yypos1400; ctx->thunkpos= yythunkpos1400; if (!yymatchString(ctx, "MENU")) goto l1399; } l1400:; if (!yy_Spnl(ctx)) goto l1399; if (!yymatchChar(ctx, '>')) goto l1399; yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockCloseMenu", ctx->buf+ctx->pos)); return 1; l1399:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockCloseMenu", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_HtmlBlockOpenMenu(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "HtmlBlockOpenMenu")); if (!yymatchChar(ctx, '<')) goto l1402; if (!yy_Spnl(ctx)) goto l1402; { int yypos1403= ctx->pos, yythunkpos1403= ctx->thunkpos; if (!yymatchString(ctx, "menu")) goto l1404; goto l1403; l1404:; ctx->pos= yypos1403; ctx->thunkpos= yythunkpos1403; if (!yymatchString(ctx, "MENU")) goto l1402; } l1403:; if (!yy_Spnl(ctx)) goto l1402; l1405:; { int yypos1406= ctx->pos, yythunkpos1406= ctx->thunkpos; if (!yy_HtmlAttribute(ctx)) goto l1406; goto l1405; l1406:; ctx->pos= yypos1406; ctx->thunkpos= yythunkpos1406; } if (!yymatchChar(ctx, '>')) goto l1402; yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockOpenMenu", ctx->buf+ctx->pos)); return 1; l1402:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockOpenMenu", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_HtmlBlockH6(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "HtmlBlockH6")); if (!yy_HtmlBlockOpenH6(ctx)) goto l1407; l1408:; { int yypos1409= ctx->pos, yythunkpos1409= ctx->thunkpos; { int yypos1410= ctx->pos, yythunkpos1410= ctx->thunkpos; if (!yy_HtmlBlockH6(ctx)) goto l1411; goto l1410; l1411:; ctx->pos= yypos1410; ctx->thunkpos= yythunkpos1410; { int yypos1412= ctx->pos, yythunkpos1412= ctx->thunkpos; if (!yy_HtmlBlockCloseH6(ctx)) goto l1412; goto l1409; l1412:; ctx->pos= yypos1412; ctx->thunkpos= yythunkpos1412; } if (!yymatchDot(ctx)) goto l1409; } l1410:; goto l1408; l1409:; ctx->pos= yypos1409; ctx->thunkpos= yythunkpos1409; } if (!yy_HtmlBlockCloseH6(ctx)) goto l1407; yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockH6", ctx->buf+ctx->pos)); return 1; l1407:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockH6", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_HtmlBlockCloseH6(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "HtmlBlockCloseH6")); if (!yymatchChar(ctx, '<')) goto l1413; if (!yy_Spnl(ctx)) goto l1413; if (!yymatchChar(ctx, '/')) goto l1413; { int yypos1414= ctx->pos, yythunkpos1414= ctx->thunkpos; if (!yymatchString(ctx, "h6")) goto l1415; goto l1414; l1415:; ctx->pos= yypos1414; ctx->thunkpos= yythunkpos1414; if (!yymatchString(ctx, "H6")) goto l1413; } l1414:; if (!yy_Spnl(ctx)) goto l1413; if (!yymatchChar(ctx, '>')) goto l1413; yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockCloseH6", ctx->buf+ctx->pos)); return 1; l1413:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockCloseH6", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_HtmlBlockOpenH6(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "HtmlBlockOpenH6")); if (!yymatchChar(ctx, '<')) goto l1416; if (!yy_Spnl(ctx)) goto l1416; { int yypos1417= ctx->pos, yythunkpos1417= ctx->thunkpos; if (!yymatchString(ctx, "h6")) goto l1418; goto l1417; l1418:; ctx->pos= yypos1417; ctx->thunkpos= yythunkpos1417; if (!yymatchString(ctx, "H6")) goto l1416; } l1417:; if (!yy_Spnl(ctx)) goto l1416; l1419:; { int yypos1420= ctx->pos, yythunkpos1420= ctx->thunkpos; if (!yy_HtmlAttribute(ctx)) goto l1420; goto l1419; l1420:; ctx->pos= yypos1420; ctx->thunkpos= yythunkpos1420; } if (!yymatchChar(ctx, '>')) goto l1416; yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockOpenH6", ctx->buf+ctx->pos)); return 1; l1416:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockOpenH6", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_HtmlBlockH5(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "HtmlBlockH5")); if (!yy_HtmlBlockOpenH5(ctx)) goto l1421; l1422:; { int yypos1423= ctx->pos, yythunkpos1423= ctx->thunkpos; { int yypos1424= ctx->pos, yythunkpos1424= ctx->thunkpos; if (!yy_HtmlBlockH5(ctx)) goto l1425; goto l1424; l1425:; ctx->pos= yypos1424; ctx->thunkpos= yythunkpos1424; { int yypos1426= ctx->pos, yythunkpos1426= ctx->thunkpos; if (!yy_HtmlBlockCloseH5(ctx)) goto l1426; goto l1423; l1426:; ctx->pos= yypos1426; ctx->thunkpos= yythunkpos1426; } if (!yymatchDot(ctx)) goto l1423; } l1424:; goto l1422; l1423:; ctx->pos= yypos1423; ctx->thunkpos= yythunkpos1423; } if (!yy_HtmlBlockCloseH5(ctx)) goto l1421; yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockH5", ctx->buf+ctx->pos)); return 1; l1421:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockH5", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_HtmlBlockCloseH5(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "HtmlBlockCloseH5")); if (!yymatchChar(ctx, '<')) goto l1427; if (!yy_Spnl(ctx)) goto l1427; if (!yymatchChar(ctx, '/')) goto l1427; { int yypos1428= ctx->pos, yythunkpos1428= ctx->thunkpos; if (!yymatchString(ctx, "h5")) goto l1429; goto l1428; l1429:; ctx->pos= yypos1428; ctx->thunkpos= yythunkpos1428; if (!yymatchString(ctx, "H5")) goto l1427; } l1428:; if (!yy_Spnl(ctx)) goto l1427; if (!yymatchChar(ctx, '>')) goto l1427; yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockCloseH5", ctx->buf+ctx->pos)); return 1; l1427:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockCloseH5", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_HtmlBlockOpenH5(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "HtmlBlockOpenH5")); if (!yymatchChar(ctx, '<')) goto l1430; if (!yy_Spnl(ctx)) goto l1430; { int yypos1431= ctx->pos, yythunkpos1431= ctx->thunkpos; if (!yymatchString(ctx, "h5")) goto l1432; goto l1431; l1432:; ctx->pos= yypos1431; ctx->thunkpos= yythunkpos1431; if (!yymatchString(ctx, "H5")) goto l1430; } l1431:; if (!yy_Spnl(ctx)) goto l1430; l1433:; { int yypos1434= ctx->pos, yythunkpos1434= ctx->thunkpos; if (!yy_HtmlAttribute(ctx)) goto l1434; goto l1433; l1434:; ctx->pos= yypos1434; ctx->thunkpos= yythunkpos1434; } if (!yymatchChar(ctx, '>')) goto l1430; yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockOpenH5", ctx->buf+ctx->pos)); return 1; l1430:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockOpenH5", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_HtmlBlockH4(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "HtmlBlockH4")); if (!yy_HtmlBlockOpenH4(ctx)) goto l1435; l1436:; { int yypos1437= ctx->pos, yythunkpos1437= ctx->thunkpos; { int yypos1438= ctx->pos, yythunkpos1438= ctx->thunkpos; if (!yy_HtmlBlockH4(ctx)) goto l1439; goto l1438; l1439:; ctx->pos= yypos1438; ctx->thunkpos= yythunkpos1438; { int yypos1440= ctx->pos, yythunkpos1440= ctx->thunkpos; if (!yy_HtmlBlockCloseH4(ctx)) goto l1440; goto l1437; l1440:; ctx->pos= yypos1440; ctx->thunkpos= yythunkpos1440; } if (!yymatchDot(ctx)) goto l1437; } l1438:; goto l1436; l1437:; ctx->pos= yypos1437; ctx->thunkpos= yythunkpos1437; } if (!yy_HtmlBlockCloseH4(ctx)) goto l1435; yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockH4", ctx->buf+ctx->pos)); return 1; l1435:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockH4", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_HtmlBlockCloseH4(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "HtmlBlockCloseH4")); if (!yymatchChar(ctx, '<')) goto l1441; if (!yy_Spnl(ctx)) goto l1441; if (!yymatchChar(ctx, '/')) goto l1441; { int yypos1442= ctx->pos, yythunkpos1442= ctx->thunkpos; if (!yymatchString(ctx, "h4")) goto l1443; goto l1442; l1443:; ctx->pos= yypos1442; ctx->thunkpos= yythunkpos1442; if (!yymatchString(ctx, "H4")) goto l1441; } l1442:; if (!yy_Spnl(ctx)) goto l1441; if (!yymatchChar(ctx, '>')) goto l1441; yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockCloseH4", ctx->buf+ctx->pos)); return 1; l1441:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockCloseH4", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_HtmlBlockOpenH4(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "HtmlBlockOpenH4")); if (!yymatchChar(ctx, '<')) goto l1444; if (!yy_Spnl(ctx)) goto l1444; { int yypos1445= ctx->pos, yythunkpos1445= ctx->thunkpos; if (!yymatchString(ctx, "h4")) goto l1446; goto l1445; l1446:; ctx->pos= yypos1445; ctx->thunkpos= yythunkpos1445; if (!yymatchString(ctx, "H4")) goto l1444; } l1445:; if (!yy_Spnl(ctx)) goto l1444; l1447:; { int yypos1448= ctx->pos, yythunkpos1448= ctx->thunkpos; if (!yy_HtmlAttribute(ctx)) goto l1448; goto l1447; l1448:; ctx->pos= yypos1448; ctx->thunkpos= yythunkpos1448; } if (!yymatchChar(ctx, '>')) goto l1444; yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockOpenH4", ctx->buf+ctx->pos)); return 1; l1444:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockOpenH4", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_HtmlBlockH3(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "HtmlBlockH3")); if (!yy_HtmlBlockOpenH3(ctx)) goto l1449; l1450:; { int yypos1451= ctx->pos, yythunkpos1451= ctx->thunkpos; { int yypos1452= ctx->pos, yythunkpos1452= ctx->thunkpos; if (!yy_HtmlBlockH3(ctx)) goto l1453; goto l1452; l1453:; ctx->pos= yypos1452; ctx->thunkpos= yythunkpos1452; { int yypos1454= ctx->pos, yythunkpos1454= ctx->thunkpos; if (!yy_HtmlBlockCloseH3(ctx)) goto l1454; goto l1451; l1454:; ctx->pos= yypos1454; ctx->thunkpos= yythunkpos1454; } if (!yymatchDot(ctx)) goto l1451; } l1452:; goto l1450; l1451:; ctx->pos= yypos1451; ctx->thunkpos= yythunkpos1451; } if (!yy_HtmlBlockCloseH3(ctx)) goto l1449; yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockH3", ctx->buf+ctx->pos)); return 1; l1449:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockH3", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_HtmlBlockCloseH3(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "HtmlBlockCloseH3")); if (!yymatchChar(ctx, '<')) goto l1455; if (!yy_Spnl(ctx)) goto l1455; if (!yymatchChar(ctx, '/')) goto l1455; { int yypos1456= ctx->pos, yythunkpos1456= ctx->thunkpos; if (!yymatchString(ctx, "h3")) goto l1457; goto l1456; l1457:; ctx->pos= yypos1456; ctx->thunkpos= yythunkpos1456; if (!yymatchString(ctx, "H3")) goto l1455; } l1456:; if (!yy_Spnl(ctx)) goto l1455; if (!yymatchChar(ctx, '>')) goto l1455; yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockCloseH3", ctx->buf+ctx->pos)); return 1; l1455:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockCloseH3", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_HtmlBlockOpenH3(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "HtmlBlockOpenH3")); if (!yymatchChar(ctx, '<')) goto l1458; if (!yy_Spnl(ctx)) goto l1458; { int yypos1459= ctx->pos, yythunkpos1459= ctx->thunkpos; if (!yymatchString(ctx, "h3")) goto l1460; goto l1459; l1460:; ctx->pos= yypos1459; ctx->thunkpos= yythunkpos1459; if (!yymatchString(ctx, "H3")) goto l1458; } l1459:; if (!yy_Spnl(ctx)) goto l1458; l1461:; { int yypos1462= ctx->pos, yythunkpos1462= ctx->thunkpos; if (!yy_HtmlAttribute(ctx)) goto l1462; goto l1461; l1462:; ctx->pos= yypos1462; ctx->thunkpos= yythunkpos1462; } if (!yymatchChar(ctx, '>')) goto l1458; yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockOpenH3", ctx->buf+ctx->pos)); return 1; l1458:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockOpenH3", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_HtmlBlockH2(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "HtmlBlockH2")); if (!yy_HtmlBlockOpenH2(ctx)) goto l1463; l1464:; { int yypos1465= ctx->pos, yythunkpos1465= ctx->thunkpos; { int yypos1466= ctx->pos, yythunkpos1466= ctx->thunkpos; if (!yy_HtmlBlockH2(ctx)) goto l1467; goto l1466; l1467:; ctx->pos= yypos1466; ctx->thunkpos= yythunkpos1466; { int yypos1468= ctx->pos, yythunkpos1468= ctx->thunkpos; if (!yy_HtmlBlockCloseH2(ctx)) goto l1468; goto l1465; l1468:; ctx->pos= yypos1468; ctx->thunkpos= yythunkpos1468; } if (!yymatchDot(ctx)) goto l1465; } l1466:; goto l1464; l1465:; ctx->pos= yypos1465; ctx->thunkpos= yythunkpos1465; } if (!yy_HtmlBlockCloseH2(ctx)) goto l1463; yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockH2", ctx->buf+ctx->pos)); return 1; l1463:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockH2", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_HtmlBlockCloseH2(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "HtmlBlockCloseH2")); if (!yymatchChar(ctx, '<')) goto l1469; if (!yy_Spnl(ctx)) goto l1469; if (!yymatchChar(ctx, '/')) goto l1469; { int yypos1470= ctx->pos, yythunkpos1470= ctx->thunkpos; if (!yymatchString(ctx, "h2")) goto l1471; goto l1470; l1471:; ctx->pos= yypos1470; ctx->thunkpos= yythunkpos1470; if (!yymatchString(ctx, "H2")) goto l1469; } l1470:; if (!yy_Spnl(ctx)) goto l1469; if (!yymatchChar(ctx, '>')) goto l1469; yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockCloseH2", ctx->buf+ctx->pos)); return 1; l1469:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockCloseH2", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_HtmlBlockOpenH2(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "HtmlBlockOpenH2")); if (!yymatchChar(ctx, '<')) goto l1472; if (!yy_Spnl(ctx)) goto l1472; { int yypos1473= ctx->pos, yythunkpos1473= ctx->thunkpos; if (!yymatchString(ctx, "h2")) goto l1474; goto l1473; l1474:; ctx->pos= yypos1473; ctx->thunkpos= yythunkpos1473; if (!yymatchString(ctx, "H2")) goto l1472; } l1473:; if (!yy_Spnl(ctx)) goto l1472; l1475:; { int yypos1476= ctx->pos, yythunkpos1476= ctx->thunkpos; if (!yy_HtmlAttribute(ctx)) goto l1476; goto l1475; l1476:; ctx->pos= yypos1476; ctx->thunkpos= yythunkpos1476; } if (!yymatchChar(ctx, '>')) goto l1472; yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockOpenH2", ctx->buf+ctx->pos)); return 1; l1472:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockOpenH2", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_HtmlBlockH1(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "HtmlBlockH1")); if (!yy_HtmlBlockOpenH1(ctx)) goto l1477; l1478:; { int yypos1479= ctx->pos, yythunkpos1479= ctx->thunkpos; { int yypos1480= ctx->pos, yythunkpos1480= ctx->thunkpos; if (!yy_HtmlBlockH1(ctx)) goto l1481; goto l1480; l1481:; ctx->pos= yypos1480; ctx->thunkpos= yythunkpos1480; { int yypos1482= ctx->pos, yythunkpos1482= ctx->thunkpos; if (!yy_HtmlBlockCloseH1(ctx)) goto l1482; goto l1479; l1482:; ctx->pos= yypos1482; ctx->thunkpos= yythunkpos1482; } if (!yymatchDot(ctx)) goto l1479; } l1480:; goto l1478; l1479:; ctx->pos= yypos1479; ctx->thunkpos= yythunkpos1479; } if (!yy_HtmlBlockCloseH1(ctx)) goto l1477; yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockH1", ctx->buf+ctx->pos)); return 1; l1477:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockH1", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_HtmlBlockCloseH1(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "HtmlBlockCloseH1")); if (!yymatchChar(ctx, '<')) goto l1483; if (!yy_Spnl(ctx)) goto l1483; if (!yymatchChar(ctx, '/')) goto l1483; { int yypos1484= ctx->pos, yythunkpos1484= ctx->thunkpos; if (!yymatchString(ctx, "h1")) goto l1485; goto l1484; l1485:; ctx->pos= yypos1484; ctx->thunkpos= yythunkpos1484; if (!yymatchString(ctx, "H1")) goto l1483; } l1484:; if (!yy_Spnl(ctx)) goto l1483; if (!yymatchChar(ctx, '>')) goto l1483; yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockCloseH1", ctx->buf+ctx->pos)); return 1; l1483:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockCloseH1", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_HtmlBlockOpenH1(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "HtmlBlockOpenH1")); if (!yymatchChar(ctx, '<')) goto l1486; if (!yy_Spnl(ctx)) goto l1486; { int yypos1487= ctx->pos, yythunkpos1487= ctx->thunkpos; if (!yymatchString(ctx, "h1")) goto l1488; goto l1487; l1488:; ctx->pos= yypos1487; ctx->thunkpos= yythunkpos1487; if (!yymatchString(ctx, "H1")) goto l1486; } l1487:; if (!yy_Spnl(ctx)) goto l1486; l1489:; { int yypos1490= ctx->pos, yythunkpos1490= ctx->thunkpos; if (!yy_HtmlAttribute(ctx)) goto l1490; goto l1489; l1490:; ctx->pos= yypos1490; ctx->thunkpos= yythunkpos1490; } if (!yymatchChar(ctx, '>')) goto l1486; yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockOpenH1", ctx->buf+ctx->pos)); return 1; l1486:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockOpenH1", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_HtmlBlockHgroup(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "HtmlBlockHgroup")); if (!yy_HtmlBlockOpenHgroup(ctx)) goto l1491; l1492:; { int yypos1493= ctx->pos, yythunkpos1493= ctx->thunkpos; { int yypos1494= ctx->pos, yythunkpos1494= ctx->thunkpos; if (!yy_HtmlBlockHgroup(ctx)) goto l1495; goto l1494; l1495:; ctx->pos= yypos1494; ctx->thunkpos= yythunkpos1494; { int yypos1496= ctx->pos, yythunkpos1496= ctx->thunkpos; if (!yy_HtmlBlockCloseHgroup(ctx)) goto l1496; goto l1493; l1496:; ctx->pos= yypos1496; ctx->thunkpos= yythunkpos1496; } if (!yymatchDot(ctx)) goto l1493; } l1494:; goto l1492; l1493:; ctx->pos= yypos1493; ctx->thunkpos= yythunkpos1493; } if (!yy_HtmlBlockCloseHgroup(ctx)) goto l1491; yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockHgroup", ctx->buf+ctx->pos)); return 1; l1491:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockHgroup", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_HtmlBlockCloseHgroup(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "HtmlBlockCloseHgroup")); if (!yymatchChar(ctx, '<')) goto l1497; if (!yy_Spnl(ctx)) goto l1497; if (!yymatchChar(ctx, '/')) goto l1497; { int yypos1498= ctx->pos, yythunkpos1498= ctx->thunkpos; if (!yymatchString(ctx, "hgroup")) goto l1499; goto l1498; l1499:; ctx->pos= yypos1498; ctx->thunkpos= yythunkpos1498; if (!yymatchString(ctx, "HGROUP")) goto l1497; } l1498:; if (!yy_Spnl(ctx)) goto l1497; if (!yymatchChar(ctx, '>')) goto l1497; yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockCloseHgroup", ctx->buf+ctx->pos)); return 1; l1497:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockCloseHgroup", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_HtmlBlockOpenHgroup(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "HtmlBlockOpenHgroup")); if (!yymatchChar(ctx, '<')) goto l1500; if (!yy_Spnl(ctx)) goto l1500; { int yypos1501= ctx->pos, yythunkpos1501= ctx->thunkpos; if (!yymatchString(ctx, "hgroup")) goto l1502; goto l1501; l1502:; ctx->pos= yypos1501; ctx->thunkpos= yythunkpos1501; if (!yymatchString(ctx, "HGROUP")) goto l1500; } l1501:; if (!yy_Spnl(ctx)) goto l1500; l1503:; { int yypos1504= ctx->pos, yythunkpos1504= ctx->thunkpos; if (!yy_HtmlAttribute(ctx)) goto l1504; goto l1503; l1504:; ctx->pos= yypos1504; ctx->thunkpos= yythunkpos1504; } if (!yymatchChar(ctx, '>')) goto l1500; yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockOpenHgroup", ctx->buf+ctx->pos)); return 1; l1500:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockOpenHgroup", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_HtmlBlockHeader(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "HtmlBlockHeader")); if (!yy_HtmlBlockOpenHeader(ctx)) goto l1505; l1506:; { int yypos1507= ctx->pos, yythunkpos1507= ctx->thunkpos; { int yypos1508= ctx->pos, yythunkpos1508= ctx->thunkpos; if (!yy_HtmlBlockHeader(ctx)) goto l1509; goto l1508; l1509:; ctx->pos= yypos1508; ctx->thunkpos= yythunkpos1508; { int yypos1510= ctx->pos, yythunkpos1510= ctx->thunkpos; if (!yy_HtmlBlockCloseHeader(ctx)) goto l1510; goto l1507; l1510:; ctx->pos= yypos1510; ctx->thunkpos= yythunkpos1510; } if (!yymatchDot(ctx)) goto l1507; } l1508:; goto l1506; l1507:; ctx->pos= yypos1507; ctx->thunkpos= yythunkpos1507; } if (!yy_HtmlBlockCloseHeader(ctx)) goto l1505; yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockHeader", ctx->buf+ctx->pos)); return 1; l1505:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockHeader", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_HtmlBlockCloseHeader(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "HtmlBlockCloseHeader")); if (!yymatchChar(ctx, '<')) goto l1511; if (!yy_Spnl(ctx)) goto l1511; if (!yymatchChar(ctx, '/')) goto l1511; { int yypos1512= ctx->pos, yythunkpos1512= ctx->thunkpos; if (!yymatchString(ctx, "header")) goto l1513; goto l1512; l1513:; ctx->pos= yypos1512; ctx->thunkpos= yythunkpos1512; if (!yymatchString(ctx, "HEADER")) goto l1511; } l1512:; if (!yy_Spnl(ctx)) goto l1511; if (!yymatchChar(ctx, '>')) goto l1511; yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockCloseHeader", ctx->buf+ctx->pos)); return 1; l1511:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockCloseHeader", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_HtmlBlockOpenHeader(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "HtmlBlockOpenHeader")); if (!yymatchChar(ctx, '<')) goto l1514; if (!yy_Spnl(ctx)) goto l1514; { int yypos1515= ctx->pos, yythunkpos1515= ctx->thunkpos; if (!yymatchString(ctx, "header")) goto l1516; goto l1515; l1516:; ctx->pos= yypos1515; ctx->thunkpos= yythunkpos1515; if (!yymatchString(ctx, "HEADER")) goto l1514; } l1515:; if (!yy_Spnl(ctx)) goto l1514; l1517:; { int yypos1518= ctx->pos, yythunkpos1518= ctx->thunkpos; if (!yy_HtmlAttribute(ctx)) goto l1518; goto l1517; l1518:; ctx->pos= yypos1518; ctx->thunkpos= yythunkpos1518; } if (!yymatchChar(ctx, '>')) goto l1514; yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockOpenHeader", ctx->buf+ctx->pos)); return 1; l1514:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockOpenHeader", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_HtmlBlockForm(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "HtmlBlockForm")); if (!yy_HtmlBlockOpenForm(ctx)) goto l1519; l1520:; { int yypos1521= ctx->pos, yythunkpos1521= ctx->thunkpos; { int yypos1522= ctx->pos, yythunkpos1522= ctx->thunkpos; if (!yy_HtmlBlockForm(ctx)) goto l1523; goto l1522; l1523:; ctx->pos= yypos1522; ctx->thunkpos= yythunkpos1522; { int yypos1524= ctx->pos, yythunkpos1524= ctx->thunkpos; if (!yy_HtmlBlockCloseForm(ctx)) goto l1524; goto l1521; l1524:; ctx->pos= yypos1524; ctx->thunkpos= yythunkpos1524; } if (!yymatchDot(ctx)) goto l1521; } l1522:; goto l1520; l1521:; ctx->pos= yypos1521; ctx->thunkpos= yythunkpos1521; } if (!yy_HtmlBlockCloseForm(ctx)) goto l1519; yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockForm", ctx->buf+ctx->pos)); return 1; l1519:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockForm", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_HtmlBlockCloseForm(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "HtmlBlockCloseForm")); if (!yymatchChar(ctx, '<')) goto l1525; if (!yy_Spnl(ctx)) goto l1525; if (!yymatchChar(ctx, '/')) goto l1525; { int yypos1526= ctx->pos, yythunkpos1526= ctx->thunkpos; if (!yymatchString(ctx, "form")) goto l1527; goto l1526; l1527:; ctx->pos= yypos1526; ctx->thunkpos= yythunkpos1526; if (!yymatchString(ctx, "FORM")) goto l1525; } l1526:; if (!yy_Spnl(ctx)) goto l1525; if (!yymatchChar(ctx, '>')) goto l1525; yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockCloseForm", ctx->buf+ctx->pos)); return 1; l1525:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockCloseForm", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_HtmlBlockOpenForm(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "HtmlBlockOpenForm")); if (!yymatchChar(ctx, '<')) goto l1528; if (!yy_Spnl(ctx)) goto l1528; { int yypos1529= ctx->pos, yythunkpos1529= ctx->thunkpos; if (!yymatchString(ctx, "form")) goto l1530; goto l1529; l1530:; ctx->pos= yypos1529; ctx->thunkpos= yythunkpos1529; if (!yymatchString(ctx, "FORM")) goto l1528; } l1529:; if (!yy_Spnl(ctx)) goto l1528; l1531:; { int yypos1532= ctx->pos, yythunkpos1532= ctx->thunkpos; if (!yy_HtmlAttribute(ctx)) goto l1532; goto l1531; l1532:; ctx->pos= yypos1532; ctx->thunkpos= yythunkpos1532; } if (!yymatchChar(ctx, '>')) goto l1528; yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockOpenForm", ctx->buf+ctx->pos)); return 1; l1528:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockOpenForm", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_HtmlBlockFooter(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "HtmlBlockFooter")); if (!yy_HtmlBlockOpenFooter(ctx)) goto l1533; l1534:; { int yypos1535= ctx->pos, yythunkpos1535= ctx->thunkpos; { int yypos1536= ctx->pos, yythunkpos1536= ctx->thunkpos; if (!yy_HtmlBlockFooter(ctx)) goto l1537; goto l1536; l1537:; ctx->pos= yypos1536; ctx->thunkpos= yythunkpos1536; { int yypos1538= ctx->pos, yythunkpos1538= ctx->thunkpos; if (!yy_HtmlBlockCloseFooter(ctx)) goto l1538; goto l1535; l1538:; ctx->pos= yypos1538; ctx->thunkpos= yythunkpos1538; } if (!yymatchDot(ctx)) goto l1535; } l1536:; goto l1534; l1535:; ctx->pos= yypos1535; ctx->thunkpos= yythunkpos1535; } if (!yy_HtmlBlockCloseFooter(ctx)) goto l1533; yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockFooter", ctx->buf+ctx->pos)); return 1; l1533:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockFooter", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_HtmlBlockCloseFooter(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "HtmlBlockCloseFooter")); if (!yymatchChar(ctx, '<')) goto l1539; if (!yy_Spnl(ctx)) goto l1539; if (!yymatchChar(ctx, '/')) goto l1539; { int yypos1540= ctx->pos, yythunkpos1540= ctx->thunkpos; if (!yymatchString(ctx, "footer")) goto l1541; goto l1540; l1541:; ctx->pos= yypos1540; ctx->thunkpos= yythunkpos1540; if (!yymatchString(ctx, "FOOTER")) goto l1539; } l1540:; if (!yy_Spnl(ctx)) goto l1539; if (!yymatchChar(ctx, '>')) goto l1539; yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockCloseFooter", ctx->buf+ctx->pos)); return 1; l1539:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockCloseFooter", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_HtmlBlockOpenFooter(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "HtmlBlockOpenFooter")); if (!yymatchChar(ctx, '<')) goto l1542; if (!yy_Spnl(ctx)) goto l1542; { int yypos1543= ctx->pos, yythunkpos1543= ctx->thunkpos; if (!yymatchString(ctx, "footer")) goto l1544; goto l1543; l1544:; ctx->pos= yypos1543; ctx->thunkpos= yythunkpos1543; if (!yymatchString(ctx, "FOOTER")) goto l1542; } l1543:; if (!yy_Spnl(ctx)) goto l1542; l1545:; { int yypos1546= ctx->pos, yythunkpos1546= ctx->thunkpos; if (!yy_HtmlAttribute(ctx)) goto l1546; goto l1545; l1546:; ctx->pos= yypos1546; ctx->thunkpos= yythunkpos1546; } if (!yymatchChar(ctx, '>')) goto l1542; yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockOpenFooter", ctx->buf+ctx->pos)); return 1; l1542:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockOpenFooter", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_HtmlBlockFigure(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "HtmlBlockFigure")); if (!yy_HtmlBlockOpenFigure(ctx)) goto l1547; l1548:; { int yypos1549= ctx->pos, yythunkpos1549= ctx->thunkpos; { int yypos1550= ctx->pos, yythunkpos1550= ctx->thunkpos; if (!yy_HtmlBlockFigure(ctx)) goto l1551; goto l1550; l1551:; ctx->pos= yypos1550; ctx->thunkpos= yythunkpos1550; { int yypos1552= ctx->pos, yythunkpos1552= ctx->thunkpos; if (!yy_HtmlBlockCloseFigure(ctx)) goto l1552; goto l1549; l1552:; ctx->pos= yypos1552; ctx->thunkpos= yythunkpos1552; } if (!yymatchDot(ctx)) goto l1549; } l1550:; goto l1548; l1549:; ctx->pos= yypos1549; ctx->thunkpos= yythunkpos1549; } if (!yy_HtmlBlockCloseFigure(ctx)) goto l1547; yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockFigure", ctx->buf+ctx->pos)); return 1; l1547:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockFigure", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_HtmlBlockCloseFigure(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "HtmlBlockCloseFigure")); if (!yymatchChar(ctx, '<')) goto l1553; if (!yy_Spnl(ctx)) goto l1553; if (!yymatchChar(ctx, '/')) goto l1553; { int yypos1554= ctx->pos, yythunkpos1554= ctx->thunkpos; if (!yymatchString(ctx, "figure")) goto l1555; goto l1554; l1555:; ctx->pos= yypos1554; ctx->thunkpos= yythunkpos1554; if (!yymatchString(ctx, "FIGURE")) goto l1553; } l1554:; if (!yy_Spnl(ctx)) goto l1553; if (!yymatchChar(ctx, '>')) goto l1553; yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockCloseFigure", ctx->buf+ctx->pos)); return 1; l1553:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockCloseFigure", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_HtmlBlockOpenFigure(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "HtmlBlockOpenFigure")); if (!yymatchChar(ctx, '<')) goto l1556; if (!yy_Spnl(ctx)) goto l1556; { int yypos1557= ctx->pos, yythunkpos1557= ctx->thunkpos; if (!yymatchString(ctx, "figure")) goto l1558; goto l1557; l1558:; ctx->pos= yypos1557; ctx->thunkpos= yythunkpos1557; if (!yymatchString(ctx, "FIGURE")) goto l1556; } l1557:; if (!yy_Spnl(ctx)) goto l1556; l1559:; { int yypos1560= ctx->pos, yythunkpos1560= ctx->thunkpos; if (!yy_HtmlAttribute(ctx)) goto l1560; goto l1559; l1560:; ctx->pos= yypos1560; ctx->thunkpos= yythunkpos1560; } if (!yymatchChar(ctx, '>')) goto l1556; yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockOpenFigure", ctx->buf+ctx->pos)); return 1; l1556:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockOpenFigure", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_HtmlBlockFieldset(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "HtmlBlockFieldset")); if (!yy_HtmlBlockOpenFieldset(ctx)) goto l1561; l1562:; { int yypos1563= ctx->pos, yythunkpos1563= ctx->thunkpos; { int yypos1564= ctx->pos, yythunkpos1564= ctx->thunkpos; if (!yy_HtmlBlockFieldset(ctx)) goto l1565; goto l1564; l1565:; ctx->pos= yypos1564; ctx->thunkpos= yythunkpos1564; { int yypos1566= ctx->pos, yythunkpos1566= ctx->thunkpos; if (!yy_HtmlBlockCloseFieldset(ctx)) goto l1566; goto l1563; l1566:; ctx->pos= yypos1566; ctx->thunkpos= yythunkpos1566; } if (!yymatchDot(ctx)) goto l1563; } l1564:; goto l1562; l1563:; ctx->pos= yypos1563; ctx->thunkpos= yythunkpos1563; } if (!yy_HtmlBlockCloseFieldset(ctx)) goto l1561; yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockFieldset", ctx->buf+ctx->pos)); return 1; l1561:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockFieldset", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_HtmlBlockCloseFieldset(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "HtmlBlockCloseFieldset")); if (!yymatchChar(ctx, '<')) goto l1567; if (!yy_Spnl(ctx)) goto l1567; if (!yymatchChar(ctx, '/')) goto l1567; { int yypos1568= ctx->pos, yythunkpos1568= ctx->thunkpos; if (!yymatchString(ctx, "fieldset")) goto l1569; goto l1568; l1569:; ctx->pos= yypos1568; ctx->thunkpos= yythunkpos1568; if (!yymatchString(ctx, "FIELDSET")) goto l1567; } l1568:; if (!yy_Spnl(ctx)) goto l1567; if (!yymatchChar(ctx, '>')) goto l1567; yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockCloseFieldset", ctx->buf+ctx->pos)); return 1; l1567:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockCloseFieldset", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_HtmlBlockOpenFieldset(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "HtmlBlockOpenFieldset")); if (!yymatchChar(ctx, '<')) goto l1570; if (!yy_Spnl(ctx)) goto l1570; { int yypos1571= ctx->pos, yythunkpos1571= ctx->thunkpos; if (!yymatchString(ctx, "fieldset")) goto l1572; goto l1571; l1572:; ctx->pos= yypos1571; ctx->thunkpos= yythunkpos1571; if (!yymatchString(ctx, "FIELDSET")) goto l1570; } l1571:; if (!yy_Spnl(ctx)) goto l1570; l1573:; { int yypos1574= ctx->pos, yythunkpos1574= ctx->thunkpos; if (!yy_HtmlAttribute(ctx)) goto l1574; goto l1573; l1574:; ctx->pos= yypos1574; ctx->thunkpos= yythunkpos1574; } if (!yymatchChar(ctx, '>')) goto l1570; yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockOpenFieldset", ctx->buf+ctx->pos)); return 1; l1570:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockOpenFieldset", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_HtmlBlockDl(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "HtmlBlockDl")); if (!yy_HtmlBlockOpenDl(ctx)) goto l1575; l1576:; { int yypos1577= ctx->pos, yythunkpos1577= ctx->thunkpos; { int yypos1578= ctx->pos, yythunkpos1578= ctx->thunkpos; if (!yy_HtmlBlockDl(ctx)) goto l1579; goto l1578; l1579:; ctx->pos= yypos1578; ctx->thunkpos= yythunkpos1578; { int yypos1580= ctx->pos, yythunkpos1580= ctx->thunkpos; if (!yy_HtmlBlockCloseDl(ctx)) goto l1580; goto l1577; l1580:; ctx->pos= yypos1580; ctx->thunkpos= yythunkpos1580; } if (!yymatchDot(ctx)) goto l1577; } l1578:; goto l1576; l1577:; ctx->pos= yypos1577; ctx->thunkpos= yythunkpos1577; } if (!yy_HtmlBlockCloseDl(ctx)) goto l1575; yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockDl", ctx->buf+ctx->pos)); return 1; l1575:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockDl", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_HtmlBlockCloseDl(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "HtmlBlockCloseDl")); if (!yymatchChar(ctx, '<')) goto l1581; if (!yy_Spnl(ctx)) goto l1581; if (!yymatchChar(ctx, '/')) goto l1581; { int yypos1582= ctx->pos, yythunkpos1582= ctx->thunkpos; if (!yymatchString(ctx, "dl")) goto l1583; goto l1582; l1583:; ctx->pos= yypos1582; ctx->thunkpos= yythunkpos1582; if (!yymatchString(ctx, "DL")) goto l1581; } l1582:; if (!yy_Spnl(ctx)) goto l1581; if (!yymatchChar(ctx, '>')) goto l1581; yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockCloseDl", ctx->buf+ctx->pos)); return 1; l1581:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockCloseDl", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_HtmlBlockOpenDl(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "HtmlBlockOpenDl")); if (!yymatchChar(ctx, '<')) goto l1584; if (!yy_Spnl(ctx)) goto l1584; { int yypos1585= ctx->pos, yythunkpos1585= ctx->thunkpos; if (!yymatchString(ctx, "dl")) goto l1586; goto l1585; l1586:; ctx->pos= yypos1585; ctx->thunkpos= yythunkpos1585; if (!yymatchString(ctx, "DL")) goto l1584; } l1585:; if (!yy_Spnl(ctx)) goto l1584; l1587:; { int yypos1588= ctx->pos, yythunkpos1588= ctx->thunkpos; if (!yy_HtmlAttribute(ctx)) goto l1588; goto l1587; l1588:; ctx->pos= yypos1588; ctx->thunkpos= yythunkpos1588; } if (!yymatchChar(ctx, '>')) goto l1584; yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockOpenDl", ctx->buf+ctx->pos)); return 1; l1584:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockOpenDl", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_HtmlBlockDiv(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "HtmlBlockDiv")); if (!yy_HtmlBlockOpenDiv(ctx)) goto l1589; l1590:; { int yypos1591= ctx->pos, yythunkpos1591= ctx->thunkpos; { int yypos1592= ctx->pos, yythunkpos1592= ctx->thunkpos; if (!yy_HtmlBlockDiv(ctx)) goto l1593; goto l1592; l1593:; ctx->pos= yypos1592; ctx->thunkpos= yythunkpos1592; { int yypos1594= ctx->pos, yythunkpos1594= ctx->thunkpos; if (!yy_HtmlBlockCloseDiv(ctx)) goto l1594; goto l1591; l1594:; ctx->pos= yypos1594; ctx->thunkpos= yythunkpos1594; } if (!yymatchDot(ctx)) goto l1591; } l1592:; goto l1590; l1591:; ctx->pos= yypos1591; ctx->thunkpos= yythunkpos1591; } if (!yy_HtmlBlockCloseDiv(ctx)) goto l1589; yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockDiv", ctx->buf+ctx->pos)); return 1; l1589:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockDiv", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_HtmlBlockCloseDiv(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "HtmlBlockCloseDiv")); if (!yymatchChar(ctx, '<')) goto l1595; if (!yy_Spnl(ctx)) goto l1595; if (!yymatchChar(ctx, '/')) goto l1595; { int yypos1596= ctx->pos, yythunkpos1596= ctx->thunkpos; if (!yymatchString(ctx, "div")) goto l1597; goto l1596; l1597:; ctx->pos= yypos1596; ctx->thunkpos= yythunkpos1596; if (!yymatchString(ctx, "DIV")) goto l1595; } l1596:; if (!yy_Spnl(ctx)) goto l1595; if (!yymatchChar(ctx, '>')) goto l1595; yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockCloseDiv", ctx->buf+ctx->pos)); return 1; l1595:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockCloseDiv", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_HtmlBlockDir(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "HtmlBlockDir")); if (!yy_HtmlBlockOpenDir(ctx)) goto l1598; l1599:; { int yypos1600= ctx->pos, yythunkpos1600= ctx->thunkpos; { int yypos1601= ctx->pos, yythunkpos1601= ctx->thunkpos; if (!yy_HtmlBlockDir(ctx)) goto l1602; goto l1601; l1602:; ctx->pos= yypos1601; ctx->thunkpos= yythunkpos1601; { int yypos1603= ctx->pos, yythunkpos1603= ctx->thunkpos; if (!yy_HtmlBlockCloseDir(ctx)) goto l1603; goto l1600; l1603:; ctx->pos= yypos1603; ctx->thunkpos= yythunkpos1603; } if (!yymatchDot(ctx)) goto l1600; } l1601:; goto l1599; l1600:; ctx->pos= yypos1600; ctx->thunkpos= yythunkpos1600; } if (!yy_HtmlBlockCloseDir(ctx)) goto l1598; yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockDir", ctx->buf+ctx->pos)); return 1; l1598:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockDir", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_HtmlBlockCloseDir(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "HtmlBlockCloseDir")); if (!yymatchChar(ctx, '<')) goto l1604; if (!yy_Spnl(ctx)) goto l1604; if (!yymatchChar(ctx, '/')) goto l1604; { int yypos1605= ctx->pos, yythunkpos1605= ctx->thunkpos; if (!yymatchString(ctx, "dir")) goto l1606; goto l1605; l1606:; ctx->pos= yypos1605; ctx->thunkpos= yythunkpos1605; if (!yymatchString(ctx, "DIR")) goto l1604; } l1605:; if (!yy_Spnl(ctx)) goto l1604; if (!yymatchChar(ctx, '>')) goto l1604; yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockCloseDir", ctx->buf+ctx->pos)); return 1; l1604:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockCloseDir", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_HtmlBlockOpenDir(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "HtmlBlockOpenDir")); if (!yymatchChar(ctx, '<')) goto l1607; if (!yy_Spnl(ctx)) goto l1607; { int yypos1608= ctx->pos, yythunkpos1608= ctx->thunkpos; if (!yymatchString(ctx, "dir")) goto l1609; goto l1608; l1609:; ctx->pos= yypos1608; ctx->thunkpos= yythunkpos1608; if (!yymatchString(ctx, "DIR")) goto l1607; } l1608:; if (!yy_Spnl(ctx)) goto l1607; l1610:; { int yypos1611= ctx->pos, yythunkpos1611= ctx->thunkpos; if (!yy_HtmlAttribute(ctx)) goto l1611; goto l1610; l1611:; ctx->pos= yypos1611; ctx->thunkpos= yythunkpos1611; } if (!yymatchChar(ctx, '>')) goto l1607; yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockOpenDir", ctx->buf+ctx->pos)); return 1; l1607:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockOpenDir", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_HtmlBlockCenter(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "HtmlBlockCenter")); if (!yy_HtmlBlockOpenCenter(ctx)) goto l1612; l1613:; { int yypos1614= ctx->pos, yythunkpos1614= ctx->thunkpos; { int yypos1615= ctx->pos, yythunkpos1615= ctx->thunkpos; if (!yy_HtmlBlockCenter(ctx)) goto l1616; goto l1615; l1616:; ctx->pos= yypos1615; ctx->thunkpos= yythunkpos1615; { int yypos1617= ctx->pos, yythunkpos1617= ctx->thunkpos; if (!yy_HtmlBlockCloseCenter(ctx)) goto l1617; goto l1614; l1617:; ctx->pos= yypos1617; ctx->thunkpos= yythunkpos1617; } if (!yymatchDot(ctx)) goto l1614; } l1615:; goto l1613; l1614:; ctx->pos= yypos1614; ctx->thunkpos= yythunkpos1614; } if (!yy_HtmlBlockCloseCenter(ctx)) goto l1612; yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockCenter", ctx->buf+ctx->pos)); return 1; l1612:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockCenter", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_HtmlBlockCloseCenter(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "HtmlBlockCloseCenter")); if (!yymatchChar(ctx, '<')) goto l1618; if (!yy_Spnl(ctx)) goto l1618; if (!yymatchChar(ctx, '/')) goto l1618; { int yypos1619= ctx->pos, yythunkpos1619= ctx->thunkpos; if (!yymatchString(ctx, "center")) goto l1620; goto l1619; l1620:; ctx->pos= yypos1619; ctx->thunkpos= yythunkpos1619; if (!yymatchString(ctx, "CENTER")) goto l1618; } l1619:; if (!yy_Spnl(ctx)) goto l1618; if (!yymatchChar(ctx, '>')) goto l1618; yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockCloseCenter", ctx->buf+ctx->pos)); return 1; l1618:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockCloseCenter", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_HtmlBlockOpenCenter(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "HtmlBlockOpenCenter")); if (!yymatchChar(ctx, '<')) goto l1621; if (!yy_Spnl(ctx)) goto l1621; { int yypos1622= ctx->pos, yythunkpos1622= ctx->thunkpos; if (!yymatchString(ctx, "center")) goto l1623; goto l1622; l1623:; ctx->pos= yypos1622; ctx->thunkpos= yythunkpos1622; if (!yymatchString(ctx, "CENTER")) goto l1621; } l1622:; if (!yy_Spnl(ctx)) goto l1621; l1624:; { int yypos1625= ctx->pos, yythunkpos1625= ctx->thunkpos; if (!yy_HtmlAttribute(ctx)) goto l1625; goto l1624; l1625:; ctx->pos= yypos1625; ctx->thunkpos= yythunkpos1625; } if (!yymatchChar(ctx, '>')) goto l1621; yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockOpenCenter", ctx->buf+ctx->pos)); return 1; l1621:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockOpenCenter", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_HtmlBlockCanvas(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "HtmlBlockCanvas")); if (!yy_HtmlBlockOpenCanvas(ctx)) goto l1626; l1627:; { int yypos1628= ctx->pos, yythunkpos1628= ctx->thunkpos; { int yypos1629= ctx->pos, yythunkpos1629= ctx->thunkpos; if (!yy_HtmlBlockCanvas(ctx)) goto l1630; goto l1629; l1630:; ctx->pos= yypos1629; ctx->thunkpos= yythunkpos1629; { int yypos1631= ctx->pos, yythunkpos1631= ctx->thunkpos; if (!yy_HtmlBlockCloseCanvas(ctx)) goto l1631; goto l1628; l1631:; ctx->pos= yypos1631; ctx->thunkpos= yythunkpos1631; } if (!yymatchDot(ctx)) goto l1628; } l1629:; goto l1627; l1628:; ctx->pos= yypos1628; ctx->thunkpos= yythunkpos1628; } if (!yy_HtmlBlockCloseCanvas(ctx)) goto l1626; yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockCanvas", ctx->buf+ctx->pos)); return 1; l1626:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockCanvas", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_HtmlBlockCloseCanvas(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "HtmlBlockCloseCanvas")); if (!yymatchChar(ctx, '<')) goto l1632; if (!yy_Spnl(ctx)) goto l1632; if (!yymatchChar(ctx, '/')) goto l1632; { int yypos1633= ctx->pos, yythunkpos1633= ctx->thunkpos; if (!yymatchString(ctx, "canvas")) goto l1634; goto l1633; l1634:; ctx->pos= yypos1633; ctx->thunkpos= yythunkpos1633; if (!yymatchString(ctx, "CANVAS")) goto l1632; } l1633:; if (!yy_Spnl(ctx)) goto l1632; if (!yymatchChar(ctx, '>')) goto l1632; yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockCloseCanvas", ctx->buf+ctx->pos)); return 1; l1632:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockCloseCanvas", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_HtmlBlockOpenCanvas(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "HtmlBlockOpenCanvas")); if (!yymatchChar(ctx, '<')) goto l1635; if (!yy_Spnl(ctx)) goto l1635; { int yypos1636= ctx->pos, yythunkpos1636= ctx->thunkpos; if (!yymatchString(ctx, "canvas")) goto l1637; goto l1636; l1637:; ctx->pos= yypos1636; ctx->thunkpos= yythunkpos1636; if (!yymatchString(ctx, "CANVAS")) goto l1635; } l1636:; if (!yy_Spnl(ctx)) goto l1635; l1638:; { int yypos1639= ctx->pos, yythunkpos1639= ctx->thunkpos; if (!yy_HtmlAttribute(ctx)) goto l1639; goto l1638; l1639:; ctx->pos= yypos1639; ctx->thunkpos= yythunkpos1639; } if (!yymatchChar(ctx, '>')) goto l1635; yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockOpenCanvas", ctx->buf+ctx->pos)); return 1; l1635:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockOpenCanvas", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_HtmlBlockBlockquote(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "HtmlBlockBlockquote")); if (!yy_HtmlBlockOpenBlockquote(ctx)) goto l1640; l1641:; { int yypos1642= ctx->pos, yythunkpos1642= ctx->thunkpos; { int yypos1643= ctx->pos, yythunkpos1643= ctx->thunkpos; if (!yy_HtmlBlockBlockquote(ctx)) goto l1644; goto l1643; l1644:; ctx->pos= yypos1643; ctx->thunkpos= yythunkpos1643; { int yypos1645= ctx->pos, yythunkpos1645= ctx->thunkpos; if (!yy_HtmlBlockCloseBlockquote(ctx)) goto l1645; goto l1642; l1645:; ctx->pos= yypos1645; ctx->thunkpos= yythunkpos1645; } if (!yymatchDot(ctx)) goto l1642; } l1643:; goto l1641; l1642:; ctx->pos= yypos1642; ctx->thunkpos= yythunkpos1642; } if (!yy_HtmlBlockCloseBlockquote(ctx)) goto l1640; yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockBlockquote", ctx->buf+ctx->pos)); return 1; l1640:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockBlockquote", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_HtmlBlockCloseBlockquote(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "HtmlBlockCloseBlockquote")); if (!yymatchChar(ctx, '<')) goto l1646; if (!yy_Spnl(ctx)) goto l1646; if (!yymatchChar(ctx, '/')) goto l1646; { int yypos1647= ctx->pos, yythunkpos1647= ctx->thunkpos; if (!yymatchString(ctx, "blockquote")) goto l1648; goto l1647; l1648:; ctx->pos= yypos1647; ctx->thunkpos= yythunkpos1647; if (!yymatchString(ctx, "BLOCKQUOTE")) goto l1646; } l1647:; if (!yy_Spnl(ctx)) goto l1646; if (!yymatchChar(ctx, '>')) goto l1646; yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockCloseBlockquote", ctx->buf+ctx->pos)); return 1; l1646:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockCloseBlockquote", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_HtmlBlockOpenBlockquote(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "HtmlBlockOpenBlockquote")); if (!yymatchChar(ctx, '<')) goto l1649; if (!yy_Spnl(ctx)) goto l1649; { int yypos1650= ctx->pos, yythunkpos1650= ctx->thunkpos; if (!yymatchString(ctx, "blockquote")) goto l1651; goto l1650; l1651:; ctx->pos= yypos1650; ctx->thunkpos= yythunkpos1650; if (!yymatchString(ctx, "BLOCKQUOTE")) goto l1649; } l1650:; if (!yy_Spnl(ctx)) goto l1649; l1652:; { int yypos1653= ctx->pos, yythunkpos1653= ctx->thunkpos; if (!yy_HtmlAttribute(ctx)) goto l1653; goto l1652; l1653:; ctx->pos= yypos1653; ctx->thunkpos= yythunkpos1653; } if (!yymatchChar(ctx, '>')) goto l1649; yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockOpenBlockquote", ctx->buf+ctx->pos)); return 1; l1649:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockOpenBlockquote", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_HtmlBlockAside(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "HtmlBlockAside")); if (!yy_HtmlBlockOpenAside(ctx)) goto l1654; l1655:; { int yypos1656= ctx->pos, yythunkpos1656= ctx->thunkpos; { int yypos1657= ctx->pos, yythunkpos1657= ctx->thunkpos; if (!yy_HtmlBlockAside(ctx)) goto l1658; goto l1657; l1658:; ctx->pos= yypos1657; ctx->thunkpos= yythunkpos1657; { int yypos1659= ctx->pos, yythunkpos1659= ctx->thunkpos; if (!yy_HtmlBlockCloseAside(ctx)) goto l1659; goto l1656; l1659:; ctx->pos= yypos1659; ctx->thunkpos= yythunkpos1659; } if (!yymatchDot(ctx)) goto l1656; } l1657:; goto l1655; l1656:; ctx->pos= yypos1656; ctx->thunkpos= yythunkpos1656; } if (!yy_HtmlBlockCloseAside(ctx)) goto l1654; yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockAside", ctx->buf+ctx->pos)); return 1; l1654:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockAside", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_HtmlBlockCloseAside(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "HtmlBlockCloseAside")); if (!yymatchChar(ctx, '<')) goto l1660; if (!yy_Spnl(ctx)) goto l1660; if (!yymatchChar(ctx, '/')) goto l1660; { int yypos1661= ctx->pos, yythunkpos1661= ctx->thunkpos; if (!yymatchString(ctx, "aside")) goto l1662; goto l1661; l1662:; ctx->pos= yypos1661; ctx->thunkpos= yythunkpos1661; if (!yymatchString(ctx, "ASIDE")) goto l1660; } l1661:; if (!yy_Spnl(ctx)) goto l1660; if (!yymatchChar(ctx, '>')) goto l1660; yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockCloseAside", ctx->buf+ctx->pos)); return 1; l1660:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockCloseAside", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_HtmlBlockOpenAside(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "HtmlBlockOpenAside")); if (!yymatchChar(ctx, '<')) goto l1663; if (!yy_Spnl(ctx)) goto l1663; { int yypos1664= ctx->pos, yythunkpos1664= ctx->thunkpos; if (!yymatchString(ctx, "aside")) goto l1665; goto l1664; l1665:; ctx->pos= yypos1664; ctx->thunkpos= yythunkpos1664; if (!yymatchString(ctx, "ASIDE")) goto l1663; } l1664:; if (!yy_Spnl(ctx)) goto l1663; l1666:; { int yypos1667= ctx->pos, yythunkpos1667= ctx->thunkpos; if (!yy_HtmlAttribute(ctx)) goto l1667; goto l1666; l1667:; ctx->pos= yypos1667; ctx->thunkpos= yythunkpos1667; } if (!yymatchChar(ctx, '>')) goto l1663; yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockOpenAside", ctx->buf+ctx->pos)); return 1; l1663:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockOpenAside", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_HtmlBlockArticle(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "HtmlBlockArticle")); if (!yy_HtmlBlockOpenArticle(ctx)) goto l1668; l1669:; { int yypos1670= ctx->pos, yythunkpos1670= ctx->thunkpos; { int yypos1671= ctx->pos, yythunkpos1671= ctx->thunkpos; if (!yy_HtmlBlockArticle(ctx)) goto l1672; goto l1671; l1672:; ctx->pos= yypos1671; ctx->thunkpos= yythunkpos1671; { int yypos1673= ctx->pos, yythunkpos1673= ctx->thunkpos; if (!yy_HtmlBlockCloseArticle(ctx)) goto l1673; goto l1670; l1673:; ctx->pos= yypos1673; ctx->thunkpos= yythunkpos1673; } if (!yymatchDot(ctx)) goto l1670; } l1671:; goto l1669; l1670:; ctx->pos= yypos1670; ctx->thunkpos= yythunkpos1670; } if (!yy_HtmlBlockCloseArticle(ctx)) goto l1668; yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockArticle", ctx->buf+ctx->pos)); return 1; l1668:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockArticle", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_HtmlBlockCloseArticle(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "HtmlBlockCloseArticle")); if (!yymatchChar(ctx, '<')) goto l1674; if (!yy_Spnl(ctx)) goto l1674; if (!yymatchChar(ctx, '/')) goto l1674; { int yypos1675= ctx->pos, yythunkpos1675= ctx->thunkpos; if (!yymatchString(ctx, "article")) goto l1676; goto l1675; l1676:; ctx->pos= yypos1675; ctx->thunkpos= yythunkpos1675; if (!yymatchString(ctx, "ARTICLE")) goto l1674; } l1675:; if (!yy_Spnl(ctx)) goto l1674; if (!yymatchChar(ctx, '>')) goto l1674; yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockCloseArticle", ctx->buf+ctx->pos)); return 1; l1674:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockCloseArticle", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_HtmlBlockOpenArticle(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "HtmlBlockOpenArticle")); if (!yymatchChar(ctx, '<')) goto l1677; if (!yy_Spnl(ctx)) goto l1677; { int yypos1678= ctx->pos, yythunkpos1678= ctx->thunkpos; if (!yymatchString(ctx, "article")) goto l1679; goto l1678; l1679:; ctx->pos= yypos1678; ctx->thunkpos= yythunkpos1678; if (!yymatchString(ctx, "ARTICLE")) goto l1677; } l1678:; if (!yy_Spnl(ctx)) goto l1677; l1680:; { int yypos1681= ctx->pos, yythunkpos1681= ctx->thunkpos; if (!yy_HtmlAttribute(ctx)) goto l1681; goto l1680; l1681:; ctx->pos= yypos1681; ctx->thunkpos= yythunkpos1681; } if (!yymatchChar(ctx, '>')) goto l1677; yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockOpenArticle", ctx->buf+ctx->pos)); return 1; l1677:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockOpenArticle", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_HtmlBlockAddress(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "HtmlBlockAddress")); if (!yy_HtmlBlockOpenAddress(ctx)) goto l1682; l1683:; { int yypos1684= ctx->pos, yythunkpos1684= ctx->thunkpos; { int yypos1685= ctx->pos, yythunkpos1685= ctx->thunkpos; if (!yy_HtmlBlockAddress(ctx)) goto l1686; goto l1685; l1686:; ctx->pos= yypos1685; ctx->thunkpos= yythunkpos1685; { int yypos1687= ctx->pos, yythunkpos1687= ctx->thunkpos; if (!yy_HtmlBlockCloseAddress(ctx)) goto l1687; goto l1684; l1687:; ctx->pos= yypos1687; ctx->thunkpos= yythunkpos1687; } if (!yymatchDot(ctx)) goto l1684; } l1685:; goto l1683; l1684:; ctx->pos= yypos1684; ctx->thunkpos= yythunkpos1684; } if (!yy_HtmlBlockCloseAddress(ctx)) goto l1682; yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockAddress", ctx->buf+ctx->pos)); return 1; l1682:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockAddress", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_HtmlBlockCloseAddress(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "HtmlBlockCloseAddress")); if (!yymatchChar(ctx, '<')) goto l1688; if (!yy_Spnl(ctx)) goto l1688; if (!yymatchChar(ctx, '/')) goto l1688; { int yypos1689= ctx->pos, yythunkpos1689= ctx->thunkpos; if (!yymatchString(ctx, "address")) goto l1690; goto l1689; l1690:; ctx->pos= yypos1689; ctx->thunkpos= yythunkpos1689; if (!yymatchString(ctx, "ADDRESS")) goto l1688; } l1689:; if (!yy_Spnl(ctx)) goto l1688; if (!yymatchChar(ctx, '>')) goto l1688; yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockCloseAddress", ctx->buf+ctx->pos)); return 1; l1688:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockCloseAddress", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_HtmlAttribute(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "HtmlAttribute")); { int yypos1694= ctx->pos, yythunkpos1694= ctx->thunkpos; if (!yy_AlphanumericAscii(ctx)) goto l1695; goto l1694; l1695:; ctx->pos= yypos1694; ctx->thunkpos= yythunkpos1694; if (!yymatchChar(ctx, '-')) goto l1691; } l1694:; l1692:; { int yypos1693= ctx->pos, yythunkpos1693= ctx->thunkpos; { int yypos1696= ctx->pos, yythunkpos1696= ctx->thunkpos; if (!yy_AlphanumericAscii(ctx)) goto l1697; goto l1696; l1697:; ctx->pos= yypos1696; ctx->thunkpos= yythunkpos1696; if (!yymatchChar(ctx, '-')) goto l1693; } l1696:; goto l1692; l1693:; ctx->pos= yypos1693; ctx->thunkpos= yythunkpos1693; } if (!yy_Spnl(ctx)) goto l1691; { int yypos1698= ctx->pos, yythunkpos1698= ctx->thunkpos; if (!yymatchChar(ctx, '=')) goto l1698; if (!yy_Spnl(ctx)) goto l1698; { int yypos1700= ctx->pos, yythunkpos1700= ctx->thunkpos; if (!yy_Quoted(ctx)) goto l1701; goto l1700; l1701:; ctx->pos= yypos1700; ctx->thunkpos= yythunkpos1700; { int yypos1704= ctx->pos, yythunkpos1704= ctx->thunkpos; if (!yymatchChar(ctx, '>')) goto l1704; goto l1698; l1704:; ctx->pos= yypos1704; ctx->thunkpos= yythunkpos1704; } if (!yy_Nonspacechar(ctx)) goto l1698; l1702:; { int yypos1703= ctx->pos, yythunkpos1703= ctx->thunkpos; { int yypos1705= ctx->pos, yythunkpos1705= ctx->thunkpos; if (!yymatchChar(ctx, '>')) goto l1705; goto l1703; l1705:; ctx->pos= yypos1705; ctx->thunkpos= yythunkpos1705; } if (!yy_Nonspacechar(ctx)) goto l1703; goto l1702; l1703:; ctx->pos= yypos1703; ctx->thunkpos= yythunkpos1703; } } l1700:; goto l1699; l1698:; ctx->pos= yypos1698; ctx->thunkpos= yythunkpos1698; } l1699:; if (!yy_Spnl(ctx)) goto l1691; yyprintf((stderr, " ok %s @ %s\n", "HtmlAttribute", ctx->buf+ctx->pos)); return 1; l1691:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "HtmlAttribute", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_Spnl(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "Spnl")); if (!yy_Sp(ctx)) goto l1706; { int yypos1707= ctx->pos, yythunkpos1707= ctx->thunkpos; if (!yy_Newline(ctx)) goto l1707; if (!yy_Sp(ctx)) goto l1707; goto l1708; l1707:; ctx->pos= yypos1707; ctx->thunkpos= yythunkpos1707; } l1708:; yyprintf((stderr, " ok %s @ %s\n", "Spnl", ctx->buf+ctx->pos)); return 1; l1706:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "Spnl", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_HtmlBlockOpenAddress(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "HtmlBlockOpenAddress")); if (!yymatchChar(ctx, '<')) goto l1709; if (!yy_Spnl(ctx)) goto l1709; { int yypos1710= ctx->pos, yythunkpos1710= ctx->thunkpos; if (!yymatchString(ctx, "address")) goto l1711; goto l1710; l1711:; ctx->pos= yypos1710; ctx->thunkpos= yythunkpos1710; if (!yymatchString(ctx, "ADDRESS")) goto l1709; } l1710:; if (!yy_Spnl(ctx)) goto l1709; l1712:; { int yypos1713= ctx->pos, yythunkpos1713= ctx->thunkpos; if (!yy_HtmlAttribute(ctx)) goto l1713; goto l1712; l1713:; ctx->pos= yypos1713; ctx->thunkpos= yythunkpos1713; } if (!yymatchChar(ctx, '>')) goto l1709; yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockOpenAddress", ctx->buf+ctx->pos)); return 1; l1709:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockOpenAddress", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_OptionallyIndentedLine(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "OptionallyIndentedLine")); { int yypos1715= ctx->pos, yythunkpos1715= ctx->thunkpos; if (!yy_Indent(ctx)) goto l1715; goto l1716; l1715:; ctx->pos= yypos1715; ctx->thunkpos= yythunkpos1715; } l1716:; if (!yy_Line(ctx)) goto l1714; yyprintf((stderr, " ok %s @ %s\n", "OptionallyIndentedLine", ctx->buf+ctx->pos)); return 1; l1714:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "OptionallyIndentedLine", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_Indent(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "Indent")); { int yypos1718= ctx->pos, yythunkpos1718= ctx->thunkpos; if (!yymatchChar(ctx, '\t')) goto l1719; goto l1718; l1719:; ctx->pos= yypos1718; ctx->thunkpos= yythunkpos1718; if (!yymatchString(ctx, " ")) goto l1717; } l1718:; yyprintf((stderr, " ok %s @ %s\n", "Indent", ctx->buf+ctx->pos)); return 1; l1717:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "Indent", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_ListBlockLine(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "ListBlockLine")); { int yypos1721= ctx->pos, yythunkpos1721= ctx->thunkpos; if (!yy_BlankLine(ctx)) goto l1721; goto l1720; l1721:; ctx->pos= yypos1721; ctx->thunkpos= yythunkpos1721; } { int yypos1722= ctx->pos, yythunkpos1722= ctx->thunkpos; { int yypos1723= ctx->pos, yythunkpos1723= ctx->thunkpos; if (!yy_Indent(ctx)) goto l1723; goto l1724; l1723:; ctx->pos= yypos1723; ctx->thunkpos= yythunkpos1723; } l1724:; { int yypos1725= ctx->pos, yythunkpos1725= ctx->thunkpos; if (!yy_Bullet(ctx)) goto l1726; goto l1725; l1726:; ctx->pos= yypos1725; ctx->thunkpos= yythunkpos1725; if (!yy_Enumerator(ctx)) goto l1722; } l1725:; goto l1720; l1722:; ctx->pos= yypos1722; ctx->thunkpos= yythunkpos1722; } { int yypos1727= ctx->pos, yythunkpos1727= ctx->thunkpos; if (!yy_HorizontalRule(ctx)) goto l1727; goto l1720; l1727:; ctx->pos= yypos1727; ctx->thunkpos= yythunkpos1727; } if (!yy_OptionallyIndentedLine(ctx)) goto l1720; yyprintf((stderr, " ok %s @ %s\n", "ListBlockLine", ctx->buf+ctx->pos)); return 1; l1720:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "ListBlockLine", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_ListContinuationBlock(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyDo(ctx, yyPush, 1, 0); yyprintf((stderr, "%s\n", "ListContinuationBlock")); if (!yy_StartList(ctx)) goto l1728; yyDo(ctx, yySet, -1, 0); yyText(ctx, ctx->begin, ctx->end); if (!(YY_BEGIN)) goto l1728; l1729:; { int yypos1730= ctx->pos, yythunkpos1730= ctx->thunkpos; if (!yy_BlankLine(ctx)) goto l1730; goto l1729; l1730:; ctx->pos= yypos1730; ctx->thunkpos= yythunkpos1730; } yyText(ctx, ctx->begin, ctx->end); if (!(YY_END)) goto l1728; yyDo(ctx, yy_1_ListContinuationBlock, ctx->begin, ctx->end); if (!yy_Indent(ctx)) goto l1728; if (!yy_ListBlock(ctx)) goto l1728; yyDo(ctx, yy_2_ListContinuationBlock, ctx->begin, ctx->end); l1731:; { int yypos1732= ctx->pos, yythunkpos1732= ctx->thunkpos; if (!yy_Indent(ctx)) goto l1732; if (!yy_ListBlock(ctx)) goto l1732; yyDo(ctx, yy_2_ListContinuationBlock, ctx->begin, ctx->end); goto l1731; l1732:; ctx->pos= yypos1732; ctx->thunkpos= yythunkpos1732; } yyDo(ctx, yy_3_ListContinuationBlock, ctx->begin, ctx->end); yyprintf((stderr, " ok %s @ %s\n", "ListContinuationBlock", ctx->buf+ctx->pos)); yyDo(ctx, yyPop, 1, 0); return 1; l1728:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "ListContinuationBlock", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_ListBlock(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyDo(ctx, yyPush, 1, 0); yyprintf((stderr, "%s\n", "ListBlock")); if (!yy_StartList(ctx)) goto l1733; yyDo(ctx, yySet, -1, 0); { int yypos1734= ctx->pos, yythunkpos1734= ctx->thunkpos; if (!yy_BlankLine(ctx)) goto l1734; goto l1733; l1734:; ctx->pos= yypos1734; ctx->thunkpos= yythunkpos1734; } if (!yy_Line(ctx)) goto l1733; yyDo(ctx, yy_1_ListBlock, ctx->begin, ctx->end); l1735:; { int yypos1736= ctx->pos, yythunkpos1736= ctx->thunkpos; if (!yy_ListBlockLine(ctx)) goto l1736; yyDo(ctx, yy_2_ListBlock, ctx->begin, ctx->end); goto l1735; l1736:; ctx->pos= yypos1736; ctx->thunkpos= yythunkpos1736; } yyDo(ctx, yy_3_ListBlock, ctx->begin, ctx->end); yyprintf((stderr, " ok %s @ %s\n", "ListBlock", ctx->buf+ctx->pos)); yyDo(ctx, yyPop, 1, 0); return 1; l1733:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "ListBlock", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_ListItem(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyDo(ctx, yyPush, 1, 0); yyprintf((stderr, "%s\n", "ListItem")); { int yypos1738= ctx->pos, yythunkpos1738= ctx->thunkpos; if (!yy_Bullet(ctx)) goto l1739; goto l1738; l1739:; ctx->pos= yypos1738; ctx->thunkpos= yythunkpos1738; if (!yy_Enumerator(ctx)) goto l1737; } l1738:; if (!yy_StartList(ctx)) goto l1737; yyDo(ctx, yySet, -1, 0); if (!yy_ListBlock(ctx)) goto l1737; yyDo(ctx, yy_1_ListItem, ctx->begin, ctx->end); l1740:; { int yypos1741= ctx->pos, yythunkpos1741= ctx->thunkpos; if (!yy_ListContinuationBlock(ctx)) goto l1741; yyDo(ctx, yy_2_ListItem, ctx->begin, ctx->end); goto l1740; l1741:; ctx->pos= yypos1741; ctx->thunkpos= yythunkpos1741; } yyDo(ctx, yy_3_ListItem, ctx->begin, ctx->end); yyprintf((stderr, " ok %s @ %s\n", "ListItem", ctx->buf+ctx->pos)); yyDo(ctx, yyPop, 1, 0); return 1; l1737:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "ListItem", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_Enumerator(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "Enumerator")); if (!yy_NonindentSpace(ctx)) goto l1742; 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 l1742; l1743:; { int yypos1744= ctx->pos, yythunkpos1744= 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 l1744; goto l1743; l1744:; ctx->pos= yypos1744; ctx->thunkpos= yythunkpos1744; } if (!yymatchChar(ctx, '.')) goto l1742; if (!yy_Spacechar(ctx)) goto l1742; l1745:; { int yypos1746= ctx->pos, yythunkpos1746= ctx->thunkpos; if (!yy_Spacechar(ctx)) goto l1746; goto l1745; l1746:; ctx->pos= yypos1746; ctx->thunkpos= yythunkpos1746; } yyprintf((stderr, " ok %s @ %s\n", "Enumerator", ctx->buf+ctx->pos)); return 1; l1742:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "Enumerator", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_ListItemTight(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyDo(ctx, yyPush, 1, 0); yyprintf((stderr, "%s\n", "ListItemTight")); { int yypos1748= ctx->pos, yythunkpos1748= ctx->thunkpos; if (!yy_Bullet(ctx)) goto l1749; goto l1748; l1749:; ctx->pos= yypos1748; ctx->thunkpos= yythunkpos1748; if (!yy_Enumerator(ctx)) goto l1747; } l1748:; if (!yy_StartList(ctx)) goto l1747; yyDo(ctx, yySet, -1, 0); if (!yy_ListBlock(ctx)) goto l1747; yyDo(ctx, yy_1_ListItemTight, ctx->begin, ctx->end); l1750:; { int yypos1751= ctx->pos, yythunkpos1751= ctx->thunkpos; { int yypos1752= ctx->pos, yythunkpos1752= ctx->thunkpos; if (!yy_BlankLine(ctx)) goto l1752; goto l1751; l1752:; ctx->pos= yypos1752; ctx->thunkpos= yythunkpos1752; } if (!yy_ListContinuationBlock(ctx)) goto l1751; yyDo(ctx, yy_2_ListItemTight, ctx->begin, ctx->end); goto l1750; l1751:; ctx->pos= yypos1751; ctx->thunkpos= yythunkpos1751; } { int yypos1753= ctx->pos, yythunkpos1753= ctx->thunkpos; if (!yy_ListContinuationBlock(ctx)) goto l1753; goto l1747; l1753:; ctx->pos= yypos1753; ctx->thunkpos= yythunkpos1753; } yyDo(ctx, yy_3_ListItemTight, ctx->begin, ctx->end); yyprintf((stderr, " ok %s @ %s\n", "ListItemTight", ctx->buf+ctx->pos)); yyDo(ctx, yyPop, 1, 0); return 1; l1747:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "ListItemTight", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_ListLoose(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyDo(ctx, yyPush, 2, 0); yyprintf((stderr, "%s\n", "ListLoose")); if (!yy_StartList(ctx)) goto l1754; yyDo(ctx, yySet, -2, 0); if (!yy_ListItem(ctx)) goto l1754; yyDo(ctx, yySet, -1, 0); l1757:; { int yypos1758= ctx->pos, yythunkpos1758= ctx->thunkpos; if (!yy_BlankLine(ctx)) goto l1758; goto l1757; l1758:; ctx->pos= yypos1758; ctx->thunkpos= yythunkpos1758; } yyDo(ctx, yy_1_ListLoose, ctx->begin, ctx->end); l1755:; { int yypos1756= ctx->pos, yythunkpos1756= ctx->thunkpos; if (!yy_ListItem(ctx)) goto l1756; yyDo(ctx, yySet, -1, 0); l1759:; { int yypos1760= ctx->pos, yythunkpos1760= ctx->thunkpos; if (!yy_BlankLine(ctx)) goto l1760; goto l1759; l1760:; ctx->pos= yypos1760; ctx->thunkpos= yythunkpos1760; } yyDo(ctx, yy_1_ListLoose, ctx->begin, ctx->end); goto l1755; l1756:; ctx->pos= yypos1756; ctx->thunkpos= yythunkpos1756; } yyDo(ctx, yy_2_ListLoose, ctx->begin, ctx->end); yyprintf((stderr, " ok %s @ %s\n", "ListLoose", ctx->buf+ctx->pos)); yyDo(ctx, yyPop, 2, 0); return 1; l1754:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "ListLoose", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_ListTight(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyDo(ctx, yyPush, 1, 0); yyprintf((stderr, "%s\n", "ListTight")); if (!yy_StartList(ctx)) goto l1761; yyDo(ctx, yySet, -1, 0); if (!yy_ListItemTight(ctx)) goto l1761; yyDo(ctx, yy_1_ListTight, ctx->begin, ctx->end); l1762:; { int yypos1763= ctx->pos, yythunkpos1763= ctx->thunkpos; if (!yy_ListItemTight(ctx)) goto l1763; yyDo(ctx, yy_1_ListTight, ctx->begin, ctx->end); goto l1762; l1763:; ctx->pos= yypos1763; ctx->thunkpos= yythunkpos1763; } l1764:; { int yypos1765= ctx->pos, yythunkpos1765= ctx->thunkpos; if (!yy_BlankLine(ctx)) goto l1765; goto l1764; l1765:; ctx->pos= yypos1765; ctx->thunkpos= yythunkpos1765; } { int yypos1766= ctx->pos, yythunkpos1766= ctx->thunkpos; { int yypos1767= ctx->pos, yythunkpos1767= ctx->thunkpos; if (!yy_Bullet(ctx)) goto l1768; goto l1767; l1768:; ctx->pos= yypos1767; ctx->thunkpos= yythunkpos1767; if (!yy_Enumerator(ctx)) goto l1766; } l1767:; goto l1761; l1766:; ctx->pos= yypos1766; ctx->thunkpos= yythunkpos1766; } yyDo(ctx, yy_2_ListTight, ctx->begin, ctx->end); yyprintf((stderr, " ok %s @ %s\n", "ListTight", ctx->buf+ctx->pos)); yyDo(ctx, yyPop, 1, 0); return 1; l1761:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "ListTight", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_Spacechar(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "Spacechar")); { int yypos1770= ctx->pos, yythunkpos1770= ctx->thunkpos; if (!yymatchChar(ctx, ' ')) goto l1771; goto l1770; l1771:; ctx->pos= yypos1770; ctx->thunkpos= yythunkpos1770; if (!yymatchChar(ctx, '\t')) goto l1769; } l1770:; yyprintf((stderr, " ok %s @ %s\n", "Spacechar", ctx->buf+ctx->pos)); return 1; l1769:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "Spacechar", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_Bullet(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "Bullet")); { int yypos1773= ctx->pos, yythunkpos1773= ctx->thunkpos; if (!yy_HorizontalRule(ctx)) goto l1773; goto l1772; l1773:; ctx->pos= yypos1773; ctx->thunkpos= yythunkpos1773; } if (!yy_NonindentSpace(ctx)) goto l1772; { int yypos1774= ctx->pos, yythunkpos1774= ctx->thunkpos; if (!yymatchChar(ctx, '+')) goto l1775; goto l1774; l1775:; ctx->pos= yypos1774; ctx->thunkpos= yythunkpos1774; if (!yymatchChar(ctx, '*')) goto l1776; goto l1774; l1776:; ctx->pos= yypos1774; ctx->thunkpos= yythunkpos1774; if (!yymatchChar(ctx, '-')) goto l1772; } l1774:; if (!yy_Spacechar(ctx)) goto l1772; l1777:; { int yypos1778= ctx->pos, yythunkpos1778= ctx->thunkpos; if (!yy_Spacechar(ctx)) goto l1778; goto l1777; l1778:; ctx->pos= yypos1778; ctx->thunkpos= yythunkpos1778; } yyprintf((stderr, " ok %s @ %s\n", "Bullet", ctx->buf+ctx->pos)); return 1; l1772:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "Bullet", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_VerbatimChunk(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyDo(ctx, yyPush, 1, 0); yyprintf((stderr, "%s\n", "VerbatimChunk")); if (!yy_StartList(ctx)) goto l1779; yyDo(ctx, yySet, -1, 0); l1780:; { int yypos1781= ctx->pos, yythunkpos1781= ctx->thunkpos; if (!yy_BlankLine(ctx)) goto l1781; yyDo(ctx, yy_1_VerbatimChunk, ctx->begin, ctx->end); goto l1780; l1781:; ctx->pos= yypos1781; ctx->thunkpos= yythunkpos1781; } if (!yy_NonblankIndentedLine(ctx)) goto l1779; yyDo(ctx, yy_2_VerbatimChunk, ctx->begin, ctx->end); l1782:; { int yypos1783= ctx->pos, yythunkpos1783= ctx->thunkpos; if (!yy_NonblankIndentedLine(ctx)) goto l1783; yyDo(ctx, yy_2_VerbatimChunk, ctx->begin, ctx->end); goto l1782; l1783:; ctx->pos= yypos1783; ctx->thunkpos= yythunkpos1783; } yyDo(ctx, yy_3_VerbatimChunk, ctx->begin, ctx->end); yyprintf((stderr, " ok %s @ %s\n", "VerbatimChunk", ctx->buf+ctx->pos)); yyDo(ctx, yyPop, 1, 0); return 1; l1779:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "VerbatimChunk", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_IndentedLine(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "IndentedLine")); if (!yy_Indent(ctx)) goto l1784; if (!yy_Line(ctx)) goto l1784; yyprintf((stderr, " ok %s @ %s\n", "IndentedLine", ctx->buf+ctx->pos)); return 1; l1784:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "IndentedLine", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_NonblankIndentedLine(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "NonblankIndentedLine")); { int yypos1786= ctx->pos, yythunkpos1786= ctx->thunkpos; if (!yy_BlankLine(ctx)) goto l1786; goto l1785; l1786:; ctx->pos= yypos1786; ctx->thunkpos= yythunkpos1786; } if (!yy_IndentedLine(ctx)) goto l1785; yyprintf((stderr, " ok %s @ %s\n", "NonblankIndentedLine", ctx->buf+ctx->pos)); return 1; l1785:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "NonblankIndentedLine", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_Line(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "Line")); if (!yy_RawLine(ctx)) goto l1787; yyDo(ctx, yy_1_Line, ctx->begin, ctx->end); yyprintf((stderr, " ok %s @ %s\n", "Line", ctx->buf+ctx->pos)); return 1; l1787:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "Line", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_BlockQuoteRaw(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyDo(ctx, yyPush, 1, 0); yyprintf((stderr, "%s\n", "BlockQuoteRaw")); if (!yy_StartList(ctx)) goto l1788; yyDo(ctx, yySet, -1, 0); if (!yymatchChar(ctx, '>')) goto l1788; { int yypos1791= ctx->pos, yythunkpos1791= ctx->thunkpos; if (!yymatchChar(ctx, ' ')) goto l1791; goto l1792; l1791:; ctx->pos= yypos1791; ctx->thunkpos= yythunkpos1791; } l1792:; if (!yy_Line(ctx)) goto l1788; yyDo(ctx, yy_1_BlockQuoteRaw, ctx->begin, ctx->end); l1793:; { int yypos1794= ctx->pos, yythunkpos1794= ctx->thunkpos; { int yypos1795= ctx->pos, yythunkpos1795= ctx->thunkpos; if (!yymatchChar(ctx, '>')) goto l1795; goto l1794; l1795:; ctx->pos= yypos1795; ctx->thunkpos= yythunkpos1795; } { int yypos1796= ctx->pos, yythunkpos1796= ctx->thunkpos; if (!yy_BlankLine(ctx)) goto l1796; goto l1794; l1796:; ctx->pos= yypos1796; ctx->thunkpos= yythunkpos1796; } if (!yy_Line(ctx)) goto l1794; yyDo(ctx, yy_2_BlockQuoteRaw, ctx->begin, ctx->end); goto l1793; l1794:; ctx->pos= yypos1794; ctx->thunkpos= yythunkpos1794; } l1797:; { int yypos1798= ctx->pos, yythunkpos1798= ctx->thunkpos; if (!yy_BlankLine(ctx)) goto l1798; yyDo(ctx, yy_3_BlockQuoteRaw, ctx->begin, ctx->end); goto l1797; l1798:; ctx->pos= yypos1798; ctx->thunkpos= yythunkpos1798; } l1789:; { int yypos1790= ctx->pos, yythunkpos1790= ctx->thunkpos; if (!yymatchChar(ctx, '>')) goto l1790; { int yypos1799= ctx->pos, yythunkpos1799= ctx->thunkpos; if (!yymatchChar(ctx, ' ')) goto l1799; goto l1800; l1799:; ctx->pos= yypos1799; ctx->thunkpos= yythunkpos1799; } l1800:; if (!yy_Line(ctx)) goto l1790; yyDo(ctx, yy_1_BlockQuoteRaw, ctx->begin, ctx->end); l1801:; { int yypos1802= ctx->pos, yythunkpos1802= ctx->thunkpos; { int yypos1803= ctx->pos, yythunkpos1803= ctx->thunkpos; if (!yymatchChar(ctx, '>')) goto l1803; goto l1802; l1803:; ctx->pos= yypos1803; ctx->thunkpos= yythunkpos1803; } { int yypos1804= ctx->pos, yythunkpos1804= ctx->thunkpos; if (!yy_BlankLine(ctx)) goto l1804; goto l1802; l1804:; ctx->pos= yypos1804; ctx->thunkpos= yythunkpos1804; } if (!yy_Line(ctx)) goto l1802; yyDo(ctx, yy_2_BlockQuoteRaw, ctx->begin, ctx->end); goto l1801; l1802:; ctx->pos= yypos1802; ctx->thunkpos= yythunkpos1802; } l1805:; { int yypos1806= ctx->pos, yythunkpos1806= ctx->thunkpos; if (!yy_BlankLine(ctx)) goto l1806; yyDo(ctx, yy_3_BlockQuoteRaw, ctx->begin, ctx->end); goto l1805; l1806:; ctx->pos= yypos1806; ctx->thunkpos= yythunkpos1806; } goto l1789; l1790:; ctx->pos= yypos1790; ctx->thunkpos= yythunkpos1790; } yyDo(ctx, yy_4_BlockQuoteRaw, ctx->begin, ctx->end); yyprintf((stderr, " ok %s @ %s\n", "BlockQuoteRaw", ctx->buf+ctx->pos)); yyDo(ctx, yyPop, 1, 0); return 1; l1788:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "BlockQuoteRaw", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_Endline(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "Endline")); { int yypos1808= ctx->pos, yythunkpos1808= ctx->thunkpos; if (!yy_LineBreak(ctx)) goto l1809; goto l1808; l1809:; ctx->pos= yypos1808; ctx->thunkpos= yythunkpos1808; if (!yy_TerminalEndline(ctx)) goto l1810; goto l1808; l1810:; ctx->pos= yypos1808; ctx->thunkpos= yythunkpos1808; if (!yy_NormalEndline(ctx)) goto l1807; } l1808:; yyprintf((stderr, " ok %s @ %s\n", "Endline", ctx->buf+ctx->pos)); return 1; l1807:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "Endline", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_SetextBottom2(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "SetextBottom2")); if (!yymatchChar(ctx, '-')) goto l1811; l1812:; { int yypos1813= ctx->pos, yythunkpos1813= ctx->thunkpos; if (!yymatchChar(ctx, '-')) goto l1813; goto l1812; l1813:; ctx->pos= yypos1813; ctx->thunkpos= yythunkpos1813; } if (!yy_Newline(ctx)) goto l1811; yyprintf((stderr, " ok %s @ %s\n", "SetextBottom2", ctx->buf+ctx->pos)); return 1; l1811:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "SetextBottom2", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_SetextBottom1(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "SetextBottom1")); if (!yymatchChar(ctx, '=')) goto l1814; l1815:; { int yypos1816= ctx->pos, yythunkpos1816= ctx->thunkpos; if (!yymatchChar(ctx, '=')) goto l1816; goto l1815; l1816:; ctx->pos= yypos1816; ctx->thunkpos= yythunkpos1816; } if (!yy_Newline(ctx)) goto l1814; yyprintf((stderr, " ok %s @ %s\n", "SetextBottom1", ctx->buf+ctx->pos)); return 1; l1814:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "SetextBottom1", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_SetextHeading2(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyDo(ctx, yyPush, 2, 0); yyprintf((stderr, "%s\n", "SetextHeading2")); { int yypos1818= ctx->pos, yythunkpos1818= ctx->thunkpos; if (!yy_RawLine(ctx)) goto l1817; if (!yy_SetextBottom2(ctx)) goto l1817; ctx->pos= yypos1818; ctx->thunkpos= yythunkpos1818; } if (!yy_StartList(ctx)) goto l1817; yyDo(ctx, yySet, -2, 0); { int yypos1821= ctx->pos, yythunkpos1821= ctx->thunkpos; if (!yy_Endline(ctx)) goto l1821; goto l1817; l1821:; ctx->pos= yypos1821; ctx->thunkpos= yythunkpos1821; } { int yypos1822= ctx->pos, yythunkpos1822= ctx->thunkpos; yyText(ctx, ctx->begin, ctx->end); if (!( !extension(EXT_COMPATIBILITY) )) goto l1822; if (!yy_Sp(ctx)) goto l1822; if (!yy_AutoLabel(ctx)) goto l1822; goto l1817; l1822:; ctx->pos= yypos1822; ctx->thunkpos= yythunkpos1822; } if (!yy_Inline(ctx)) goto l1817; yyDo(ctx, yy_1_SetextHeading2, ctx->begin, ctx->end); l1819:; { int yypos1820= ctx->pos, yythunkpos1820= ctx->thunkpos; { int yypos1823= ctx->pos, yythunkpos1823= ctx->thunkpos; if (!yy_Endline(ctx)) goto l1823; goto l1820; l1823:; ctx->pos= yypos1823; ctx->thunkpos= yythunkpos1823; } { int yypos1824= ctx->pos, yythunkpos1824= ctx->thunkpos; yyText(ctx, ctx->begin, ctx->end); if (!( !extension(EXT_COMPATIBILITY) )) goto l1824; if (!yy_Sp(ctx)) goto l1824; if (!yy_AutoLabel(ctx)) goto l1824; goto l1820; l1824:; ctx->pos= yypos1824; ctx->thunkpos= yythunkpos1824; } if (!yy_Inline(ctx)) goto l1820; yyDo(ctx, yy_1_SetextHeading2, ctx->begin, ctx->end); goto l1819; l1820:; ctx->pos= yypos1820; ctx->thunkpos= yythunkpos1820; } { int yypos1825= ctx->pos, yythunkpos1825= ctx->thunkpos; if (!yy_Sp(ctx)) goto l1825; if (!yy_AutoLabel(ctx)) goto l1825; yyDo(ctx, yySet, -1, 0); yyDo(ctx, yy_2_SetextHeading2, ctx->begin, ctx->end); { int yypos1827= ctx->pos, yythunkpos1827= ctx->thunkpos; if (!yy_Sp(ctx)) goto l1827; goto l1828; l1827:; ctx->pos= yypos1827; ctx->thunkpos= yythunkpos1827; } l1828:; goto l1826; l1825:; ctx->pos= yypos1825; ctx->thunkpos= yythunkpos1825; } l1826:; { int yypos1829= ctx->pos, yythunkpos1829= ctx->thunkpos; if (!yy_Sp(ctx)) goto l1829; goto l1830; l1829:; ctx->pos= yypos1829; ctx->thunkpos= yythunkpos1829; } l1830:; if (!yy_Newline(ctx)) goto l1817; if (!yy_SetextBottom2(ctx)) goto l1817; yyDo(ctx, yy_3_SetextHeading2, ctx->begin, ctx->end); yyprintf((stderr, " ok %s @ %s\n", "SetextHeading2", ctx->buf+ctx->pos)); yyDo(ctx, yyPop, 2, 0); return 1; l1817:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "SetextHeading2", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_SetextHeading1(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyDo(ctx, yyPush, 2, 0); yyprintf((stderr, "%s\n", "SetextHeading1")); { int yypos1832= ctx->pos, yythunkpos1832= ctx->thunkpos; if (!yy_RawLine(ctx)) goto l1831; if (!yy_SetextBottom1(ctx)) goto l1831; ctx->pos= yypos1832; ctx->thunkpos= yythunkpos1832; } if (!yy_StartList(ctx)) goto l1831; yyDo(ctx, yySet, -2, 0); { int yypos1835= ctx->pos, yythunkpos1835= ctx->thunkpos; if (!yy_Endline(ctx)) goto l1835; goto l1831; l1835:; ctx->pos= yypos1835; ctx->thunkpos= yythunkpos1835; } { int yypos1836= ctx->pos, yythunkpos1836= ctx->thunkpos; yyText(ctx, ctx->begin, ctx->end); if (!( !extension(EXT_COMPATIBILITY) )) goto l1836; if (!yy_Sp(ctx)) goto l1836; if (!yy_AutoLabel(ctx)) goto l1836; goto l1831; l1836:; ctx->pos= yypos1836; ctx->thunkpos= yythunkpos1836; } if (!yy_Inline(ctx)) goto l1831; yyDo(ctx, yy_1_SetextHeading1, ctx->begin, ctx->end); l1833:; { int yypos1834= ctx->pos, yythunkpos1834= ctx->thunkpos; { int yypos1837= ctx->pos, yythunkpos1837= ctx->thunkpos; if (!yy_Endline(ctx)) goto l1837; goto l1834; l1837:; ctx->pos= yypos1837; ctx->thunkpos= yythunkpos1837; } { int yypos1838= ctx->pos, yythunkpos1838= ctx->thunkpos; yyText(ctx, ctx->begin, ctx->end); if (!( !extension(EXT_COMPATIBILITY) )) goto l1838; if (!yy_Sp(ctx)) goto l1838; if (!yy_AutoLabel(ctx)) goto l1838; goto l1834; l1838:; ctx->pos= yypos1838; ctx->thunkpos= yythunkpos1838; } if (!yy_Inline(ctx)) goto l1834; yyDo(ctx, yy_1_SetextHeading1, ctx->begin, ctx->end); goto l1833; l1834:; ctx->pos= yypos1834; ctx->thunkpos= yythunkpos1834; } { int yypos1839= ctx->pos, yythunkpos1839= ctx->thunkpos; if (!yy_Sp(ctx)) goto l1839; if (!yy_AutoLabel(ctx)) goto l1839; yyDo(ctx, yySet, -1, 0); yyDo(ctx, yy_2_SetextHeading1, ctx->begin, ctx->end); { int yypos1841= ctx->pos, yythunkpos1841= ctx->thunkpos; if (!yy_Sp(ctx)) goto l1841; goto l1842; l1841:; ctx->pos= yypos1841; ctx->thunkpos= yythunkpos1841; } l1842:; goto l1840; l1839:; ctx->pos= yypos1839; ctx->thunkpos= yythunkpos1839; } l1840:; { int yypos1843= ctx->pos, yythunkpos1843= ctx->thunkpos; if (!yy_Sp(ctx)) goto l1843; goto l1844; l1843:; ctx->pos= yypos1843; ctx->thunkpos= yythunkpos1843; } l1844:; if (!yy_Newline(ctx)) goto l1831; if (!yy_SetextBottom1(ctx)) goto l1831; yyDo(ctx, yy_3_SetextHeading1, ctx->begin, ctx->end); yyprintf((stderr, " ok %s @ %s\n", "SetextHeading1", ctx->buf+ctx->pos)); yyDo(ctx, yyPop, 2, 0); return 1; l1831:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "SetextHeading1", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_SetextHeading(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "SetextHeading")); { int yypos1846= ctx->pos, yythunkpos1846= ctx->thunkpos; if (!yy_SetextHeading1(ctx)) goto l1847; goto l1846; l1847:; ctx->pos= yypos1846; ctx->thunkpos= yythunkpos1846; if (!yy_SetextHeading2(ctx)) goto l1845; } l1846:; yyprintf((stderr, " ok %s @ %s\n", "SetextHeading", ctx->buf+ctx->pos)); return 1; l1845:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "SetextHeading", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_AtxHeading(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyDo(ctx, yyPush, 3, 0); yyprintf((stderr, "%s\n", "AtxHeading")); if (!yy_AtxStart(ctx)) goto l1848; yyDo(ctx, yySet, -3, 0); { int yypos1849= ctx->pos, yythunkpos1849= ctx->thunkpos; if (!yy_Sp(ctx)) goto l1849; goto l1850; l1849:; ctx->pos= yypos1849; ctx->thunkpos= yythunkpos1849; } l1850:; if (!yy_StartList(ctx)) goto l1848; yyDo(ctx, yySet, -2, 0); if (!yy_AtxInline(ctx)) goto l1848; yyDo(ctx, yy_1_AtxHeading, ctx->begin, ctx->end); l1851:; { int yypos1852= ctx->pos, yythunkpos1852= ctx->thunkpos; if (!yy_AtxInline(ctx)) goto l1852; yyDo(ctx, yy_1_AtxHeading, ctx->begin, ctx->end); goto l1851; l1852:; ctx->pos= yypos1852; ctx->thunkpos= yythunkpos1852; } { int yypos1853= ctx->pos, yythunkpos1853= ctx->thunkpos; { int yypos1855= ctx->pos, yythunkpos1855= ctx->thunkpos; if (!yy_Sp(ctx)) goto l1855; goto l1856; l1855:; ctx->pos= yypos1855; ctx->thunkpos= yythunkpos1855; } l1856:; if (!yy_AutoLabel(ctx)) goto l1853; yyDo(ctx, yySet, -1, 0); yyDo(ctx, yy_2_AtxHeading, ctx->begin, ctx->end); goto l1854; l1853:; ctx->pos= yypos1853; ctx->thunkpos= yythunkpos1853; } l1854:; { int yypos1857= ctx->pos, yythunkpos1857= ctx->thunkpos; { int yypos1859= ctx->pos, yythunkpos1859= ctx->thunkpos; if (!yy_Sp(ctx)) goto l1859; goto l1860; l1859:; ctx->pos= yypos1859; ctx->thunkpos= yythunkpos1859; } l1860:; l1861:; { int yypos1862= ctx->pos, yythunkpos1862= ctx->thunkpos; if (!yymatchChar(ctx, '#')) goto l1862; goto l1861; l1862:; ctx->pos= yypos1862; ctx->thunkpos= yythunkpos1862; } if (!yy_Sp(ctx)) goto l1857; goto l1858; l1857:; ctx->pos= yypos1857; ctx->thunkpos= yythunkpos1857; } l1858:; if (!yy_Newline(ctx)) goto l1848; yyDo(ctx, yy_3_AtxHeading, ctx->begin, ctx->end); yyprintf((stderr, " ok %s @ %s\n", "AtxHeading", ctx->buf+ctx->pos)); yyDo(ctx, yyPop, 3, 0); return 1; l1848:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "AtxHeading", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_AtxStart(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "AtxStart")); yyText(ctx, ctx->begin, ctx->end); if (!(YY_BEGIN)) goto l1863; { int yypos1864= ctx->pos, yythunkpos1864= ctx->thunkpos; if (!yymatchString(ctx, "######")) goto l1865; goto l1864; l1865:; ctx->pos= yypos1864; ctx->thunkpos= yythunkpos1864; if (!yymatchString(ctx, "#####")) goto l1866; goto l1864; l1866:; ctx->pos= yypos1864; ctx->thunkpos= yythunkpos1864; if (!yymatchString(ctx, "####")) goto l1867; goto l1864; l1867:; ctx->pos= yypos1864; ctx->thunkpos= yythunkpos1864; if (!yymatchString(ctx, "###")) goto l1868; goto l1864; l1868:; ctx->pos= yypos1864; ctx->thunkpos= yythunkpos1864; if (!yymatchString(ctx, "##")) goto l1869; goto l1864; l1869:; ctx->pos= yypos1864; ctx->thunkpos= yythunkpos1864; if (!yymatchChar(ctx, '#')) goto l1863; } l1864:; yyText(ctx, ctx->begin, ctx->end); if (!(YY_END)) goto l1863; yyDo(ctx, yy_1_AtxStart, ctx->begin, ctx->end); yyprintf((stderr, " ok %s @ %s\n", "AtxStart", ctx->buf+ctx->pos)); return 1; l1863:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "AtxStart", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_Inline(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "Inline")); { int yypos1871= ctx->pos, yythunkpos1871= ctx->thunkpos; yyText(ctx, ctx->begin, ctx->end); if (!( check_timeout() )) goto l1872; if (!yy_Str(ctx)) goto l1872; goto l1871; l1872:; ctx->pos= yypos1871; ctx->thunkpos= yythunkpos1871; yyText(ctx, ctx->begin, ctx->end); if (!( !extension(EXT_COMPATIBILITY) )) goto l1873; if (!yy_MathSpan(ctx)) goto l1873; goto l1871; l1873:; ctx->pos= yypos1871; ctx->thunkpos= yythunkpos1871; if (!yy_Endline(ctx)) goto l1874; goto l1871; l1874:; ctx->pos= yypos1871; ctx->thunkpos= yythunkpos1871; if (!yy_UlOrStarLine(ctx)) goto l1875; goto l1871; l1875:; ctx->pos= yypos1871; ctx->thunkpos= yythunkpos1871; if (!yy_Space(ctx)) goto l1876; goto l1871; l1876:; ctx->pos= yypos1871; ctx->thunkpos= yythunkpos1871; if (!yy_Strong(ctx)) goto l1877; goto l1871; l1877:; ctx->pos= yypos1871; ctx->thunkpos= yythunkpos1871; if (!yy_Emph(ctx)) goto l1878; goto l1871; l1878:; ctx->pos= yypos1871; ctx->thunkpos= yythunkpos1871; yyText(ctx, ctx->begin, ctx->end); if (!( !extension(EXT_COMPATIBILITY) )) goto l1879; if (!yy_CitationReference(ctx)) goto l1879; goto l1871; l1879:; ctx->pos= yypos1871; ctx->thunkpos= yythunkpos1871; if (!yy_Image(ctx)) goto l1880; goto l1871; l1880:; ctx->pos= yypos1871; ctx->thunkpos= yythunkpos1871; if (!yy_Link(ctx)) goto l1881; goto l1871; l1881:; ctx->pos= yypos1871; ctx->thunkpos= yythunkpos1871; if (!yy_NoteReference(ctx)) goto l1882; goto l1871; l1882:; ctx->pos= yypos1871; ctx->thunkpos= yythunkpos1871; if (!yy_Code(ctx)) goto l1883; goto l1871; l1883:; ctx->pos= yypos1871; ctx->thunkpos= yythunkpos1871; if (!yy_MarkdownHtmlTagOpen(ctx)) goto l1884; goto l1871; l1884:; ctx->pos= yypos1871; ctx->thunkpos= yythunkpos1871; if (!yy_RawHtml(ctx)) goto l1885; goto l1871; l1885:; ctx->pos= yypos1871; ctx->thunkpos= yythunkpos1871; if (!yy_Entity(ctx)) goto l1886; goto l1871; l1886:; ctx->pos= yypos1871; ctx->thunkpos= yythunkpos1871; if (!yy_EscapedChar(ctx)) goto l1887; goto l1871; l1887:; ctx->pos= yypos1871; ctx->thunkpos= yythunkpos1871; if (!yy_Smart(ctx)) goto l1888; goto l1871; l1888:; ctx->pos= yypos1871; ctx->thunkpos= yythunkpos1871; if (!yy_Symbol(ctx)) goto l1870; } l1871:; yyprintf((stderr, " ok %s @ %s\n", "Inline", ctx->buf+ctx->pos)); return 1; l1870:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "Inline", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_AutoLabel(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "AutoLabel")); if (!yymatchChar(ctx, '[')) goto l1889; yyText(ctx, ctx->begin, ctx->end); if (!(YY_BEGIN)) goto l1889; { int yypos1890= ctx->pos, yythunkpos1890= ctx->thunkpos; if (!yy_Newline(ctx)) goto l1890; goto l1889; l1890:; ctx->pos= yypos1890; ctx->thunkpos= yythunkpos1890; } { int yypos1891= ctx->pos, yythunkpos1891= ctx->thunkpos; if (!yymatchChar(ctx, '^')) goto l1891; goto l1889; l1891:; ctx->pos= yypos1891; ctx->thunkpos= yythunkpos1891; } { int yypos1892= ctx->pos, yythunkpos1892= ctx->thunkpos; if (!yymatchChar(ctx, '#')) goto l1892; goto l1889; l1892:; ctx->pos= yypos1892; ctx->thunkpos= yythunkpos1892; } if (!yymatchDot(ctx)) goto l1889; { int yypos1895= ctx->pos, yythunkpos1895= ctx->thunkpos; if (!yy_Newline(ctx)) goto l1895; goto l1889; l1895:; ctx->pos= yypos1895; ctx->thunkpos= yythunkpos1895; } { int yypos1896= ctx->pos, yythunkpos1896= ctx->thunkpos; if (!yymatchChar(ctx, ']')) goto l1896; goto l1889; l1896:; ctx->pos= yypos1896; ctx->thunkpos= yythunkpos1896; } if (!yymatchDot(ctx)) goto l1889; l1893:; { int yypos1894= ctx->pos, yythunkpos1894= ctx->thunkpos; { int yypos1897= ctx->pos, yythunkpos1897= ctx->thunkpos; if (!yy_Newline(ctx)) goto l1897; goto l1894; l1897:; ctx->pos= yypos1897; ctx->thunkpos= yythunkpos1897; } { int yypos1898= ctx->pos, yythunkpos1898= ctx->thunkpos; if (!yymatchChar(ctx, ']')) goto l1898; goto l1894; l1898:; ctx->pos= yypos1898; ctx->thunkpos= yythunkpos1898; } if (!yymatchDot(ctx)) goto l1894; goto l1893; l1894:; ctx->pos= yypos1894; ctx->thunkpos= yythunkpos1894; } yyText(ctx, ctx->begin, ctx->end); if (!(YY_END)) goto l1889; if (!yymatchChar(ctx, ']')) goto l1889; { int yypos1899= ctx->pos, yythunkpos1899= ctx->thunkpos; { int yypos1900= ctx->pos, yythunkpos1900= ctx->thunkpos; { int yypos1901= ctx->pos, yythunkpos1901= ctx->thunkpos; if (!yy_Sp(ctx)) goto l1901; goto l1902; l1901:; ctx->pos= yypos1901; ctx->thunkpos= yythunkpos1901; } l1902:; { int yypos1903= ctx->pos, yythunkpos1903= ctx->thunkpos; if (!yymatchChar(ctx, '(')) goto l1904; goto l1903; l1904:; ctx->pos= yypos1903; ctx->thunkpos= yythunkpos1903; if (!yymatchChar(ctx, '[')) goto l1900; } l1903:; goto l1889; l1900:; ctx->pos= yypos1900; ctx->thunkpos= yythunkpos1900; } ctx->pos= yypos1899; ctx->thunkpos= yythunkpos1899; } yyDo(ctx, yy_1_AutoLabel, ctx->begin, ctx->end); yyprintf((stderr, " ok %s @ %s\n", "AutoLabel", ctx->buf+ctx->pos)); return 1; l1889:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "AutoLabel", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_AtxInline(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "AtxInline")); { int yypos1906= ctx->pos, yythunkpos1906= ctx->thunkpos; if (!yy_Newline(ctx)) goto l1906; goto l1905; l1906:; ctx->pos= yypos1906; ctx->thunkpos= yythunkpos1906; } { int yypos1907= ctx->pos, yythunkpos1907= ctx->thunkpos; yyText(ctx, ctx->begin, ctx->end); if (!( !extension(EXT_COMPATIBILITY) )) goto l1907; if (!yy_Sp(ctx)) goto l1907; if (!yy_AutoLabel(ctx)) goto l1907; { int yypos1908= ctx->pos, yythunkpos1908= ctx->thunkpos; if (!yy_Sp(ctx)) goto l1908; goto l1909; l1908:; ctx->pos= yypos1908; ctx->thunkpos= yythunkpos1908; } l1909:; l1910:; { int yypos1911= ctx->pos, yythunkpos1911= ctx->thunkpos; if (!yymatchChar(ctx, '#')) goto l1911; goto l1910; l1911:; ctx->pos= yypos1911; ctx->thunkpos= yythunkpos1911; } if (!yy_Sp(ctx)) goto l1907; if (!yy_Newline(ctx)) goto l1907; goto l1905; l1907:; ctx->pos= yypos1907; ctx->thunkpos= yythunkpos1907; } { int yypos1912= ctx->pos, yythunkpos1912= ctx->thunkpos; { int yypos1913= ctx->pos, yythunkpos1913= ctx->thunkpos; if (!yy_Sp(ctx)) goto l1913; goto l1914; l1913:; ctx->pos= yypos1913; ctx->thunkpos= yythunkpos1913; } l1914:; l1915:; { int yypos1916= ctx->pos, yythunkpos1916= ctx->thunkpos; if (!yymatchChar(ctx, '#')) goto l1916; goto l1915; l1916:; ctx->pos= yypos1916; ctx->thunkpos= yythunkpos1916; } if (!yy_Sp(ctx)) goto l1912; if (!yy_Newline(ctx)) goto l1912; goto l1905; l1912:; ctx->pos= yypos1912; ctx->thunkpos= yythunkpos1912; } if (!yy_Inline(ctx)) goto l1905; yyprintf((stderr, " ok %s @ %s\n", "AtxInline", ctx->buf+ctx->pos)); return 1; l1905:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "AtxInline", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_Inlines(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyDo(ctx, yyPush, 2, 0); yyprintf((stderr, "%s\n", "Inlines")); if (!yy_StartList(ctx)) goto l1917; yyDo(ctx, yySet, -2, 0); { int yypos1920= ctx->pos, yythunkpos1920= ctx->thunkpos; { int yypos1922= ctx->pos, yythunkpos1922= ctx->thunkpos; if (!yy_Endline(ctx)) goto l1922; goto l1921; l1922:; ctx->pos= yypos1922; ctx->thunkpos= yythunkpos1922; } if (!yy_Inline(ctx)) goto l1921; yyDo(ctx, yy_1_Inlines, ctx->begin, ctx->end); goto l1920; l1921:; ctx->pos= yypos1920; ctx->thunkpos= yythunkpos1920; if (!yy_Endline(ctx)) goto l1917; yyDo(ctx, yySet, -1, 0); { int yypos1923= ctx->pos, yythunkpos1923= ctx->thunkpos; if (!yy_Inline(ctx)) goto l1917; ctx->pos= yypos1923; ctx->thunkpos= yythunkpos1923; } yyDo(ctx, yy_2_Inlines, ctx->begin, ctx->end); } l1920:; l1918:; { int yypos1919= ctx->pos, yythunkpos1919= ctx->thunkpos; { int yypos1924= ctx->pos, yythunkpos1924= ctx->thunkpos; { int yypos1926= ctx->pos, yythunkpos1926= ctx->thunkpos; if (!yy_Endline(ctx)) goto l1926; goto l1925; l1926:; ctx->pos= yypos1926; ctx->thunkpos= yythunkpos1926; } if (!yy_Inline(ctx)) goto l1925; yyDo(ctx, yy_1_Inlines, ctx->begin, ctx->end); goto l1924; l1925:; ctx->pos= yypos1924; ctx->thunkpos= yythunkpos1924; if (!yy_Endline(ctx)) goto l1919; yyDo(ctx, yySet, -1, 0); { int yypos1927= ctx->pos, yythunkpos1927= ctx->thunkpos; if (!yy_Inline(ctx)) goto l1919; ctx->pos= yypos1927; ctx->thunkpos= yythunkpos1927; } yyDo(ctx, yy_2_Inlines, ctx->begin, ctx->end); } l1924:; goto l1918; l1919:; ctx->pos= yypos1919; ctx->thunkpos= yythunkpos1919; } { int yypos1928= ctx->pos, yythunkpos1928= ctx->thunkpos; if (!yy_Endline(ctx)) goto l1928; goto l1929; l1928:; ctx->pos= yypos1928; ctx->thunkpos= yythunkpos1928; } l1929:; yyDo(ctx, yy_3_Inlines, ctx->begin, ctx->end); yyprintf((stderr, " ok %s @ %s\n", "Inlines", ctx->buf+ctx->pos)); yyDo(ctx, yyPop, 2, 0); return 1; l1917:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "Inlines", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_NonindentSpace(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "NonindentSpace")); { int yypos1931= ctx->pos, yythunkpos1931= ctx->thunkpos; if (!yymatchString(ctx, " ")) goto l1932; goto l1931; l1932:; ctx->pos= yypos1931; ctx->thunkpos= yythunkpos1931; if (!yymatchString(ctx, " ")) goto l1933; goto l1931; l1933:; ctx->pos= yypos1931; ctx->thunkpos= yythunkpos1931; if (!yymatchChar(ctx, ' ')) goto l1934; goto l1931; l1934:; ctx->pos= yypos1931; ctx->thunkpos= yythunkpos1931; if (!yymatchString(ctx, "")) goto l1930; } l1931:; yyprintf((stderr, " ok %s @ %s\n", "NonindentSpace", ctx->buf+ctx->pos)); return 1; l1930:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "NonindentSpace", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_Heading(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "Heading")); { int yypos1936= ctx->pos, yythunkpos1936= ctx->thunkpos; if (!yy_SetextHeading(ctx)) goto l1937; goto l1936; l1937:; ctx->pos= yypos1936; ctx->thunkpos= yythunkpos1936; if (!yy_AtxHeading(ctx)) goto l1935; } l1936:; yyprintf((stderr, " ok %s @ %s\n", "Heading", ctx->buf+ctx->pos)); return 1; l1935:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "Heading", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_HeadingSectionBlock(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "HeadingSectionBlock")); l1939:; { int yypos1940= ctx->pos, yythunkpos1940= ctx->thunkpos; if (!yy_BlankLine(ctx)) goto l1940; goto l1939; l1940:; ctx->pos= yypos1940; ctx->thunkpos= yythunkpos1940; } { int yypos1941= ctx->pos, yythunkpos1941= ctx->thunkpos; if (!yy_Heading(ctx)) goto l1941; goto l1938; l1941:; ctx->pos= yypos1941; ctx->thunkpos= yythunkpos1941; } { int yypos1942= ctx->pos, yythunkpos1942= ctx->thunkpos; if (!yy_BlockQuote(ctx)) goto l1943; goto l1942; l1943:; ctx->pos= yypos1942; ctx->thunkpos= yythunkpos1942; if (!yy_Verbatim(ctx)) goto l1944; goto l1942; l1944:; ctx->pos= yypos1942; ctx->thunkpos= yythunkpos1942; yyText(ctx, ctx->begin, ctx->end); if (!( !extension(EXT_COMPATIBILITY) )) goto l1945; if (!yy_DefinitionList(ctx)) goto l1945; goto l1942; l1945:; ctx->pos= yypos1942; ctx->thunkpos= yythunkpos1942; yyText(ctx, ctx->begin, ctx->end); if (!( !extension(EXT_COMPATIBILITY) )) goto l1946; if (!yy_Glossary(ctx)) goto l1946; goto l1942; l1946:; ctx->pos= yypos1942; ctx->thunkpos= yythunkpos1942; if (!yy_Note(ctx)) goto l1947; goto l1942; l1947:; ctx->pos= yypos1942; ctx->thunkpos= yythunkpos1942; if (!yy_Reference(ctx)) goto l1948; goto l1942; l1948:; ctx->pos= yypos1942; ctx->thunkpos= yythunkpos1942; if (!yy_HorizontalRule(ctx)) goto l1949; goto l1942; l1949:; ctx->pos= yypos1942; ctx->thunkpos= yythunkpos1942; if (!yy_OrderedList(ctx)) goto l1950; goto l1942; l1950:; ctx->pos= yypos1942; ctx->thunkpos= yythunkpos1942; if (!yy_BulletList(ctx)) goto l1951; goto l1942; l1951:; ctx->pos= yypos1942; ctx->thunkpos= yythunkpos1942; if (!yy_HtmlBlock(ctx)) goto l1952; goto l1942; l1952:; ctx->pos= yypos1942; ctx->thunkpos= yythunkpos1942; if (!yy_MarkdownHtmlBlock(ctx)) goto l1953; goto l1942; l1953:; ctx->pos= yypos1942; ctx->thunkpos= yythunkpos1942; if (!yy_StyleBlock(ctx)) goto l1954; goto l1942; l1954:; ctx->pos= yypos1942; ctx->thunkpos= yythunkpos1942; yyText(ctx, ctx->begin, ctx->end); if (!( !extension(EXT_COMPATIBILITY) )) goto l1955; if (!yy_Table(ctx)) goto l1955; goto l1942; l1955:; ctx->pos= yypos1942; ctx->thunkpos= yythunkpos1942; yyText(ctx, ctx->begin, ctx->end); if (!( !extension(EXT_COMPATIBILITY) )) goto l1956; if (!yy_ImageBlock(ctx)) goto l1956; goto l1942; l1956:; ctx->pos= yypos1942; ctx->thunkpos= yythunkpos1942; { int yypos1958= ctx->pos, yythunkpos1958= ctx->thunkpos; { int yypos1959= ctx->pos, yythunkpos1959= ctx->thunkpos; if (!yy_Sp(ctx)) goto l1959; goto l1960; l1959:; ctx->pos= yypos1959; ctx->thunkpos= yythunkpos1959; } l1960:; if (!yy_HtmlBlockOpenDiv(ctx)) goto l1958; goto l1957; l1958:; ctx->pos= yypos1958; ctx->thunkpos= yythunkpos1958; } if (!yy_Para(ctx)) goto l1957; goto l1942; l1957:; ctx->pos= yypos1942; ctx->thunkpos= yythunkpos1942; if (!yy_Plain(ctx)) goto l1938; } l1942:; yyprintf((stderr, " ok %s @ %s\n", "HeadingSectionBlock", ctx->buf+ctx->pos)); return 1; l1938:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "HeadingSectionBlock", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_Plain(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyDo(ctx, yyPush, 1, 0); yyprintf((stderr, "%s\n", "Plain")); if (!yy_Inlines(ctx)) goto l1961; yyDo(ctx, yySet, -1, 0); yyDo(ctx, yy_1_Plain, ctx->begin, ctx->end); yyprintf((stderr, " ok %s @ %s\n", "Plain", ctx->buf+ctx->pos)); yyDo(ctx, yyPop, 1, 0); return 1; l1961:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "Plain", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_Para(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyDo(ctx, yyPush, 1, 0); yyprintf((stderr, "%s\n", "Para")); if (!yy_NonindentSpace(ctx)) goto l1962; if (!yy_Inlines(ctx)) goto l1962; yyDo(ctx, yySet, -1, 0); if (!yy_BlankLine(ctx)) goto l1962; l1963:; { int yypos1964= ctx->pos, yythunkpos1964= ctx->thunkpos; if (!yy_BlankLine(ctx)) goto l1964; goto l1963; l1964:; ctx->pos= yypos1964; ctx->thunkpos= yythunkpos1964; } yyDo(ctx, yy_1_Para, ctx->begin, ctx->end); yyprintf((stderr, " ok %s @ %s\n", "Para", ctx->buf+ctx->pos)); yyDo(ctx, yyPop, 1, 0); return 1; l1962:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "Para", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_HtmlBlockOpenDiv(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "HtmlBlockOpenDiv")); if (!yymatchChar(ctx, '<')) goto l1965; if (!yy_Spnl(ctx)) goto l1965; { int yypos1966= ctx->pos, yythunkpos1966= ctx->thunkpos; if (!yymatchString(ctx, "div")) goto l1967; goto l1966; l1967:; ctx->pos= yypos1966; ctx->thunkpos= yythunkpos1966; if (!yymatchString(ctx, "DIV")) goto l1965; } l1966:; if (!yy_Spnl(ctx)) goto l1965; l1968:; { int yypos1969= ctx->pos, yythunkpos1969= ctx->thunkpos; if (!yy_HtmlAttribute(ctx)) goto l1969; goto l1968; l1969:; ctx->pos= yypos1969; ctx->thunkpos= yythunkpos1969; } if (!yymatchChar(ctx, '>')) goto l1965; yyprintf((stderr, " ok %s @ %s\n", "HtmlBlockOpenDiv", ctx->buf+ctx->pos)); return 1; l1965:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "HtmlBlockOpenDiv", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_ImageBlock(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "ImageBlock")); if (!yy_Image(ctx)) goto l1970; if (!yy_Sp(ctx)) goto l1970; if (!yy_Newline(ctx)) goto l1970; if (!yy_BlankLine(ctx)) goto l1970; l1971:; { int yypos1972= ctx->pos, yythunkpos1972= ctx->thunkpos; if (!yy_BlankLine(ctx)) goto l1972; goto l1971; l1972:; ctx->pos= yypos1972; ctx->thunkpos= yythunkpos1972; } yyDo(ctx, yy_1_ImageBlock, ctx->begin, ctx->end); yyprintf((stderr, " ok %s @ %s\n", "ImageBlock", ctx->buf+ctx->pos)); return 1; l1970:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "ImageBlock", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_Table(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyDo(ctx, yyPush, 2, 0); yyprintf((stderr, "%s\n", "Table")); if (!yy_StartList(ctx)) goto l1973; yyDo(ctx, yySet, -2, 0); if (!yy_StartList(ctx)) goto l1973; yyDo(ctx, yySet, -1, 0); { int yypos1974= ctx->pos, yythunkpos1974= ctx->thunkpos; if (!yy_TableCaption(ctx)) goto l1974; yyDo(ctx, yy_1_Table, ctx->begin, ctx->end); goto l1975; l1974:; ctx->pos= yypos1974; ctx->thunkpos= yythunkpos1974; } l1975:; if (!yy_TableBody(ctx)) goto l1973; yyDo(ctx, yy_2_Table, ctx->begin, ctx->end); if (!yy_SeparatorLine(ctx)) goto l1973; yyDo(ctx, yy_3_Table, ctx->begin, ctx->end); if (!yy_TableBody(ctx)) goto l1973; yyDo(ctx, yy_4_Table, ctx->begin, ctx->end); l1976:; { int yypos1977= ctx->pos, yythunkpos1977= ctx->thunkpos; if (!yy_BlankLine(ctx)) goto l1977; { int yypos1978= ctx->pos, yythunkpos1978= ctx->thunkpos; if (!yy_TableCaption(ctx)) goto l1978; goto l1977; l1978:; ctx->pos= yypos1978; ctx->thunkpos= yythunkpos1978; } if (!yy_TableBody(ctx)) goto l1977; yyDo(ctx, yy_5_Table, ctx->begin, ctx->end); { int yypos1979= ctx->pos, yythunkpos1979= ctx->thunkpos; { int yypos1980= ctx->pos, yythunkpos1980= ctx->thunkpos; if (!yy_TableCaption(ctx)) goto l1981; goto l1980; l1981:; ctx->pos= yypos1980; ctx->thunkpos= yythunkpos1980; if (!yy_BlankLine(ctx)) goto l1977; } l1980:; ctx->pos= yypos1979; ctx->thunkpos= yythunkpos1979; } goto l1976; l1977:; ctx->pos= yypos1977; ctx->thunkpos= yythunkpos1977; } { int yypos1982= ctx->pos, yythunkpos1982= ctx->thunkpos; if (!yy_TableCaption(ctx)) goto l1983; yyDo(ctx, yy_6_Table, ctx->begin, ctx->end); { int yypos1984= ctx->pos, yythunkpos1984= ctx->thunkpos; if (!yy_BlankLine(ctx)) goto l1983; ctx->pos= yypos1984; ctx->thunkpos= yythunkpos1984; } goto l1982; l1983:; ctx->pos= yypos1982; ctx->thunkpos= yythunkpos1982; { int yypos1985= ctx->pos, yythunkpos1985= ctx->thunkpos; if (!yy_BlankLine(ctx)) goto l1973; ctx->pos= yypos1985; ctx->thunkpos= yythunkpos1985; } } l1982:; yyDo(ctx, yy_7_Table, ctx->begin, ctx->end); yyprintf((stderr, " ok %s @ %s\n", "Table", ctx->buf+ctx->pos)); yyDo(ctx, yyPop, 2, 0); return 1; l1973:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "Table", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_StyleBlock(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "StyleBlock")); yyText(ctx, ctx->begin, ctx->end); if (!(YY_BEGIN)) goto l1986; if (!yy_InStyleTags(ctx)) goto l1986; yyText(ctx, ctx->begin, ctx->end); if (!(YY_END)) goto l1986; l1987:; { int yypos1988= ctx->pos, yythunkpos1988= ctx->thunkpos; if (!yy_BlankLine(ctx)) goto l1988; goto l1987; l1988:; ctx->pos= yypos1988; ctx->thunkpos= yythunkpos1988; } yyDo(ctx, yy_1_StyleBlock, ctx->begin, ctx->end); yyprintf((stderr, " ok %s @ %s\n", "StyleBlock", ctx->buf+ctx->pos)); return 1; l1986:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "StyleBlock", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_MarkdownHtmlBlock(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "MarkdownHtmlBlock")); { int yypos1990= ctx->pos, yythunkpos1990= ctx->thunkpos; if (!yy_MarkdownHtmlTagOpen(ctx)) goto l1989; ctx->pos= yypos1990; ctx->thunkpos= yythunkpos1990; } yyText(ctx, ctx->begin, ctx->end); if (!(YY_BEGIN)) goto l1989; { int yypos1991= ctx->pos, yythunkpos1991= ctx->thunkpos; if (!yy_HtmlBlockInTags(ctx)) goto l1992; goto l1991; l1992:; ctx->pos= yypos1991; ctx->thunkpos= yythunkpos1991; if (!yy_HtmlComment(ctx)) goto l1993; goto l1991; l1993:; ctx->pos= yypos1991; ctx->thunkpos= yythunkpos1991; if (!yy_HtmlBlockSelfClosing(ctx)) goto l1989; } l1991:; yyText(ctx, ctx->begin, ctx->end); if (!(YY_END)) goto l1989; if (!yy_BlankLine(ctx)) goto l1989; l1994:; { int yypos1995= ctx->pos, yythunkpos1995= ctx->thunkpos; if (!yy_BlankLine(ctx)) goto l1995; goto l1994; l1995:; ctx->pos= yypos1995; ctx->thunkpos= yythunkpos1995; } yyDo(ctx, yy_1_MarkdownHtmlBlock, ctx->begin, ctx->end); yyprintf((stderr, " ok %s @ %s\n", "MarkdownHtmlBlock", ctx->buf+ctx->pos)); return 1; l1989:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "MarkdownHtmlBlock", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_HtmlBlock(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "HtmlBlock")); { int yypos1997= ctx->pos, yythunkpos1997= ctx->thunkpos; if (!yy_MarkdownHtmlTagOpen(ctx)) goto l1997; goto l1996; l1997:; ctx->pos= yypos1997; ctx->thunkpos= yythunkpos1997; } yyText(ctx, ctx->begin, ctx->end); if (!(YY_BEGIN)) goto l1996; { int yypos1998= ctx->pos, yythunkpos1998= ctx->thunkpos; if (!yy_HtmlBlockInTags(ctx)) goto l1999; goto l1998; l1999:; ctx->pos= yypos1998; ctx->thunkpos= yythunkpos1998; if (!yy_HtmlComment(ctx)) goto l2000; goto l1998; l2000:; ctx->pos= yypos1998; ctx->thunkpos= yythunkpos1998; if (!yy_HtmlBlockSelfClosing(ctx)) goto l1996; } l1998:; yyText(ctx, ctx->begin, ctx->end); if (!(YY_END)) goto l1996; if (!yy_BlankLine(ctx)) goto l1996; l2001:; { int yypos2002= ctx->pos, yythunkpos2002= ctx->thunkpos; if (!yy_BlankLine(ctx)) goto l2002; goto l2001; l2002:; ctx->pos= yypos2002; ctx->thunkpos= yythunkpos2002; } yyDo(ctx, yy_1_HtmlBlock, ctx->begin, ctx->end); yyprintf((stderr, " ok %s @ %s\n", "HtmlBlock", ctx->buf+ctx->pos)); return 1; l1996:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "HtmlBlock", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_BulletList(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "BulletList")); { int yypos2004= ctx->pos, yythunkpos2004= ctx->thunkpos; if (!yy_Bullet(ctx)) goto l2003; ctx->pos= yypos2004; ctx->thunkpos= yythunkpos2004; } { int yypos2005= ctx->pos, yythunkpos2005= ctx->thunkpos; if (!yy_ListTight(ctx)) goto l2006; goto l2005; l2006:; ctx->pos= yypos2005; ctx->thunkpos= yythunkpos2005; if (!yy_ListLoose(ctx)) goto l2003; } l2005:; yyDo(ctx, yy_1_BulletList, ctx->begin, ctx->end); yyprintf((stderr, " ok %s @ %s\n", "BulletList", ctx->buf+ctx->pos)); return 1; l2003:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "BulletList", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_OrderedList(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "OrderedList")); { int yypos2008= ctx->pos, yythunkpos2008= ctx->thunkpos; if (!yy_Enumerator(ctx)) goto l2007; ctx->pos= yypos2008; ctx->thunkpos= yythunkpos2008; } { int yypos2009= ctx->pos, yythunkpos2009= ctx->thunkpos; if (!yy_ListTight(ctx)) goto l2010; goto l2009; l2010:; ctx->pos= yypos2009; ctx->thunkpos= yythunkpos2009; if (!yy_ListLoose(ctx)) goto l2007; } l2009:; yyDo(ctx, yy_1_OrderedList, ctx->begin, ctx->end); yyprintf((stderr, " ok %s @ %s\n", "OrderedList", ctx->buf+ctx->pos)); return 1; l2007:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "OrderedList", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_HeadingSection(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyDo(ctx, yyPush, 1, 0); yyprintf((stderr, "%s\n", "HeadingSection")); if (!yy_StartList(ctx)) goto l2011; yyDo(ctx, yySet, -1, 0); if (!yy_Heading(ctx)) goto l2011; yyDo(ctx, yy_1_HeadingSection, ctx->begin, ctx->end); l2012:; { int yypos2013= ctx->pos, yythunkpos2013= ctx->thunkpos; if (!yy_HeadingSectionBlock(ctx)) goto l2013; yyDo(ctx, yy_2_HeadingSection, ctx->begin, ctx->end); goto l2012; l2013:; ctx->pos= yypos2013; ctx->thunkpos= yythunkpos2013; } yyDo(ctx, yy_3_HeadingSection, ctx->begin, ctx->end); yyprintf((stderr, " ok %s @ %s\n", "HeadingSection", ctx->buf+ctx->pos)); yyDo(ctx, yyPop, 1, 0); return 1; l2011:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "HeadingSection", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_HorizontalRule(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "HorizontalRule")); if (!yy_NonindentSpace(ctx)) goto l2014; { int yypos2015= ctx->pos, yythunkpos2015= ctx->thunkpos; if (!yymatchChar(ctx, '*')) goto l2016; if (!yy_Sp(ctx)) goto l2016; if (!yymatchChar(ctx, '*')) goto l2016; if (!yy_Sp(ctx)) goto l2016; if (!yymatchChar(ctx, '*')) goto l2016; l2017:; { int yypos2018= ctx->pos, yythunkpos2018= ctx->thunkpos; if (!yy_Sp(ctx)) goto l2018; if (!yymatchChar(ctx, '*')) goto l2018; goto l2017; l2018:; ctx->pos= yypos2018; ctx->thunkpos= yythunkpos2018; } goto l2015; l2016:; ctx->pos= yypos2015; ctx->thunkpos= yythunkpos2015; if (!yymatchChar(ctx, '-')) goto l2019; if (!yy_Sp(ctx)) goto l2019; if (!yymatchChar(ctx, '-')) goto l2019; if (!yy_Sp(ctx)) goto l2019; if (!yymatchChar(ctx, '-')) goto l2019; l2020:; { int yypos2021= ctx->pos, yythunkpos2021= ctx->thunkpos; if (!yy_Sp(ctx)) goto l2021; if (!yymatchChar(ctx, '-')) goto l2021; goto l2020; l2021:; ctx->pos= yypos2021; ctx->thunkpos= yythunkpos2021; } goto l2015; l2019:; ctx->pos= yypos2015; ctx->thunkpos= yythunkpos2015; if (!yymatchChar(ctx, '_')) goto l2014; if (!yy_Sp(ctx)) goto l2014; if (!yymatchChar(ctx, '_')) goto l2014; if (!yy_Sp(ctx)) goto l2014; if (!yymatchChar(ctx, '_')) goto l2014; l2022:; { int yypos2023= ctx->pos, yythunkpos2023= ctx->thunkpos; if (!yy_Sp(ctx)) goto l2023; if (!yymatchChar(ctx, '_')) goto l2023; goto l2022; l2023:; ctx->pos= yypos2023; ctx->thunkpos= yythunkpos2023; } } l2015:; if (!yy_Sp(ctx)) goto l2014; if (!yy_Newline(ctx)) goto l2014; if (!yy_BlankLine(ctx)) goto l2014; l2024:; { int yypos2025= ctx->pos, yythunkpos2025= ctx->thunkpos; if (!yy_BlankLine(ctx)) goto l2025; goto l2024; l2025:; ctx->pos= yypos2025; ctx->thunkpos= yythunkpos2025; } yyDo(ctx, yy_1_HorizontalRule, ctx->begin, ctx->end); yyprintf((stderr, " ok %s @ %s\n", "HorizontalRule", ctx->buf+ctx->pos)); return 1; l2014:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "HorizontalRule", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_Reference(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyDo(ctx, yyPush, 4, 0); yyprintf((stderr, "%s\n", "Reference")); if (!yy_StartList(ctx)) goto l2026; yyDo(ctx, yySet, -4, 0); if (!yy_NonindentSpace(ctx)) goto l2026; { int yypos2027= ctx->pos, yythunkpos2027= ctx->thunkpos; if (!yymatchString(ctx, "[]")) goto l2027; goto l2026; l2027:; ctx->pos= yypos2027; ctx->thunkpos= yythunkpos2027; } if (!yy_Label(ctx)) goto l2026; yyDo(ctx, yySet, -3, 0); if (!yymatchChar(ctx, ':')) goto l2026; if (!yy_Spnl(ctx)) goto l2026; if (!yy_RefSrc(ctx)) goto l2026; yyDo(ctx, yySet, -2, 0); if (!yy_RefTitle(ctx)) goto l2026; yyDo(ctx, yySet, -1, 0); { int yypos2028= ctx->pos, yythunkpos2028= ctx->thunkpos; yyText(ctx, ctx->begin, ctx->end); if (!( !extension(EXT_COMPATIBILITY) )) goto l2028; { int yypos2030= ctx->pos, yythunkpos2030= ctx->thunkpos; if (!yy_Attributes(ctx)) goto l2030; yyDo(ctx, yy_1_Reference, ctx->begin, ctx->end); goto l2031; l2030:; ctx->pos= yypos2030; ctx->thunkpos= yythunkpos2030; } l2031:; goto l2029; l2028:; ctx->pos= yypos2028; ctx->thunkpos= yythunkpos2028; } l2029:; if (!yy_BlankLine(ctx)) goto l2026; l2032:; { int yypos2033= ctx->pos, yythunkpos2033= ctx->thunkpos; if (!yy_BlankLine(ctx)) goto l2033; goto l2032; l2033:; ctx->pos= yypos2033; ctx->thunkpos= yythunkpos2033; } yyDo(ctx, yy_2_Reference, ctx->begin, ctx->end); yyprintf((stderr, " ok %s @ %s\n", "Reference", ctx->buf+ctx->pos)); yyDo(ctx, yyPop, 4, 0); return 1; l2026:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "Reference", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_Note(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyDo(ctx, yyPush, 2, 0); yyprintf((stderr, "%s\n", "Note")); yyText(ctx, ctx->begin, ctx->end); if (!( extension(EXT_NOTES) )) goto l2034; if (!yy_NonindentSpace(ctx)) goto l2034; if (!yy_RawNoteReference(ctx)) goto l2034; yyDo(ctx, yySet, -2, 0); if (!yymatchChar(ctx, ':')) goto l2034; if (!yy_Sp(ctx)) goto l2034; if (!yy_StartList(ctx)) goto l2034; yyDo(ctx, yySet, -1, 0); if (!yy_RawNoteBlock(ctx)) goto l2034; yyDo(ctx, yy_1_Note, ctx->begin, ctx->end); l2035:; { int yypos2036= ctx->pos, yythunkpos2036= ctx->thunkpos; { int yypos2037= ctx->pos, yythunkpos2037= ctx->thunkpos; if (!yy_Indent(ctx)) goto l2036; ctx->pos= yypos2037; ctx->thunkpos= yythunkpos2037; } if (!yy_RawNoteBlock(ctx)) goto l2036; yyDo(ctx, yy_2_Note, ctx->begin, ctx->end); goto l2035; l2036:; ctx->pos= yypos2036; ctx->thunkpos= yythunkpos2036; } yyDo(ctx, yy_3_Note, ctx->begin, ctx->end); yyprintf((stderr, " ok %s @ %s\n", "Note", ctx->buf+ctx->pos)); yyDo(ctx, yyPop, 2, 0); return 1; l2034:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "Note", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_Glossary(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyDo(ctx, yyPush, 2, 0); yyprintf((stderr, "%s\n", "Glossary")); yyText(ctx, ctx->begin, ctx->end); if (!( extension(EXT_NOTES) )) goto l2038; if (!yy_StartList(ctx)) goto l2038; yyDo(ctx, yySet, -2, 0); if (!yy_NonindentSpace(ctx)) goto l2038; if (!yy_RawNoteReference(ctx)) goto l2038; yyDo(ctx, yySet, -1, 0); if (!yymatchChar(ctx, ':')) goto l2038; if (!yy_Sp(ctx)) goto l2038; if (!yymatchString(ctx, "glossary:")) goto l2038; if (!yy_Sp(ctx)) goto l2038; if (!yy_GlossaryTerm(ctx)) goto l2038; yyDo(ctx, yy_1_Glossary, ctx->begin, ctx->end); { int yypos2039= ctx->pos, yythunkpos2039= ctx->thunkpos; if (!yy_GlossarySortKey(ctx)) goto l2039; yyDo(ctx, yy_2_Glossary, ctx->begin, ctx->end); goto l2040; l2039:; ctx->pos= yypos2039; ctx->thunkpos= yythunkpos2039; } l2040:; if (!yy_Newline(ctx)) goto l2038; if (!yy_RawNoteBlock(ctx)) goto l2038; yyDo(ctx, yy_3_Glossary, ctx->begin, ctx->end); l2041:; { int yypos2042= ctx->pos, yythunkpos2042= ctx->thunkpos; { int yypos2043= ctx->pos, yythunkpos2043= ctx->thunkpos; if (!yy_Indent(ctx)) goto l2042; ctx->pos= yypos2043; ctx->thunkpos= yythunkpos2043; } if (!yy_RawNoteBlock(ctx)) goto l2042; yyDo(ctx, yy_4_Glossary, ctx->begin, ctx->end); goto l2041; l2042:; ctx->pos= yypos2042; ctx->thunkpos= yythunkpos2042; } yyDo(ctx, yy_5_Glossary, ctx->begin, ctx->end); yyprintf((stderr, " ok %s @ %s\n", "Glossary", ctx->buf+ctx->pos)); yyDo(ctx, yyPop, 2, 0); return 1; l2038:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "Glossary", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_DefinitionList(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyDo(ctx, yyPush, 1, 0); yyprintf((stderr, "%s\n", "DefinitionList")); if (!yy_StartList(ctx)) goto l2044; yyDo(ctx, yySet, -1, 0); { int yypos2045= ctx->pos, yythunkpos2045= ctx->thunkpos; if (!yy_TermLine(ctx)) goto l2044; l2046:; { int yypos2047= ctx->pos, yythunkpos2047= ctx->thunkpos; if (!yy_TermLine(ctx)) goto l2047; goto l2046; l2047:; ctx->pos= yypos2047; ctx->thunkpos= yythunkpos2047; } { int yypos2048= ctx->pos, yythunkpos2048= ctx->thunkpos; if (!yy_Newline(ctx)) goto l2048; goto l2049; l2048:; ctx->pos= yypos2048; ctx->thunkpos= yythunkpos2048; } l2049:; if (!yy_NonindentSpace(ctx)) goto l2044; if (!yymatchChar(ctx, ':')) goto l2044; ctx->pos= yypos2045; ctx->thunkpos= yythunkpos2045; } if (!yy_Term(ctx)) goto l2044; yyDo(ctx, yy_1_DefinitionList, ctx->begin, ctx->end); l2052:; { int yypos2053= ctx->pos, yythunkpos2053= ctx->thunkpos; if (!yy_Term(ctx)) goto l2053; yyDo(ctx, yy_1_DefinitionList, ctx->begin, ctx->end); goto l2052; l2053:; ctx->pos= yypos2053; ctx->thunkpos= yythunkpos2053; } { int yypos2054= ctx->pos, yythunkpos2054= ctx->thunkpos; if (!yy_BlankLine(ctx)) goto l2054; goto l2055; l2054:; ctx->pos= yypos2054; ctx->thunkpos= yythunkpos2054; } l2055:; if (!yy_Definition(ctx)) goto l2044; yyDo(ctx, yy_2_DefinitionList, ctx->begin, ctx->end); l2056:; { int yypos2057= ctx->pos, yythunkpos2057= ctx->thunkpos; if (!yy_Definition(ctx)) goto l2057; yyDo(ctx, yy_2_DefinitionList, ctx->begin, ctx->end); goto l2056; l2057:; ctx->pos= yypos2057; ctx->thunkpos= yythunkpos2057; } l2058:; { int yypos2059= ctx->pos, yythunkpos2059= ctx->thunkpos; if (!yy_BlankLine(ctx)) goto l2059; goto l2058; l2059:; ctx->pos= yypos2059; ctx->thunkpos= yythunkpos2059; } l2050:; { int yypos2051= ctx->pos, yythunkpos2051= ctx->thunkpos; if (!yy_Term(ctx)) goto l2051; yyDo(ctx, yy_1_DefinitionList, ctx->begin, ctx->end); l2060:; { int yypos2061= ctx->pos, yythunkpos2061= ctx->thunkpos; if (!yy_Term(ctx)) goto l2061; yyDo(ctx, yy_1_DefinitionList, ctx->begin, ctx->end); goto l2060; l2061:; ctx->pos= yypos2061; ctx->thunkpos= yythunkpos2061; } { int yypos2062= ctx->pos, yythunkpos2062= ctx->thunkpos; if (!yy_BlankLine(ctx)) goto l2062; goto l2063; l2062:; ctx->pos= yypos2062; ctx->thunkpos= yythunkpos2062; } l2063:; if (!yy_Definition(ctx)) goto l2051; yyDo(ctx, yy_2_DefinitionList, ctx->begin, ctx->end); l2064:; { int yypos2065= ctx->pos, yythunkpos2065= ctx->thunkpos; if (!yy_Definition(ctx)) goto l2065; yyDo(ctx, yy_2_DefinitionList, ctx->begin, ctx->end); goto l2064; l2065:; ctx->pos= yypos2065; ctx->thunkpos= yythunkpos2065; } l2066:; { int yypos2067= ctx->pos, yythunkpos2067= ctx->thunkpos; if (!yy_BlankLine(ctx)) goto l2067; goto l2066; l2067:; ctx->pos= yypos2067; ctx->thunkpos= yythunkpos2067; } goto l2050; l2051:; ctx->pos= yypos2051; ctx->thunkpos= yythunkpos2051; } yyDo(ctx, yy_3_DefinitionList, ctx->begin, ctx->end); yyprintf((stderr, " ok %s @ %s\n", "DefinitionList", ctx->buf+ctx->pos)); yyDo(ctx, yyPop, 1, 0); return 1; l2044:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "DefinitionList", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_Verbatim(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyDo(ctx, yyPush, 1, 0); yyprintf((stderr, "%s\n", "Verbatim")); if (!yy_StartList(ctx)) goto l2068; yyDo(ctx, yySet, -1, 0); if (!yy_VerbatimChunk(ctx)) goto l2068; yyDo(ctx, yy_1_Verbatim, ctx->begin, ctx->end); l2069:; { int yypos2070= ctx->pos, yythunkpos2070= ctx->thunkpos; if (!yy_VerbatimChunk(ctx)) goto l2070; yyDo(ctx, yy_1_Verbatim, ctx->begin, ctx->end); goto l2069; l2070:; ctx->pos= yypos2070; ctx->thunkpos= yythunkpos2070; } l2071:; { int yypos2072= ctx->pos, yythunkpos2072= ctx->thunkpos; if (!yy_BlankLine(ctx)) goto l2072; goto l2071; l2072:; ctx->pos= yypos2072; ctx->thunkpos= yythunkpos2072; } yyDo(ctx, yy_2_Verbatim, ctx->begin, ctx->end); yyprintf((stderr, " ok %s @ %s\n", "Verbatim", ctx->buf+ctx->pos)); yyDo(ctx, yyPop, 1, 0); return 1; l2068:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "Verbatim", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_BlockQuote(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyDo(ctx, yyPush, 1, 0); yyprintf((stderr, "%s\n", "BlockQuote")); if (!yy_BlockQuoteRaw(ctx)) goto l2073; yyDo(ctx, yySet, -1, 0); yyDo(ctx, yy_1_BlockQuote, ctx->begin, ctx->end); yyprintf((stderr, " ok %s @ %s\n", "BlockQuote", ctx->buf+ctx->pos)); yyDo(ctx, yyPop, 1, 0); return 1; l2073:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "BlockQuote", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_RawLine(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "RawLine")); { int yypos2075= ctx->pos, yythunkpos2075= ctx->thunkpos; yyText(ctx, ctx->begin, ctx->end); if (!(YY_BEGIN)) goto l2076; l2077:; { int yypos2078= ctx->pos, yythunkpos2078= ctx->thunkpos; { int yypos2079= ctx->pos, yythunkpos2079= ctx->thunkpos; if (!yymatchChar(ctx, '\r')) goto l2079; goto l2078; l2079:; ctx->pos= yypos2079; ctx->thunkpos= yythunkpos2079; } { int yypos2080= ctx->pos, yythunkpos2080= ctx->thunkpos; if (!yymatchChar(ctx, '\n')) goto l2080; goto l2078; l2080:; ctx->pos= yypos2080; ctx->thunkpos= yythunkpos2080; } if (!yymatchDot(ctx)) goto l2078; goto l2077; l2078:; ctx->pos= yypos2078; ctx->thunkpos= yythunkpos2078; } if (!yy_Newline(ctx)) goto l2076; yyText(ctx, ctx->begin, ctx->end); if (!(YY_END)) goto l2076; goto l2075; l2076:; ctx->pos= yypos2075; ctx->thunkpos= yythunkpos2075; yyText(ctx, ctx->begin, ctx->end); if (!(YY_BEGIN)) goto l2074; if (!yymatchDot(ctx)) goto l2074; l2081:; { int yypos2082= ctx->pos, yythunkpos2082= ctx->thunkpos; if (!yymatchDot(ctx)) goto l2082; goto l2081; l2082:; ctx->pos= yypos2082; ctx->thunkpos= yythunkpos2082; } yyText(ctx, ctx->begin, ctx->end); if (!(YY_END)) goto l2074; if (!yy_Eof(ctx)) goto l2074; } l2075:; yyprintf((stderr, " ok %s @ %s\n", "RawLine", ctx->buf+ctx->pos)); return 1; l2074:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "RawLine", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_BlankLine(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "BlankLine")); if (!yy_Sp(ctx)) goto l2083; if (!yy_Newline(ctx)) goto l2083; yyprintf((stderr, " ok %s @ %s\n", "BlankLine", ctx->buf+ctx->pos)); return 1; l2083:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "BlankLine", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_SingleLineMetaKeyValue(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "SingleLineMetaKeyValue")); if (!yy_MetaDataKey(ctx)) goto l2084; if (!yy_Sp(ctx)) goto l2084; if (!yymatchChar(ctx, ':')) goto l2084; if (!yy_Sp(ctx)) goto l2084; l2085:; { int yypos2086= ctx->pos, yythunkpos2086= ctx->thunkpos; { int yypos2087= ctx->pos, yythunkpos2087= ctx->thunkpos; if (!yy_Newline(ctx)) goto l2087; goto l2086; l2087:; ctx->pos= yypos2087; ctx->thunkpos= yythunkpos2087; } if (!yymatchDot(ctx)) goto l2086; goto l2085; l2086:; ctx->pos= yypos2086; ctx->thunkpos= yythunkpos2086; } yyprintf((stderr, " ok %s @ %s\n", "SingleLineMetaKeyValue", ctx->buf+ctx->pos)); return 1; l2084:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "SingleLineMetaKeyValue", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_AlphanumericAscii(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; 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 l2088; yyprintf((stderr, " ok %s @ %s\n", "AlphanumericAscii", ctx->buf+ctx->pos)); return 1; l2088:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "AlphanumericAscii", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_MetaDataValue(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyDo(ctx, yyPush, 1, 0); yyprintf((stderr, "%s\n", "MetaDataValue")); if (!yy_StartList(ctx)) goto l2089; yyDo(ctx, yySet, -1, 0); yyText(ctx, ctx->begin, ctx->end); if (!(YY_BEGIN)) goto l2089; l2090:; { int yypos2091= ctx->pos, yythunkpos2091= ctx->thunkpos; { int yypos2092= ctx->pos, yythunkpos2092= ctx->thunkpos; if (!yy_Newline(ctx)) goto l2092; goto l2091; l2092:; ctx->pos= yypos2092; ctx->thunkpos= yythunkpos2092; } if (!yymatchDot(ctx)) goto l2091; goto l2090; l2091:; ctx->pos= yypos2091; ctx->thunkpos= yythunkpos2091; } yyText(ctx, ctx->begin, ctx->end); if (!(YY_END)) goto l2089; yyDo(ctx, yy_1_MetaDataValue, ctx->begin, ctx->end); { int yypos2093= ctx->pos, yythunkpos2093= ctx->thunkpos; if (!yy_Newline(ctx)) goto l2094; { int yypos2095= ctx->pos, yythunkpos2095= ctx->thunkpos; { int yypos2096= ctx->pos, yythunkpos2096= ctx->thunkpos; if (!yy_BlankLine(ctx)) goto l2096; goto l2094; l2096:; ctx->pos= yypos2096; ctx->thunkpos= yythunkpos2096; } { int yypos2097= ctx->pos, yythunkpos2097= ctx->thunkpos; if (!yy_SingleLineMetaKeyValue(ctx)) goto l2097; goto l2094; l2097:; ctx->pos= yypos2097; ctx->thunkpos= yythunkpos2097; } if (!yy_Sp(ctx)) goto l2094; if (!yy_RawLine(ctx)) goto l2094; ctx->pos= yypos2095; ctx->thunkpos= yythunkpos2095; } yyDo(ctx, yy_2_MetaDataValue, ctx->begin, ctx->end); goto l2093; l2094:; ctx->pos= yypos2093; ctx->thunkpos= yythunkpos2093; if (!yy_Newline(ctx)) goto l2089; } l2093:; l2098:; { int yypos2099= ctx->pos, yythunkpos2099= ctx->thunkpos; { int yypos2100= ctx->pos, yythunkpos2100= ctx->thunkpos; if (!yy_BlankLine(ctx)) goto l2100; goto l2099; l2100:; ctx->pos= yypos2100; ctx->thunkpos= yythunkpos2100; } { int yypos2101= ctx->pos, yythunkpos2101= ctx->thunkpos; if (!yy_SingleLineMetaKeyValue(ctx)) goto l2101; goto l2099; l2101:; ctx->pos= yypos2101; ctx->thunkpos= yythunkpos2101; } if (!yy_Sp(ctx)) goto l2099; if (!yy_RawLine(ctx)) goto l2099; yyDo(ctx, yy_3_MetaDataValue, ctx->begin, ctx->end); goto l2098; l2099:; ctx->pos= yypos2099; ctx->thunkpos= yythunkpos2099; } yyDo(ctx, yy_4_MetaDataValue, ctx->begin, ctx->end); yyprintf((stderr, " ok %s @ %s\n", "MetaDataValue", ctx->buf+ctx->pos)); yyDo(ctx, yyPop, 1, 0); return 1; l2089:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "MetaDataValue", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_MetaDataOnly2(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyDo(ctx, yyPush, 1, 0); yyprintf((stderr, "%s\n", "MetaDataOnly2")); { int yypos2103= ctx->pos, yythunkpos2103= ctx->thunkpos; if (!yy_BOM(ctx)) goto l2103; goto l2104; l2103:; ctx->pos= yypos2103; ctx->thunkpos= yythunkpos2103; } l2104:; if (!yy_StartList(ctx)) goto l2102; yyDo(ctx, yySet, -1, 0); { int yypos2105= ctx->pos, yythunkpos2105= ctx->thunkpos; if (!yy_MetaData(ctx)) goto l2105; yyDo(ctx, yy_1_MetaDataOnly2, ctx->begin, ctx->end); goto l2106; l2105:; ctx->pos= yypos2105; ctx->thunkpos= yythunkpos2105; } l2106:; l2107:; { int yypos2108= ctx->pos, yythunkpos2108= ctx->thunkpos; if (!yymatchDot(ctx)) goto l2108; goto l2107; l2108:; ctx->pos= yypos2108; ctx->thunkpos= yythunkpos2108; } yyDo(ctx, yy_2_MetaDataOnly2, ctx->begin, ctx->end); yyprintf((stderr, " ok %s @ %s\n", "MetaDataOnly2", ctx->buf+ctx->pos)); yyDo(ctx, yyPop, 1, 0); return 1; l2102:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "MetaDataOnly2", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_MetaDataOnly(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyDo(ctx, yyPush, 1, 0); yyprintf((stderr, "%s\n", "MetaDataOnly")); { int yypos2110= ctx->pos, yythunkpos2110= ctx->thunkpos; if (!yy_BOM(ctx)) goto l2110; goto l2111; l2110:; ctx->pos= yypos2110; ctx->thunkpos= yythunkpos2110; } l2111:; if (!yy_StartList(ctx)) goto l2109; yyDo(ctx, yySet, -1, 0); { int yypos2112= ctx->pos, yythunkpos2112= ctx->thunkpos; if (!yy_MetaData(ctx)) goto l2112; yyDo(ctx, yy_1_MetaDataOnly, ctx->begin, ctx->end); goto l2113; l2112:; ctx->pos= yypos2112; ctx->thunkpos= yythunkpos2112; } l2113:; l2114:; { int yypos2115= ctx->pos, yythunkpos2115= ctx->thunkpos; if (!yymatchDot(ctx)) goto l2115; goto l2114; l2115:; ctx->pos= yypos2115; ctx->thunkpos= yythunkpos2115; } yyDo(ctx, yy_2_MetaDataOnly, ctx->begin, ctx->end); yyprintf((stderr, " ok %s @ %s\n", "MetaDataOnly", ctx->buf+ctx->pos)); yyDo(ctx, yyPop, 1, 0); return 1; l2109:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "MetaDataOnly", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_MetaDataKeyValue(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyDo(ctx, yyPush, 2, 0); yyprintf((stderr, "%s\n", "MetaDataKeyValue")); if (!yy_MetaDataKey(ctx)) goto l2116; yyDo(ctx, yySet, -2, 0); if (!yy_Sp(ctx)) goto l2116; if (!yymatchChar(ctx, ':')) goto l2116; if (!yy_Sp(ctx)) goto l2116; if (!yy_MetaDataValue(ctx)) goto l2116; yyDo(ctx, yySet, -1, 0); yyDo(ctx, yy_1_MetaDataKeyValue, ctx->begin, ctx->end); yyprintf((stderr, " ok %s @ %s\n", "MetaDataKeyValue", ctx->buf+ctx->pos)); yyDo(ctx, yyPop, 2, 0); return 1; l2116:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "MetaDataKeyValue", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_MetaData(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyDo(ctx, yyPush, 1, 0); yyprintf((stderr, "%s\n", "MetaData")); if (!yy_StartList(ctx)) goto l2117; yyDo(ctx, yySet, -1, 0); { int yypos2118= ctx->pos, yythunkpos2118= 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 l2118; l2119:; { int yypos2120= ctx->pos, yythunkpos2120= 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 l2120; goto l2119; l2120:; ctx->pos= yypos2120; ctx->thunkpos= yythunkpos2120; } if (!yymatchString(ctx, "://")) goto l2118; goto l2117; l2118:; ctx->pos= yypos2118; ctx->thunkpos= yythunkpos2118; } if (!yy_MetaDataKeyValue(ctx)) goto l2117; yyDo(ctx, yy_1_MetaData, ctx->begin, ctx->end); l2121:; { int yypos2122= ctx->pos, yythunkpos2122= ctx->thunkpos; if (!yy_MetaDataKeyValue(ctx)) goto l2122; yyDo(ctx, yy_1_MetaData, ctx->begin, ctx->end); goto l2121; l2122:; ctx->pos= yypos2122; ctx->thunkpos= yythunkpos2122; } yyDo(ctx, yy_2_MetaData, ctx->begin, ctx->end); yyprintf((stderr, " ok %s @ %s\n", "MetaData", ctx->buf+ctx->pos)); yyDo(ctx, yyPop, 1, 0); return 1; l2117:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "MetaData", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_Newline(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "Newline")); { int yypos2124= ctx->pos, yythunkpos2124= ctx->thunkpos; if (!yymatchChar(ctx, '\n')) goto l2125; goto l2124; l2125:; ctx->pos= yypos2124; ctx->thunkpos= yythunkpos2124; if (!yymatchChar(ctx, '\r')) goto l2123; { int yypos2126= ctx->pos, yythunkpos2126= ctx->thunkpos; if (!yymatchChar(ctx, '\n')) goto l2126; goto l2127; l2126:; ctx->pos= yypos2126; ctx->thunkpos= yythunkpos2126; } l2127:; } l2124:; yyprintf((stderr, " ok %s @ %s\n", "Newline", ctx->buf+ctx->pos)); return 1; l2123:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "Newline", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_Sp(yycontext *ctx) { yyprintf((stderr, "%s\n", "Sp")); l2129:; { int yypos2130= ctx->pos, yythunkpos2130= ctx->thunkpos; if (!yy_Spacechar(ctx)) goto l2130; goto l2129; l2130:; ctx->pos= yypos2130; ctx->thunkpos= yythunkpos2130; } yyprintf((stderr, " ok %s @ %s\n", "Sp", ctx->buf+ctx->pos)); return 1; } YY_RULE(int) yy_MetaDataKey(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "MetaDataKey")); yyText(ctx, ctx->begin, ctx->end); if (!(YY_BEGIN)) goto l2131; { int yypos2132= ctx->pos, yythunkpos2132= 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 l2132; l2133:; { int yypos2134= ctx->pos, yythunkpos2134= 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 l2134; goto l2133; l2134:; ctx->pos= yypos2134; ctx->thunkpos= yythunkpos2134; } if (!yymatchString(ctx, "://")) goto l2132; goto l2131; l2132:; ctx->pos= yypos2132; ctx->thunkpos= yythunkpos2132; } if (!yy_AlphanumericAscii(ctx)) goto l2131; l2135:; { int yypos2136= ctx->pos, yythunkpos2136= ctx->thunkpos; if (!yy_Sp(ctx)) goto l2136; { int yypos2139= ctx->pos, yythunkpos2139= ctx->thunkpos; if (!yy_AlphanumericAscii(ctx)) goto l2140; goto l2139; l2140:; ctx->pos= yypos2139; ctx->thunkpos= yythunkpos2139; if (!yymatchChar(ctx, '_')) goto l2141; goto l2139; l2141:; ctx->pos= yypos2139; ctx->thunkpos= yythunkpos2139; if (!yymatchChar(ctx, ' ')) goto l2142; goto l2139; l2142:; ctx->pos= yypos2139; ctx->thunkpos= yythunkpos2139; if (!yymatchChar(ctx, '-')) goto l2136; } l2139:; l2137:; { int yypos2138= ctx->pos, yythunkpos2138= ctx->thunkpos; { int yypos2143= ctx->pos, yythunkpos2143= ctx->thunkpos; if (!yy_AlphanumericAscii(ctx)) goto l2144; goto l2143; l2144:; ctx->pos= yypos2143; ctx->thunkpos= yythunkpos2143; if (!yymatchChar(ctx, '_')) goto l2145; goto l2143; l2145:; ctx->pos= yypos2143; ctx->thunkpos= yythunkpos2143; if (!yymatchChar(ctx, ' ')) goto l2146; goto l2143; l2146:; ctx->pos= yypos2143; ctx->thunkpos= yythunkpos2143; if (!yymatchChar(ctx, '-')) goto l2138; } l2143:; goto l2137; l2138:; ctx->pos= yypos2138; ctx->thunkpos= yythunkpos2138; } goto l2135; l2136:; ctx->pos= yypos2136; ctx->thunkpos= yythunkpos2136; } yyText(ctx, ctx->begin, ctx->end); if (!(YY_END)) goto l2131; yyDo(ctx, yy_1_MetaDataKey, ctx->begin, ctx->end); yyprintf((stderr, " ok %s @ %s\n", "MetaDataKey", ctx->buf+ctx->pos)); return 1; l2131:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "MetaDataKey", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_DocWithMetaData(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyDo(ctx, yyPush, 2, 0); yyprintf((stderr, "%s\n", "DocWithMetaData")); { int yypos2148= ctx->pos, yythunkpos2148= ctx->thunkpos; if (!yy_BOM(ctx)) goto l2148; goto l2149; l2148:; ctx->pos= yypos2148; ctx->thunkpos= yythunkpos2148; } l2149:; if (!yy_StartList(ctx)) goto l2147; yyDo(ctx, yySet, -2, 0); if (!yy_StartList(ctx)) goto l2147; yyDo(ctx, yySet, -1, 0); { int yypos2150= ctx->pos, yythunkpos2150= ctx->thunkpos; yyText(ctx, ctx->begin, ctx->end); if (!( !extension(EXT_COMPATIBILITY) )) goto l2150; { int yypos2152= ctx->pos, yythunkpos2152= ctx->thunkpos; if (!yy_MetaDataKey(ctx)) goto l2150; if (!yy_Sp(ctx)) goto l2150; if (!yymatchChar(ctx, ':')) goto l2150; if (!yy_Sp(ctx)) goto l2150; { int yypos2153= ctx->pos, yythunkpos2153= ctx->thunkpos; if (!yy_Newline(ctx)) goto l2153; goto l2150; l2153:; ctx->pos= yypos2153; ctx->thunkpos= yythunkpos2153; } ctx->pos= yypos2152; ctx->thunkpos= yythunkpos2152; } if (!yy_MetaData(ctx)) goto l2150; yyDo(ctx, yy_1_DocWithMetaData, ctx->begin, ctx->end); goto l2151; l2150:; ctx->pos= yypos2150; ctx->thunkpos= yythunkpos2150; } l2151:; l2154:; { int yypos2155= ctx->pos, yythunkpos2155= ctx->thunkpos; if (!yy_Block(ctx)) goto l2155; yyDo(ctx, yy_2_DocWithMetaData, ctx->begin, ctx->end); goto l2154; l2155:; ctx->pos= yypos2155; ctx->thunkpos= yythunkpos2155; } yyDo(ctx, yy_3_DocWithMetaData, ctx->begin, ctx->end); yyprintf((stderr, " ok %s @ %s\n", "DocWithMetaData", ctx->buf+ctx->pos)); yyDo(ctx, yyPop, 2, 0); return 1; l2147:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "DocWithMetaData", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_Block(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "Block")); l2157:; { int yypos2158= ctx->pos, yythunkpos2158= ctx->thunkpos; if (!yy_BlankLine(ctx)) goto l2158; goto l2157; l2158:; ctx->pos= yypos2158; ctx->thunkpos= yythunkpos2158; } { int yypos2159= ctx->pos, yythunkpos2159= ctx->thunkpos; if (!yy_BlockQuote(ctx)) goto l2160; goto l2159; l2160:; ctx->pos= yypos2159; ctx->thunkpos= yythunkpos2159; if (!yy_Verbatim(ctx)) goto l2161; goto l2159; l2161:; ctx->pos= yypos2159; ctx->thunkpos= yythunkpos2159; yyText(ctx, ctx->begin, ctx->end); if (!( !extension(EXT_COMPATIBILITY) )) goto l2162; if (!yy_DefinitionList(ctx)) goto l2162; goto l2159; l2162:; ctx->pos= yypos2159; ctx->thunkpos= yythunkpos2159; yyText(ctx, ctx->begin, ctx->end); if (!( !extension(EXT_COMPATIBILITY) )) goto l2163; if (!yy_Glossary(ctx)) goto l2163; goto l2159; l2163:; ctx->pos= yypos2159; ctx->thunkpos= yythunkpos2159; if (!yy_Note(ctx)) goto l2164; goto l2159; l2164:; ctx->pos= yypos2159; ctx->thunkpos= yythunkpos2159; if (!yy_Reference(ctx)) goto l2165; goto l2159; l2165:; ctx->pos= yypos2159; ctx->thunkpos= yythunkpos2159; if (!yy_HorizontalRule(ctx)) goto l2166; goto l2159; l2166:; ctx->pos= yypos2159; ctx->thunkpos= yythunkpos2159; if (!yy_HeadingSection(ctx)) goto l2167; goto l2159; l2167:; ctx->pos= yypos2159; ctx->thunkpos= yythunkpos2159; if (!yy_OrderedList(ctx)) goto l2168; goto l2159; l2168:; ctx->pos= yypos2159; ctx->thunkpos= yythunkpos2159; if (!yy_BulletList(ctx)) goto l2169; goto l2159; l2169:; ctx->pos= yypos2159; ctx->thunkpos= yythunkpos2159; if (!yy_HtmlBlock(ctx)) goto l2170; goto l2159; l2170:; ctx->pos= yypos2159; ctx->thunkpos= yythunkpos2159; if (!yy_MarkdownHtmlBlock(ctx)) goto l2171; goto l2159; l2171:; ctx->pos= yypos2159; ctx->thunkpos= yythunkpos2159; if (!yy_StyleBlock(ctx)) goto l2172; goto l2159; l2172:; ctx->pos= yypos2159; ctx->thunkpos= yythunkpos2159; yyText(ctx, ctx->begin, ctx->end); if (!( !extension(EXT_COMPATIBILITY) )) goto l2173; if (!yy_Table(ctx)) goto l2173; goto l2159; l2173:; ctx->pos= yypos2159; ctx->thunkpos= yythunkpos2159; yyText(ctx, ctx->begin, ctx->end); if (!( !extension(EXT_COMPATIBILITY) )) goto l2174; if (!yy_ImageBlock(ctx)) goto l2174; goto l2159; l2174:; ctx->pos= yypos2159; ctx->thunkpos= yythunkpos2159; { int yypos2176= ctx->pos, yythunkpos2176= ctx->thunkpos; { int yypos2177= ctx->pos, yythunkpos2177= ctx->thunkpos; if (!yy_Sp(ctx)) goto l2177; goto l2178; l2177:; ctx->pos= yypos2177; ctx->thunkpos= yythunkpos2177; } l2178:; if (!yy_HtmlBlockOpenDiv(ctx)) goto l2176; goto l2175; l2176:; ctx->pos= yypos2176; ctx->thunkpos= yythunkpos2176; } if (!yy_Para(ctx)) goto l2175; goto l2159; l2175:; ctx->pos= yypos2159; ctx->thunkpos= yythunkpos2159; if (!yy_Plain(ctx)) goto l2156; } l2159:; yyprintf((stderr, " ok %s @ %s\n", "Block", ctx->buf+ctx->pos)); return 1; l2156:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "Block", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_StartList(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "StartList")); { int yypos2180= ctx->pos, yythunkpos2180= ctx->thunkpos; if (!yymatchDot(ctx)) goto l2179; ctx->pos= yypos2180; ctx->thunkpos= yythunkpos2180; } yyDo(ctx, yy_1_StartList, ctx->begin, ctx->end); yyprintf((stderr, " ok %s @ %s\n", "StartList", ctx->buf+ctx->pos)); return 1; l2179:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "StartList", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_BOM(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyprintf((stderr, "%s\n", "BOM")); if (!yymatchString(ctx, "\357\273\277")) goto l2181; yyprintf((stderr, " ok %s @ %s\n", "BOM", ctx->buf+ctx->pos)); return 1; l2181:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "BOM", ctx->buf+ctx->pos)); return 0; } YY_RULE(int) yy_Doc(yycontext *ctx) { int yypos0= ctx->pos, yythunkpos0= ctx->thunkpos; yyDo(ctx, yyPush, 1, 0); yyprintf((stderr, "%s\n", "Doc")); { int yypos2183= ctx->pos, yythunkpos2183= ctx->thunkpos; if (!yy_BOM(ctx)) goto l2183; goto l2184; l2183:; ctx->pos= yypos2183; ctx->thunkpos= yythunkpos2183; } l2184:; if (!yy_StartList(ctx)) goto l2182; yyDo(ctx, yySet, -1, 0); l2185:; { int yypos2186= ctx->pos, yythunkpos2186= ctx->thunkpos; if (!yy_Block(ctx)) goto l2186; yyDo(ctx, yy_1_Doc, ctx->begin, ctx->end); goto l2185; l2186:; ctx->pos= yypos2186; ctx->thunkpos= yythunkpos2186; } yyDo(ctx, yy_2_Doc, ctx->begin, ctx->end); yyprintf((stderr, " ok %s @ %s\n", "Doc", ctx->buf+ctx->pos)); yyDo(ctx, yyPop, 1, 0); return 1; l2182:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "Doc", ctx->buf+ctx->pos)); return 0; } #ifndef YY_PART typedef int (*yyrule)(yycontext *ctx); YY_PARSE(int) YYPARSEFROM(YY_CTX_PARAM_ yyrule yystart) { int yyok; if (!yyctx->buflen) { yyctx->buflen= 1024; yyctx->buf= (char *)malloc(yyctx->buflen); yyctx->textlen= 1024; yyctx->text= (char *)malloc(yyctx->textlen); yyctx->thunkslen= 32; yyctx->thunks= (yythunk *)malloc(sizeof(yythunk) * yyctx->thunkslen); yyctx->valslen= 32; yyctx->vals= (YYSTYPE *)malloc(sizeof(YYSTYPE) * yyctx->valslen); yyctx->begin= yyctx->end= yyctx->pos= yyctx->limit= yyctx->thunkpos= 0; } yyctx->begin= yyctx->end= yyctx->pos; yyctx->thunkpos= 0; yyctx->val= yyctx->vals; yyok= yystart(yyctx); if (yyok) yyDone(yyctx); yyCommit(yyctx); return yyok; } YY_PARSE(int) YYPARSE(YY_CTX_PARAM) { return YYPARSEFROM(YY_CTX_ARG_ yy_Doc); } #endif