Merge pull request #1291 from sergiocampama/devel
Adds more information to Objective C error.
This commit is contained in:
commit
44fdead9d2
@ -969,7 +969,8 @@ bool ValidateObjCClassPrefix(const FileDescriptor* file,
|
||||
} else {
|
||||
// ...it didn't match!
|
||||
*out_error = "error: Expected 'option objc_class_prefix = \"" +
|
||||
package_match->second + "\";' in '" + file->name() + "'";
|
||||
package_match->second + "\";' for package '" + package +
|
||||
"' in '" + file->name() + "'";
|
||||
if (prefix.length()) {
|
||||
*out_error += "; but found '" + prefix + "' instead";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user