quick-protobuf icon indicating copy to clipboard operation
quick-protobuf copied to clipboard

fix: .. the parser

Open FauxFaux opened this issue 4 years ago • 0 comments

The new parser has broken ./generate_modules.sh in a number of places.

As a first ... pass, fix the parser to actually error on rejections, then fix all of the .proto files the parser just rejects, due to omissions or bugs.

  • single-line comment parser was accepting no comments, because not doesn't seem to work like that
  • missed whitespace handling for } in e.g. message.
  • enums with multiple lines of comments between items
  • enums with trailing semis

FauxFaux avatar Dec 27 '21 21:12 FauxFaux