Quick Search:

Mode

Context

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

Other Diffs

Ignore

Blank Lines Whitespace: Expand:

Diff

1.255
 
1.256
 
MAIN:ragge:20100904192435
 
trees.c
_>12421242         case CAST:
 12431243                 {  break; }
 12441244 
<>1245 -        case MINUS:
 1246 -                {  if( psize(p->n_left) != psize(p->n_right) ){
 1247 -                        uerror( "illegal pointer subtraction");
 1248 -                        }
 1249 -                   break;
 1250 -                   }
  1245+        case MINUS: {
  1246+                int isdyn(struct symtab *sp);
  1247+                struct symtab s1, s2;
  1248+
  1249+                s1.stype = DECREF(t);
  1250+                s1.sdf = d;
  1251+                s2.stype = DECREF(t2);
  1252+                s2.sdf = d2;
  1253+                if (isdyn(&s1) || isdyn(&s2))
  1254+                        ; /* We don't know */
  1255+                else if (psize(p->n_left) != psize(p->n_right))
  1256+                        uerror("illegal pointer subtraction");
  1257+                break;
  1258+                }
  1259+
<_12511260         case COLON:
 12521261                 if (t1 != t2) {
 12531262                         /*
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-02 16:35 +0200