diff options
author | Andreas Stöckel <astoecke@techfak.uni-bielefeld.de> | 2015-03-15 14:00:19 +0100 |
---|---|---|
committer | Andreas Stöckel <astoecke@techfak.uni-bielefeld.de> | 2016-04-25 22:19:27 +0200 |
commit | 683eeb00d62121150e9e311822226bdddd932569 (patch) | |
tree | 07cdd964fa3e8c893230e5a26d13969614b9e719 /src/core/parser/stack/Handler.hpp | |
parent | 73aa1e763eeb631eaaf23c236d263832678314c4 (diff) |
Add not yet implemented "inherit" flag to the Stack class
Diffstat (limited to 'src/core/parser/stack/Handler.hpp')
-rw-r--r-- | src/core/parser/stack/Handler.hpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/core/parser/stack/Handler.hpp b/src/core/parser/stack/Handler.hpp index d85848a..1149ed2 100644 --- a/src/core/parser/stack/Handler.hpp +++ b/src/core/parser/stack/Handler.hpp @@ -166,8 +166,10 @@ protected: * * @param tokens is a list of TokenSyntaxDescriptor instances that should be * stored on the stack. + * @param inherit if true, the last tokens on the stack are extended and not + * overriden. */ - void pushTokens(const std::vector<SyntaxDescriptor> &tokens); + void pushTokens(const std::vector<SyntaxDescriptor> &tokens, bool inherit); /** * Calls the corresponding function in the HandlerCallbacks instance. |