anchor.diff:  	    | C_AVOID	{	*conflres |= AVOIDING; }
   	  ]?
   	  [ %persistent elem(&elem)
  -	 		{	if (p_rule - rule >= n_rule - 2) {
  -					rule = (p_gram) ralloc(
  -						  (p_mem) rule,
  -						  (n_rule+100)*sizeof(t_gram));
  -					p_rule = rule + n_rule - 2;
  -					n_rule += 100;
  +	 		{	if (n_rules >= max_rules-2) {
  +                                        rule_table = (p_gram) ralloc(
  +                                                  (p_mem) rule_table,
  +                                                  (max_rules+=RULEINCR)*sizeof(t_gram));
   				}
   				kind = FIXED;
   				cnt = 0;
   			}
   	    [ repeats(&kind, &cnt)
   			{	if (g_gettype(&elem) != TERM) {
  -					*p_rule = elem;
  -					g_settype(p_rule+1,EORULE);
  -					mkterm(copyrule(p_rule,2),
  +					rule_table[n_rules] = elem;
  +                                        g_settype((&rule_table[n_rules+1]),EORULE);
  +                                        mkterm(copyrule(&rule_table[n_rules],2),
   					       0,
  -					       p_rule->g_lineno,
  +					       elem.g_lineno,
   					       &elem);
   				}
   			}
  
positive.code: 				    g_gettype(q->t_rule) != ALTERNATION &&
  				    g_gettype(q->t_rule) != EORULE) {
  				    while (g_gettype(q->t_rule) != EORULE) {
  					*p_rule++ = *q->t_rule++;
  	 				if (p_rule - rule >= n_rule - 2) {
  					    rule = (p_gram) ralloc(
  						  (p_mem) rule,
  						  (n_rule+100)*sizeof(t_gram));
  					    p_rule = rule + n_rule - 2;
  					    n_rule += 100;
  					}
  				    }
  				    elem = *--(q->t_rule);
  				    p_rule--;
  				    if (q == t_list - 1) {
  				    	t_list--;
  				    	nterms--;
  
negative.code: 					error(n_lc,
  		"Resolver on last alternative not allowed");
  				}
  	  			mkalt(*p,conflres,n_lc,&alt_table[n_alts++]);
                                  altcnt++;
                                  g_settype((&alt_table[n_alts]),EORULE);
                                  *p = copyrule(&alt_table[n_alts-altcnt],altcnt+1);
  	  		}
  	  |
  			{	if (conflres & ~DEF) {
  