Lines Matching refs:yypParser

79 #define ssiexprparserARG_FETCH ssi_ctx_t *ctx = yypParser->ctx
80 #define ssiexprparserARG_STORE yypParser->ctx = ctx
484 yyParser *yypParser, /* The parser to be shifted */ in yy_shift() argument
490 yypParser->yyidx++; in yy_shift()
491 if( yypParser->yyidx>=YYSTACKDEPTH ){ in yy_shift()
493 yypParser->yyidx--; in yy_shift()
499 while( yypParser->yyidx>=0 ) yy_pop_parser_stack(yypParser); in yy_shift()
505 yytos = &yypParser->yystack[yypParser->yyidx]; in yy_shift()
510 if( yyTraceFILE && yypParser->yyidx>0 ){ in yy_shift()
514 for(i=1; i<=yypParser->yyidx; i++) in yy_shift()
515 fprintf(yyTraceFILE," %s",yyTokenName[yypParser->yystack[i].major]); in yy_shift()
553 yyParser *yypParser, /* The parser */ in yy_reduce() argument
562 yymsp = &yypParser->yystack[yypParser->yyidx]; in yy_reduce()
743 yypParser->yyidx -= yysize; in yy_reduce()
744 yyact = yy_find_reduce_action(yypParser,yygoto); in yy_reduce()
746 yy_shift(yypParser,yyact,yygoto,&yygotominor); in yy_reduce()
748 yy_accept(yypParser); in yy_reduce()
756 yyParser *yypParser /* The parser */ in yy_parse_failed() argument
764 while( yypParser->yyidx>=0 ) yy_pop_parser_stack(yypParser); in yy_parse_failed()
779 yyParser *yypParser, /* The parser */ in yy_syntax_error() argument
794 yyParser *yypParser /* The parser */ in yy_accept() argument
802 while( yypParser->yyidx>=0 ) yy_pop_parser_stack(yypParser); in yy_accept()
837 yyParser *yypParser; /* The parser */ in ssiexprparser() local
840 yypParser = (yyParser*)yyp; in ssiexprparser()
841 if( yypParser->yyidx<0 ){ in ssiexprparser()
843 yypParser->yyidx = 0; in ssiexprparser()
844 yypParser->yyerrcnt = -1; in ssiexprparser()
845 yypParser->yystack[0].stateno = 0; in ssiexprparser()
846 yypParser->yystack[0].major = 0; in ssiexprparser()
859 yyact = yy_find_shift_action(yypParser,yymajor); in ssiexprparser()
861 yy_shift(yypParser,yyact,yymajor,&yyminorunion); in ssiexprparser()
862 yypParser->yyerrcnt--; in ssiexprparser()
863 if( yyendofinput && yypParser->yyidx>=0 ){ in ssiexprparser()
869 yy_reduce(yypParser,yyact-YYNSTATE); in ssiexprparser()
897 if( yypParser->yyerrcnt<0 ){ in ssiexprparser()
898 yy_syntax_error(yypParser,yymajor,yyminorunion); in ssiexprparser()
900 yymx = yypParser->yystack[yypParser->yyidx].major; in ssiexprparser()
912 yypParser->yyidx >= 0 && in ssiexprparser()
914 (yyact = yy_find_shift_action(yypParser,YYERRORSYMBOL)) >= YYNSTATE in ssiexprparser()
916 yy_pop_parser_stack(yypParser); in ssiexprparser()
918 if( yypParser->yyidx < 0 || yymajor==0 ){ in ssiexprparser()
920 yy_parse_failed(yypParser); in ssiexprparser()
925 yy_shift(yypParser,yyact,YYERRORSYMBOL,&u2); in ssiexprparser()
928 yypParser->yyerrcnt = 3; in ssiexprparser()
940 if( yypParser->yyerrcnt<=0 ){ in ssiexprparser()
941 yy_syntax_error(yypParser,yymajor,yyminorunion); in ssiexprparser()
943 yypParser->yyerrcnt = 3; in ssiexprparser()
946 yy_parse_failed(yypParser); in ssiexprparser()
951 yy_accept(yypParser); in ssiexprparser()
954 }while( yymajor!=YYNOCODE && yypParser->yyidx>=0 ); in ssiexprparser()