]>
Commit | Line | Data |
---|---|---|
7c673cae FG |
1 | /*============================================================================= |
2 | Copyright (c) 2006 Tobias Schwinger | |
3 | http://spirit.sourceforge.net/ | |
4 | ||
5 | Distributed under the Boost Software License, Version 1.0. (See accompanying | |
6 | file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) | |
7 | =============================================================================*/ | |
8 | #if !defined(BOOST_SPIRIT_ERROR_HANDLING_TYPEOF_HPP) | |
9 | #define BOOST_SPIRIT_ERROR_HANDLING_TYPEOF_HPP | |
10 | ||
11 | #include <boost/typeof/typeof.hpp> | |
12 | ||
13 | #include <boost/spirit/home/classic/core/typeof.hpp> | |
14 | ||
15 | #include <boost/spirit/home/classic/error_handling/exceptions_fwd.hpp> | |
16 | ||
17 | ||
18 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP() | |
19 | ||
20 | ||
21 | // exceptions.hpp (has forward header) | |
22 | ||
23 | BOOST_TYPEOF_REGISTER_TEMPLATE(BOOST_SPIRIT_CLASSIC_NS::parser_error,2) | |
24 | BOOST_TYPEOF_REGISTER_TEMPLATE(BOOST_SPIRIT_CLASSIC_NS::assertive_parser,2) | |
25 | BOOST_TYPEOF_REGISTER_TEMPLATE(BOOST_SPIRIT_CLASSIC_NS::error_status,1) | |
26 | BOOST_TYPEOF_REGISTER_TEMPLATE(BOOST_SPIRIT_CLASSIC_NS::fallback_parser,3) | |
27 | BOOST_TYPEOF_REGISTER_TEMPLATE(BOOST_SPIRIT_CLASSIC_NS::guard,1) | |
28 | ||
29 | BOOST_TYPEOF_REGISTER_TYPE(BOOST_SPIRIT_CLASSIC_NS::error_status<>) | |
30 | ||
31 | ||
32 | #endif | |
33 |