USG_PG3/usr/source/lexcl/reject.c

Compare this file to the similar file:
Show the results in this format:

extern struct {int *yyaa, *yybb, *yystops;} *yylstate [], **yylsp, **yyolsp;
extern int yyprevious , *yyfnd, yyextra[];
extern char yytext[];
extern int yyleng;
yyreject ()
{
	int k; char *p;
for( ; yylsp < yyolsp; yylsp++)
	yytext[yyleng++] = input();
if (*yyfnd)
	return(yyracc(*yyfnd++));
while (yylsp-- > yylstate)
	{
	unput(yytext[yyleng-1]);
	yytext[--yyleng] = 0;
	if (*yylsp != 0 && (yyfnd= (*yylsp)->yystops) && *yyfnd > 0)
		return(yyracc(*yyfnd++));
	}
if (yytext[0] == 0)
	return(0);
output(yyprevious = input());
yyleng=0;
return(-1);
}
yyracc(m)
{
yyolsp = yylsp;
if (yyextra[m])
	{
	while (yyback((*yylsp)->yystops, -m) != 1 && yylsp>yylstate)
		{
		yylsp--;
		unput(yytext[--yyleng]);
		}
	}
yyprevious = yytext[yyleng-1];
yytext[yyleng] = 0;
return(m);
}