Quick Search:

Mode

Context

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

Other Diffs

Ignore

Blank Lines Whitespace: Expand:

Diff

1.200
 
1.201
 
MAIN:ragge:20070921160641
 
reader.c
_>8686 
 8787 NODE *nodepole;
 8888 FILE *prfil;
<> 89+static struct interpass prepole;
8990 
 9091 void saveip(struct interpass *ip);
 9192 void deljumps(void);
     
 !
181182         r = deluseless(p->n_right);
 182183         nfree(p);
 183184         if (l && r) {
<>184 -                /* Put left on queue first */
 185 -                ip = tmpalloc(sizeof(*ip));
 186 -                ip->type = IP_NODE;
 187 -                ip->lineno = 0; /* XXX */
 188 -                ip->ip_node = l;
 189 -                pass2_compile(ip);
  185+                ip = ipnode(l);
  186+                DLIST_INSERT_AFTER(&prepole, ip, qelem);
190187                 return r;
 191188         } else if (l)
 192189                 return l;
     
 !
231228                 if (xtemps == 0)
 232229                         walkf(ip->ip_node, deltemp);
 233230         }
<> 231+        DLIST_INIT(&prepole, qelem);
234232         DLIST_FOREACH(ip, &ipole, qelem) {
 235233                 if (ip->type != IP_NODE)
 236234                         continue;
 237235                 canon(ip->ip_node);
 238236                 walkf(ip->ip_node, cktree);
<>239 -                if ((ip->ip_node = deluseless(ip->ip_node)) == NULL)
  237+                if ((ip->ip_node = deluseless(ip->ip_node)) == NULL) {
240238                         DLIST_REMOVE(ip, qelem);
<> 239+                } else while (!DLIST_ISEMPTY(&prepole, qelem)) {
  240+                        struct interpass *ipp;
  241+
  242+                        ipp = DLIST_NEXT(&prepole, qelem);
  243+                        DLIST_REMOVE(ipp, qelem);
  244+                        DLIST_INSERT_BEFORE(ip, ipp, qelem);
  245+                }
<_241246         }
 242247 
 243248         optimize(&ipole);
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-08-21 14:07 +0200