Quick Search:

Mode

Context

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

Other Diffs

Ignore

Blank Lines Whitespace: Expand:

Diff

1.125
 
1.126
 
MAIN:ragge:20041212131302
 
pftn.c
_>17211721                 } else {
 17221722                         dim.ddim = p->n_right->n_lval;
 17231723                         nfree(p->n_right);
<> 1724+#ifdef notdef
  1725+        /* XXX - check dimensions at usage time */
17241726                         if (dim.ddim == 0 && p->n_left->n_op == LB)
 17251727                                 uerror("null dimension");
<> 1728+#endif
17261729                 }
 17271730                 break;
 17281731         }
     
 !
19261929         while (type > BTMASK) {
 19271930                 switch (type & TMASK) {
 19281931                 case ARY:
<>1929 -                        if ((dsym++)->ddim != (ddef++)->ddim)
  1932+                        /* may be declared without dimension */
  1933+                        if (dsym->ddim == 0)
  1934+                                dsym->ddim = ddef->ddim;
  1935+                        if (ddef->ddim && dsym->ddim != ddef->ddim)
19301936                                 return 1;
<> 1937+                        dsym++, ddef++;
<_19311938                         break;
 19321939                 case FTN:
 19331940                         /* old-style function headers with function pointers
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-23 16:25 +0200