From be79585f0e81b27ce3dc6b94f1f502ff86dcef68 Mon Sep 17 00:00:00 2001 From: Andreas Stöckel Date: Sun, 12 Apr 2015 17:34:09 +0200 Subject: Pass "isImplicit" flag to Handler::fieldStart --- src/core/parser/stack/Handler.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/core/parser/stack/Handler.cpp') 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) -- cgit v1.2.3