changeset 1001:d466f3665808

move macro definition to .cc file
author Johannes Hofmann <Johannes.Hofmann@gmx.de>
date Sun, 15 Mar 2009 19:26:01 +0100
parents e9718df7942c
children 635bf7cf7e98
files src/cssparser.cc src/cssparser.hh
diffstat 2 files changed, 6 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/src/cssparser.cc	Thu Mar 12 22:23:00 2009 +0100
+++ b/src/cssparser.cc	Sun Mar 15 19:26:01 2009 +0100
@@ -39,6 +39,12 @@
 /* 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
--- a/src/cssparser.hh	Thu Mar 12 22:23:00 2009 +0100
+++ b/src/cssparser.hh	Sun Mar 15 19:26:01 2009 +0100
@@ -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,