Quick Search:

Mode

Context

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

Other Diffs

Ignore

Blank Lines Whitespace: Expand:

Diff

1.147
 
1.148
 
MAIN:ragge:20050804063049
 
reader.c
_>863863 #ifdef PRTABLE
 864864         extern int tablesize;
 865865 #endif
<> 866+        FILE *prfil = stdout;
866867 
 867868         *a = *b = down+1;
 868869         while( down >= 2 ){
<>869 -                fprintf(stderr, "\t");
  870+                fprintf(prfil, "\t");
870871                 down -= 2;
 871872                 }
<>872 -        if( down-- ) fprintf(stderr, "    " );
  873+        if( down-- ) fprintf(prfil, "    " );
873874 
 874875 
<>875 -        fprintf(stderr, "%p) %s", p, opst[p->n_op] );
  876+        fprintf(prfil, "%p) %s", p, opst[p->n_op] );
876877         switch( p->n_op ) { /* special cases */
 877878 
 878879         case REG:
<>879 -                fprintf(stderr, " %s", rnames[p->n_rval] );
  880+                fprintf(prfil, " %s", rnames[p->n_rval] );
880881                 break;
 881882 
 882883         case TEMP:
<>883 -                fprintf(stderr, " " CONFMT, p->n_lval);
  884+                fprintf(prfil, " " CONFMT, p->n_lval);
884885                 break;
 885886 
 886887         case ICON:
 887888         case NAME:
 888889         case OREG:
<>889 -                fprintf(stderr, " " );
 890 -                adrput(stderr, p );
  890+                fprintf(prfil, " " );
  891+                adrput(prfil, p );
891892                 break;
 892893 
 893894         case STCALL:
 894895         case USTCALL:
 895896         case STARG:
 896897         case STASG:
<>897 -                fprintf(stderr, " size=%d", p->n_stsize );
 898 -                fprintf(stderr, " align=%d", p->n_stalign );
  898+                fprintf(prfil, " size=%d", p->n_stsize );
  899+                fprintf(prfil, " align=%d", p->n_stalign );
899900                 break;
 900901                 }
 901902 
<>902 -        fprintf(stderr, ", " );
 903 -        tprint(stderr, p->n_type, p->n_qual);
 904 -        fprintf(stderr, ", " );
 905 -        if( p->n_rall == NOPREF ) fprintf(stderr, "NOPREF" );
  903+        fprintf(prfil, ", " );
  904+        tprint(prfil, p->n_type, p->n_qual);
  905+        fprintf(prfil, ", " );
  906+        if( p->n_rall == NOPREF ) fprintf(prfil, "NOPREF" );
906907         else {
<>907 -                if( p->n_rall & MUSTDO ) fprintf(stderr, "MUSTDO " );
 908 -                else fprintf(stderr, "PREF " );
  908+                if( p->n_rall & MUSTDO ) fprintf(prfil, "MUSTDO " );
  909+                else fprintf(prfil, "PREF " );
909910                 if ((p->n_rall&~MUSTDO) > 8) /* XXX */
<>910 -                fprintf(stderr, "(%d)", (p->n_rall&~MUSTDO));
 911 -                else fprintf(stderr, "%s", rnames[p->n_rall&~MUSTDO]);
  911+                fprintf(prfil, "(%d)", (p->n_rall&~MUSTDO));
  912+                else fprintf(prfil, "%s", rnames[p->n_rall&~MUSTDO]);
912913                 }
<>913 -        fprintf(stderr, ", SU= %d(%s,%s,%s,%s)\n",
  914+        fprintf(prfil, ", SU= %d(%s,%s,%s,%s)\n",
<_914915             TBLIDX(p->n_su),
 915916 #ifdef PRTABLE
 916917             TBLIDX(p->n_su) >= 0 && TBLIDX(p->n_su) <= tablesize ?
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-02 20:55 +0200