2 | 2 |
#include <stdio.h>
|
3 | 3 |
#include <stdlib.h>
|
4 | 4 |
#include <string.h>
|
5 | |
#define YYRULECOUNT 20
|
|
5 |
#define YYRULECOUNT 21
|
6 | 6 |
#ifndef YY_MALLOC
|
7 | 7 |
#define YY_MALLOC(C, N) malloc(N)
|
8 | 8 |
#endif
|
|
271 | 271 |
|
272 | 272 |
#define YYACCEPT yyAccept(yy, yythunkpos0)
|
273 | 273 |
|
274 | |
YY_RULE(int) yy__line_start_(yycontext *yy); /* 20 */
|
275 | |
YY_RULE(int) yy_line_comment(yycontext *yy); /* 19 */
|
276 | |
YY_RULE(int) yy_HWS(yycontext *yy); /* 18 */
|
277 | |
YY_RULE(int) yy_WS(yycontext *yy); /* 17 */
|
278 | |
YY_RULE(int) yy_EOL(yycontext *yy); /* 16 */
|
279 | |
YY_RULE(int) yy_double_quoted(yycontext *yy); /* 15 */
|
280 | |
YY_RULE(int) yy_single_quoted(yycontext *yy); /* 14 */
|
281 | |
YY_RULE(int) yy_comment(yycontext *yy); /* 13 */
|
282 | |
YY_RULE(int) yy_EOF(yycontext *yy); /* 12 */
|
283 | |
YY_RULE(int) yy_statement_body(yycontext *yy); /* 11 */
|
284 | |
YY_RULE(int) yy_quoted(yycontext *yy); /* 10 */
|
|
274 |
YY_RULE(int) yy__line_start_(yycontext *yy); /* 21 */
|
|
275 |
YY_RULE(int) yy_line_comment(yycontext *yy); /* 20 */
|
|
276 |
YY_RULE(int) yy_HWS(yycontext *yy); /* 19 */
|
|
277 |
YY_RULE(int) yy_WS(yycontext *yy); /* 18 */
|
|
278 |
YY_RULE(int) yy_EOL(yycontext *yy); /* 17 */
|
|
279 |
YY_RULE(int) yy_double_quoted(yycontext *yy); /* 16 */
|
|
280 |
YY_RULE(int) yy_single_quoted(yycontext *yy); /* 15 */
|
|
281 |
YY_RULE(int) yy_comment(yycontext *yy); /* 14 */
|
|
282 |
YY_RULE(int) yy_EOF(yycontext *yy); /* 13 */
|
|
283 |
YY_RULE(int) yy_statement_body(yycontext *yy); /* 12 */
|
|
284 |
YY_RULE(int) yy_quoted(yycontext *yy); /* 11 */
|
|
285 |
YY_RULE(int) yy_unclosed_block_comment(yycontext *yy); /* 10 */
|
285 | 286 |
YY_RULE(int) yy_block_comment(yycontext *yy); /* 9 */
|
286 | 287 |
YY_RULE(int) yy_escaped_char(yycontext *yy); /* 8 */
|
287 | 288 |
YY_RULE(int) yy_line_end(yycontext *yy); /* 7 */
|
|
416 | 417 |
}
|
417 | 418 |
l18:; goto l16;
|
418 | 419 |
l17:; yy->__pos= yypos17; yy->__thunkpos= yythunkpos17;
|
419 | |
} if (!yymatchChar(yy, '"')) goto l15;
|
|
420 |
}
|
|
421 |
{ int yypos22= yy->__pos, yythunkpos22= yy->__thunkpos; if (!yymatchChar(yy, '"')) goto l23; goto l22;
|
|
422 |
l23:; yy->__pos= yypos22; yy->__thunkpos= yythunkpos22; if (!yy_EOF(yy)) goto l15;
|
|
423 |
}
|
|
424 |
l22:;
|
420 | 425 |
yyprintf((stderr, " ok %s @ %s\n", "double_quoted", yy->__buf+yy->__pos));
|
421 | 426 |
return 1;
|
422 | 427 |
l15:; yy->__pos= yypos0; yy->__thunkpos= yythunkpos0;
|
|
425 | 430 |
}
|
426 | 431 |
YY_RULE(int) yy_single_quoted(yycontext *yy)
|
427 | 432 |
{ int yypos0= yy->__pos, yythunkpos0= yy->__thunkpos;
|
428 | |
yyprintf((stderr, "%s\n", "single_quoted")); if (!yymatchChar(yy, '\'')) goto l22;
|
429 | |
l23:;
|
430 | |
{ int yypos24= yy->__pos, yythunkpos24= yy->__thunkpos;
|
431 | |
{ int yypos25= yy->__pos, yythunkpos25= yy->__thunkpos; if (!yy_escaped_char(yy)) goto l26; goto l25;
|
432 | |
l26:; yy->__pos= yypos25; yy->__thunkpos= yythunkpos25; if (!yy_EOL(yy)) goto l27; goto l25;
|
433 | |
l27:; yy->__pos= yypos25; yy->__thunkpos= yythunkpos25;
|
434 | |
{ int yypos28= yy->__pos, yythunkpos28= yy->__thunkpos; if (!yymatchChar(yy, '\'')) goto l28; goto l24;
|
435 | |
l28:; yy->__pos= yypos28; yy->__thunkpos= yythunkpos28;
|
436 | |
} if (!yymatchDot(yy)) goto l24;
|
437 | |
}
|
438 | |
l25:; goto l23;
|
439 | |
l24:; yy->__pos= yypos24; yy->__thunkpos= yythunkpos24;
|
440 | |
} if (!yymatchChar(yy, '\'')) goto l22;
|
|
433 |
yyprintf((stderr, "%s\n", "single_quoted")); if (!yymatchChar(yy, '\'')) goto l24;
|
|
434 |
l25:;
|
|
435 |
{ int yypos26= yy->__pos, yythunkpos26= yy->__thunkpos;
|
|
436 |
{ int yypos27= yy->__pos, yythunkpos27= yy->__thunkpos; if (!yy_escaped_char(yy)) goto l28; goto l27;
|
|
437 |
l28:; yy->__pos= yypos27; yy->__thunkpos= yythunkpos27; if (!yy_EOL(yy)) goto l29; goto l27;
|
|
438 |
l29:; yy->__pos= yypos27; yy->__thunkpos= yythunkpos27;
|
|
439 |
{ int yypos30= yy->__pos, yythunkpos30= yy->__thunkpos; if (!yymatchChar(yy, '\'')) goto l30; goto l26;
|
|
440 |
l30:; yy->__pos= yypos30; yy->__thunkpos= yythunkpos30;
|
|
441 |
} if (!yymatchDot(yy)) goto l26;
|
|
442 |
}
|
|
443 |
l27:; goto l25;
|
|
444 |
l26:; yy->__pos= yypos26; yy->__thunkpos= yythunkpos26;
|
|
445 |
}
|
|
446 |
{ int yypos31= yy->__pos, yythunkpos31= yy->__thunkpos; if (!yymatchChar(yy, '\'')) goto l32; goto l31;
|
|
447 |
l32:; yy->__pos= yypos31; yy->__thunkpos= yythunkpos31; if (!yy_EOF(yy)) goto l24;
|
|
448 |
}
|
|
449 |
l31:;
|
441 | 450 |
yyprintf((stderr, " ok %s @ %s\n", "single_quoted", yy->__buf+yy->__pos));
|
442 | 451 |
return 1;
|
443 | |
l22:; yy->__pos= yypos0; yy->__thunkpos= yythunkpos0;
|
|
452 |
l24:; yy->__pos= yypos0; yy->__thunkpos= yythunkpos0;
|
444 | 453 |
yyprintf((stderr, " fail %s @ %s\n", "single_quoted", yy->__buf+yy->__pos));
|
445 | 454 |
return 0;
|
446 | 455 |
}
|
447 | 456 |
YY_RULE(int) yy_comment(yycontext *yy)
|
448 | 457 |
{ int yypos0= yy->__pos, yythunkpos0= yy->__thunkpos;
|
449 | 458 |
yyprintf((stderr, "%s\n", "comment"));
|
450 | |
{ int yypos30= yy->__pos, yythunkpos30= yy->__thunkpos; if (!yy_line_comment(yy)) goto l31; goto l30;
|
451 | |
l31:; yy->__pos= yypos30; yy->__thunkpos= yythunkpos30; if (!yy_block_comment(yy)) goto l29;
|
452 | |
}
|
453 | |
l30:;
|
|
459 |
{ int yypos34= yy->__pos, yythunkpos34= yy->__thunkpos; if (!yy_line_comment(yy)) goto l35; goto l34;
|
|
460 |
l35:; yy->__pos= yypos34; yy->__thunkpos= yythunkpos34; if (!yy_block_comment(yy)) goto l33;
|
|
461 |
}
|
|
462 |
l34:;
|
454 | 463 |
yyprintf((stderr, " ok %s @ %s\n", "comment", yy->__buf+yy->__pos));
|
455 | 464 |
return 1;
|
456 | |
l29:; yy->__pos= yypos0; yy->__thunkpos= yythunkpos0;
|
|
465 |
l33:; yy->__pos= yypos0; yy->__thunkpos= yythunkpos0;
|
457 | 466 |
yyprintf((stderr, " fail %s @ %s\n", "comment", yy->__buf+yy->__pos));
|
458 | 467 |
return 0;
|
459 | 468 |
}
|
460 | 469 |
YY_RULE(int) yy_EOF(yycontext *yy)
|
461 | 470 |
{ int yypos0= yy->__pos, yythunkpos0= yy->__thunkpos;
|
462 | 471 |
yyprintf((stderr, "%s\n", "EOF"));
|
463 | |
{ int yypos33= yy->__pos, yythunkpos33= yy->__thunkpos; if (!yymatchDot(yy)) goto l33; goto l32;
|
464 | |
l33:; yy->__pos= yypos33; yy->__thunkpos= yythunkpos33;
|
|
472 |
{ int yypos37= yy->__pos, yythunkpos37= yy->__thunkpos; if (!yymatchDot(yy)) goto l37; goto l36;
|
|
473 |
l37:; yy->__pos= yypos37; yy->__thunkpos= yythunkpos37;
|
465 | 474 |
} yyDo(yy, yy_1_EOF, yy->__begin, yy->__end);
|
466 | 475 |
yyprintf((stderr, " ok %s @ %s\n", "EOF", yy->__buf+yy->__pos));
|
467 | 476 |
return 1;
|
468 | |
l32:; yy->__pos= yypos0; yy->__thunkpos= yythunkpos0;
|
|
477 |
l36:; yy->__pos= yypos0; yy->__thunkpos= yythunkpos0;
|
469 | 478 |
yyprintf((stderr, " fail %s @ %s\n", "EOF", yy->__buf+yy->__pos));
|
470 | 479 |
return 0;
|
471 | 480 |
}
|
472 | 481 |
YY_RULE(int) yy_statement_body(yycontext *yy)
|
473 | 482 |
{
|
474 | 483 |
yyprintf((stderr, "%s\n", "statement_body"));
|
475 | |
l35:;
|
476 | |
{ int yypos36= yy->__pos, yythunkpos36= yy->__thunkpos;
|
477 | |
{ int yypos37= yy->__pos, yythunkpos37= yy->__thunkpos; if (!yy_comment(yy)) goto l38; goto l37;
|
478 | |
l38:; yy->__pos= yypos37; yy->__thunkpos= yythunkpos37; if (!yy_quoted(yy)) goto l39; goto l37;
|
479 | |
l39:; yy->__pos= yypos37; yy->__thunkpos= yythunkpos37; if (!yy_escaped_char(yy)) goto l40; goto l37;
|
480 | |
l40:; yy->__pos= yypos37; yy->__thunkpos= yythunkpos37;
|
481 | |
{ int yypos41= yy->__pos, yythunkpos41= yy->__thunkpos; if (!yy__(yy)) goto l41; if (!yymatchChar(yy, ';')) goto l41; goto l36;
|
482 | |
l41:; yy->__pos= yypos41; yy->__thunkpos= yythunkpos41;
|
483 | |
} if (!yymatchDot(yy)) goto l36;
|
484 | |
}
|
485 | |
l37:; goto l35;
|
486 | |
l36:; yy->__pos= yypos36; yy->__thunkpos= yythunkpos36;
|
|
484 |
l39:;
|
|
485 |
{ int yypos40= yy->__pos, yythunkpos40= yy->__thunkpos;
|
|
486 |
{ int yypos41= yy->__pos, yythunkpos41= yy->__thunkpos; if (!yy_comment(yy)) goto l42; goto l41;
|
|
487 |
l42:; yy->__pos= yypos41; yy->__thunkpos= yythunkpos41; if (!yy_quoted(yy)) goto l43; goto l41;
|
|
488 |
l43:; yy->__pos= yypos41; yy->__thunkpos= yythunkpos41; if (!yy_unclosed_block_comment(yy)) goto l44; goto l41;
|
|
489 |
l44:; yy->__pos= yypos41; yy->__thunkpos= yythunkpos41; if (!yy_escaped_char(yy)) goto l45; goto l41;
|
|
490 |
l45:; yy->__pos= yypos41; yy->__thunkpos= yythunkpos41;
|
|
491 |
{ int yypos46= yy->__pos, yythunkpos46= yy->__thunkpos; if (!yy__(yy)) goto l46; if (!yymatchChar(yy, ';')) goto l46; goto l40;
|
|
492 |
l46:; yy->__pos= yypos46; yy->__thunkpos= yythunkpos46;
|
|
493 |
} if (!yymatchDot(yy)) goto l40;
|
|
494 |
}
|
|
495 |
l41:; goto l39;
|
|
496 |
l40:; yy->__pos= yypos40; yy->__thunkpos= yythunkpos40;
|
487 | 497 |
}
|
488 | 498 |
yyprintf((stderr, " ok %s @ %s\n", "statement_body", yy->__buf+yy->__pos));
|
489 | 499 |
return 1;
|
|
491 | 501 |
YY_RULE(int) yy_quoted(yycontext *yy)
|
492 | 502 |
{ int yypos0= yy->__pos, yythunkpos0= yy->__thunkpos;
|
493 | 503 |
yyprintf((stderr, "%s\n", "quoted"));
|
494 | |
{ int yypos43= yy->__pos, yythunkpos43= yy->__thunkpos; if (!yy_single_quoted(yy)) goto l44; goto l43;
|
495 | |
l44:; yy->__pos= yypos43; yy->__thunkpos= yythunkpos43; if (!yy_double_quoted(yy)) goto l42;
|
496 | |
}
|
497 | |
l43:;
|
|
504 |
{ int yypos48= yy->__pos, yythunkpos48= yy->__thunkpos; if (!yy_single_quoted(yy)) goto l49; goto l48;
|
|
505 |
l49:; yy->__pos= yypos48; yy->__thunkpos= yythunkpos48; if (!yy_double_quoted(yy)) goto l47;
|
|
506 |
}
|
|
507 |
l48:;
|
498 | 508 |
yyprintf((stderr, " ok %s @ %s\n", "quoted", yy->__buf+yy->__pos));
|
499 | 509 |
return 1;
|
500 | |
l42:; yy->__pos= yypos0; yy->__thunkpos= yythunkpos0;
|
|
510 |
l47:; yy->__pos= yypos0; yy->__thunkpos= yythunkpos0;
|
501 | 511 |
yyprintf((stderr, " fail %s @ %s\n", "quoted", yy->__buf+yy->__pos));
|
502 | 512 |
return 0;
|
503 | 513 |
}
|
|
514 |
YY_RULE(int) yy_unclosed_block_comment(yycontext *yy)
|
|
515 |
{ int yypos0= yy->__pos, yythunkpos0= yy->__thunkpos;
|
|
516 |
yyprintf((stderr, "%s\n", "unclosed_block_comment")); if (!yymatchString(yy, "/*")) goto l50;
|
|
517 |
l51:;
|
|
518 |
{ int yypos52= yy->__pos, yythunkpos52= yy->__thunkpos;
|
|
519 |
{ int yypos53= yy->__pos, yythunkpos53= yy->__thunkpos; if (!yy_EOL(yy)) goto l54; goto l53;
|
|
520 |
l54:; yy->__pos= yypos53; yy->__thunkpos= yythunkpos53;
|
|
521 |
{ int yypos55= yy->__pos, yythunkpos55= yy->__thunkpos; if (!yymatchString(yy, "*/")) goto l55; goto l52;
|
|
522 |
l55:; yy->__pos= yypos55; yy->__thunkpos= yythunkpos55;
|
|
523 |
} if (!yymatchDot(yy)) goto l52;
|
|
524 |
}
|
|
525 |
l53:; goto l51;
|
|
526 |
l52:; yy->__pos= yypos52; yy->__thunkpos= yythunkpos52;
|
|
527 |
} if (!yy_EOF(yy)) goto l50;
|
|
528 |
yyprintf((stderr, " ok %s @ %s\n", "unclosed_block_comment", yy->__buf+yy->__pos));
|
|
529 |
return 1;
|
|
530 |
l50:; yy->__pos= yypos0; yy->__thunkpos= yythunkpos0;
|
|
531 |
yyprintf((stderr, " fail %s @ %s\n", "unclosed_block_comment", yy->__buf+yy->__pos));
|
|
532 |
return 0;
|
|
533 |
}
|
504 | 534 |
YY_RULE(int) yy_block_comment(yycontext *yy)
|
505 | 535 |
{ int yypos0= yy->__pos, yythunkpos0= yy->__thunkpos;
|
506 | |
yyprintf((stderr, "%s\n", "block_comment")); if (!yymatchString(yy, "/*")) goto l45;
|
507 | |
l46:;
|
508 | |
{ int yypos47= yy->__pos, yythunkpos47= yy->__thunkpos;
|
509 | |
{ int yypos48= yy->__pos, yythunkpos48= yy->__thunkpos; if (!yy_EOL(yy)) goto l49; goto l48;
|
510 | |
l49:; yy->__pos= yypos48; yy->__thunkpos= yythunkpos48;
|
511 | |
{ int yypos50= yy->__pos, yythunkpos50= yy->__thunkpos; if (!yymatchString(yy, "*/")) goto l50; goto l47;
|
512 | |
l50:; yy->__pos= yypos50; yy->__thunkpos= yythunkpos50;
|
513 | |
} if (!yymatchDot(yy)) goto l47;
|
514 | |
}
|
515 | |
l48:; goto l46;
|
516 | |
l47:; yy->__pos= yypos47; yy->__thunkpos= yythunkpos47;
|
517 | |
} if (!yymatchString(yy, "*/")) goto l45;
|
518 | |
yyprintf((stderr, " ok %s @ %s\n", "block_comment", yy->__buf+yy->__pos));
|
519 | |
return 1;
|
520 | |
l45:; yy->__pos= yypos0; yy->__thunkpos= yythunkpos0;
|
521 | |
yyprintf((stderr, " fail %s @ %s\n", "block_comment", yy->__buf+yy->__pos));
|
522 | |
return 0;
|
523 | |
}
|
524 | |
YY_RULE(int) yy_escaped_char(yycontext *yy)
|
525 | |
{ int yypos0= yy->__pos, yythunkpos0= yy->__thunkpos;
|
526 | |
yyprintf((stderr, "%s\n", "escaped_char")); if (!yymatchChar(yy, '\\')) goto l51; if (!yymatchClass(yy, (unsigned char *)"\000\000\000\000\204\000\000\200\000\000\000\020\106\100\124\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000")) goto l51;
|
527 | |
yyprintf((stderr, " ok %s @ %s\n", "escaped_char", yy->__buf+yy->__pos));
|
528 | |
return 1;
|
529 | |
l51:; yy->__pos= yypos0; yy->__thunkpos= yythunkpos0;
|
530 | |
yyprintf((stderr, " fail %s @ %s\n", "escaped_char", yy->__buf+yy->__pos));
|
531 | |
return 0;
|
532 | |
}
|
533 | |
YY_RULE(int) yy_line_end(yycontext *yy)
|
534 | |
{ int yypos0= yy->__pos, yythunkpos0= yy->__thunkpos;
|
535 | |
yyprintf((stderr, "%s\n", "line_end"));
|
536 | |
{ int yypos53= yy->__pos, yythunkpos53= yy->__thunkpos; if (!yy_line_comment(yy)) goto l54; goto l53;
|
537 | |
l54:; yy->__pos= yypos53; yy->__thunkpos= yythunkpos53; if (!yy_EOL(yy)) goto l55; goto l53;
|
538 | |
l55:; yy->__pos= yypos53; yy->__thunkpos= yythunkpos53; if (!yy_EOF(yy)) goto l52;
|
539 | |
}
|
540 | |
l53:;
|
541 | |
yyprintf((stderr, " ok %s @ %s\n", "line_end", yy->__buf+yy->__pos));
|
542 | |
return 1;
|
543 | |
l52:; yy->__pos= yypos0; yy->__thunkpos= yythunkpos0;
|
544 | |
yyprintf((stderr, " fail %s @ %s\n", "line_end", yy->__buf+yy->__pos));
|
545 | |
return 0;
|
546 | |
}
|
547 | |
YY_RULE(int) yy___(yycontext *yy)
|
548 | |
{
|
549 | |
yyprintf((stderr, "%s\n", "__"));
|
|
536 |
yyprintf((stderr, "%s\n", "block_comment")); if (!yymatchString(yy, "/*")) goto l56;
|
550 | 537 |
l57:;
|
551 | 538 |
{ int yypos58= yy->__pos, yythunkpos58= yy->__thunkpos;
|
552 | |
{ int yypos59= yy->__pos, yythunkpos59= yy->__thunkpos; if (!yy_HWS(yy)) goto l60; goto l59;
|
553 | |
l60:; yy->__pos= yypos59; yy->__thunkpos= yythunkpos59; if (!yy_block_comment(yy)) goto l58;
|
|
539 |
{ int yypos59= yy->__pos, yythunkpos59= yy->__thunkpos; if (!yy_EOL(yy)) goto l60; goto l59;
|
|
540 |
l60:; yy->__pos= yypos59; yy->__thunkpos= yythunkpos59;
|
|
541 |
{ int yypos61= yy->__pos, yythunkpos61= yy->__thunkpos; if (!yymatchString(yy, "*/")) goto l61; goto l58;
|
|
542 |
l61:; yy->__pos= yypos61; yy->__thunkpos= yythunkpos61;
|
|
543 |
} if (!yymatchDot(yy)) goto l58;
|
554 | 544 |
}
|
555 | 545 |
l59:; goto l57;
|
556 | 546 |
l58:; yy->__pos= yypos58; yy->__thunkpos= yythunkpos58;
|
|
547 |
} if (!yymatchString(yy, "*/")) goto l56;
|
|
548 |
yyprintf((stderr, " ok %s @ %s\n", "block_comment", yy->__buf+yy->__pos));
|
|
549 |
return 1;
|
|
550 |
l56:; yy->__pos= yypos0; yy->__thunkpos= yythunkpos0;
|
|
551 |
yyprintf((stderr, " fail %s @ %s\n", "block_comment", yy->__buf+yy->__pos));
|
|
552 |
return 0;
|
|
553 |
}
|
|
554 |
YY_RULE(int) yy_escaped_char(yycontext *yy)
|
|
555 |
{ int yypos0= yy->__pos, yythunkpos0= yy->__thunkpos;
|
|
556 |
yyprintf((stderr, "%s\n", "escaped_char")); if (!yymatchChar(yy, '\\')) goto l62; if (!yymatchClass(yy, (unsigned char *)"\000\000\000\000\204\000\000\200\000\000\000\020\106\100\124\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000")) goto l62;
|
|
557 |
yyprintf((stderr, " ok %s @ %s\n", "escaped_char", yy->__buf+yy->__pos));
|
|
558 |
return 1;
|
|
559 |
l62:; yy->__pos= yypos0; yy->__thunkpos= yythunkpos0;
|
|
560 |
yyprintf((stderr, " fail %s @ %s\n", "escaped_char", yy->__buf+yy->__pos));
|
|
561 |
return 0;
|
|
562 |
}
|
|
563 |
YY_RULE(int) yy_line_end(yycontext *yy)
|
|
564 |
{ int yypos0= yy->__pos, yythunkpos0= yy->__thunkpos;
|
|
565 |
yyprintf((stderr, "%s\n", "line_end"));
|
|
566 |
{ int yypos64= yy->__pos, yythunkpos64= yy->__thunkpos; if (!yy_line_comment(yy)) goto l65; goto l64;
|
|
567 |
l65:; yy->__pos= yypos64; yy->__thunkpos= yythunkpos64; if (!yy_EOL(yy)) goto l66; goto l64;
|
|
568 |
l66:; yy->__pos= yypos64; yy->__thunkpos= yythunkpos64; if (!yy_EOF(yy)) goto l63;
|
|
569 |
}
|
|
570 |
l64:;
|
|
571 |
yyprintf((stderr, " ok %s @ %s\n", "line_end", yy->__buf+yy->__pos));
|
|
572 |
return 1;
|
|
573 |
l63:; yy->__pos= yypos0; yy->__thunkpos= yythunkpos0;
|
|
574 |
yyprintf((stderr, " fail %s @ %s\n", "line_end", yy->__buf+yy->__pos));
|
|
575 |
return 0;
|
|
576 |
}
|
|
577 |
YY_RULE(int) yy___(yycontext *yy)
|
|
578 |
{
|
|
579 |
yyprintf((stderr, "%s\n", "__"));
|
|
580 |
l68:;
|
|
581 |
{ int yypos69= yy->__pos, yythunkpos69= yy->__thunkpos;
|
|
582 |
{ int yypos70= yy->__pos, yythunkpos70= yy->__thunkpos; if (!yy_HWS(yy)) goto l71; goto l70;
|
|
583 |
l71:; yy->__pos= yypos70; yy->__thunkpos= yythunkpos70; if (!yy_block_comment(yy)) goto l69;
|
|
584 |
}
|
|
585 |
l70:; goto l68;
|
|
586 |
l69:; yy->__pos= yypos69; yy->__thunkpos= yythunkpos69;
|
557 | 587 |
}
|
558 | 588 |
yyprintf((stderr, " ok %s @ %s\n", "__", yy->__buf+yy->__pos));
|
559 | 589 |
return 1;
|
|
561 | 591 |
YY_RULE(int) yy_command_body(yycontext *yy)
|
562 | 592 |
{
|
563 | 593 |
yyprintf((stderr, "%s\n", "command_body"));
|
564 | |
l62:;
|
565 | |
{ int yypos63= yy->__pos, yythunkpos63= yy->__thunkpos;
|
566 | |
{ int yypos64= yy->__pos, yythunkpos64= yy->__thunkpos; if (!yy_escaped_char(yy)) goto l65; goto l64;
|
567 | |
l65:; yy->__pos= yypos64; yy->__thunkpos= yythunkpos64; if (!yymatchString(yy, "\\;")) goto l66; goto l64;
|
568 | |
l66:; yy->__pos= yypos64; yy->__thunkpos= yythunkpos64; if (!yymatchChar(yy, '\\')) goto l67; if (!yy___(yy)) goto l67; if (!yy_line_end(yy)) goto l67; goto l64;
|
569 | |
l67:; yy->__pos= yypos64; yy->__thunkpos= yythunkpos64; if (!yy_block_comment(yy)) goto l68; goto l64;
|
570 | |
l68:; yy->__pos= yypos64; yy->__thunkpos= yythunkpos64; if (!yy_quoted(yy)) goto l69; goto l64;
|
571 | |
l69:; yy->__pos= yypos64; yy->__thunkpos= yythunkpos64;
|
572 | |
{ int yypos70= yy->__pos, yythunkpos70= yy->__thunkpos;
|
573 | |
{ int yypos71= yy->__pos, yythunkpos71= yy->__thunkpos; if (!yymatchChar(yy, ';')) goto l72; goto l71;
|
574 | |
l72:; yy->__pos= yypos71; yy->__thunkpos= yythunkpos71; if (!yy___(yy)) goto l70; if (!yy_line_end(yy)) goto l70;
|
575 | |
}
|
576 | |
l71:; goto l63;
|
577 | |
l70:; yy->__pos= yypos70; yy->__thunkpos= yythunkpos70;
|
578 | |
} if (!yymatchDot(yy)) goto l63;
|
579 | |
}
|
580 | |
l64:; goto l62;
|
581 | |
l63:; yy->__pos= yypos63; yy->__thunkpos= yythunkpos63;
|
|
594 |
l73:;
|
|
595 |
{ int yypos74= yy->__pos, yythunkpos74= yy->__thunkpos;
|
|
596 |
{ int yypos75= yy->__pos, yythunkpos75= yy->__thunkpos; if (!yy_escaped_char(yy)) goto l76; goto l75;
|
|
597 |
l76:; yy->__pos= yypos75; yy->__thunkpos= yythunkpos75; if (!yymatchString(yy, "\\;")) goto l77; goto l75;
|
|
598 |
l77:; yy->__pos= yypos75; yy->__thunkpos= yythunkpos75; if (!yymatchChar(yy, '\\')) goto l78; if (!yy___(yy)) goto l78; if (!yy_line_end(yy)) goto l78; goto l75;
|
|
599 |
l78:; yy->__pos= yypos75; yy->__thunkpos= yythunkpos75; if (!yy_block_comment(yy)) goto l79; goto l75;
|
|
600 |
l79:; yy->__pos= yypos75; yy->__thunkpos= yythunkpos75; if (!yy_unclosed_block_comment(yy)) goto l80; goto l75;
|
|
601 |
l80:; yy->__pos= yypos75; yy->__thunkpos= yythunkpos75; if (!yy_quoted(yy)) goto l81; goto l75;
|
|
602 |
l81:; yy->__pos= yypos75; yy->__thunkpos= yythunkpos75;
|
|
603 |
{ int yypos82= yy->__pos, yythunkpos82= yy->__thunkpos;
|
|
604 |
{ int yypos83= yy->__pos, yythunkpos83= yy->__thunkpos; if (!yymatchChar(yy, ';')) goto l84; goto l83;
|
|
605 |
l84:; yy->__pos= yypos83; yy->__thunkpos= yythunkpos83; if (!yy___(yy)) goto l82; if (!yy_line_end(yy)) goto l82;
|
|
606 |
}
|
|
607 |
l83:; goto l74;
|
|
608 |
l82:; yy->__pos= yypos82; yy->__thunkpos= yythunkpos82;
|
|
609 |
} if (!yymatchDot(yy)) goto l74;
|
|
610 |
}
|
|
611 |
l75:; goto l73;
|
|
612 |
l74:; yy->__pos= yypos74; yy->__thunkpos= yythunkpos74;
|
582 | 613 |
}
|
583 | 614 |
yyprintf((stderr, " ok %s @ %s\n", "command_body", yy->__buf+yy->__pos));
|
584 | 615 |
return 1;
|
|
586 | 617 |
YY_RULE(int) yy__(yycontext *yy)
|
587 | 618 |
{
|
588 | 619 |
yyprintf((stderr, "%s\n", "_"));
|
589 | |
l74:;
|
590 | |
{ int yypos75= yy->__pos, yythunkpos75= yy->__thunkpos;
|
591 | |
{ int yypos76= yy->__pos, yythunkpos76= yy->__thunkpos; if (!yy_WS(yy)) goto l77; goto l76;
|
592 | |
l77:; yy->__pos= yypos76; yy->__thunkpos= yythunkpos76; if (!yy_comment(yy)) goto l75;
|
593 | |
}
|
594 | |
l76:; goto l74;
|
595 | |
l75:; yy->__pos= yypos75; yy->__thunkpos= yythunkpos75;
|
|
620 |
l86:;
|
|
621 |
{ int yypos87= yy->__pos, yythunkpos87= yy->__thunkpos;
|
|
622 |
{ int yypos88= yy->__pos, yythunkpos88= yy->__thunkpos; if (!yy_WS(yy)) goto l89; goto l88;
|
|
623 |
l89:; yy->__pos= yypos88; yy->__thunkpos= yythunkpos88; if (!yy_comment(yy)) goto l87;
|
|
624 |
}
|
|
625 |
l88:; goto l86;
|
|
626 |
l87:; yy->__pos= yypos87; yy->__thunkpos= yythunkpos87;
|
596 | 627 |
}
|
597 | 628 |
yyprintf((stderr, " ok %s @ %s\n", "_", yy->__buf+yy->__pos));
|
598 | 629 |
return 1;
|
599 | 630 |
}
|
600 | 631 |
YY_RULE(int) yy_statement(yycontext *yy)
|
601 | 632 |
{ int yypos0= yy->__pos, yythunkpos0= yy->__thunkpos;
|
602 | |
yyprintf((stderr, "%s\n", "statement")); if (!yy__(yy)) goto l78; yyText(yy, yy->__begin, yy->__end); {
|
|
633 |
yyprintf((stderr, "%s\n", "statement")); if (!yy__(yy)) goto l90; yyText(yy, yy->__begin, yy->__end); {
|
603 | 634 |
#define yytext yy->__text
|
604 | 635 |
#define yyleng yy->__textlen
|
605 | |
if (!(YY_BEGIN)) goto l78;
|
|
636 |
if (!(YY_BEGIN)) goto l90;
|
606 | 637 |
#undef yytext
|
607 | 638 |
#undef yyleng
|
608 | |
} if (!yy_statement_body(yy)) goto l78; yyText(yy, yy->__begin, yy->__end); {
|
|
639 |
} if (!yy_statement_body(yy)) goto l90; yyText(yy, yy->__begin, yy->__end); {
|
609 | 640 |
#define yytext yy->__text
|
610 | 641 |
#define yyleng yy->__textlen
|
611 | |
if (!(YY_END)) goto l78;
|
|
642 |
if (!(YY_END)) goto l90;
|
612 | 643 |
#undef yytext
|
613 | 644 |
#undef yyleng
|
614 | |
} if (!yy__(yy)) goto l78;
|
615 | |
{ int yypos79= yy->__pos, yythunkpos79= yy->__thunkpos; if (!yymatchChar(yy, ';')) goto l80; goto l79;
|
616 | |
l80:; yy->__pos= yypos79; yy->__thunkpos= yythunkpos79; if (!yy_EOF(yy)) goto l78;
|
617 | |
}
|
618 | |
l79:; yyDo(yy, yy_1_statement, yy->__begin, yy->__end);
|
|
645 |
} if (!yy__(yy)) goto l90;
|
|
646 |
{ int yypos91= yy->__pos, yythunkpos91= yy->__thunkpos; if (!yymatchChar(yy, ';')) goto l92; goto l91;
|
|
647 |
l92:; yy->__pos= yypos91; yy->__thunkpos= yythunkpos91; if (!yy_EOF(yy)) goto l90;
|
|
648 |
}
|
|
649 |
l91:; yyDo(yy, yy_1_statement, yy->__begin, yy->__end);
|
619 | 650 |
yyprintf((stderr, " ok %s @ %s\n", "statement", yy->__buf+yy->__pos));
|
620 | 651 |
return 1;
|
621 | |
l78:; yy->__pos= yypos0; yy->__thunkpos= yythunkpos0;
|
|
652 |
l90:; yy->__pos= yypos0; yy->__thunkpos= yythunkpos0;
|
622 | 653 |
yyprintf((stderr, " fail %s @ %s\n", "statement", yy->__buf+yy->__pos));
|
623 | 654 |
return 0;
|
624 | 655 |
}
|
625 | 656 |
YY_RULE(int) yy_client_command(yycontext *yy)
|
626 | 657 |
{ int yypos0= yy->__pos, yythunkpos0= yy->__thunkpos;
|
627 | |
yyprintf((stderr, "%s\n", "client_command")); if (!yy__(yy)) goto l81; yyText(yy, yy->__begin, yy->__end); {
|
|
658 |
yyprintf((stderr, "%s\n", "client_command")); if (!yy__(yy)) goto l93; yyText(yy, yy->__begin, yy->__end); {
|
628 | 659 |
#define yytext yy->__text
|
629 | 660 |
#define yyleng yy->__textlen
|
630 | |
if (!(YY_BEGIN)) goto l81;
|
|
661 |
if (!(YY_BEGIN)) goto l93;
|
631 | 662 |
#undef yytext
|
632 | 663 |
#undef yyleng
|
633 | |
} if (!yymatchChar(yy, ':')) goto l81; if (!yy_command_body(yy)) goto l81; yyText(yy, yy->__begin, yy->__end); {
|
|
664 |
} if (!yymatchChar(yy, ':')) goto l93; if (!yy_command_body(yy)) goto l93; yyText(yy, yy->__begin, yy->__end); {
|
634 | 665 |
#define yytext yy->__text
|
635 | 666 |
#define yyleng yy->__textlen
|
636 | |
if (!(YY_END)) goto l81;
|
|
667 |
if (!(YY_END)) goto l93;
|
637 | 668 |
#undef yytext
|
638 | 669 |
#undef yyleng
|
639 | |
} if (!yy___(yy)) goto l81;
|
640 | |
{ int yypos82= yy->__pos, yythunkpos82= yy->__thunkpos; if (!yymatchChar(yy, ';')) goto l83; goto l82;
|
641 | |
l83:; yy->__pos= yypos82; yy->__thunkpos= yythunkpos82; if (!yy_line_end(yy)) goto l81;
|
642 | |
}
|
643 | |
l82:; yyDo(yy, yy_1_client_command, yy->__begin, yy->__end);
|
|
670 |
} if (!yy___(yy)) goto l93;
|
|
671 |
{ int yypos94= yy->__pos, yythunkpos94= yy->__thunkpos; if (!yymatchChar(yy, ';')) goto l95; goto l94;
|
|
672 |
l95:; yy->__pos= yypos94; yy->__thunkpos= yythunkpos94; if (!yy_line_end(yy)) goto l93;
|
|
673 |
}
|
|
674 |
l94:; yyDo(yy, yy_1_client_command, yy->__begin, yy->__end);
|
644 | 675 |
yyprintf((stderr, " ok %s @ %s\n", "client_command", yy->__buf+yy->__pos));
|
645 | 676 |
return 1;
|
646 | |
l81:; yy->__pos= yypos0; yy->__thunkpos= yythunkpos0;
|
|
677 |
l93:; yy->__pos= yypos0; yy->__thunkpos= yythunkpos0;
|
647 | 678 |
yyprintf((stderr, " fail %s @ %s\n", "client_command", yy->__buf+yy->__pos));
|
648 | 679 |
return 0;
|
649 | 680 |
}
|
650 | 681 |
YY_RULE(int) yy_directive(yycontext *yy)
|
651 | 682 |
{ int yypos0= yy->__pos, yythunkpos0= yy->__thunkpos;
|
652 | 683 |
yyprintf((stderr, "%s\n", "directive"));
|
653 | |
{ int yypos85= yy->__pos, yythunkpos85= yy->__thunkpos; if (!yy_client_command(yy)) goto l86; goto l85;
|
654 | |
l86:; yy->__pos= yypos85; yy->__thunkpos= yythunkpos85; if (!yy_statement(yy)) goto l84;
|
655 | |
}
|
656 | |
l85:;
|
|
684 |
{ int yypos97= yy->__pos, yythunkpos97= yy->__thunkpos; if (!yy_client_command(yy)) goto l98; goto l97;
|
|
685 |
l98:; yy->__pos= yypos97; yy->__thunkpos= yythunkpos97; if (!yy_statement(yy)) goto l96;
|
|
686 |
}
|
|
687 |
l97:;
|
657 | 688 |
yyprintf((stderr, " ok %s @ %s\n", "directive", yy->__buf+yy->__pos));
|
658 | 689 |
return 1;
|
659 | |
l84:; yy->__pos= yypos0; yy->__thunkpos= yythunkpos0;
|
|
690 |
l96:; yy->__pos= yypos0; yy->__thunkpos= yythunkpos0;
|
660 | 691 |
yyprintf((stderr, " fail %s @ %s\n", "directive", yy->__buf+yy->__pos));
|
661 | 692 |
return 0;
|
662 | 693 |
}
|