forked from len0rd/rockbox
Theme Editor: Fixed a bug in the subline parser, added a LINE element to contain logical lines, working on data model
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26337 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
deb1600bbc
commit
8ea056db4b
7 changed files with 58 additions and 27 deletions
|
@ -19,13 +19,10 @@
|
|||
*
|
||||
****************************************************************************/
|
||||
|
||||
namespace wps
|
||||
extern "C"
|
||||
{
|
||||
extern "C"
|
||||
{
|
||||
#include "skin_parser.h"
|
||||
#include "skin_debug.h"
|
||||
}
|
||||
}
|
||||
|
||||
#include <cstdlib>
|
||||
|
@ -39,13 +36,14 @@ namespace wps
|
|||
int main(int argc, char* argv[])
|
||||
{
|
||||
|
||||
char* doc = "%Vd(U)\n\n%?bl(test,3,5,2,1)<param2|param3>";
|
||||
char doc[] = "%Vd(U);Hey\n%?bl(test,3,5,2,1)<param2|param3>";
|
||||
|
||||
struct wps::skin_element* test = wps::skin_parse(doc);
|
||||
struct skin_element* test = skin_parse(doc);
|
||||
|
||||
wps::skin_debug_tree(test);
|
||||
skin_debug_tree(test);
|
||||
|
||||
skin_free_tree(test);
|
||||
|
||||
wps::skin_free_tree(test);
|
||||
|
||||
QApplication app(argc, argv);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue