+// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
+// vim: ts=8 sw=2 smarttab
#include "CrushCompiler.h"
#include "common/errno.h"
#include <boost/algorithm/string.hpp>
+using std::cout;
+using std::istream;
+using std::map;
+using std::ostream;
+using std::set;
+using std::string;
+using std::vector;
+
// -------------
static void print_type_name(ostream& out, int t, CrushWrapper &crush)
crush_grammar crushg;
const char *start = big.c_str();
//tree_parse_info<const char *> info = ast_parse(start, crushg, space_p);
- tree_parse_info<> info = ast_parse(start, crushg, space_p);
-
+ auto info = ast_parse(start, crushg, boost::spirit::space_p);
+
// parse error?
if (!info.full) {
int cpos = info.stop - start;