Chris@16: // Copyright (c) 2001-2011 Hartmut Kaiser Chris@16: // Chris@16: // Distributed under the Boost Software License, Version 1.0. (See accompanying Chris@16: // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) Chris@16: Chris@16: #if !defined(BOOST_SPIRIT_LEX_PASS_FLAGS_JUN_09_2009_0840PM) Chris@16: #define BOOST_SPIRIT_LEX_PASS_FLAGS_JUN_09_2009_0840PM Chris@16: Chris@16: #if defined(_MSC_VER) Chris@16: #pragma once Chris@16: #endif Chris@16: Chris@16: #include Chris@16: Chris@16: namespace boost { namespace spirit { namespace lex Chris@16: { Chris@16: /////////////////////////////////////////////////////////////////////////// Chris@16: BOOST_SCOPED_ENUM_START(pass_flags) Chris@16: { Chris@16: pass_fail = 0, // make the current match fail in retrospective Chris@16: pass_normal = 1, // continue normal token matching, that's the default Chris@16: pass_ignore = 2 // ignore the current token and start matching the next Chris@16: }; Chris@16: BOOST_SCOPED_ENUM_END Chris@16: Chris@16: }}} Chris@16: Chris@16: #endif