aboutsummaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/parser/qdeclarativejslexer_p.h
diff options
context:
space:
mode:
authorRoberto Raggi <roberto.raggi@nokia.com>2011-09-08 12:23:16 +0200
committerQt by Nokia <qt-info@nokia.com>2011-09-19 12:07:46 +0200
commitf3a0513259e38e3104600983be81d239750a8e6e (patch)
treef163499385bf35d56fdabb5d5e7154460fdb81e1 /src/declarative/qml/parser/qdeclarativejslexer_p.h
parent3c45c63827867995277432ffa19b787c8717ccce (diff)
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>
Diffstat (limited to 'src/declarative/qml/parser/qdeclarativejslexer_p.h')
-rw-r--r--src/declarative/qml/parser/qdeclarativejslexer_p.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/declarative/qml/parser/qdeclarativejslexer_p.h b/src/declarative/qml/parser/qdeclarativejslexer_p.h
index 3080a05d07..34cd9873ae 100644
--- a/src/declarative/qml/parser/qdeclarativejslexer_p.h
+++ b/src/declarative/qml/parser/qdeclarativejslexer_p.h
@@ -193,6 +193,7 @@ private:
int _stackToken;
int _patternFlags;
+ int _tokenKind;
int _tokenLength;
int _tokenLine;