From 683eeb00d62121150e9e311822226bdddd932569 Mon Sep 17 00:00:00 2001 From: Andreas Stöckel Date: Sun, 15 Mar 2015 14:00:19 +0100 Subject: Add not yet implemented "inherit" flag to the Stack class --- src/core/parser/stack/TokenStack.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/core/parser/stack/TokenStack.cpp') diff --git a/src/core/parser/stack/TokenStack.cpp b/src/core/parser/stack/TokenStack.cpp index b6fc6e1..c20c764 100644 --- a/src/core/parser/stack/TokenStack.cpp +++ b/src/core/parser/stack/TokenStack.cpp @@ -23,14 +23,14 @@ namespace ousia { namespace parser_stack { -void TokenStack::pushTokens(const std::vector &tokens) +void TokenStack::pushTokens(const std::vector &tokens, + bool inherit) { + // TODO: Implement inheritance stack.push_back(tokens); } -void TokenStack::popTokens() { - stack.pop_back(); -} +void TokenStack::popTokens() { stack.pop_back(); } TokenSet TokenStack::tokens() const { -- cgit v1.2.3