diff options
author | Thomas Martitz <kugel@rockbox.org> | 2009-11-01 23:35:14 +0000 |
---|---|---|
committer | Thomas Martitz <kugel@rockbox.org> | 2009-11-01 23:35:14 +0000 |
commit | e28bfd1349ca813cf34d8b327e21e128a6badba1 (patch) | |
tree | a24435818074711bf948bc218afd08174e6fbcfc /firmware | |
parent | 33040275cfccdc1f1c33e0a9ef3b5a2b88aa3679 (diff) |
Rework how feature skin tags work (%cc currently) when used conditionally (i.e. to detect a feature).
If the feature is known to be unavailable at compile time or runtime detected, then let parsing skip over the true case. That enables parsing skins that properly put tags not available on a target within these tags. In the past the true case was parsed even if never could be true, which led to unexpected parsing failures.
Parsing %cc<%St|time format|[..]|> is now possible on target where that setting doesn't exist (the %St parser wold fail).
More of these tags are to be added, for example to indicate fm radio or recording capabilities.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23479 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
0 files changed, 0 insertions, 0 deletions