18 #ifndef COMMENT_FILTER_HH_
19 #define COMMENT_FILTER_HH_
21 #define BOOST_MPL_CFG_NO_PREPROCESSED_HEADERS
22 #define BOOST_MPL_LIMIT_VECTOR_SIZE 30
23 #include <boost/mpl/vector.hpp>
43 inline void slash_and_push(
char ch)
62 typedef boost::mpl::vector<
69 row<no_comment, is_any, no_comment, &self::push>,
73 row<one_slash, is_any, no_comment, &self::slash_and_push>,
77 row<one_line_comment, is_any , one_line_comment, &self::skip>,
82 row<multi_line_comment, is_any, multi_line_comment, &self::skip>,
87 row<star_in_comment, is_any, multi_line_comment, &self::skip>,
91 row<in_quote, is_any, in_quote, &self::push>,
93 row<in_quote_bsl, is_any, in_quote, &self::push>,
95 row<no_comment_bsl, is_any, no_comment, &self::push>
static const int initial_state