Attempt to fix: #1425: -I doesn't work properly in Windows
http://sourceforge.net/apps/trac/cppcheck/ticket/1425
This commit is contained in:
parent
40bb5144e1
commit
edf76c77fa
|
@ -1291,6 +1291,8 @@ void Preprocessor::handleIncludes(std::string &code, const std::string &filename
|
||||||
fileOpened = true;
|
fileOpened = true;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
fin.clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (headerType == 1 && !fileOpened)
|
if (headerType == 1 && !fileOpened)
|
||||||
|
|
Loading…
Reference in New Issue