X-Git-Url: http://erislabs.net/gitweb/?p=id3fs.git;a=blobdiff_plain;f=lib%2FID3FS%2FPath%2FNode.pm;h=52888a6b03e068ef0308056dcc85e5cee00398ad;hp=b34309008ca9fb12e43009a4fd81dea209df1be9;hb=125aa69f2632c386f65b413ae0cb095ff0afd886;hpb=a461a5fca9a1ffc9e54c978423214c2fa59431e5 diff --git a/lib/ID3FS/Path/Node.pm b/lib/ID3FS/Path/Node.pm index b343090..52888a6 100644 --- a/lib/ID3FS/Path/Node.pm +++ b/lib/ID3FS/Path/Node.pm @@ -114,20 +114,4 @@ sub used_tags return $self->id(); } -# does the bottom right-most expression end in a NOT? -sub right_ends_in_not -{ - my($self, $node)=@_; - return 0 unless($node); - my $right=$node->right(); - if($right && $right->type() == $TYPE_BOOL) - { - return $self->right_ends_in_not($right); - } - my $op=$node->name(); - return 0 unless($op); - return 1 if($op eq "NOT"); - return 0; -} - 1;