Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit faef38af authored by Laurent Montel's avatar Laurent Montel 😁

USe Q_FALLTHROUGH

parent 3073d7d3
......@@ -294,7 +294,7 @@ Lexer::Token Lexer::Impl::nextToken(QString &result)
// and CRLF! That should be preserved somehow...
return MultiLineString;
}
// else fall through:
Q_FALLTHROUGH();
default: // Identifier (first must not be 0-9, and can't (caught by Number above))
if (!isIText(*mState.cursor)) {
makeError(Error::IllegalCharacter);
......@@ -688,7 +688,7 @@ bool Lexer::Impl::parseQuotedString(QString &result)
if (atEnd()) {
break;
}
// else fall through:
Q_FALLTHROUGH();
default:
if (!is8Bit(*mState.cursor)) {
result += QLatin1Char(*mState.cursor++);
......
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