Fixed #2033 (all inline suppressions fail with relative paths)
This commit is contained in:
parent
7e67bb53b8
commit
de3b9f610a
|
@ -1534,7 +1534,8 @@ void Preprocessor::handleIncludes(std::string &code, const std::string &filePath
|
||||||
|
|
||||||
if (fileOpened)
|
if (fileOpened)
|
||||||
{
|
{
|
||||||
std::string tempFile = getFileLister()->simplifyPath(filename.c_str());
|
filename = getFileLister()->simplifyPath(filename.c_str());
|
||||||
|
std::string tempFile = filename;
|
||||||
std::transform(tempFile.begin(), tempFile.end(), tempFile.begin(), tolowerWrapper);
|
std::transform(tempFile.begin(), tempFile.end(), tempFile.begin(), tolowerWrapper);
|
||||||
if (handledFiles.find(tempFile) != handledFiles.end())
|
if (handledFiles.find(tempFile) != handledFiles.end())
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue