Fix ticket #57 (wrong path in error message)

This commit is contained in:
Reijo Tomperi 2009-01-24 20:34:16 +00:00
parent 5acc6aca31
commit 22593adeac
1 changed files with 0 additions and 8 deletions

View File

@ -272,14 +272,6 @@ void Tokenizer::tokenize(std::istream &code, const char FileName[])
if (line.find("\"") != std::string::npos)
line.erase(line.find("\""));
// Relative path..
if (_files.back().find_first_of("\\/") != std::string::npos)
{
std::string path = _files.back();
path.erase(1 + path.find_last_of("\\/"));
line = path + line;
}
// Has this file been tokenized already?
++lineno;
bool foundOurfile = false;