annotate DEPENDENCIES/generic/include/boost/spirit/home/lex/qi/in_state.hpp @ 133:4acb5d8d80b6 tip

Don't fail environmental check if README.md exists (but .txt and no-suffix don't)
author Chris Cannam
date Tue, 30 Jul 2019 12:25:44 +0100
parents 2665513ce2d3
children
rev   line source
Chris@16 1 // Copyright (c) 2001-2011 Hartmut Kaiser
Chris@16 2 //
Chris@16 3 // Distributed under the Boost Software License, Version 1.0. (See accompanying
Chris@16 4 // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
Chris@16 5
Chris@16 6 #if !defined(BOOST_SPIRIT_LEX_IN_STATE_OCT_09_2007_0748PM)
Chris@16 7 #define BOOST_SPIRIT_LEX_IN_STATE_OCT_09_2007_0748PM
Chris@16 8
Chris@16 9 #if defined(_MSC_VER)
Chris@16 10 #pragma once
Chris@16 11 #endif
Chris@16 12
Chris@16 13 #include <boost/proto/core.hpp>
Chris@16 14
Chris@16 15 ///////////////////////////////////////////////////////////////////////////////
Chris@16 16 namespace boost { namespace spirit { namespace qi
Chris@16 17 {
Chris@16 18 ///////////////////////////////////////////////////////////////////////////
Chris@16 19 // The following is a helper template allowing to use the in_state()[] as
Chris@16 20 // a skip parser
Chris@16 21 ///////////////////////////////////////////////////////////////////////////
Chris@16 22 template <typename Skipper, typename String = char const*>
Chris@16 23 struct in_state_skipper
Chris@16 24 : proto::subscript<
Chris@16 25 typename proto::terminal<
Chris@16 26 terminal_ex<tag::in_state, fusion::vector1<String> >
Chris@16 27 >::type
Chris@16 28 , Skipper
Chris@16 29 >::type {};
Chris@16 30 }}}
Chris@16 31
Chris@16 32 #endif