From 859b78e063947309932c0d7c154736227ed903ae Mon Sep 17 00:00:00 2001 From: Simon Hausmann Date: Mon, 13 Aug 2018 15:40:20 +0200 Subject: Fix multi variable module import lists Select the correct head when finishing the linked list for ImportList AST nodes. Change-Id: I34ae2ccfd0e969dbd92ce2458de019bb02046aa5 Reviewed-by: Lars Knoll --- src/qml/parser/qqmljsast_p.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/qml/parser') diff --git a/src/qml/parser/qqmljsast_p.h b/src/qml/parser/qqmljsast_p.h index 9d82e9546b..e344dd4a28 100644 --- a/src/qml/parser/qqmljsast_p.h +++ b/src/qml/parser/qqmljsast_p.h @@ -2391,7 +2391,7 @@ public: ImportsList *finish() { - ImportsList *head = this; + ImportsList *head = next; next = nullptr; return head; } -- cgit v1.2.3