summaryrefslogtreecommitdiffstats
path: root/lib/skin_parser/skin_debug.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/skin_parser/skin_debug.c')
-rw-r--r--lib/skin_parser/skin_debug.c12
1 files changed, 10 insertions, 2 deletions
diff --git a/lib/skin_parser/skin_debug.c b/lib/skin_parser/skin_debug.c
index 00d09aea7e..4abe6252f0 100644
--- a/lib/skin_parser/skin_debug.c
+++ b/lib/skin_parser/skin_debug.c
@@ -70,6 +70,9 @@ void skin_error(enum skin_errorcode error)
case INT_EXPECTED:
error_message = "Expected integer";
break;
+ case DECIMAL_EXPECTED:
+ error_message = "Expected decimal";
+ break;
case SEPERATOR_EXPECTED:
error_message = "Expected argument seperator";
break;
@@ -236,8 +239,13 @@ void skin_debug_params(int count, struct skin_tag_parameter params[])
printf("[%s]", params[i].data.text);
break;
- case NUMERIC:
- printf("[%d]", params[i].data.numeric);
+ case INTEGER:
+ printf("[%d]", params[i].data.number);
+ break;
+
+ case DECIMAL:
+ printf("[%d.%d]", params[i].data.number/10,
+ params[i].data.number%10);
break;
case CODE: