Fix the implementation of Lexer::tokenText().
authorRoberto Raggi <roberto.raggi@nokia.com>
Thu, 8 Sep 2011 10:23:16 +0000 (12:23 +0200)
committerQt by Nokia <qt-info@nokia.com>
Mon, 19 Sep 2011 10:07:46 +0000 (12:07 +0200)
commitf3a0513259e38e3104600983be81d239750a8e6e
treef163499385bf35d56fdabb5d5e7154460fdb81e1
parent3c45c63827867995277432ffa19b787c8717ccce
Fix the implementation of Lexer::tokenText().

Lexer::tokenText() should return the contents of the
string literal without the quotes.

Change-Id: I968ca2e5142d8c55c75990c24380d2faa9b313a3
Reviewed-on: http://codereview.qt-project.org/4440
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Kent Hansen <kent.hansen@nokia.com>
src/declarative/qml/parser/qdeclarativejslexer.cpp
src/declarative/qml/parser/qdeclarativejslexer_p.h