Lines Matching defs:nsymbol
237 int nsymbol; /* Number of terminal and nonterminal symbols */
614 for(i=0; i<lemp->nsymbol; i++){
617 for(i=lemp->nterminal; i<lemp->nsymbol; i++){
1382 lem.nsymbol = Symbol_count();
1385 for(i=0; i<=lem.nsymbol; i++) lem.symbols[i]->index = i;
1386 qsort(lem.symbols,lem.nsymbol+1,sizeof(struct symbol*),
1388 for(i=0; i<=lem.nsymbol; i++) lem.symbols[i]->index = i;
1437 lem.nterminal, lem.nsymbol - lem.nterminal, lem.nrule);
2546 for(i=0; i<lemp->nsymbol; i++){
2553 skip = (lemp->nsymbol + ncolumns - 1)/ncolumns;
2556 for(j=i; j<lemp->nsymbol; j+=skip){
3026 arraysize = lemp->nsymbol * 2;
3033 for(i=0; i<lemp->nsymbol; i++){
3052 for(i=0; i<lemp->nsymbol; i++){
3212 minimum_size_type(0, lemp->nsymbol+5)); lineno++;
3213 fprintf(out,"#define YYNOCODE %d\n",lemp->nsymbol+1); lineno++;
3290 }else if( ap->sp->index<lemp->nsymbol ){
3330 if( ap->sp->index==lemp->nsymbol ) continue;
3347 if( action<0 ) action = lemp->nsymbol + lemp->nrule + 2;
3363 if( la<0 ) la = lemp->nsymbol;
3452 for(i=0; i<lemp->nsymbol; i++){
3477 for(i=0; i<lemp->nsymbol; i++){
3482 for(i=0; i<lemp->nsymbol && lemp->symbols[i]->type!=TERMINAL; i++);
3483 if( i<lemp->nsymbol ){
3488 for(i=0; i<lemp->nsymbol; i++){
3497 for(i=0; i<lemp->nsymbol; i++){