Commit c552e26b authored by Rhys Weatherley's avatar Rhys Weatherley
Browse files

Recognize all keywords during autocompletion

parent 16862432
......@@ -631,7 +631,7 @@ int CodeCompletion::startCompletion(TextEditor::ITextEditable *editor)
// parse the expression
GLSL::Engine engine;
GLSL::Parser parser(&engine, code, code.size(), GLSL::Lexer::Variant_GLSL_Qt);
GLSL::Parser parser(&engine, code, code.size(), GLSL::Lexer::Variant_All);
GLSL::ExpressionAST *expr = parser.parseExpression();
#if 0
......
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