Quick Search:

Mode

Context

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

Other Diffs

Ignore

Blank Lines Whitespace: Expand:

Diff

1.240
 
1.241
 
MAIN:ragge:20100418132242
 
trees.c
_>676676 }
 677677 
 678678 /*
<>679 - * Cast a node to another type.
  679+ * Cast a node to another type by inserting a cast.
680680  * Just a nicer interface to buildtree.
 681681  * Returns the new tree.
 682682  */
     
 !
695695 }
 696696 
 697697 /*
<> 698+ * Cast and complain if necessary by not inserining a cast.
  699+ */
  700+NODE *
  701+ccast(NODE *p, TWORD t, TWORD u, union dimfun *df, struct suedef *sue)
  702+{
  703+        NODE *q;
  704+
  705+        /* let buildtree do typechecking (and casting) */
  706+        q = block(NAME, NIL, NIL, t, df, sue);
  707+        p = buildtree(ASSIGN, q, p);
  708+        nfree(p->n_left);
  709+        q = optim(p->n_right);
  710+        nfree(p);
  711+        return q;
  712+}
  713+
  714+/*
<_698715  * Do a conditional branch.
 699716  */
 700717 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-07-11 03:12 +0200