Commit 33a79dfa by Richard Kenner

(chain_member_purpose): Make similar to chain_member_value.

From-SVN: r9454
parent 713ff252
...@@ -1725,7 +1725,7 @@ chain_member_value (elem, chain) ...@@ -1725,7 +1725,7 @@ chain_member_value (elem, chain)
return 0; return 0;
} }
/* Return nonzero if ELEM is equal to TREE_PURPOSE (TREE_VALUE (CHAIN)) /* Return nonzero if ELEM is equal to TREE_PURPOSE (CHAIN)
for any piece of chain CHAIN. */ for any piece of chain CHAIN. */
int int
...@@ -1735,7 +1735,7 @@ chain_member_purpose (elem, chain) ...@@ -1735,7 +1735,7 @@ chain_member_purpose (elem, chain)
while (chain) while (chain)
{ {
if (elem == TREE_PURPOSE (TREE_VALUE (chain))) if (elem == TREE_PURPOSE (chain))
return 1; return 1;
chain = TREE_CHAIN (chain); chain = TREE_CHAIN (chain);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment