diff --git a/support/tools/TableGen/FileLexer.l b/support/tools/TableGen/FileLexer.l index a98a88170ea..ad4bd77703a 100644 --- a/support/tools/TableGen/FileLexer.l +++ b/support/tools/TableGen/FileLexer.l @@ -50,7 +50,7 @@ std::ostream &err() { return std::cerr << "At end of input: "; for (unsigned i = 0, e = IncludeStack.size()-1; i != e; ++i) - std::cerr << "IncFrom " << IncludeStack[i].Filename << ":" + std::cerr << "Included from " << IncludeStack[i].Filename << ":" << IncludeStack[i].LineNo << ":\n"; return std::cerr << "Parsing " << IncludeStack.back().Filename << ":" << Filelineno << ": "; diff --git a/utils/TableGen/FileLexer.l b/utils/TableGen/FileLexer.l index a98a88170ea..ad4bd77703a 100644 --- a/utils/TableGen/FileLexer.l +++ b/utils/TableGen/FileLexer.l @@ -50,7 +50,7 @@ std::ostream &err() { return std::cerr << "At end of input: "; for (unsigned i = 0, e = IncludeStack.size()-1; i != e; ++i) - std::cerr << "IncFrom " << IncludeStack[i].Filename << ":" + std::cerr << "Included from " << IncludeStack[i].Filename << ":" << IncludeStack[i].LineNo << ":\n"; return std::cerr << "Parsing " << IncludeStack.back().Filename << ":" << Filelineno << ": ";