Quick Search:

Mode

Context

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

Other Diffs

Ignore

Blank Lines Whitespace: Expand:

Diff

1.7
 
1.8
 
MAIN:ragge:20080927073522
 
local2.c
_>531531 canaddr( p ) NODE *p; {
 532532         register int o = p->n_op;
 533533 
<>534 -        if( o==NAME || o==REG || o==ICON || o==OREG || (o==UMUL && shumul(p->n_left)) ) return(1);
  534+        if( o==NAME || o==REG || o==ICON || o==OREG || (o==UMUL && shumul(p->n_left, STARNM|SOREG)) ) return(1);
535535         return(0);
 536536         }
 537537 
 538538 shltype( o, p ) register NODE *p; {
<>539 -        return( o== REG || o == NAME || o == ICON || o == OREG || ( o==UMUL && shumul(p->n_left)) );
  539+        return( o== REG || o == NAME || o == ICON || o == OREG || ( o==UMUL && shumul(p->n_left, STARNM|SOREG)) );
540540         }
 541541 #endif
 542542 
     
 !
555555 int
 556556 shtemp( p ) register NODE *p; {
 557557         if( p->n_op == STARG ) p = p->n_left;
<>558 -        return( p->n_op==NAME || p->n_op ==ICON || p->n_op == OREG || (p->n_op==UMUL && shumul(p->n_left)) );
  558+        return( p->n_op==NAME || p->n_op ==ICON || p->n_op == OREG || (p->n_op==UMUL && shumul(p->n_left, STARNM|SOREG)) );
559559         }
 560560 
 561561 int
<>562 -shumul( p ) register NODE *p; {
  562+shumul( p, shape ) register NODE *p; int shape; {
563563         register int o;
 564564         extern int xdebug;
 565565 
     
 !
570570 
 571571 
 572572         o = p->n_op;
<>573 -        if( o == NAME || (o == OREG && !R2TEST(p->n_rval)) || o == ICON ) return( STARNM );
  573+        if( o == NAME || (o == OREG && !R2TEST(p->n_rval)) || o == ICON )
  574+                if (shape & STARNM)
  575+                        return SRDIR;
574576 
 575577 #ifdef notyet
 576578         if( ( o == INCR || o == ASG MINUS ) &&
     
 !
612614                 }
 613615 #endif
 614616 
<>615 -        return( 0 );
  617+        return( SRNOPE );
<_616618         }
 617619 
 618620 void
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 15:21 +0100