Lines Matching refs:Rname
126 if ( p->jtype == RuleBlk ) fprintf(stderr, "FIRST(%s,%d) \n",((Junction *)p)->rname,k);
128 decodeJType[p->jtype], ((Junction *)p)->rname);
160 fprintf(stderr, "FOLLOW cycle to %s: panic!\n", p->rname);
162 if (! MR_AmbSourceSearch) RegisterCycle(p->rname, k);
171 CacheEntry *q = (CacheEntry *) hash_get(Fcache, Fkey(p->rname,'i',k));
183 CacheEntry *q = (CacheEntry *) hash_get(Fcache, Fkey(p->rname,'o',k));
187 fprintf(stderr, "cache for FOLLOW(%s,%d):", p->rname,k);
213 if (! MR_AmbSourceSearch) FoPush(p->rname, k); /* Attempting FOLLOW */
216 fprintf(stderr, "-->FOLLOW(%s,%d)\n", p->rname,k);
240 CacheEntry *q = newCacheEntry( Fkey(p->rname,'i',k) );
241 /*fprintf(stderr, "Caching %s FIRST %d\n", p->rname, k);*/
242 hash_add(Fcache, Fkey(p->rname,'i',k), (Entry *)q);
252 CacheEntry *q = (CacheEntry *) hash_get(Fcache, Fkey(p->rname,'o',k));
255 q = newCacheEntry( Fkey(p->rname,'o',k) );
256 hash_add(Fcache, Fkey(p->rname,'o',k), (Entry *)q);
258 /*fprintf(stderr, "Caching %s FOLLOW %d\n", p->rname, k);*/
270 fprintf(stderr, "saving FOLLOW(%s,%d):", p->rname, k);
306 RuleEntry *q = (RuleEntry *) hash_get(Rname, p->text);
330 /* MR9 */ p->rname,q->str),FileStr[p->file],p->line);
337 r->rname, p->rname) );
687 Junction *parentRule=MR_nameToRuleBlk(alt1->rname);