Fixes: Highlighting of objc #import directive.

This commit is contained in:
Roberto Raggi
2009-02-05 13:01:35 +01:00
committed by Roberto Raggi
parent 4ffed7a119
commit bb095fadd2

View File

@@ -230,6 +230,8 @@ bool CppHighlighter::isPPKeyword(const QStringRef &text) const
case 6:
if (text.at(0) == 'i' && text == QLatin1String("ifndef"))
return true;
if (text.at(0) == 'i' && text == QLatin1String("import"))
return true;
else if (text.at(0) == 'd' && text == QLatin1String("define"))
return true;
else if (text.at(0) == 'p' && text == QLatin1String("pragma"))