Quick Search:

Mode

Context

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

Other Diffs

Ignore

Blank Lines Whitespace: Expand:

Diff

1.65
 
1.66
 
MAIN:ragge:20030801134444
 
trees.c
_>241241 
 242242         actions = opact(p);
 243243 
<>244 -        if( actions&LVAL ){ /* check left descendent */
 245 -                if( notlval(p->n_left) ) {
 246 -                        uerror( "lvalue required" );
 247 -                        }
 248 -                }
  244+        if (actions & LVAL) { /* check left descendent */
  245+                if (notlval(p->n_left)) {
  246+                        uerror("lvalue required");
  247+                } else if (ISCON(p->n_left->n_qual << TSHIFT) && blevel > 0)
  248+                        uerror("lvalue is declared const");
  249+        }
249250 
 250251         if( actions & NCVTR ){
 251252                 p->n_left = pconvert( p->n_left );
     
 !
269270                 q = (actions&TYPL) ? p->n_left : p->n_right;
 270271 
 271272                 p->n_type = q->n_type;
<> 273+                p->n_qual = q->n_qual;
272274                 p->n_df = q->n_df;
 273275                 p->n_sue = q->n_sue;
 274276                 }
     
 !
298300                                 break;
 299301                         }
 300302                         p->n_type = sp->stype;
<> 303+                        p->n_qual = sp->squal;
301304                         p->n_df = sp->sdf;
 302305                         p->n_sue = sp->ssue;
 303306                         p->n_lval = 0;
     
 !
11561159         p->n_left = l;
 11571160         p->n_right = r;
 11581161         p->n_type = t;
<> 1162+        p->n_qual = 0;
<_11591163         p->n_df = d;
 11601164         p->n_sue = sue;
 11611165         return(p);
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-20 20:02 +0200