Fix build after commit 9d7b27f5bf44a46707e6d50ebf51ecf73f91dd1b in qtdeclarative
authorSimon Hausmann <simon.hausmann@theqtcompany.com>
Fri, 9 Jan 2015 09:38:37 +0000 (10:38 +0100)
committerStephan Binner <stephan.binner@basyskom.com>
Mon, 12 Jan 2015 08:00:05 +0000 (09:00 +0100)
commit82570bd5af4c6bcd2eeb6f4d356a56770bab65ef
tree39c89698fc9fca4f2d020b5d4312b1f88b313038
parent2157653eb9ecf0bfeb5acd6125464d4377153311
Fix build after commit 9d7b27f5bf44a46707e6d50ebf51ecf73f91dd1b in qtdeclarative

The commit integrates the .pragma and .import parsing in JavaScript files
directly into the lexer. Previously the QML engine had a separate function
for parsing those directives and replacing them with whitespace in the source.
Similarly the code here tried to do the same. Fortunately this is not necessary
anymore as the lexer now understands those directives and unless told otherwise
will simply ignore them.

Change-Id: If9888deb2c82a15d1727f4254d897fc9e7bcb832
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
src/linguist/lupdate/qdeclarative.cpp