String state does not propagate!

This commit is contained in:
Roberto Raggi
2009-03-31 11:00:42 +02:00
parent d462696cf8
commit 05d2cd6000

View File

@@ -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;
}