Home
last modified time | relevance | path

Searched refs:pempty (Results 1 – 5 of 5) sorted by relevance

/original-bsd/old/yacc/
H A Dy1.c281 else if( !pempty[ch-NTBASE] ) break; in cpfir()
296 if( !pempty[ch] ) break; in cpfir()
308 fprintf( foutput, " %d\n", pempty[i] ); in cpfir()
406 aryfil( pempty, nnonter+1, WHOKNOWS ); in cempty()
412 if( pempty[ *prdptr[i] - NTBASE ] ) continue; in cempty()
414 if( *p>=NTBASE && pempty[ *p-NTBASE ] == WHOKNOWS ) break; in cempty()
417 pempty[ *prdptr[i]-NTBASE ] = OK; in cempty()
427 if( pempty[ i ] != OK ) { in cempty()
442 aryfil( pempty, nnonter+1, WHOKNOWS ); in cempty()
451 pempty[*prdptr[i]-NTBASE] = EMPTY; in cempty()
[all …]
/original-bsd/usr.bin/pascal/eyacc/
H A Dey3.c51 else if( !pempty[ch-NTBASE] ) break; in cpfir()
66 if( !pempty[ch] ) break; in cpfir()
78 fprintf( cout , " %d\n", pempty[i] ); in cpfir()
172 pempty = (char *)yalloc( nnonter / sizeof(int) + 1 ); in cempty()
173 aryfil( pempty, nnonter+1, 0 ); in cempty()
176 pempty[ *prdptr[i]-NTBASE ] = 1; in cempty()
184 if( pempty[ *prdptr[i]-NTBASE ]==0 ){ /* not known to be empty */ in cempty()
185 for( p=prdptr[i]+1; *p>=NTBASE && pempty[*p-NTBASE]!=0 ; ++p ) ; in cempty()
187 pempty[*prdptr[i]-NTBASE] = 1; in cempty()
322 if( !pempty[ch-NTBASE] ) break; in closure()
H A Dey.h85 extern char *pempty; /* table of nonterminals nontrivially deriving e */
H A Dey0.c77 int *pempty = 0 ; /* table of nonterminals nontrivially deriving e */ variable
H A Dey4.c354 stateflags[i] |= SINGLE_NT | pempty[p0 - NTBASE]; in wract()