forked from qt-creator/qt-creator
Delay the parsing of the document.
This commit is contained in:
@@ -255,6 +255,8 @@ bool TranslationUnit::parse(ParseMode mode)
|
||||
if (! isTokenized())
|
||||
tokenize();
|
||||
|
||||
f._parsed = true;
|
||||
|
||||
Parser parser(this);
|
||||
parser.setQtMocRunEnabled(f._qtMocRunEnabled);
|
||||
parser.setObjCEnabled(f._objCEnabled);
|
||||
|
||||
Reference in New Issue
Block a user