summaryrefslogtreecommitdiff
path: root/src/core/parser/stack/Handler.cpp
diff options
context:
space:
mode:
authorAndreas Stöckel <astoecke@techfak.uni-bielefeld.de>2015-04-12 17:34:09 +0200
committerAndreas Stöckel <astoecke@techfak.uni-bielefeld.de>2016-04-25 22:24:15 +0200
commitbe79585f0e81b27ce3dc6b94f1f502ff86dcef68 (patch)
treebce664b2d1827e4e7d12f674c51471d586fd3b2c /src/core/parser/stack/Handler.cpp
parentebc411f2bc9cb7b1742ed5211d36a2b2ac57cdb5 (diff)
Pass "isImplicit" flag to Handler::fieldStart
Diffstat (limited to 'src/core/parser/stack/Handler.cpp')
-rw-r--r--src/core/parser/stack/Handler.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/core/parser/stack/Handler.cpp b/src/core/parser/stack/Handler.cpp
index 69bfc76..850da74 100644
--- a/src/core/parser/stack/Handler.cpp
+++ b/src/core/parser/stack/Handler.cpp
@@ -146,7 +146,8 @@ void EmptyHandler::end()
// Do nothing if a command ends
}
-bool EmptyHandler::fieldStart(bool &isDefaultField, size_t fieldIndex)
+bool EmptyHandler::fieldStart(bool &isDefaultField, bool isImplicit,
+ size_t fieldIndex)
{
// Accept any field
return true;
@@ -191,7 +192,8 @@ void StaticHandler::end()
// Do nothing here
}
-bool StaticHandler::fieldStart(bool &isDefault, size_t fieldIdx)
+bool StaticHandler::fieldStart(bool &isDefault, bool isImplicit,
+ size_t fieldIdx)
{
// Return true if either the default field is requested or the field index
// is zero. This simulates that there is exactly one field (a default field)