wyzssw / protobuf-dt

Automatically exported from code.google.com/p/protobuf-dt
0 stars 0 forks source link

Custom options fields can have a comma at the end #188

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Example:

syntax = "proto2";

import "google/protobuf/descriptor.proto";

extend google.protobuf.MessageOptions {
  optional ValuesOption values = 20241259;
}

message ValuesOption {
  repeated Value value = 1;
}

message Value {
  required string name = 1;
}

message ApiProto {
  option (values) = {
    value: { name: "CommonParametersSchemaInterpreter" },
    value: { name: "ExternalDescriptorRegistryInterpreter" },
    value: { name: "ErrorFormatMapInterpreter" },
  };
}

Original issue reported on code.google.com by alr...@google.com on 21 Jan 2012 at 12:32

GoogleCodeExporter commented 9 years ago
rd21d0e9e0877

Original comment by alr...@google.com on 21 Jan 2012 at 12:50