From: Ian Beckwith Date: Sat, 2 Oct 2010 02:09:37 +0000 (+0100) Subject: actually push boolean values X-Git-Tag: debian/1.0-1~145 X-Git-Url: http://erislabs.net/gitweb/?a=commitdiff_plain;h=175979c9b2946ba9baeef13be7d33077411a975f;hp=f47bb604b3d6f4a1757656f1b8df10a30ebe3de2;p=id3fs.git actually push boolean values --- diff --git a/lib/ID3FS/Path.pm b/lib/ID3FS/Path.pm index 3335e44..09ab418 100644 --- a/lib/ID3FS/Path.pm +++ b/lib/ID3FS/Path.pm @@ -135,6 +135,7 @@ sub parse } elsif($name eq "NOT") { + push(@{$self->{elements}}, ID3FS::PathElement::Boolean->new($name)); $self->state($STATE_BOOLEAN); } else @@ -183,12 +184,12 @@ sub parse elsif($name eq "AND") { $self->state($STATE_BOOLEAN); -# push(@{$self->{elements}}, ID3FS::PathElement::Boolean->new($name)); + push(@{$self->{elements}}, ID3FS::PathElement::Boolean->new($name)); } elsif($name eq "OR") { $self->state($STATE_BOOLEAN); -# push(@{$self->{elements}}, ID3FS::PathElement::Boolean->new($name)); + push(@{$self->{elements}}, ID3FS::PathElement::Boolean->new($name)); } else {