Quick Search:

Mode

Context

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

Other Diffs

Ignore

Blank Lines Whitespace: Expand:

Diff

1.24
 
1.25
 
MAIN:ragge:20030729092018
 
reader.c
_>3333 static void splitline(NODE *);
 3434 
 3535 static void
<> 36+opchk(NODE *p)
  37+{
  38+        int o = p->n_op;
  39+
  40+        if (o == ANDAND || o == OROR || o == COMOP || o == COLON ||
  41+            o == QUEST)
  42+                cerror("op %s slipped through", opst[o]);
  43+}
  44+
  45+static void
3646 p2compile(NODE *p)
 3747 {
 3848 #if !defined(MULTIPASS)
     
 !
4757         if (e2debug) fwalk( p, e2print, 0 );
 4858 # endif
 4959 
<> 60+walkf(p, opchk);
  61+
5062 # ifdef MYREADER
 5163         MYREADER(p);  /* do your own laundering of the input */
 5264 # endif
 5365         nrecur = 0;
<>54 -        if (Oflag)
 55 -                splitline(p);
 56 -        else
 57 -                delay( p );  /* do the code generation */
  66+        codgen(p, FOREFF);
5867         reclaim( p, RNULL, 0 );
 5968         allchk();
 6069         /* can't do tcheck here; some stuff (e.g., attributes) may be around from first pass */
     
 !
122131         eoftn(regs, autos, retlab);
 123132 }
 124133 
<> 134+#if 0
125135 NODE *deltrees[DELAYS];
 126136 int deli;
 127137 
     
 !
136146 
 137147         nsaveq = 0;
 138148 
<>139 -#if 0
 140 -printf("splitlineq:\n");
141149         for (i = 0; i < nsaveq; i++)
<>142 -                fwalk(saveq[i], e2print, 0);
 143 -        fwalk(p, e2print, 0);
 144 -#endif
 145 -
 146 -        for (i = 0; i < nsaveq; i++)
147150                 codgen(saveq[i], FOREFF);
 148151         codgen(p, FOREFF);
 149152 }
     
 !
259262         if( ty == BITYPE ) delay2( p->n_right );
 260263         if( ty != LTYPE ) delay2( p->n_left );
 261264 }
<> 265+#endif
262266 
 263267 /*
 264268  * generate the code for p;
     
 !
437441                 ;
 438442 
 439443         }
<>440 -/*
  444+        /*
<_441445          * get here to do rewriting if no match or
 442446          * fall through from above for hard ops
 443447          */
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-18 17:44 +0200