diff options
Diffstat (limited to 'src/plugins/cppeditor/cpphighlighter.cpp')
| -rw-r--r-- | src/plugins/cppeditor/cpphighlighter.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/cppeditor/cpphighlighter.cpp b/src/plugins/cppeditor/cpphighlighter.cpp index f7d12b0add..511cb56c8b 100644 --- a/src/plugins/cppeditor/cpphighlighter.cpp +++ b/src/plugins/cppeditor/cpphighlighter.cpp @@ -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")) |
