diff options
author | nedol <nedol@yandex-team.ru> | 2022-02-10 16:47:54 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:47:54 +0300 |
commit | d98624f26e8ea04f7ff772f8b12b694b2e59d65b (patch) | |
tree | 5a1810dfd9427dc23a9e6be4dbe83bf5f4212829 | |
parent | e72b2fbecff9bceacda41e0dde32e742cfb31592 (diff) | |
download | ydb-d98624f26e8ea04f7ff772f8b12b694b2e59d65b.tar.gz |
Restoring authorship annotation for <nedol@yandex-team.ru>. Commit 1 of 2.
-rw-r--r-- | contrib/libs/protobuf/src/google/protobuf/text_format.cc | 14 |
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 93a2ea8ed3..96e9f4f9c0 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) { |