aboutsummaryrefslogtreecommitdiff
path: root/src/cssparser.cc
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2009-03-15 19:26:01 +0100
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2009-03-15 19:26:01 +0100
commit6569263ccdc969560445d9a3815fbc17f3039c4f (patch)
tree201a30f2fe5d4fd3019fcfa8614dda677b4e4d9a /src/cssparser.cc
parent8d041ff283a940eb3b2abddcc2693eda2ab8dc97 (diff)
move macro definition to .cc file
Diffstat (limited to 'src/cssparser.cc')
-rw-r--r--src/cssparser.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/cssparser.cc b/src/cssparser.cc
index 87d58dbd..445c9f79 100644
--- a/src/cssparser.cc
+++ b/src/cssparser.cc
@@ -39,6 +39,12 @@ using namespace dw::core::style;
/* Applies to symbol lengths and string literals. */
#define MAX_STR_LEN 256
+/* The last three ones are never parsed. */
+#define CSS_NUM_INTERNAL_PROPERTIES 3
+#define CSS_NUM_PARSED_PROPERTIES \
+ (CSS_PROPERTY_LAST - CSS_NUM_INTERNAL_PROPERTIES)
+
+
static const char *const Css_border_style_enum_vals[] = {
"none", "hidden", "dotted", "dashed", "solid", "double", "groove",
"ridge", "inset", "outset", NULL