diff options
author | Robert Bieber <robby@bieberphoto.com> | 2010-05-25 15:19:52 +0000 |
---|---|---|
committer | Robert Bieber <robby@bieberphoto.com> | 2010-05-25 15:19:52 +0000 |
commit | d5b24ddcc57857d9db5751c2f6e51f55633459e7 (patch) | |
tree | 1ee27a146004aed6788d38f688718783822cf1c1 /utils/themeeditor/main.c | |
parent | fd9d7d0ac103dc27ac4c79bcd715c2985b0bc559 (diff) | |
download | rockbox-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.c | 17 |
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 | |||
7 | int 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 | } | ||