changeset 1008:c7ce3eaf3087

move CssTokenType into CssParser class
author Johannes Hofmann <Johannes.Hofmann@gmx.de>
date Sun, 15 Mar 2009 21:22:03 +0100
parents 0604a13c629a
children d56a97316e3a
files src/cssparser.hh
diffstat 1 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/src/cssparser.hh	Sun Mar 15 21:21:15 2009 +0100
+++ b/src/cssparser.hh	Sun Mar 15 21:22:03 2009 +0100
@@ -11,13 +11,13 @@
 
 extern const CssPropertyInfo Css_property_info[CSS_PROPERTY_LAST];
 
-typedef enum {
-   CSS_TK_DECINT, CSS_TK_FLOAT, CSS_TK_COLOR, CSS_TK_SYMBOL, CSS_TK_STRING,
-   CSS_TK_CHAR, CSS_TK_END
-} CssTokenType;
-
 class CssParser {
    private:
+      typedef enum {
+         CSS_TK_DECINT, CSS_TK_FLOAT, CSS_TK_COLOR, CSS_TK_SYMBOL, CSS_TK_STRING,
+         CSS_TK_CHAR, CSS_TK_END
+      } CssTokenType;
+
       static const int maxStrLen = 256;
       CssContext *context;
       CssOrigin origin;