summaryrefslogtreecommitdiff
path: root/src/plugins/scxmleditor
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2016-11-29 14:37:56 +0100
committerTobias Hunger <tobias.hunger@qt.io>2016-11-29 14:53:13 +0000
commit95d70a895791d1e64d326613613eac686043bb17 (patch)
treeeed08db3fc0a56cb62955438c2b3613f58a16fe4 /src/plugins/scxmleditor
parent70ad561ec0ffad17f0ac3b12669027e859abe6eb (diff)
downloadqt-creator-95d70a895791d1e64d326613613eac686043bb17.tar.gz
SCXML Editor: Add some fall through markers
The parent/child relations between scxml tags are correct. Change-Id: I58cd4153feee8b7cf8bdb74f89486e9fbc641839 Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
Diffstat (limited to 'src/plugins/scxmleditor')
-rw-r--r--src/plugins/scxmleditor/plugin_interface/scxmltagutils.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/plugins/scxmleditor/plugin_interface/scxmltagutils.cpp b/src/plugins/scxmleditor/plugin_interface/scxmltagutils.cpp
index 7491a56312..41e114e160 100644
--- a/src/plugins/scxmleditor/plugin_interface/scxmltagutils.cpp
+++ b/src/plugins/scxmleditor/plugin_interface/scxmltagutils.cpp
@@ -112,6 +112,7 @@ QVector<TagType> allowedChildTypes(TagType tagType)
case State:
childTags << Initial;
childTags << Final;
+ // FALL THROUGH
case Parallel:
childTags << OnEntry;
childTags << OnExit;
@@ -134,6 +135,7 @@ QVector<TagType> allowedChildTypes(TagType tagType)
case If:
childTags << ElseIf;
childTags << Else;
+ // FALL THROUGH
case Transition:
case OnEntry:
case OnExit:
@@ -167,6 +169,7 @@ QVector<TagType> allowedChildTypes(TagType tagType)
break;
case Invoke:
childTags << Finalize;
+ // FALL THROUGH
case Donedata:
case Send:
childTags << Param;
@@ -208,6 +211,7 @@ QVector<TagType> childTypes(TagType tagType)
case If:
childTags << ElseIf;
childTags << Else;
+ // FALL THROUGH
case Transition:
case OnEntry:
case OnExit:
@@ -241,6 +245,7 @@ QVector<TagType> childTypes(TagType tagType)
break;
case Invoke:
childTags << Finalize;
+ // FALL THROUGH
case Donedata:
case Send:
childTags << Param;