Home | History | Annotate | Download | only in tool

Lines Matching refs:TERMINAL

153   TERMINAL,
208 ** Configurations also contain a follow-set which is a list of terminal
282 int nsymbol; /* Number of terminal and nonterminal symbols */
283 int nterminal; /* Number of terminal symbols */
290 char *tokentype; /* Type of terminal symbols in the parser stack */
291 char *vartype; /* The default type of non-terminal symbols */
301 char *vardest; /* Code for the default non-terminal destructor */
684 ** The first set is the set of all terminal symbols which can begin
707 if( sp->type!=TERMINAL || sp->lambda==LEMON_FALSE ) break;
724 if( s2->type==TERMINAL ){
1275 if( xsp->type==TERMINAL ){
2042 "The precedence symbol must be a terminal.");
2180 "Cannot form a compound containing a non-terminal");
3196 if( sp->type==TERMINAL ){
3234 if( sp->type==TERMINAL ){
3416 ** union, also set the ".dtnum" field of every terminal and nonterminal
3457 ** used for terminal symbols. If there is no %default_type defined then
3919 if( sp==0 || sp->type!=TERMINAL ) continue;
3921 fprintf(out, " /* TERMINAL Destructor */\n"); lineno++;
3926 for(i=0; i<lemp->nsymbol && lemp->symbols[i]->type!=TERMINAL; i++);
3937 if( sp==0 || sp->type==TERMINAL ||
3940 fprintf(out, " /* Default NON-TERMINAL Destructor */\n"); lineno++;
3953 if( sp==0 || sp->type==TERMINAL || sp->destructor==0 ) continue;
3959 if( sp2 && sp2->type!=TERMINAL && sp2->destructor
4143 ** one with the most non-terminal actions. If they have the same number
4144 ** of non-terminal actions, then the smaller is the one with the most
4411 /* Return a pointer to the (terminal or nonterminal) symbol "x".
4423 sp->type = isupper(*x) ? TERMINAL : NONTERMINAL;