mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-02 20:15:34 +00:00
flatc now outputs the filename with error messages.
Bug: 16683956 Change-Id: Id8435e868899ca0bbf0add84852a54bfaea63b4a Tested: on OS X.
This commit is contained in:
@@ -172,7 +172,7 @@ int main(int argc, const char *argv[]) {
|
||||
contents.length());
|
||||
} else {
|
||||
if (!parser.Parse(contents.c_str(), file_it->c_str()))
|
||||
Error(parser.error_.c_str());
|
||||
Error((*file_it + ": " + parser.error_).c_str());
|
||||
}
|
||||
|
||||
std::string filebase = flatbuffers::StripPath(
|
||||
|
||||
Reference in New Issue
Block a user