1
0
Fork 0
forked from len0rd/rockbox

Introducing the WPS tokenizer !

When a WPS file is loaded, it is parsed to an array of tokens, which allows more efficient displaying. More info on the tracker entry : FS #6862.
The parsing code is completely independant and is all in wps_parser.c. The displaying part stays in gwps-common.c.
Debugging code is provided (with the right ifdefs) and is disabled by default.
Overall, the code should be easier to read and maintain. Adding new WPS tags is made quite trivial.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13019 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Nicolas Pennequin 2007-04-04 14:41:40 +00:00
parent 15e2aecd8f
commit ab90d58801
8 changed files with 3048 additions and 2341 deletions

View file

@ -58,6 +58,8 @@ gui/splash.c
gui/statusbar.c
gui/textarea.c
gui/yesno.c
gui/wps_debug.c
gui/wps_parser.c
#ifdef HAVE_LCD_CHARCELLS
player/icons.c