[protobuf] comiler error from generated .proto file

2011-07-08 Thread Lars Schouw
I am getteing an error error CS1001: Identifier expected when I generate a .cs file from this .proto file. How can I fix this and make it compile? person.proto message Person { required int32 id = 1; optional string name = 2; optional string motto = 3 [default=When the cat is away, the mouse

Re: [protobuf] comiler error from generated .proto file

2011-07-08 Thread Jason Hsueh
You'll have to check with the developer of the C# implementation for support, but it appears that this code is the initialization of the member to the default value. My guess is the implementation's code generator looks up the enum name of the default value, and assumes that the default value is