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/Callbacks.hpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/core/parser/stack/Callbacks.hpp') diff --git a/src/core/parser/stack/Callbacks.hpp b/src/core/parser/stack/Callbacks.hpp index dfe41fc..12796ed 100644 --- a/src/core/parser/stack/Callbacks.hpp +++ b/src/core/parser/stack/Callbacks.hpp @@ -86,8 +86,10 @@ public: * * @param tokens is a list of TokenSyntaxDescriptor instances that should be * stored on the stack. + * @param inherit if true, the previous tokens descriptors are extended. */ - virtual void pushTokens(const std::vector &tokens) = 0; + virtual void pushTokens(const std::vector &tokens, + bool inherit) = 0; /** * Removes the previously pushed list of tokens from the stack. -- cgit v1.2.3