summaryrefslogtreecommitdiff
path: root/src/plugins/glsleditor/glslcodecompletion.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/glsleditor/glslcodecompletion.cpp')
-rw-r--r--src/plugins/glsleditor/glslcodecompletion.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/glsleditor/glslcodecompletion.cpp b/src/plugins/glsleditor/glslcodecompletion.cpp
index 387a9f5e6a..9ae1505918 100644
--- a/src/plugins/glsleditor/glslcodecompletion.cpp
+++ b/src/plugins/glsleditor/glslcodecompletion.cpp
@@ -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