Lines Matching refs:s2
872 struct symbol *s1, *s2; in FindFirstSets() local
877 s2 = rp->rhs[i]; in FindFirstSets()
878 if( s2->type==TERMINAL ){ in FindFirstSets()
879 progress += SetAdd(s1->firstset,s2->index); in FindFirstSets()
881 }else if( s2->type==MULTITERMINAL ){ in FindFirstSets()
882 for(j=0; j<s2->nsubsym; j++){ in FindFirstSets()
883 progress += SetAdd(s1->firstset,s2->subsym[j]->index); in FindFirstSets()
886 }else if( s1==s2 ){ in FindFirstSets()
889 progress += SetUnion(s1->firstset,s2->firstset); in FindFirstSets()
890 if( s2->lambda==LEMON_FALSE ) break; in FindFirstSets()
5207 int SetUnion(char *s1, char *s2) in SetUnion() argument
5212 if( s2[i]==0 ) continue; in SetUnion()