1 /*=============================================================================
2 Copyright (c) 2001-2014 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_CALC8_CONFIG_HPP)
8 #define BOOST_SPIRIT_X3_CALC8_CONFIG_HPP
10 #include <boost/spirit/home/x3.hpp>
11 #include "error_handler.hpp"
13 namespace client { namespace parser
15 typedef std::string::const_iterator iterator_type;
16 typedef x3::phrase_parse_context<x3::ascii::space_type>::type phrase_context_type;
17 typedef error_handler<iterator_type> error_handler_type;
19 typedef x3::with_context<
21 , std::reference_wrapper<error_handler_type> const
22 , phrase_context_type>::type