silentorbit / protobuf

C# code generator for reading and writing the protocol buffers format
https://silentorbit.com/protobuf/
MIT License
307 stars 105 forks source link

Minor fixes to handle a .proto option and show a missing CLI option #12

Closed wislon closed 11 years ago

wislon commented 11 years ago

I used your code generator to process a realtime GTFS transit feed protocol file (see https://developers.google.com/transit/gtfs-realtime/gtfs-realtime-proto) - it's saved me at least a couple of days work! :)

However it did trip over one of the options in the .proto file (a syntax option), which your processor didn't handle. It's not something that the processor requires, but it did get in the way, so I've added a small fix for it (see CodeGenerator/ProtoParser.cs lines 95-99).

hultqvist commented 11 years ago

Thanks

I have picked your commits into the repo as seen here https://github.com/hultqvist/ProtoBuf/commit/4fcac07839d1b6549e76caeb605c536c2526eae8