Closed knoguchi closed 7 years ago
That is: while it would be nice to upgrade, no one has had need or time to do that, so there is no active plan. But if anyone has time & itch, I would help with PR.
I just noticed ProtoParser supports the trailing / comment /. There is a test case.
The fix was made in the v4.0.3 (latest version)
Version 4.0.3 (2015-06-27)
- Fix: Support trailing star-style comments (
/* hi */
) on enum values and fields.
I noticed that you've upgraded in the master branch on the March 31st. So the problem was already fixed when I reported. I was testing 2.8 branch. We can close this issue.
@knoguchi Ah. Thank you for verifying. Given this, I will backport version upgrade and add unit test. Thanks!
The Proto parser fails to parse / / comment. I modified the SchemaParsingTest to include the comment like this
Then run the test
I know the problem is ProtoParser, and it's deprecated. Are you going to migrate it to Wire Protocol Buffers ? As far as I see the WPB SyntaxReader class knows the comment syntax.