diff options
author | Robert Bieber <robby@bieberphoto.com> | 2010-06-01 16:44:52 +0000 |
---|---|---|
committer | Robert Bieber <robby@bieberphoto.com> | 2010-06-01 16:44:52 +0000 |
commit | 0a054b288b4ac71f384a18f7c9f8835863fe3751 (patch) | |
tree | f842db8e178d622b0c9226616abd6a436308e5a5 /utils/themeeditor/skin_debug.c | |
parent | 2267bd37b275879ec43e39df5d21ce44a91c742c (diff) | |
download | rockbox-0a054b288b4ac71f384a18f7c9f8835863fe3751.tar.gz rockbox-0a054b288b4ac71f384a18f7c9f8835863fe3751.zip |
Committing FS#11345 by JdGordon. Theme editor parser now includes full tag information in the skin_element struct
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26448 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'utils/themeeditor/skin_debug.c')
-rw-r--r-- | utils/themeeditor/skin_debug.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/utils/themeeditor/skin_debug.c b/utils/themeeditor/skin_debug.c index 06764f9053..360d7208b9 100644 --- a/utils/themeeditor/skin_debug.c +++ b/utils/themeeditor/skin_debug.c | |||
@@ -25,6 +25,7 @@ | |||
25 | 25 | ||
26 | #include "skin_parser.h" | 26 | #include "skin_parser.h" |
27 | #include "skin_debug.h" | 27 | #include "skin_debug.h" |
28 | #include "tag_table.h" | ||
28 | 29 | ||
29 | /* Global variables for debug output */ | 30 | /* Global variables for debug output */ |
30 | int debug_indent_level = 0; | 31 | int debug_indent_level = 0; |
@@ -123,7 +124,8 @@ void skin_debug_tree(struct skin_element* root) | |||
123 | break; | 124 | break; |
124 | 125 | ||
125 | case TAG: | 126 | case TAG: |
126 | printf("[ %s tag on line %d with %d arguments\n", current->name, | 127 | printf("[ %s tag on line %d with %d arguments\n", |
128 | current->tag->name, | ||
127 | current->line, current->params_count); | 129 | current->line, current->params_count); |
128 | debug_indent_level++; | 130 | debug_indent_level++; |
129 | skin_debug_params(current->params_count, current->params); | 131 | skin_debug_params(current->params_count, current->params); |