Re: src/Synopsis/PTree/operations.cc
[email protected] (Gilles J. Seguin)
| Newsgroups | gmane.comp.documentation.synopsis |
|---|---|
| Message-ID | <[email protected]> |
On Tue, 2005-12-06 at 11:31 -0500, Gilles J. Seguin wrote:
> stefan, recheck this
> they are not equal if both null, do they.
@@ -76,18 +82,19 @@
*/
bool equiv(Node const *p, Node const *q)
{
+ // segg: same
if(p == q) return true;
else if(p == 0 || q == 0) return false;
else if(p->is_atom() || q->is_atom()) return *p == *q;
else
{
while(p != 0 && q != 0)
-