Lines Matching defs:aAction
405 int nAction; /* Number of used slots in aAction[] */
406 int nActionAlloc; /* Slots allocated for aAction[] */
410 } *aAction, /* The yy_action[] table under construction */
423 #define acttab_yyaction(X,N) ((X)->aAction[N].action)
426 #define acttab_yylookahead(X,N) ((X)->aAction[N].lookahead)
430 free( p->aAction );
493 p->aAction = realloc( p->aAction,
494 sizeof(p->aAction[0])*p->nActionAlloc);
495 if( p->aAction==0 ){
500 p->aAction[i].lookahead = -1;
501 p->aAction[i].action = -1;
510 ** i is the index in p->aAction[] where p->mnLookahead is inserted.
513 if( p->aAction[i].lookahead<0 ){
517 if( p->aAction[k].lookahead>=0 ) break;
521 if( p->aAction[j].lookahead==j+p->mnLookahead-i ) break;
526 }else if( p->aAction[i].lookahead==p->mnLookahead ){
527 if( p->aAction[i].action!=p->mnAction ) continue;
531 if( p->aLookahead[j].lookahead!=p->aAction[k].lookahead ) break;
532 if( p->aLookahead[j].action!=p->aAction[k].action ) break;
537 if( p->aAction[j].lookahead<0 ) continue;
538 if( p->aAction[j].lookahead==j+p->mnLookahead-i ) n++;
548 p->aAction[k] = p->aLookahead[j];