criccomini / proto-schema-parser

A Pure Python Protobuf Parser
MIT License
38 stars 20 forks source link

Add support for comments before syntax statements #23

Closed karabiberym closed 6 months ago

karabiberym commented 6 months ago

This pull request adds correct parsing of comments before syntax statements by adding commentDecl before the syntaxDecl within the file definition. Additionally, a unit test has been added to verify that this is working as expected. Finally, this PR closes issue #21.

criccomini commented 6 months ago

Thanks! Merged and released as 1.3.1.