diff options
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 | } | ||