Skip to content
Snippets Groups Projects
Commit 32199de9 authored by Roquette's avatar Roquette Committed by Thorbjørn Lindeijer
Browse files

Added semicolon after } when creating unnamed enumeration


Task-number: QTCREATORBUG-643
Merge-request: 109
Reviewed-by: default avatarThorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com>
parent a6ca3486
No related branches found
No related tags found
No related merge requests found
......@@ -271,7 +271,7 @@ QString MatchingText::insertParagraphSeparator(const QTextCursor &tc) const
// anonymous namespace
return QLatin1String("}");
} else if (token.is(T_CLASS) || token.is(T_STRUCT) || token.is(T_UNION)) {
} else if (token.is(T_CLASS) || token.is(T_STRUCT) || token.is(T_UNION) || token.is(T_ENUM)) {
if (tk[index - 2].is(T_TYPEDEF)) {
// recognized:
// typedef struct {
......
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