| 1 | /*============================================================================= |
| 2 | Copyright (c) 2001-2011 Joel de Guzman |
| 3 | |
| 4 | Distributed under the Boost Software License, Version 1.0. (See accompanying |
| 5 | file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) |
| 6 | =============================================================================*/ |
| 7 | #ifndef BOOST_SPIRIT_QI_DIRECTIVE_NO_CASE_HPP |
| 8 | #define BOOST_SPIRIT_QI_DIRECTIVE_NO_CASE_HPP |
| 9 | |
| 10 | #if defined(_MSC_VER) |
| 11 | #pragma once |
| 12 | #endif |
| 13 | |
| 14 | #include <boost/spirit/home/qi/meta_compiler.hpp> |
| 15 | #include <boost/spirit/home/support/common_terminals.hpp> |
| 16 | |
| 17 | namespace boost { namespace spirit |
| 18 | { |
| 19 | /////////////////////////////////////////////////////////////////////////// |
| 20 | // Enablers |
| 21 | /////////////////////////////////////////////////////////////////////////// |
| 22 | template <typename CharEncoding> |
| 23 | struct use_directive< |
| 24 | qi::domain, tag::char_code<tag::no_case, CharEncoding> > // enables no_case |
| 25 | : mpl::true_ {}; |
| 26 | |
| 27 | template <typename CharEncoding> |
| 28 | struct is_modifier_directive<qi::domain, tag::char_code<tag::no_case, CharEncoding> > |
| 29 | : mpl::true_ {}; |
| 30 | }} |
| 31 | |
| 32 | #endif |
| 33 | |