Fixed icheck build.

This commit is contained in:
Erik Verbruggen
2010-04-23 15:25:05 +02:00
parent 25837759ea
commit a8fc1f48d4
4 changed files with 206 additions and 231 deletions

View File

@@ -622,11 +622,12 @@ void CppPreprocessor::sourceNeeded(QString &fileName, IncludeType type, unsigned
(void) switchDocument(previousDoc);
#else
(void) switchDocument(previousDoc);
Document::CheckMode mode = Document::FastCheck;
mode = Document::FullCheck;
doc->parse();
doc->check(mode);
(void) switchDocument(previousDoc);
#endif
}