From 145ff3118cf27455180bbcff2d37b24cf32276f7 Mon Sep 17 00:00:00 2001 From: Lars Knoll Date: Wed, 1 Aug 2018 09:05:19 +0200 Subject: Simplify parsing of pragma directives We only support 'pragma Singleton' currently, so there is no need to parse the right hand side of pragma as a member expression. Change-Id: Ic0dcbedb52cb58db2fd1cc099f14fd399b7162e3 Reviewed-by: Simon Hausmann --- src/qml/compiler/qv4codegen_p.h | 1 - 1 file changed, 1 deletion(-) (limited to 'src/qml/compiler/qv4codegen_p.h') diff --git a/src/qml/compiler/qv4codegen_p.h b/src/qml/compiler/qv4codegen_p.h index 337c4dbfe3..92f8b0b13d 100644 --- a/src/qml/compiler/qv4codegen_p.h +++ b/src/qml/compiler/qv4codegen_p.h @@ -570,7 +570,6 @@ protected: bool visit(AST::UiParameterList *ast) override; bool visit(AST::UiProgram *ast) override; bool visit(AST::UiQualifiedId *ast) override; - bool visit(AST::UiQualifiedPragmaId *ast) override; bool visit(AST::VariableDeclarationList *ast) override; bool visit(AST::PatternElement *ast) override; -- cgit v1.2.3