Thanks for fixing the docs, Henner. On Sat, Aug 29, 2009 at 6:59 PM, Henner Zeller <h.zel...@acm.org> wrote:
> And yeah, documentation needs to be fixed. > > On Aug 28, 2009 1:35 PM, "Omnifarious" <omnifari...@gmail.com> wrote: > > > An example from > http://code.google.com/apis/protocolbuffers/docs/proto.html > produces an error when fed into protoc: > > $ protoc example.proto --cpp_out=. > example.proto:8:20: Expected "{". > example.proto:15:1: Reached end of input in message definition > (missing '}'). > $ cat example.proto > message Outer { // Level 0 > message MiddleAA { // Level 1 > message Inner { // Level 2 > required int64 ival = 1; > optional bool booly = 2; > } > } > message MiddleBB = { // Level 1 > message Inner = { // Level 2 > required int32 ival = 1; > optional bool booly = 2; > } > } > } > > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Protocol Buffers" group. To post to this group, send email to protobuf@googlegroups.com To unsubscribe from this group, send email to protobuf+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/protobuf?hl=en -~----------~----~----~----~------~----~------~--~---