0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-12-26 07:23:53 +01:00

ircd::spirit: Import locals into namespace; minor cleanup.

This commit is contained in:
Jason Volk 2018-07-01 18:52:22 -07:00
parent 7624e36c7c
commit a96f2ae030

View file

@ -28,9 +28,22 @@ namespace ircd::spirit
namespace ascii = spirit::ascii;
namespace karma = spirit::karma;
namespace qi = spirit::qi;
namespace phx = boost::phoenix;
using spirit::unused_type;
using qi::locals;
using qi::_a;
using qi::_r1_type;
using qi::raw;
using qi::omit;
using qi::matches;
using qi::hold;
using qi::eoi;
using qi::eps;
using qi::attr;
using qi::attr_cast;
using qi::repeat;
using qi::lit;
using qi::char_;
using qi::byte_;
@ -58,16 +71,6 @@ namespace ircd::spirit
using qi::bin_double;
using qi::big_bin_double;
using qi::little_bin_double;
using qi::raw;
using qi::omit;
using qi::matches;
using qi::hold;
using qi::eoi;
using qi::eps;
using qi::attr;
using qi::attr_cast;
using qi::repeat;
using qi::_r1_type;
using karma::lit;
using karma::char_;
@ -79,3 +82,10 @@ namespace ircd::spirit
using karma::maxwidth;
using karma::buffer;
}
namespace ircd::spirit::local
{
using qi::_1;
using qi::_2;
using qi::_3;
}