Fix escape sequences in lexer: the capital X is not an EscapeCharacter.
authorErik Verbruggen <erik.verbruggen@digia.com>
Wed, 28 Nov 2012 13:21:21 +0000 (14:21 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Wed, 28 Nov 2012 13:39:20 +0000 (14:39 +0100)
commit0aa9fa1ba458f20b28c92e88efb991cc0937920d
treea12d6b48cb803f54416d25d7de3d2bad98771fd5
parenta8827f7c195a7e358a323af33725bb21e030e4e4
Fix escape sequences in lexer: the capital X is not an EscapeCharacter.

The ECMA test suite has a test to check that none of the characters in
the English capital alphabet are escapable (S7.8.4_A4.2_T1). Or, put
differently, paragraph 7.8.4 states that only the lower-case x is
escapable and usable for a HexEscapeSequence.

Change-Id: Ie9f73726889ee9e0165c75c9b2e006a9f2b3dbda
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
src/qml/qml/parser/qqmljslexer.cpp