diff options
author | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2009-03-15 19:26:01 +0100 |
---|---|---|
committer | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2009-03-15 19:26:01 +0100 |
commit | 6569263ccdc969560445d9a3815fbc17f3039c4f (patch) | |
tree | 201a30f2fe5d4fd3019fcfa8614dda677b4e4d9a /src | |
parent | 8d041ff283a940eb3b2abddcc2693eda2ab8dc97 (diff) |
move macro definition to .cc file
Diffstat (limited to 'src')
-rw-r--r-- | src/cssparser.cc | 6 | ||||
-rw-r--r-- | src/cssparser.hh | 7 |
2 files changed, 6 insertions, 7 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 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, |