YY_RULE(int) yy_grammar(GREG *G) { int yypos0= G->pos, yythunkpos0= G->thunkpos; yyprintf((stderr, "%s\n", "grammar")); if (!yy__(G)) { goto l116; } { int yypos119= G->pos, yythunkpos119= G->thunkpos; if (!yy_declaration(G)) { goto l120; } goto l119; l120:; G->pos= yypos119; G->thunkpos= yythunkpos119; if (!yy_definition(G)) { goto l116; } } l119:; l117:; { int yypos118= G->pos, yythunkpos118= G->thunkpos; { int yypos121= G->pos, yythunkpos121= G->thunkpos; if (!yy_declaration(G)) { goto l122; } goto l121; l122:; G->pos= yypos121; G->thunkpos= yythunkpos121; if (!yy_definition(G)) { goto l118; } } l121:; goto l117; l118:; G->pos= yypos118; G->thunkpos= yythunkpos118; } { int yypos123= G->pos, yythunkpos123= G->thunkpos; if (!yy_trailer(G)) { goto l123; } goto l124; l123:; G->pos= yypos123; G->thunkpos= yythunkpos123; } l124:; if (!yy_end_of_file(G)) { goto l116; } yyprintf((stderr, " ok %s @ %s\n", "grammar", G->buf+G->pos)); return 1; l116:; G->pos= yypos0; G->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "grammar", G->buf+G->pos)); return 0; }
YY_RULE(int) yy_grammar() { int yypos0= yypos, yythunkpos0= yythunkpos; yyprintf((stderr, "%s\n", "grammar")); if (!yy__()) goto l111; { int yypos114= yypos, yythunkpos114= yythunkpos; if (!yy_declaration()) goto l115; goto l114; l115:; yypos= yypos114; yythunkpos= yythunkpos114; if (!yy_definition()) goto l111; } l114:; l112:; { int yypos113= yypos, yythunkpos113= yythunkpos; { int yypos116= yypos, yythunkpos116= yythunkpos; if (!yy_declaration()) goto l117; goto l116; l117:; yypos= yypos116; yythunkpos= yythunkpos116; if (!yy_definition()) goto l113; } l116:; goto l112; l113:; yypos= yypos113; yythunkpos= yythunkpos113; } { int yypos118= yypos, yythunkpos118= yythunkpos; if (!yy_trailer()) goto l118; goto l119; l118:; yypos= yypos118; yythunkpos= yythunkpos118; } l119:; if (!yy_end_of_file()) goto l111; yyprintf((stderr, " ok %s @ %s\n", "grammar", yybuf+yypos)); return 1; l111:; yypos= yypos0; yythunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "grammar", yybuf+yypos)); return 0; }
YY_RULE(int) yy_QUESTION(GREG *G) { int yypos0= G->pos, yythunkpos0= G->thunkpos; yyprintf((stderr, "%s\n", "QUESTION")); if (!yymatchChar(G, '?')) goto l55; if (!yy__(G)) { goto l55; } yyprintf((stderr, " ok %s @ %s\n", "QUESTION", G->buf+G->pos)); return 1; l55:; G->pos= yypos0; G->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "QUESTION", G->buf+G->pos)); return 0; }
YY_RULE(int) yy_PLUS(GREG *G) { int yypos0= G->pos, yythunkpos0= G->thunkpos; yyprintf((stderr, "%s\n", "PLUS")); if (!yymatchChar(G, '+')) goto l53; if (!yy__(G)) { goto l53; } yyprintf((stderr, " ok %s @ %s\n", "PLUS", G->buf+G->pos)); return 1; l53:; G->pos= yypos0; G->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "PLUS", G->buf+G->pos)); return 0; }
YY_RULE(int) yy_NOT(GREG *G) { int yypos0= G->pos, yythunkpos0= G->thunkpos; yyprintf((stderr, "%s\n", "NOT")); if (!yymatchChar(G, '!')) goto l70; if (!yy__(G)) { goto l70; } yyprintf((stderr, " ok %s @ %s\n", "NOT", G->buf+G->pos)); return 1; l70:; G->pos= yypos0; G->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "NOT", G->buf+G->pos)); return 0; }
YY_RULE(int) yy_l_bracket() { int yypos0= yypos, yythunkpos0= yythunkpos; yyprintf((stderr, "%s\n", "l_bracket")); if (!yymatchChar('[')) goto l12; if (!yy__()) goto l12; yyDo(yy_1_l_bracket, yybegin, yyend); yyprintf((stderr, " ok %s @ %s\n", "l_bracket", yybuf+yypos)); return 1; l12:; yypos= yypos0; yythunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "l_bracket", yybuf+yypos)); return 0; }
YY_RULE(int) yy_OPEN() { int yypos0= yypos, yythunkpos0= yythunkpos; yyprintf((stderr, "%s\n", "OPEN")); if (!yymatchChar('(')) goto l48; if (!yy__()) goto l48; yyprintf((stderr, " ok %s @ %s\n", "OPEN", yybuf+yypos)); return 1; l48:; yypos= yypos0; yythunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "OPEN", yybuf+yypos)); return 0; }
YY_RULE(int) yy_COLON() { int yypos0= yypos, yythunkpos0= yythunkpos; yyprintf((stderr, "%s\n", "COLON")); if (!yymatchChar(':')) goto l49; if (!yy__()) goto l49; yyprintf((stderr, " ok %s @ %s\n", "COLON", yybuf+yypos)); return 1; l49:; yypos= yypos0; yythunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "COLON", yybuf+yypos)); return 0; }
YY_RULE(int) yy_NOT() { int yypos0= yypos, yythunkpos0= yythunkpos; yyprintf((stderr, "%s\n", "NOT")); if (!yymatchChar('!')) goto l65; if (!yy__()) goto l65; yyprintf((stderr, " ok %s @ %s\n", "NOT", yybuf+yypos)); return 1; l65:; yypos= yypos0; yythunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "NOT", yybuf+yypos)); return 0; }
YY_RULE(int) yy_PLUS() { int yypos0= yypos, yythunkpos0= yythunkpos; yyprintf((stderr, "%s\n", "PLUS")); if (!yymatchChar('+')) goto l50; if (!yy__()) goto l50; yyprintf((stderr, " ok %s @ %s\n", "PLUS", yybuf+yypos)); return 1; l50:; yypos= yypos0; yythunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "PLUS", yybuf+yypos)); return 0; }
YY_RULE(int) yy_QUESTION() { int yypos0= yypos, yythunkpos0= yythunkpos; yyprintf((stderr, "%s\n", "QUESTION")); if (!yymatchChar('?')) goto l52; if (!yy__()) goto l52; yyprintf((stderr, " ok %s @ %s\n", "QUESTION", yybuf+yypos)); return 1; l52:; yypos= yypos0; yythunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "QUESTION", yybuf+yypos)); return 0; }
YY_RULE(int) yy_RPERCENT() { int yypos0= yypos, yythunkpos0= yythunkpos; yyprintf((stderr, "%s\n", "RPERCENT")); if (!yymatchString("%}")) goto l93; if (!yy__()) goto l93; yyprintf((stderr, " ok %s @ %s\n", "RPERCENT", yybuf+yypos)); return 1; l93:; yypos= yypos0; yythunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "RPERCENT", yybuf+yypos)); return 0; }
YY_RULE(int) yy_EQUAL(GREG *G) { int yypos0= G->pos, yythunkpos0= G->thunkpos; yyprintf((stderr, "%s\n", "EQUAL")); if (!yymatchChar(G, '=')) goto l94; if (!yy__(G)) { goto l94; } yyprintf((stderr, " ok %s @ %s\n", "EQUAL", G->buf+G->pos)); return 1; l94:; G->pos= yypos0; G->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "EQUAL", G->buf+G->pos)); return 0; }
YY_RULE(int) yy_BAR() { int yypos0= yypos, yythunkpos0= yythunkpos; yyprintf((stderr, "%s\n", "BAR")); if (!yymatchChar('|')) goto l81; if (!yy__()) goto l81; yyprintf((stderr, " ok %s @ %s\n", "BAR", yybuf+yypos)); return 1; l81:; yypos= yypos0; yythunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "BAR", yybuf+yypos)); return 0; }
YY_RULE(int) yy_CLOSE() { int yypos0= yypos, yythunkpos0= yythunkpos; yyprintf((stderr, "%s\n", "CLOSE")); if (!yymatchChar(')')) goto l47; if (!yy__()) goto l47; yyprintf((stderr, " ok %s @ %s\n", "CLOSE", yybuf+yypos)); return 1; l47:; yypos= yypos0; yythunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "CLOSE", yybuf+yypos)); return 0; }
YY_RULE(int) yy_BEGIN() { int yypos0= yypos, yythunkpos0= yythunkpos; yyprintf((stderr, "%s\n", "BEGIN")); if (!yymatchChar('<')) goto l32; if (!yy__()) goto l32; yyprintf((stderr, " ok %s @ %s\n", "BEGIN", yybuf+yypos)); return 1; l32:; yypos= yypos0; yythunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "BEGIN", yybuf+yypos)); return 0; }
YY_RULE(int) yy_SEMICOLON() { int yypos0= yypos, yythunkpos0= yythunkpos; yyprintf((stderr, "%s\n", "SEMICOLON")); if (!yymatchChar(';')) goto l85; if (!yy__()) goto l85; yyprintf((stderr, " ok %s @ %s\n", "SEMICOLON", yybuf+yypos)); return 1; l85:; yypos= yypos0; yythunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "SEMICOLON", yybuf+yypos)); return 0; }
YY_RULE(int) yy_EQUAL() { int yypos0= yypos, yythunkpos0= yythunkpos; yyprintf((stderr, "%s\n", "EQUAL")); if (!yymatchChar('=')) goto l89; if (!yy__()) goto l89; yyprintf((stderr, " ok %s @ %s\n", "EQUAL", yybuf+yypos)); return 1; l89:; yypos= yypos0; yythunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "EQUAL", yybuf+yypos)); return 0; }
YY_RULE(int) yy_AND() { int yypos0= yypos, yythunkpos0= yythunkpos; yyprintf((stderr, "%s\n", "AND")); if (!yymatchChar('&')) goto l75; if (!yy__()) goto l75; yyprintf((stderr, " ok %s @ %s\n", "AND", yybuf+yypos)); return 1; l75:; yypos= yypos0; yythunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "AND", yybuf+yypos)); return 0; }
YY_RULE(int) yy_BAR(GREG *G) { int yypos0= G->pos, yythunkpos0= G->thunkpos; yyprintf((stderr, "%s\n", "BAR")); if (!yymatchChar(G, '|')) goto l86; if (!yy__(G)) { goto l86; } yyprintf((stderr, " ok %s @ %s\n", "BAR", G->buf+G->pos)); return 1; l86:; G->pos= yypos0; G->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "BAR", G->buf+G->pos)); return 0; }
YY_RULE(int) yy_ident() { int yypos0= yypos, yythunkpos0= yythunkpos; yyprintf((stderr, "%s\n", "ident")); yyText(yybegin, yyend); if (!(YY_BEGIN)) goto l21; if (!yymatchClass((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 l21; l22:; { int yypos23= yypos, yythunkpos23= yythunkpos; if (!yymatchClass((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 l23; goto l22; l23:; yypos= yypos23; yythunkpos= yythunkpos23; } yyText(yybegin, yyend); if (!(YY_END)) goto l21; if (!yy__()) goto l21; yyDo(yy_1_ident, yybegin, yyend); yyprintf((stderr, " ok %s @ %s\n", "ident", yybuf+yypos)); return 1; l21:; yypos= yypos0; yythunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "ident", yybuf+yypos)); return 0; }
YY_RULE(int) yy_identifier(GREG *G) { int yypos0= G->pos, yythunkpos0= G->thunkpos; yyprintf((stderr, "%s\n", "identifier")); yyText(G, G->begin, G->end); if (!(YY_BEGIN)) goto l95; if (!yymatchClass(G, (unsigned char *)"\000\000\000\000\000\040\000\000\376\377\377\207\376\377\377\007\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000")) goto l95; l96:; { int yypos97= G->pos, yythunkpos97= G->thunkpos; if (!yymatchClass(G, (unsigned char *)"\000\000\000\000\000\040\377\003\376\377\377\207\376\377\377\007\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000")) goto l97; goto l96; l97:; G->pos= yypos97; G->thunkpos= yythunkpos97; } yyText(G, G->begin, G->end); if (!(YY_END)) goto l95; if (!yy__(G)) { goto l95; } yyprintf((stderr, " ok %s @ %s\n", "identifier", G->buf+G->pos)); return 1; l95:; G->pos= yypos0; G->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "identifier", G->buf+G->pos)); return 0; }
YY_RULE(int) yy_identifier() { int yypos0= yypos, yythunkpos0= yythunkpos; yyprintf((stderr, "%s\n", "identifier")); yyText(yybegin, yyend); if (!(YY_BEGIN)) goto l90; if (!yymatchClass((unsigned char *)"\000\000\000\000\000\040\000\000\376\377\377\207\376\377\377\007\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000")) goto l90; l91:; { int yypos92= yypos, yythunkpos92= yythunkpos; if (!yymatchClass((unsigned char *)"\000\000\000\000\000\040\377\003\376\377\377\207\376\377\377\007\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000")) goto l92; goto l91; l92:; yypos= yypos92; yythunkpos= yythunkpos92; } yyText(yybegin, yyend); if (!(YY_END)) goto l90; if (!yy__()) goto l90; yyprintf((stderr, " ok %s @ %s\n", "identifier", yybuf+yypos)); return 1; l90:; yypos= yypos0; yythunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "identifier", yybuf+yypos)); return 0; }
YY_RULE(int) yy_number() { int yypos0= yypos, yythunkpos0= yythunkpos; yyprintf((stderr, "%s\n", "number")); yyText(yybegin, yyend); if (!(YY_BEGIN)) goto l16; { int yypos17= yypos, yythunkpos17= yythunkpos; if (!yymatchChar('-')) goto l17; goto l18; l17:; yypos= yypos17; yythunkpos= yythunkpos17; } l18:; if (!yymatchClass((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 l16; l19:; { int yypos20= yypos, yythunkpos20= yythunkpos; if (!yymatchClass((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 l20; goto l19; l20:; yypos= yypos20; yythunkpos= yythunkpos20; } yyText(yybegin, yyend); if (!(YY_END)) goto l16; if (!yy__()) goto l16; yyDo(yy_1_number, yybegin, yyend); yyprintf((stderr, " ok %s @ %s\n", "number", yybuf+yypos)); return 1; l16:; yypos= yypos0; yythunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "number", yybuf+yypos)); return 0; }
YY_RULE(int) yy_SEMICOLON(GREG *G) { int yypos0= G->pos, yythunkpos0= G->thunkpos; yyprintf((stderr, "%s\n", "SEMICOLON")); if (!yymatchChar(G, ';')) goto l90; if (!yy__(G)) { goto l90; } yyprintf((stderr, " ok %s @ %s\n", "SEMICOLON", G->buf+G->pos)); return 1; l90:; G->pos= yypos0; G->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "SEMICOLON", G->buf+G->pos)); return 0; }
YY_RULE(int) yy_RPERCENT(GREG *G) { int yypos0= G->pos, yythunkpos0= G->thunkpos; yyprintf((stderr, "%s\n", "RPERCENT")); if (!yymatchString(G, "%}")) goto l98; if (!yy__(G)) { goto l98; } yyprintf((stderr, " ok %s @ %s\n", "RPERCENT", G->buf+G->pos)); return 1; l98:; G->pos= yypos0; G->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "RPERCENT", G->buf+G->pos)); return 0; }
YY_RULE(int) yy_class() { int yypos0= yypos, yythunkpos0= yythunkpos; yyprintf((stderr, "%s\n", "class")); if (!yymatchChar('[')) goto l34; yyText(yybegin, yyend); if (!(YY_BEGIN)) goto l34; l35:; { int yypos36= yypos, yythunkpos36= yythunkpos; { int yypos37= yypos, yythunkpos37= yythunkpos; if (!yymatchChar(']')) goto l37; goto l36; l37:; yypos= yypos37; yythunkpos= yythunkpos37; } if (!yy_range()) goto l36; goto l35; l36:; yypos= yypos36; yythunkpos= yythunkpos36; } yyText(yybegin, yyend); if (!(YY_END)) goto l34; if (!yymatchChar(']')) goto l34; if (!yy__()) goto l34; yyprintf((stderr, " ok %s @ %s\n", "class", yybuf+yypos)); return 1; l34:; yypos= yypos0; yythunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "class", yybuf+yypos)); return 0; }
YY_RULE(int) yy_action() { int yypos0= yypos, yythunkpos0= yythunkpos; yyprintf((stderr, "%s\n", "action")); if (!yymatchChar('{')) goto l72; yyText(yybegin, yyend); if (!(YY_BEGIN)) goto l72; l73:; { int yypos74= yypos, yythunkpos74= yythunkpos; if (!yy_braces()) goto l74; goto l73; l74:; yypos= yypos74; yythunkpos= yythunkpos74; } yyText(yybegin, yyend); if (!(YY_END)) goto l72; if (!yymatchChar('}')) goto l72; if (!yy__()) goto l72; yyprintf((stderr, " ok %s @ %s\n", "action", yybuf+yypos)); return 1; l72:; yypos= yypos0; yythunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "action", yybuf+yypos)); return 0; }
YY_RULE(int) yy_literal() { int yypos0= yypos, yythunkpos0= yythunkpos; yyprintf((stderr, "%s\n", "literal")); { int yypos39= yypos, yythunkpos39= yythunkpos; if (!yymatchClass((unsigned char *)"\000\000\000\000\200\000\000\000\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 l40; yyText(yybegin, yyend); if (!(YY_BEGIN)) goto l40; l41:; { int yypos42= yypos, yythunkpos42= yythunkpos; { int yypos43= yypos, yythunkpos43= yythunkpos; if (!yymatchClass((unsigned char *)"\000\000\000\000\200\000\000\000\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 l43; goto l42; l43:; yypos= yypos43; yythunkpos= yythunkpos43; } if (!yy_char()) goto l42; goto l41; l42:; yypos= yypos42; yythunkpos= yythunkpos42; } yyText(yybegin, yyend); if (!(YY_END)) goto l40; if (!yymatchClass((unsigned char *)"\000\000\000\000\200\000\000\000\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 l40; if (!yy__()) goto l40; goto l39; l40:; yypos= yypos39; yythunkpos= yythunkpos39; if (!yymatchClass((unsigned char *)"\000\000\000\000\004\000\000\000\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 l38; yyText(yybegin, yyend); if (!(YY_BEGIN)) goto l38; l44:; { int yypos45= yypos, yythunkpos45= yythunkpos; { int yypos46= yypos, yythunkpos46= yythunkpos; if (!yymatchClass((unsigned char *)"\000\000\000\000\004\000\000\000\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 l46; goto l45; l46:; yypos= yypos46; yythunkpos= yythunkpos46; } if (!yy_char()) goto l45; goto l44; l45:; yypos= yypos45; yythunkpos= yythunkpos45; } yyText(yybegin, yyend); if (!(YY_END)) goto l38; if (!yymatchClass((unsigned char *)"\000\000\000\000\004\000\000\000\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 l38; if (!yy__()) goto l38; } l39:; yyprintf((stderr, " ok %s @ %s\n", "literal", yybuf+yypos)); return 1; l38:; yypos= yypos0; yythunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "literal", yybuf+yypos)); return 0; }
YY_RULE(int) yy_action(GREG *G) { int yypos0= G->pos, yythunkpos0= G->thunkpos; yyprintf((stderr, "%s\n", "action")); if (!yymatchChar(G, '{')) goto l77; yyText(G, G->begin, G->end); if (!(YY_BEGIN)) goto l77; l78:; { int yypos79= G->pos, yythunkpos79= G->thunkpos; if (!yy_braces(G)) { goto l79; } goto l78; l79:; G->pos= yypos79; G->thunkpos= yythunkpos79; } yyText(G, G->begin, G->end); if (!(YY_END)) goto l77; if (!yymatchChar(G, '}')) goto l77; if (!yy__(G)) { goto l77; } yyprintf((stderr, " ok %s @ %s\n", "action", G->buf+G->pos)); return 1; l77:; G->pos= yypos0; G->thunkpos= yythunkpos0; yyprintf((stderr, " fail %s @ %s\n", "action", G->buf+G->pos)); return 0; }