summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/parser/javascriptast_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/declarative/qml/parser/javascriptast_p.h')
-rw-r--r--src/declarative/qml/parser/javascriptast_p.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/declarative/qml/parser/javascriptast_p.h b/src/declarative/qml/parser/javascriptast_p.h
index 9e5e3e4..87105c3 100644
--- a/src/declarative/qml/parser/javascriptast_p.h
+++ b/src/declarative/qml/parser/javascriptast_p.h
@@ -455,7 +455,7 @@ public:
ElementList(Elision *e, ExpressionNode *expr):
elision (e), expression (expr), next (this)
- { kind = K; }
+ { kind = K; }
ElementList(ElementList *previous, Elision *e, ExpressionNode *expr):
elision (e), expression (expr)
@@ -1739,8 +1739,7 @@ public:
UiImport(JavaScriptNameIdImpl *fileName)
: fileName(fileName)
- {
- }
+ { kind = K; }
virtual void accept0(Visitor *visitor);
@@ -1764,6 +1763,7 @@ public:
UiImportList(UiImportList *previous, UiImport *import)
: import(import)
{
+ kind = K;
next = previous->next;
previous->next = this;
}