| Index: third_party/protobuf/src/google/protobuf/compiler/parser.cc
|
| diff --git a/third_party/protobuf/src/google/protobuf/compiler/parser.cc b/third_party/protobuf/src/google/protobuf/compiler/parser.cc
|
| index ea792a9d8cba6150ddb8937dfd1920d6e333166a..90ded4de2144b254d6adf7da4c34d03abc6eb90d 100644
|
| --- a/third_party/protobuf/src/google/protobuf/compiler/parser.cc
|
| +++ b/third_party/protobuf/src/google/protobuf/compiler/parser.cc
|
| @@ -544,9 +544,9 @@ bool Parser::Parse(io::Tokenizer* input, FileDescriptorProto* file) {
|
| // Store the syntax into the file.
|
| if (file != NULL) file->set_syntax(syntax_identifier_);
|
| } else if (!stop_after_syntax_identifier_) {
|
| - GOOGLE_LOG(WARNING) << "No syntax specified for the proto file. "
|
| - << "Please use 'syntax = \"proto2\";' or "
|
| - << "'syntax = \"proto3\";' to specify a syntax "
|
| + GOOGLE_LOG(WARNING) << "No syntax specified for the proto file: "
|
| + << file->name() << ". Please use 'syntax = \"proto2\";' "
|
| + << "or 'syntax = \"proto3\";' to specify a syntax "
|
| << "version. (Defaulted to proto2 syntax.)";
|
| syntax_identifier_ = "proto2";
|
| }
|
|
|