Bail out on stray newlines in strings in JS mode
authorLars Knoll <lars.knoll@digia.com>
Tue, 11 Dec 2012 06:51:22 +0000 (07:51 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Tue, 11 Dec 2012 13:50:32 +0000 (14:50 +0100)
commit8077a5ea7cb8536307f24fb9b4dd605dd64ed711
tree2b573aa3712aac6fa1a6c187f8c11a7ec64508cc
parent8147bc2f70306f4dff95c933e97566e75afb18f8
Bail out on stray newlines in strings in JS mode

Still allow newlines in QML mode to keep compatibility
for existing code.

Change-Id: I11dbd5a73ea8958f5ddc199b77a919969f8a5214
Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
src/qml/qml/parser/qqmljslexer.cpp