1 // Copyright (c) 2001-2011 Hartmut Kaiser
3 // Distributed under the Boost Software License, Version 1.0. (See accompanying
4 // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
6 #if !defined(BOOST_SPIRIT_LEX_IN_STATE_OCT_09_2007_0748PM)
7 #define BOOST_SPIRIT_LEX_IN_STATE_OCT_09_2007_0748PM
13 #include <boost/proto/core.hpp>
15 ///////////////////////////////////////////////////////////////////////////////
16 namespace boost { namespace spirit { namespace qi
18 ///////////////////////////////////////////////////////////////////////////
19 // The following is a helper template allowing to use the in_state()[] as
21 ///////////////////////////////////////////////////////////////////////////
22 template <typename Skipper, typename String = char const*>
23 struct in_state_skipper
25 typename proto::terminal<
26 terminal_ex<tag::in_state, fusion::vector1<String> >