summaryrefslogtreecommitdiff
path: root/src/shared/qscripthighlighter
diff options
context:
space:
mode:
authorRoberto Raggi <roberto.raggi@nokia.com>2009-03-31 11:00:42 +0200
committerRoberto Raggi <roberto.raggi@nokia.com>2009-03-31 11:30:57 +0200
commit05d2cd60006af18a5c8188a712d074ba081b60d8 (patch)
treeb4196a867a1febbaa8f00b6b86be3a6ec7fe172a /src/shared/qscripthighlighter
parentd462696cf813cb14bcb36f2813e537ba38d19ae8 (diff)
downloadqt-creator-05d2cd60006af18a5c8188a712d074ba081b60d8.tar.gz
String state does not propagate!
Diffstat (limited to 'src/shared/qscripthighlighter')
-rw-r--r--src/shared/qscripthighlighter/qscripthighlighter.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/shared/qscripthighlighter/qscripthighlighter.cpp b/src/shared/qscripthighlighter/qscripthighlighter.cpp
index 554be62bc2..5b07644e01 100644
--- a/src/shared/qscripthighlighter/qscripthighlighter.cpp
+++ b/src/shared/qscripthighlighter/qscripthighlighter.cpp
@@ -416,10 +416,6 @@ void QScriptHighlighter::highlightBlock(const QString &text)
|| state == StateCCommentStart2
) {
state = StateCComment;
- } else if (state == StateString) {
- state = StateString;
- } else if (state == StateString2) {
- state = StateString2;
} else {
state = StateStandard;
}