Skip to content
Snippets Groups Projects
Commit fa2eca82 authored by Roberto Raggi's avatar Roberto Raggi
Browse files

Insert semicolon when matching enum declarations.

Task-number: QTCREATORBUG-282
parent 0b641d38
No related branches found
No related tags found
No related merge requests found
......@@ -238,7 +238,7 @@ QString MatchingText::insertParagraphSeparator(const QTextCursor &tc) const
if (current.is(T_EOF_SYMBOL))
break;
else if (current.is(T_CLASS) || current.is(T_STRUCT) || current.is(T_UNION)) {
else if (current.is(T_CLASS) || current.is(T_STRUCT) || current.is(T_UNION) || current.is(T_ENUM)) {
// found a class key.
QString str = QLatin1String("};");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment