Lines Matching refs:yyidx
155 int yyidx; /* Index of top element in stack */ member
242 pParser->yyidx = -1; in ParseAlloc()
279 yyStackEntry *yytos = &pParser->yystack[pParser->yyidx]; in yy_pop_parser_stack()
281 if( pParser->yyidx<0 ) return 0; in yy_pop_parser_stack()
283 if( yyTraceFILE && pParser->yyidx>=0 ){ in yy_pop_parser_stack()
291 pParser->yyidx--; in yy_pop_parser_stack()
313 while( pParser->yyidx>=0 ) yy_pop_parser_stack(pParser); in ParseFree()
330 int stateno = pParser->yystack[pParser->yyidx].stateno; in yy_find_shift_action()
374 int stateno = pParser->yystack[pParser->yyidx].stateno; in yy_find_reduce_action()
401 yypParser->yyidx++; in yy_shift()
402 if( yypParser->yyidx>=YYSTACKDEPTH ){ in yy_shift()
404 yypParser->yyidx--; in yy_shift()
410 while( yypParser->yyidx>=0 ) yy_pop_parser_stack(yypParser); in yy_shift()
417 yytos = &yypParser->yystack[yypParser->yyidx]; in yy_shift()
422 if( yyTraceFILE && yypParser->yyidx>0 ){ in yy_shift()
426 for(i=1; i<=yypParser->yyidx; i++) in yy_shift()
459 yymsp = &yypParser->yystack[yypParser->yyidx]; in yy_reduce()
481 yypParser->yyidx -= yysize; in yy_reduce()
502 while( yypParser->yyidx>=0 ) yy_pop_parser_stack(yypParser); in yy_parse_failed()
535 while( yypParser->yyidx>=0 ) yy_pop_parser_stack(yypParser); in yy_accept()
575 if( yypParser->yyidx<0 ){ in Parse()
577 yypParser->yyidx = 0; in Parse()
597 if( yyendofinput && yypParser->yyidx>=0 ){ in Parse()
634 yymx = yypParser->yystack[yypParser->yyidx].major; in Parse()
646 yypParser->yyidx >= 0 && in Parse()
652 if( yypParser->yyidx < 0 || yymajor==0 ){ in Parse()
688 }while( yymajor!=YYNOCODE && yypParser->yyidx>=0 ); in Parse()