Open awalterschulze opened 9 years ago
That's not an extension. It's a file-level option. Yes, that isn't parsed yet.
Ok sorry, I think of it as an extension on the file options.
That's fine. It's precision terminology because these are all overlapping concepts. Custom options are implemented as extensions to specific descriptor messages.
The really nasty consequence of this is that gotoc can't set the generated Go package name.
option go_package = "foo";
It seems like it is still struggling to parse extensions.
$ gotoc puddingmilkshake.proto puddingmilkshake.proto:7: got "gogoproto.populate_all", want "="
It should probably give some import error about not being able to find the import for import "github.com/gogo/protobuf/gogoproto/gogo.proto";
Here is a link to the file. https://github.com/katydid/katydid/blob/master/asm/test/puddingmilkshake.proto