Quick Search:

Mode

Context

Displaying 3 lines of context. None | Less | More | Full

Other Diffs

Ignore

Blank Lines Whitespace: Expand:

Diff

1.186
 
1.187
 
MAIN:ragge:20080202162750
 
trees.c
_>115115         struct symtab *sp = NULL; /* XXX gcc */
 116116         NODE *lr, *ll;
 117117         char *name;
<>118 -        struct symtab **elem;
119118 
 120119 #ifdef PCC_DEBUG
 121120         if (bdebug) {
     
 !
352351                                 break;
 353352                         }
 354353 
<>355 -                        if ((elem = l->n_sue->suelem) == NULL)
  354+                        if ((sp = l->n_sue->sylnk) == NULL)
356355                                 uerror("undefined struct or union");
 357356 
 358357                         name = r->n_name;
<>359 -                        for (; *elem != NULL; elem++) {
 360 -                                sp = *elem;
  358+                        for (; sp != NULL; sp = sp->snext) {
361359                                 if (sp->sname == name)
 362360                                         break;
 363361                         }
<>364 -                        if (*elem == NULL)
  362+                        if (sp == NULL)
<_365363                                 uerror("member '%s' not declared", name);
 366364 
 367365                         r->n_sp = sp;
FishEye: Open Source License registered to PCC.
Your maintenance has expired. You can renew your license at http://www.atlassian.com/fisheye/renew
Atlassian FishEye, CVS analysis. (Version:1.6.3 Build:build-336 2008-11-04) - Administration - Page generated 2014-09-21 00:04 +0200