summaryrefslogtreecommitdiffstats
path: root/src/boost/libs/spirit/example/x3/minimal/config.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/boost/libs/spirit/example/x3/minimal/config.hpp')
-rw-r--r--src/boost/libs/spirit/example/x3/minimal/config.hpp20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/boost/libs/spirit/example/x3/minimal/config.hpp b/src/boost/libs/spirit/example/x3/minimal/config.hpp
new file mode 100644
index 00000000..3787346a
--- /dev/null
+++ b/src/boost/libs/spirit/example/x3/minimal/config.hpp
@@ -0,0 +1,20 @@
+/*=============================================================================
+ Copyright (c) 2001-2018 Joel de Guzman
+
+ Distributed under the Boost Software License, Version 1.0. (See accompanying
+ file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+=============================================================================*/
+#if !defined(BOOST_SPIRIT_X3_MINIMAL_CONFIG_HPP)
+#define BOOST_SPIRIT_X3_MINIMAL_CONFIG_HPP
+
+#include <boost/spirit/home/x3.hpp>
+
+namespace client { namespace parser
+{
+ namespace x3 = boost::spirit::x3;
+
+ using iterator_type = std::string::const_iterator;
+ using context_type = x3::phrase_parse_context<x3::ascii::space_type>::type;
+}}
+
+#endif