diff options
author | Andreas Stöckel <astoecke@techfak.uni-bielefeld.de> | 2015-03-31 23:57:59 +0200 |
---|---|---|
committer | Andreas Stöckel <astoecke@techfak.uni-bielefeld.de> | 2016-04-25 22:19:28 +0200 |
commit | 8c85e1c10085d6d634e35a63f0fc7b68a1b28eff (patch) | |
tree | a09c12c3d0ed3269e6bc1f789da95ef3967b36d1 /src/core/parser/stack/DocumentHandler.cpp | |
parent | 5aed7c46cff192311a208dc5e9cf7f81a40771a8 (diff) |
Remove "inherit" flag in TokenStack, add tiny unit test for TokenStack, temporarily remove pushTokens and popTokens calls from DocumentChildHandler
Diffstat (limited to 'src/core/parser/stack/DocumentHandler.cpp')
-rw-r--r-- | src/core/parser/stack/DocumentHandler.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/core/parser/stack/DocumentHandler.cpp b/src/core/parser/stack/DocumentHandler.cpp index 7a81186..a7fbaa8 100644 --- a/src/core/parser/stack/DocumentHandler.cpp +++ b/src/core/parser/stack/DocumentHandler.cpp @@ -137,9 +137,6 @@ void DocumentChildHandler::pushDocumentField(Handle<Node> parent, new DocumentField(manager(), parent, fieldIdx, transparent); field->setLocation(location()); scope().push(field); - - // Push all possible tokens onto the stack - pushTokens(fieldDescr->getPermittedTokens(), true); } void DocumentChildHandler::popDocumentField() @@ -147,9 +144,6 @@ void DocumentChildHandler::popDocumentField() // Pop the field from the scope, make sure it actually is a DocumentField assert(scope().getLeaf()->isa(&RttiTypes::DocumentField)); scope().pop(logger()); - - // Pop the registered tokens from the stack - popTokens(); } void DocumentChildHandler::createPath(const NodeVector<Node> &path, |