]>
Commit | Line | Data |
---|---|---|
7c673cae FG |
1 | #ifndef BOOST_METAPARSE_V1_SPACE_HPP |
2 | #define BOOST_METAPARSE_V1_SPACE_HPP | |
3 | ||
4 | // Copyright Abel Sinkovics (abel@sinkovics.hu) 2009 - 2010. | |
5 | // Distributed under the Boost Software License, Version 1.0. | |
6 | // (See accompanying file LICENSE_1_0.txt or copy at | |
7 | // http://www.boost.org/LICENSE_1_0.txt) | |
8 | ||
9 | #include <boost/metaparse/v1/error/whitespace_expected.hpp> | |
10 | #include <boost/metaparse/v1/accept_when.hpp> | |
11 | #include <boost/metaparse/v1/one_char.hpp> | |
12 | ||
13 | #include <boost/metaparse/v1/util/is_whitespace.hpp> | |
14 | ||
15 | namespace boost | |
16 | { | |
17 | namespace metaparse | |
18 | { | |
19 | namespace v1 | |
20 | { | |
21 | typedef | |
22 | accept_when<one_char, util::is_whitespace<>, error::whitespace_expected> | |
23 | space; | |
24 | } | |
25 | } | |
26 | } | |
27 | ||
28 | #endif | |
29 | ||
30 |