From 6a24a7a90363bfbf4c5a0be0585da425506adfab Mon Sep 17 00:00:00 2001 From: Michael Hohmuth Date: Tue, 10 May 2011 10:25:41 +0000 Subject: tagnavi.config: Add a logical-OR operator ("|") for tagnavi conditionals. Logical-AND ("&") always takes precedence over logical-OR. (Parentheses are not supported.) Fight binsize increase by storing some common expressions in local variables. This avoids repeated reevaluations involving memory accesses. check_clauses: Fail clause (return false) in case of errors (tag too long, DB entry deleted). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29851 a1c6a512-1295-4272-9138-f99709370657 --- apps/tagcache.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/tagcache.h') diff --git a/apps/tagcache.h b/apps/tagcache.h index 59f8b8b..7351998 100644 --- a/apps/tagcache.h +++ b/apps/tagcache.h @@ -120,7 +120,7 @@ enum tag_type { tag_artist = 0, tag_album, tag_genre, tag_title, enum clause { clause_none, clause_is, clause_is_not, clause_gt, clause_gteq, clause_lt, clause_lteq, clause_contains, clause_not_contains, clause_begins_with, clause_not_begins_with, clause_ends_with, - clause_not_ends_with, clause_oneof }; + clause_not_ends_with, clause_oneof, clause_logical_or }; struct tagcache_stat { bool initialized; /* Is tagcache currently busy? */ -- cgit v1.1