actually push boolean values
authorIan Beckwith <ianb@erislabs.net>
Sat, 2 Oct 2010 02:09:37 +0000 (03:09 +0100)
committerIan Beckwith <ianb@erislabs.net>
Sat, 2 Oct 2010 02:09:37 +0000 (03:09 +0100)
lib/ID3FS/Path.pm

index 3335e44..09ab418 100644 (file)
@@ -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
            {