aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/protobuf
diff options
context:
space:
mode:
authornedol <nedol@yandex-team.ru>2022-02-10 16:47:54 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:47:54 +0300
commit7a839432184dcd989efaeccf678e4238d71bd9b0 (patch)
treec0748b5dcbade83af788c0abfa89c0383d6b779c /contrib/libs/protobuf
parentd98624f26e8ea04f7ff772f8b12b694b2e59d65b (diff)
downloadydb-7a839432184dcd989efaeccf678e4238d71bd9b0.tar.gz
Restoring authorship annotation for <nedol@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'contrib/libs/protobuf')
-rw-r--r--contrib/libs/protobuf/src/google/protobuf/text_format.cc14
1 files changed, 7 insertions, 7 deletions
diff --git a/contrib/libs/protobuf/src/google/protobuf/text_format.cc b/contrib/libs/protobuf/src/google/protobuf/text_format.cc
index 96e9f4f9c0..93a2ea8ed3 100644
--- a/contrib/libs/protobuf/src/google/protobuf/text_format.cc
+++ b/contrib/libs/protobuf/src/google/protobuf/text_format.cc
@@ -524,16 +524,16 @@ class TextFormat::Parser::ParserImpl {
// start with "{" or "<" which indicates the beginning of a message body.
// If there is no ":" or there is a "{" or "<" after ":", this field has
// to be a message or the input is ill-formed.
- bool skipResult;
+ bool skipResult;
if (TryConsume(":") && !LookingAt("{") && !LookingAt("<")) {
- skipResult = SkipFieldValue();
+ skipResult = SkipFieldValue();
} else {
- skipResult = SkipFieldMessage();
+ skipResult = SkipFieldMessage();
}
- // For historical reasons, fields may optionally be separated by commas or
- // semicolons.
- TryConsume(";") || TryConsume(",");
- return skipResult;
+ // For historical reasons, fields may optionally be separated by commas or
+ // semicolons.
+ TryConsume(";") || TryConsume(",");
+ return skipResult;
}
if (singular_overwrite_policy_ == FORBID_SINGULAR_OVERWRITES) {