OSDN Git Service

css_test.cpp Add. (css:4.0_おほww動いたしっ)
authorMyun2 <myun2@nwhite.info>
Tue, 30 Nov 2010 16:01:51 +0000 (01:01 +0900)
committerMyun2 <myun2@nwhite.info>
Tue, 30 Nov 2010 16:01:51 +0000 (01:01 +0900)
roast/test/lexical_test/css_test.cpp [new file with mode: 0644]

diff --git a/roast/test/lexical_test/css_test.cpp b/roast/test/lexical_test/css_test.cpp
new file mode 100644 (file)
index 0000000..5a1a425
--- /dev/null
@@ -0,0 +1,14 @@
+#include "roast/web/css.hpp"
+#include <stdio.h>
+
+using namespace roast;
+
+int main()
+{
+       using namespace roast::web::css;
+
+       ::roast::css::lexical::parser_rule cssa;
+       cssa.analyze("hoge{aa:bb}hoge2{cc:dd}",printer());
+
+       return 0;
+}