Quick Search:

Mode

Context

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

Other Diffs

Ignore

Blank Lines Whitespace: Expand:

Diff

1.150
 
1.151
 
MAIN:ragge:20060714132633
 
trees.c
_>19431943         NODE *q, *r;
 19441944         int tval;
 19451945 
<>1946 -        if ((cdope(p->n_op)&ASGOPFLG) && p->n_op != RETURN && p->n_op != CAST) {
  1946+        if (p->n_op == INCR || p->n_op == DECR) {
  1947+                /*
  1948+                 * Rewrite x++ to (x += 1) -1; and deal with it further down.
  1949+                 * Pass2 will remove -1 if unneccessary.
  1950+                 */
  1951+                q = tcopy(p);
  1952+                tfree(p->n_left);
  1953+                q->n_op = (p->n_op==INCR)?PLUSEQ:MINUSEQ;
  1954+                p->n_op = (p->n_op==INCR)?MINUS:PLUS;
  1955+                p->n_left = delasgop(q);
  1956+
  1957+        } else if ((cdope(p->n_op)&ASGOPFLG) &&
  1958+            p->n_op != RETURN && p->n_op != CAST) {
<_19471959                 NODE *l = p->n_left;
 19481960                 NODE *ll = l->n_left;
 19491961 
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 03:56 +0200