aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/compiler/qv4codegen.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/qml/compiler/qv4codegen.cpp')
-rw-r--r--src/qml/compiler/qv4codegen.cpp14
1 files changed, 13 insertions, 1 deletions
diff --git a/src/qml/compiler/qv4codegen.cpp b/src/qml/compiler/qv4codegen.cpp
index 303d001246..a4da5ce116 100644
--- a/src/qml/compiler/qv4codegen.cpp
+++ b/src/qml/compiler/qv4codegen.cpp
@@ -937,7 +937,13 @@ bool Codegen::visit(UiImport *)
return false;
}
-bool Codegen::visit(UiImportList *)
+bool Codegen::visit(UiHeaderItemList *)
+{
+ assert(!"unreachable");
+ return false;
+}
+
+bool Codegen::visit(UiPragma *)
{
assert(!"unreachable");
return false;
@@ -973,6 +979,12 @@ bool Codegen::visit(UiQualifiedId *)
return false;
}
+bool Codegen::visit(UiQualifiedPragmaId *)
+{
+ assert(!"unreachable");
+ return false;
+}
+
bool Codegen::visit(VariableDeclaration *)
{
assert(!"unreachable");