Error when trying to compile proto file
bretwalker opened this issue · comments
I get the following error when trying to compile a proto file from Google:
Proto file missformed
protoc-php.php implements most of proto file syntax but not all of it. I have plans to use one provided by Google.
Hi,
I have tried to parse https://raw.githubusercontent.com/xemul/criu/master/protobuf/rpc.proto
The errors caused by:
- Parsing semicolon or ;
- Parsing /* comment */ comment
Proto file missformed here also https://github.com/egirault/googleplay-api/raw/master/googleplay.proto
I also encounter the same error. Have to replace all the block comments with line comments.
I also encounter the same question when parse openrtb.proto https://github.com/google/openrtb/blob/master/openrtb-core/src/main/protobuf/openrtb.proto
Fixed in #74.