ruby-protobuf icon indicating copy to clipboard operation
ruby-protobuf copied to clipboard

package name cannot be message

Open benzheren opened this issue 13 years ago • 0 comments

In the .proto file, the package name cannot be 'message', otherwise, it throws parsing error

racc/parser.rb:347:in on_error': (Racc::ParseError) parse error on value :message ("message") from proto.y:194:inscan' from racc/parser.rb:152:in _racc_yyparse_c' from racc/parser.rb:152:inyyparse' from proto.y:175:in parse' from /Users/hzr/.rvm/gems/ruby-1.9.2-p180@goldfish/gems/ruby_protobuf-0.4.11/lib/protobuf/compiler/compiler.rb:23:inblock in create_message' from /Users/hzr/.rvm/gems/ruby-1.9.2-p180@goldfish/gems/ruby_protobuf-0.4.11/lib/protobuf/compiler/compiler.rb:22:in open' from /Users/hzr/.rvm/gems/ruby-1.9.2-p180@goldfish/gems/ruby_protobuf-0.4.11/lib/protobuf/compiler/compiler.rb:22:increate_message' from /Users/hzr/.rvm/gems/ruby-1.9.2-p180@goldfish/gems/ruby_protobuf-0.4.11/lib/protobuf/compiler/compiler.rb:13:in compile' from /Users/hzr/.rvm/gems/ruby-1.9.2-p180@goldfish/gems/ruby_protobuf-0.4.11/lib/protobuf/compiler/compiler.rb:9:incompile' from /Users/hzr/.rvm/gems/ruby-1.9.2-p180@goldfish/gems/ruby_protobuf-0.4.11/bin/rprotoc:40:in <top (required)>' from /Users/hzr/.rvm/gems/ruby-1.9.2-p180@goldfish/bin/rprotoc:19:inload' from /Users/hzr/.rvm/gems/ruby-1.9.2-p180@goldfish/bin/rprotoc:19:in `

'

benzheren avatar Aug 11 '11 07:08 benzheren