annotate DEPENDENCIES/generic/include/boost/spirit/home/lex/lexer/pass_flags.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_PASS_FLAGS_JUN_09_2009_0840PM)
Chris@16 7 #define BOOST_SPIRIT_LEX_PASS_FLAGS_JUN_09_2009_0840PM
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/spirit/home/support/detail/scoped_enum_emulation.hpp>
Chris@16 14
Chris@16 15 namespace boost { namespace spirit { namespace lex
Chris@16 16 {
Chris@16 17 ///////////////////////////////////////////////////////////////////////////
Chris@16 18 BOOST_SCOPED_ENUM_START(pass_flags)
Chris@16 19 {
Chris@16 20 pass_fail = 0, // make the current match fail in retrospective
Chris@16 21 pass_normal = 1, // continue normal token matching, that's the default
Chris@16 22 pass_ignore = 2 // ignore the current token and start matching the next
Chris@16 23 };
Chris@16 24 BOOST_SCOPED_ENUM_END
Chris@16 25
Chris@16 26 }}}
Chris@16 27
Chris@16 28 #endif