Skip to content

fails parsing with custom options in messages, enums, ... #5

@tmp251

Description

@tmp251

Hi
The project fails at compiling protos with option at messages, enums, services levels. we are trying to do some custom code generating based on our custom options.

https://developers.google.com/protocol-buffers/docs/proto3#options

Some options are message-level options, meaning they should be written inside message definitions. Some options are field-level options, meaning they should be written inside field definitions. Options can also be written on enum types, enum values, service types, and service methods

a proper syntax semantic based on anterl4 grammar is in here :https://github.com/antlr/grammars-v4/blob/master/protobuf3/Protobuf3.g4

If you support this it would be great.
Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions