From 22593adeac0c4f837287453e221b1cce7485300d Mon Sep 17 00:00:00 2001 From: Reijo Tomperi Date: Sat, 24 Jan 2009 20:34:16 +0000 Subject: [PATCH] Fix ticket #57 (wrong path in error message) --- src/tokenize.cpp | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/tokenize.cpp b/src/tokenize.cpp index 070e6dc71..9779a3576 100644 --- a/src/tokenize.cpp +++ b/src/tokenize.cpp @@ -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;