diff options
author | Simon Hausmann <simon.hausmann@qt.io> | 2018-08-13 15:40:20 +0200 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@qt.io> | 2018-08-14 17:45:46 +0000 |
commit | 859b78e063947309932c0d7c154736227ed903ae (patch) | |
tree | dcb3471dd6ae5e53617b645e034b2bc084940773 /src/qml/parser | |
parent | 8bebd12c1b0dc2565b80b1d0db2c39e451f5b751 (diff) |
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 <lars.knoll@qt.io>
Diffstat (limited to 'src/qml/parser')
-rw-r--r-- | src/qml/parser/qqmljsast_p.h | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |