Skip to content
Snippets Groups Projects
Commit 51ba48ae authored by Wouter van Oortmerssen's avatar Wouter van Oortmerssen
Browse files

flatc now outputs the filename with error messages.

Bug: 16683956
Change-Id: Id8435e868899ca0bbf0add84852a54bfaea63b4a
Tested: on OS X.
parent c553b6b9
No related branches found
No related tags found
No related merge requests found
......@@ -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(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment