summaryrefslogtreecommitdiff
path: root/utils/themeeditor/main.c
diff options
context:
space:
mode:
authorRobert Bieber <robby@bieberphoto.com>2010-05-25 15:19:52 +0000
committerRobert Bieber <robby@bieberphoto.com>2010-05-25 15:19:52 +0000
commitd5b24ddcc57857d9db5751c2f6e51f55633459e7 (patch)
tree1ee27a146004aed6788d38f688718783822cf1c1 /utils/themeeditor/main.c
parentfd9d7d0ac103dc27ac4c79bcd715c2985b0bc559 (diff)
downloadrockbox-d5b24ddcc57857d9db5751c2f6e51f55633459e7.tar.gz
rockbox-d5b24ddcc57857d9db5751c2f6e51f55633459e7.zip
Adding the new WPS parser, code works but need to build the tag table
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26281 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'utils/themeeditor/main.c')
-rw-r--r--utils/themeeditor/main.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/utils/themeeditor/main.c b/utils/themeeditor/main.c
new file mode 100644
index 0000000000..9f45c90317
--- /dev/null
+++ b/utils/themeeditor/main.c
@@ -0,0 +1,17 @@
1#include "skin_parser.h"
2#include "skin_debug.h"
3
4#include <stdlib.h>
5#include <stdio.h>
6
7int main(int argc, char* argv[])
8{
9 char* doc = "This is a sample %V(1, 2, 3, 4, 5, six, seven)\n"
10 "WPS document, with ; sublines and a %?T(conditional| or| two)";
11
12 struct skin_element* test = skin_parse(doc);
13
14 skin_debug_tree(test);
15
16 return 0;
17}