Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for syntax tag in .proto #52

Closed
lpgauth opened this issue Apr 5, 2016 · 2 comments
Closed

Add support for syntax tag in .proto #52

lpgauth opened this issue Apr 5, 2016 · 2 comments

Comments

@lpgauth
Copy link
Contributor

lpgauth commented Apr 5, 2016

Hi,
I'm currently experimenting with protobuf 3.0. It would be nice to add support for syntax = "proto2"; or syntax = "proto3"; to specify a syntax version. This is part of protobuf 3.0-beta2.

Cheers,
LP

@tomas-abrahamsson
Copy link
Owner

Good point. Support for proto3 is still mostly to do, but in any case, the syntax statement ought to be supported, so I added support for it in 3.20.2. However, it only recognizes "proto2" so far. For now, specifying "proto3" will cause a parse time error, until more proto3 support is in place.

@lpgauth
Copy link
Contributor Author

lpgauth commented Apr 8, 2016

Perfect, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants