summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/core/parser/stack/Stack.cpp12
1 files changed, 1 insertions, 11 deletions
diff --git a/src/core/parser/stack/Stack.cpp b/src/core/parser/stack/Stack.cpp
index 0241118..88ddeee 100644
--- a/src/core/parser/stack/Stack.cpp
+++ b/src/core/parser/stack/Stack.cpp
@@ -296,12 +296,6 @@ static LoggableException buildInvalidCommandException(
class StackImpl : public HandlerCallbacks {
private:
/**
- * Reference at an implementation of the ParserCallbacks instance to which
- * certain handler callbacks are directed.
- */
- ParserCallbacks &parser;
-
- /**
* Reference at the parser context.
*/
ParserContext &ctx;
@@ -546,11 +540,7 @@ public:
StackImpl::StackImpl(ParserCallbacks &parser, ParserContext &ctx,
const std::multimap<std::string, const State *> &states)
- : parser(parser),
- ctx(ctx),
- states(states),
- tokenRegistry(parser),
- dataReader(nullptr)
+ : ctx(ctx), states(states), tokenRegistry(parser), dataReader(nullptr)
{
// If the scope instance is not empty we need to deduce the current parser
// state