Commit 05d2cd60 authored by Roberto Raggi's avatar Roberto Raggi
Browse files

String state does not propagate!

parent d462696c
...@@ -416,10 +416,6 @@ void QScriptHighlighter::highlightBlock(const QString &text) ...@@ -416,10 +416,6 @@ void QScriptHighlighter::highlightBlock(const QString &text)
|| state == StateCCommentStart2 || state == StateCCommentStart2
) { ) {
state = StateCComment; state = StateCComment;
} else if (state == StateString) {
state = StateString;
} else if (state == StateString2) {
state = StateString2;
} else { } else {
state = StateStandard; state = StateStandard;
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment