summaryrefslogtreecommitdiff
path: root/src/core/parser
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/parser')
-rw-r--r--src/core/parser/stack/Stack.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/parser/stack/Stack.cpp b/src/core/parser/stack/Stack.cpp
index 23c857a..bd16b43 100644
--- a/src/core/parser/stack/Stack.cpp
+++ b/src/core/parser/stack/Stack.cpp
@@ -802,8 +802,8 @@ void StackImpl::handleFieldEnd(bool endRange)
if (info.range && endRange) {
if (!info.hadDefaultField) {
bool isDefault = true;
- info.handler->fieldStart(isDefault, true);
- info.fieldStart(true, true, true);
+ bool valid = info.handler->fieldStart(isDefault, true);
+ info.fieldStart(true, true, valid);
}
endCurrentHandler();
return;