Lines Matching refs:yypParser
176 #define configparserARG_FETCH config_t *ctx = yypParser->ctx
177 #define configparserARG_STORE yypParser->ctx = ctx
690 yyParser *yypParser, /* The parser to be shifted */ in yy_shift() argument
696 yypParser->yyidx++; in yy_shift()
697 if( yypParser->yyidx>=YYSTACKDEPTH ){ in yy_shift()
699 yypParser->yyidx--; in yy_shift()
705 while( yypParser->yyidx>=0 ) yy_pop_parser_stack(yypParser); in yy_shift()
711 yytos = &yypParser->yystack[yypParser->yyidx]; in yy_shift()
716 if( yyTraceFILE && yypParser->yyidx>0 ){ in yy_shift()
720 for(i=1; i<=yypParser->yyidx; i++) in yy_shift()
721 fprintf(yyTraceFILE," %s",yyTokenName[yypParser->yystack[i].major]); in yy_shift()
783 yyParser *yypParser, /* The parser */ in yy_reduce() argument
792 yymsp = &yypParser->yystack[yypParser->yyidx]; in yy_reduce()
1403 yypParser->yyidx -= yysize; in yy_reduce()
1404 yyact = yy_find_reduce_action(yypParser,yygoto); in yy_reduce()
1406 yy_shift(yypParser,yyact,yygoto,&yygotominor); in yy_reduce()
1408 yy_accept(yypParser); in yy_reduce()
1416 yyParser *yypParser /* The parser */ in yy_parse_failed() argument
1424 while( yypParser->yyidx>=0 ) yy_pop_parser_stack(yypParser); in yy_parse_failed()
1439 yyParser *yypParser, /* The parser */ in yy_syntax_error() argument
1454 yyParser *yypParser /* The parser */ in yy_accept() argument
1462 while( yypParser->yyidx>=0 ) yy_pop_parser_stack(yypParser); in yy_accept()
1497 yyParser *yypParser; /* The parser */ in configparser() local
1500 yypParser = (yyParser*)yyp; in configparser()
1501 if( yypParser->yyidx<0 ){ in configparser()
1503 yypParser->yyidx = 0; in configparser()
1504 yypParser->yyerrcnt = -1; in configparser()
1505 yypParser->yystack[0].stateno = 0; in configparser()
1506 yypParser->yystack[0].major = 0; in configparser()
1519 yyact = yy_find_shift_action(yypParser,yymajor); in configparser()
1521 yy_shift(yypParser,yyact,yymajor,&yyminorunion); in configparser()
1522 yypParser->yyerrcnt--; in configparser()
1523 if( yyendofinput && yypParser->yyidx>=0 ){ in configparser()
1529 yy_reduce(yypParser,yyact-YYNSTATE); in configparser()
1557 if( yypParser->yyerrcnt<0 ){ in configparser()
1558 yy_syntax_error(yypParser,yymajor,yyminorunion); in configparser()
1560 yymx = yypParser->yystack[yypParser->yyidx].major; in configparser()
1572 yypParser->yyidx >= 0 && in configparser()
1574 (yyact = yy_find_shift_action(yypParser,YYERRORSYMBOL)) >= YYNSTATE in configparser()
1576 yy_pop_parser_stack(yypParser); in configparser()
1578 if( yypParser->yyidx < 0 || yymajor==0 ){ in configparser()
1580 yy_parse_failed(yypParser); in configparser()
1585 yy_shift(yypParser,yyact,YYERRORSYMBOL,&u2); in configparser()
1588 yypParser->yyerrcnt = 3; in configparser()
1600 if( yypParser->yyerrcnt<=0 ){ in configparser()
1601 yy_syntax_error(yypParser,yymajor,yyminorunion); in configparser()
1603 yypParser->yyerrcnt = 3; in configparser()
1606 yy_parse_failed(yypParser); in configparser()
1611 yy_accept(yypParser); in configparser()
1614 }while( yymajor!=YYNOCODE && yypParser->yyidx>=0 ); in configparser()