Lines Matching defs:destructor
138 char *destructor; /* Code which executes whenever this symbol is
140 int destructorln; /* Line number of destructor code */
262 char *vardest; /* Code for the default non-terminal destructor */
263 int vardestln; /* Line number for default non-term destructor code*/
2160 }else if( strcmp(x,"destructor")==0 ){
2183 "Symbol name missing after %destructor keyword");
2188 psp->declargslot = &sp->destructor;
2196 "Symbol name missing after %destructor keyword");
2866 ** The following routine emits code for the destructor for the
2882 }else if( sp->destructor ){
2883 cp = sp->destructor;
2907 ** Return TRUE (non-zero) if the given symbol has a destructor.
2917 ret = lemp->vardest!=0 || sp->destructor!=0;
2981 /* Generate destructor code for RHS symbols which are not used in the
2994 fprintf(out," /* No destructor defined for %s */\n",
3474 ** (In other words, generate the %destructor actions)
3490 if( sp==0 || sp->type==TERMINAL || sp->destructor==0 ) continue;
3500 sp->index<=0 || sp->destructor!=0 ) continue;
3881 sp->destructor = 0;