summaryrefslogtreecommitdiff
path: root/src/include/broker.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/broker.h')
-rw-r--r--src/include/broker.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/include/broker.h b/src/include/broker.h
index 0ead7a0..57c79dc 100644
--- a/src/include/broker.h
+++ b/src/include/broker.h
@@ -10,6 +10,7 @@
#include "depot.h"
#include "operators.h"
+#include "recursivedescent.h"
#include "session.h"
#include <map>
@@ -57,11 +58,13 @@ namespace Binc {
std::map<std::string, bool> deletables;
public:
+ Parser &parser;
+
Operator *get(const std::string &name) const;
void assign(const std::string &fname, Operator *o, bool deletable = false);
Parser::ParseResult parseStub(Request &cmd);
- Broker() = default;
+ Broker(Parser &p) : parser(p){};
Broker(Broker &&) = default;
};