OSDN Git Service

web/css_parser.hpp: 書きかけぱーさ
authorMyun2 <myun2@nwhite.info>
Thu, 23 Sep 2010 10:18:27 +0000 (19:18 +0900)
committerMyun2 <myun2@nwhite.info>
Thu, 23 Sep 2010 10:48:12 +0000 (19:48 +0900)
roast/include/roast/web/css_parser.hpp

index 3cadfb4..c74f44e 100644 (file)
@@ -5,11 +5,28 @@
 #ifndef __SFJP_ROAST__net__web__css_parser_HPP__
 #define __SFJP_ROAST__net__web__css_parser_HPP__
 
-#include <string>
+#include "roast/lexical.hpp"
 
 namespace roast
 {
+       namespace css
+       {
+               namespace lexical
+               {
+                       using namespace roast::lexical;
+                       using namespace roast::lexical::rule;
 
+                       typedef seq<
+                               unichar<'/'>,
+                               unichar<'*'>,
+                               
+                               unichar<'*'>,
+                               unichar<'/'>
+                       > comment;
+                       
+                       typedef rule;
+               }
+       }
 }
 
 #endif//__SFJP_ROAST__net__web__css_parser_HPP__