| Index: third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_extension.cc
|
| diff --git a/third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_extension.cc b/third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_extension.cc
|
| index 3f7ab9d39236dff2de003ddb0994bf9d98c9c479..d0de1eca34644e73b7470cd0c9402b3263d5cfd8 100644
|
| --- a/third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_extension.cc
|
| +++ b/third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_extension.cc
|
| @@ -63,7 +63,7 @@ void ExtensionGenerator::GenerateMembersHeader(io::Printer* printer) {
|
| vars["method_name"] = method_name_;
|
| SourceLocation location;
|
| if (descriptor_->GetSourceLocation(&location)) {
|
| - vars["comments"] = BuildCommentsString(location);
|
| + vars["comments"] = BuildCommentsString(location, true);
|
| } else {
|
| vars["comments"] = "";
|
| }
|
| @@ -85,7 +85,7 @@ void ExtensionGenerator::GenerateStaticVariablesInitialization(
|
| if (descriptor_->containing_type()->options().message_set_wire_format())
|
| options.push_back("GPBExtensionSetWireFormat");
|
|
|
| - vars["options"] = BuildFlagsString(options);
|
| + vars["options"] = BuildFlagsString(FLAGTYPE_EXTENSION, options);
|
|
|
| ObjectiveCType objc_type = GetObjectiveCType(descriptor_);
|
| string singular_type;
|
|
|