summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBenjamin Paassen <bpaassen@techfak.uni-bielefeld.de>2015-03-04 14:46:39 +0100
committerBenjamin Paassen <bpaassen@techfak.uni-bielefeld.de>2015-03-04 14:46:39 +0100
commitc4d23a8699025e60ace2926189a943e8b6ef96c0 (patch)
treecf6901c87f6c0972953bde287c1c1fb0fea2cb53 /src
parent3702ca7f315333eeedec40ca48a31f0ad6fb850d (diff)
fixed a bug in Stack.cpp which lead to wrong annotation handling if the annotation has no content.
Diffstat (limited to 'src')
-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;