Commit 56b48c23 authored by Roberto Raggi's avatar Roberto Raggi Committed by Roberto Raggi
Browse files

Fixes: Enable ObjC support.

parent 88b4dd35
......@@ -109,6 +109,7 @@ Document::Document(const QString &fileName)
localFileName.size());
_translationUnit = new TranslationUnit(_control, fileId);
_translationUnit->setQtMocRunEnabled(true);
_translationUnit->setObjCEnabled(true);
(void) _control->switchTranslationUnit(_translationUnit);
}
......
......@@ -59,7 +59,9 @@ SimpleLexer::SimpleLexer()
_skipComments(false),
_qtMocRunEnabled(true),
_objCEnabled(false)
{ }
{
setObjCEnabled(true);
}
SimpleLexer::~SimpleLexer()
{ }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment