summaryrefslogtreecommitdiff
path: root/src/core/parser/stack/TokenStack.cpp
diff options
context:
space:
mode:
authorAndreas Stöckel <astoecke@techfak.uni-bielefeld.de>2015-03-15 14:00:19 +0100
committerAndreas Stöckel <astoecke@techfak.uni-bielefeld.de>2016-04-25 22:19:27 +0200
commit683eeb00d62121150e9e311822226bdddd932569 (patch)
tree07cdd964fa3e8c893230e5a26d13969614b9e719 /src/core/parser/stack/TokenStack.cpp
parent73aa1e763eeb631eaaf23c236d263832678314c4 (diff)
Add not yet implemented "inherit" flag to the Stack class
Diffstat (limited to 'src/core/parser/stack/TokenStack.cpp')
-rw-r--r--src/core/parser/stack/TokenStack.cpp8
1 files changed, 4 insertions, 4 deletions
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<SyntaxDescriptor> &tokens)
+void TokenStack::pushTokens(const std::vector<SyntaxDescriptor> &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
{