Lines Matching defs:yypParser

53 **    ParseARG_STORE     Code to store %extra_argument into yypParser
54 ** ParseARG_FETCH Code to extract %extra_argument from yypParser
395 yyParser *yypParser, /* The parser to be shifted */
401 yypParser->yyidx++;
402 if( yypParser->yyidx>=YYSTACKDEPTH ){
404 yypParser->yyidx--;
410 while( yypParser->yyidx>=0 ) yy_pop_parser_stack(yypParser);
417 yytos = &yypParser->yystack[yypParser->yyidx];
422 if( yyTraceFILE && yypParser->yyidx>0 ){
426 for(i=1; i<=yypParser->yyidx; i++)
427 fprintf(yyTraceFILE," %s",yyTokenName[yypParser->yystack[i].major]);
450 yyParser *yypParser, /* The parser */
459 yymsp = &yypParser->yystack[yypParser->yyidx];
481 yypParser->yyidx -= yysize;
482 yyact = yy_find_reduce_action(yypParser,yygoto);
484 yy_shift(yypParser,yyact,yygoto,&yygotominor);
486 yy_accept(yypParser);
494 yyParser *yypParser /* The parser */
502 while( yypParser->yyidx>=0 ) yy_pop_parser_stack(yypParser);
513 yyParser *yypParser, /* The parser */
527 yyParser *yypParser /* The parser */
535 while( yypParser->yyidx>=0 ) yy_pop_parser_stack(yypParser);
571 yyParser *yypParser; /* The parser */
574 yypParser = (yyParser*)yyp;
575 if( yypParser->yyidx<0 ){
577 yypParser->yyidx = 0;
578 yypParser->yyerrcnt = -1;
579 yypParser->yystack[0].stateno = 0;
580 yypParser->yystack[0].major = 0;
593 yyact = yy_find_shift_action(yypParser,yymajor);
595 yy_shift(yypParser,yyact,yymajor,&yyminorunion);
596 yypParser->yyerrcnt--;
597 if( yyendofinput && yypParser->yyidx>=0 ){
603 yy_reduce(yypParser,yyact-YYNSTATE);
631 if( yypParser->yyerrcnt<0 ){
632 yy_syntax_error(yypParser,yymajor,yyminorunion);
634 yymx = yypParser->yystack[yypParser->yyidx].major;
646 yypParser->yyidx >= 0 &&
648 (yyact = yy_find_shift_action(yypParser,YYERRORSYMBOL)) >= YYNSTATE
650 yy_pop_parser_stack(yypParser);
652 if( yypParser->yyidx < 0 || yymajor==0 ){
654 yy_parse_failed(yypParser);
659 yy_shift(yypParser,yyact,YYERRORSYMBOL,&u2);
662 yypParser->yyerrcnt = 3;
674 if( yypParser->yyerrcnt<=0 ){
675 yy_syntax_error(yypParser,yymajor,yyminorunion);
677 yypParser->yyerrcnt = 3;
680 yy_parse_failed(yypParser);
685 yy_accept(yypParser);
688 }while( yymajor!=YYNOCODE && yypParser->yyidx>=0 );