Quick Search:

Mode

Context

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

Other Diffs

Ignore

Blank Lines Whitespace: Expand:

Diff

1.317
 
1.318
 
MAIN:ragge:20110512172158
 
pftn.c
_>263263 
 264264         /*
 265265          * Its allowed to add attributes to existing declarations.
<>266 -         * Be care ful though not to trash existing attributes.
  266+         * Be careful though not to trash existing attributes.
  267+         * XXX - code below is probably not correct.
267268          */
 268269         if (p->sap && p->sap->atype <= ATTR_MAX) {
 269270                 /* nothing special, just overwrite */
 270271                 p->sap = q->n_ap;
 271272         } else {
<>272 -                for (ap = q->n_ap; ap; ap = ap->next) {
 273 -                        if (ap->atype > ATTR_MAX)
 274 -                                p->sap = attr_add(p->sap, attr_dup(ap, 3));
 275 -                }
  273+                if (p->slevel == blevel) {
  274+                        for (ap = q->n_ap; ap; ap = ap->next) {
  275+                                if (ap->atype > ATTR_MAX)
  276+                                        p->sap = attr_add(p->sap, attr_dup(ap, 3));
  277+                        }
  278+                } else
  279+                        p->sap = q->n_ap;
<_276280         }
 277281 
 278282         if (class & FIELD)
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-10-31 21:48 +0100