summaryrefslogtreecommitdiff
path: root/src/core/parser/stack/TokenStack.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/parser/stack/TokenStack.hpp')
-rw-r--r--src/core/parser/stack/TokenStack.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/core/parser/stack/TokenStack.hpp b/src/core/parser/stack/TokenStack.hpp
index 667b976..32f181a 100644
--- a/src/core/parser/stack/TokenStack.hpp
+++ b/src/core/parser/stack/TokenStack.hpp
@@ -55,8 +55,10 @@ public:
*
* @param tokens is a list of SyntaxDescriptor instances that should be
* stored on the stack.
+ * @param inherit if set to true, combines the given tokens with the tokens
+ * from the last stack level.
*/
- void pushTokens(const std::vector<SyntaxDescriptor> &tokens);
+ void pushTokens(const std::vector<SyntaxDescriptor> &tokens, bool inherit);
/**
* Removes the previously pushed list of tokens from the stack.