From 6569263ccdc969560445d9a3815fbc17f3039c4f Mon Sep 17 00:00:00 2001 From: Johannes Hofmann Date: Sun, 15 Mar 2009 19:26:01 +0100 Subject: move macro definition to .cc file --- src/cssparser.cc | 6 ++++++ src/cssparser.hh | 7 ------- 2 files changed, 6 insertions(+), 7 deletions(-) (limited to 'src') 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 diff --git a/src/cssparser.hh b/src/cssparser.hh index 7fd3b5d0..2ae5f7dd 100644 --- a/src/cssparser.hh +++ b/src/cssparser.hh @@ -3,13 +3,6 @@ #include "css.hh" -/* 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) - - - typedef enum { CSS_ORIGIN_USER_AGENT, CSS_ORIGIN_USER, -- cgit v1.2.3