ncform revision 7c478bd95313f5f23a4c958a745db2134aa03244
/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License, Version 1.0 only
* (the "License"). You may not use this file except in compliance
* with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* See the License for the specific language governing permissions
* and limitations under the License.
*
* When distributing Covered Code, include this CDDL HEADER in each
* file and include the License file at usr/src/OPENSOLARIS.LICENSE.
* If applicable, add the following below this CDDL HEADER, with the
* fields enclosed by brackets "[]" replaced with your own identifying
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
/* Copyright (c) 1989 AT&T */
/* All Rights Reserved */
int yylineno =1;
int *yyfnd;
int yyprevious = YYNEWLINE;
int yylook(void)
#else
yylook()
{
int debug;
# endif
char *yylastch;
/* start off machines */
debug = 0;
# endif
yyfirst=1;
if (!yymorfg)
else {
yymorfg=0;
}
for(;;){
for (;;){
# endif
if(yyz == 0)break;
}
#else
exit(1);
}
#else
yytextsz += YYTEXTSZINC;
}
else
if (!yytext) {
"Cannot realloc yytext\n");
exit(1);
}
}
yyfirst=0;
if(debug){
putchar('\n');
}
# endif
exit(1);
}
goto contin;
}
}
# endif
exit(1);
}
goto contin;
}
if(debug){
putchar('\n');
}
# endif
exit(1);
}
goto contin;
}
}
# endif
goto tryagain;
}
# endif
else
if(debug){
putchar('\n');
}
# endif
;
}
if(debug){
putchar('\n');
}
# endif
*yylastch-- = 0;
lsp--;
}
}
if(debug){
}
# endif
return(*yyfnd++);
}
}
{
return(0);
}
if (yyprevious>0)
#else
if (yyprevious>0)
# endif
}
}
int yyback(int *p, int m)
#else
yyback(p, m)
int *p;
{
if (p==0) return(0);
while (*p) {
if (*p++ == m)
return(1);
}
return(0);
}
/* the following are only used in the lex library */
int yyinput(void)
#else
yyinput()
{
return(input());
#else
return(lex_input());
}
void yyoutput(int c)
#else
yyoutput(c)
int c;
{
output(c);
#else
lex_output(c);
}
void yyunput(int c)
#else
yyunput(c)
int c;
{
unput(c);
}