Quick Search:

Mode

Context

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

Other Diffs

Ignore

Blank Lines Whitespace: Expand:

Diff

1.14
 
1.15
 
MAIN:ragge:20030126223556
 
trees.c
_>107107                 switch( o ){
 108108 
 109109                 case NOT:
<>110 -                        if( hflag ) werror( "constant argument to NOT" );
111110                 case UNARY MINUS:
 112111                 case COMPL:
 113112                         if( conval( l, o, l ) ) return(l);
     
 !
121120                 switch( o ){
 122121 
 123122                 case NOT:
<>124 -                        if( hflag ) werror( "constant argument to NOT" );
125123                         if( l->in.op == FCON )
 126124                                 l->tn.lval = l->fpn.fval == 0.0;
 127125                         else
     
 !
180178                 case CBRANCH:
 181179 
 182180                 ccwarn:
<>183 -                        if( hflag ) werror( "constant in conditional context" );
184181 
 185182                 case PLUS:
 186183                 case MINUS:
     
 !
628625         extern int ddebug;
 629626 
 630627 # ifndef BUG1
<>631 -        if( ddebug > 1 ) printf( "chkstr( %s(%d), %d )\n", stab[i].sname, i, j );
  628+        if (ddebug > 1)
  629+                printf("chkstr( %s(%d), %d )\n", stab[i].sname, i, j);
632630 # endif
<>633 -        if( (k = j) < 0 ) uerror( "undefined structure or union" );
  631+        if ((k = j) < 0)
  632+                uerror("undefined structure or union");
634633         else {
<>635 -                for( ; (kk = dimtab[k] ) >= 0; ++k ){
 636 -                        if( kk >= SYMTSZ ){
  634+                for (; (kk = dimtab[k] ) >= 0; ++k) {
  635+                        if (kk >= SYMTSZ) {
637636                                 cerror( "gummy structure" );
 638637                                 return(1);
<>639 -                                }
 640 -                        if( kk == i ) return( 1 );
 641 -                        switch( stab[kk].stype ){
  638+                        }
  639+                        if (kk == i)
  640+                                return(1);
  641+                        switch(stab[kk].stype) {
642642 
 643643                         case STRTY:
 644644                         case UNIONTY:
<>645 -                                if( type == STRTY ) continue/* no recursive looking for strs */
 646 -                                if( hflag && chkstr( i, dimtab[stab[kk].sizoff+1], stab[kk].stype ) ){
 647 -                                        if( stab[kk].sname[0] == '$' ) return(0);  /* $FAKE */
 648 -                                        werror(
 649 -                                        "illegal member use: perhaps %s.%s?",
 650 -                                        stab[kk].sname, stab[i].sname );
 651 -                                        return(1);
 652 -                                        }
 653 -                                }
  645+                                if (type == STRTY)
  646+                                        continue/* no recursive looking for strs */
654647                         }
 655648                 }
<>656 -        return( 0 );
  649+        }
  650+        return(0);
<_657651 }
 658652 
 659653 /*
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 05:58 +0200