summaryrefslogtreecommitdiffstats
path: root/lib/skin_parser/skin_parser.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/skin_parser/skin_parser.h')
-rw-r--r--lib/skin_parser/skin_parser.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/skin_parser/skin_parser.h b/lib/skin_parser/skin_parser.h
index 126a014b5a..ad10f90125 100644
--- a/lib/skin_parser/skin_parser.h
+++ b/lib/skin_parser/skin_parser.h
@@ -56,6 +56,7 @@ enum skin_errorcode
UNEXPECTED_NEWLINE,
INSUFFICIENT_ARGS,
INT_EXPECTED,
+ DECIMAL_EXPECTED,
SEPERATOR_EXPECTED,
CLOSE_EXPECTED,
MULTILINE_EXPECTED
@@ -66,7 +67,8 @@ struct skin_tag_parameter
{
enum
{
- NUMERIC,
+ INTEGER,
+ DECIMAL, /* stored in data.number as (whole*10)+part */
STRING,
CODE,
DEFAULT
@@ -74,7 +76,7 @@ struct skin_tag_parameter
union
{
- int numeric;
+ int number;
char* text;
struct skin_element* code;
} data;