1 /*============================================================================= 2 Copyright (c) 2004 Joao Abecasis 3 http://spirit.sourceforge.net/ 4 5 Use, modification and distribution is subject to the Boost Software 6 License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at 7 http://www.boost.org/LICENSE_1_0.txt) 8 =============================================================================*/ 9 10 #include <boost/spirit/include/classic_primitives.hpp> 11 #include <boost/spirit/include/classic_rule.hpp> 12 main()13int main() 14 { 15 using BOOST_SPIRIT_CLASSIC_NS::rule; 16 using BOOST_SPIRIT_CLASSIC_NS::ch_p; 17 18 rule<> chars = ch_p("string"); 19 } 20