version 1.73, 2007/11/02 17:27:24 |
version 1.74, 2007/11/06 21:12:23 |
|
|
|
|
if ((sGn->type & OP_OPMASK) == OP_DOUBLEDEP) { |
if ((sGn->type & OP_OPMASK) == OP_DOUBLEDEP) { |
/* When a :: node is used as the implied source of a node, we |
/* When a :: node is used as the implied source of a node, we |
* have to link all its cohorts in as sources as well. Only the |
* have to link all its cohorts in as sources as well. There's |
* initial sGn gets the target in its iParents list, however, |
* only one implied src, as that will be sufficient to get |
* as that will be sufficient to get the .IMPSRC variable set |
* the .IMPSRC variable set for tGn. */ |
* for tGn. */ |
|
for (ln=Lst_First(&sGn->cohorts); ln != NULL; ln=Lst_Adv(ln)) { |
for (ln=Lst_First(&sGn->cohorts); ln != NULL; ln=Lst_Adv(ln)) { |
gn = (GNode *)Lst_Datum(ln); |
gn = (GNode *)Lst_Datum(ln); |
|
|
|
|
|
|
/* Keep track of another parent to which this beast is transformed so |
/* Keep track of another parent to which this beast is transformed so |
* the .IMPSRC variable can be set correctly for the parent. */ |
* the .IMPSRC variable can be set correctly for the parent. */ |
Lst_AtEnd(&sGn->iParents, tGn); |
tGn->impliedsrc = sGn; |
|
|
return true; |
return true; |
} |
} |