diff options
author | Roberto Raggi <roberto.raggi@nokia.com> | 2009-03-31 11:00:42 +0200 |
---|---|---|
committer | Roberto Raggi <roberto.raggi@nokia.com> | 2009-03-31 11:30:57 +0200 |
commit | 05d2cd60006af18a5c8188a712d074ba081b60d8 (patch) | |
tree | b4196a867a1febbaa8f00b6b86be3a6ec7fe172a /src/shared/qscripthighlighter | |
parent | d462696cf813cb14bcb36f2813e537ba38d19ae8 (diff) | |
download | qt-creator-05d2cd60006af18a5c8188a712d074ba081b60d8.tar.gz |
String state does not propagate!
Diffstat (limited to 'src/shared/qscripthighlighter')
-rw-r--r-- | src/shared/qscripthighlighter/qscripthighlighter.cpp | 4 |
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; } |