Quick Search:

Mode

Context

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

Other Diffs

Ignore

Blank Lines Whitespace: Expand:

Diff

1.207
 
1.208
 
MAIN:ragge:20080621163037
 
pftn.c
_>21662166                 if ((hasarray = ISARY(arrt)))
 21672167                         arrt += (PTR-ARY);
 21682168 #endif
<>2169 -                if (ISARY(type))
 2170 -                        type += (PTR-ARY);
  2169+                /* Taking addresses of arrays are meaningless in expressions */
  2170+                /* but people tend to do that and also use in prototypes */
  2171+                /* this is mostly a problem with typedefs */
  2172+                if (ISARY(type)) {
  2173+                        if (ISPTR(arrt) && ISARY(DECREF(arrt)))
  2174+                                type = INCREF(type);
  2175+                        else
  2176+                                type += (PTR-ARY);
  2177+                }
<_21712178 
 21722179                 /* Check structs */
 21732180                 if (type <= BTMASK && arrt <= BTMASK) {
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-08-30 08:11 +0200