1 /*=============================================================================
2 Copyright (c) 2001-2015 Joel de Guzman
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 #if !defined(BOOST_SPIRIT_X3_REPR_CONFIG_HPP)
8 #define BOOST_SPIRIT_X3_REPR_CONFIG_HPP
10 #include "error_handler.hpp"
12 #include <boost/spirit/home/x3.hpp>
14 namespace rexpr { namespace parser
17 typedef std::string::const_iterator iterator_type;
19 // The Phrase Parse Context
21 x3::phrase_parse_context<x3::ascii::space_type>::type
25 typedef error_handler<iterator_type> error_handler_type;
27 // Combined Error Handler and Phrase Parse Context
30 , std::reference_wrapper<error_handler_type>
31 , phrase_context_type>