Commit 140b5029 authored by hjk's avatar hjk

C++: Highlight argument to gcc's #include_next extension properly

Change-Id: I90097e11689fbbb964fc4344a1e3ba60c718a1cf
Reviewed-by: default avatarNikolai Kosjar <nikolai.kosjar@digia.com>
parent fcb7e80f
......@@ -134,6 +134,9 @@ QList<Token> SimpleLexer::operator()(const QString &text, int state)
else if (inPreproc && tokens.size() == 1 && tk.is(T_IDENTIFIER) &&
spell == QLatin1String("include"))
lex.setScanAngleStringLiteralTokens(true);
else if (inPreproc && tokens.size() == 1 && tk.is(T_IDENTIFIER) &&
spell == QLatin1String("include_next"))
lex.setScanAngleStringLiteralTokens(true);
else if (_objCEnabled
&& inPreproc && tokens.size() == 1 && tk.is(T_IDENTIFIER) &&
spell == QLatin1String("import"))
......
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