Fix line/column in import related error messages with the new compiler
authorSimon Hausmann <simon.hausmann@digia.com>
Mon, 30 Sep 2013 04:36:35 +0000 (06:36 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Mon, 30 Sep 2013 16:21:42 +0000 (18:21 +0200)
commitd05151d735540f22ee3af75fdc7b2848dde2fe6f
treecb4168d924a768c592fb72713522ae6caf918917
parent2ec852ada2a51e1da47a2ccbb93104fc7938bfc4
Fix line/column in import related error messages with the new compiler

Grab the line/column from the import token, not the import id token,
as the latter is not always present in all import statements.

Change-Id: Iaa0c2f1d60422fb779fa7a6c4fd1c895fa3f777b
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
src/qml/compiler/qqmlcodegenerator.cpp