Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/org.eclipse.etrice.core.fsm/src/org/eclipse/etrice/core/fsm/FSM.xtext')
-rw-r--r--plugins/org.eclipse.etrice.core.fsm/src/org/eclipse/etrice/core/fsm/FSM.xtext8
1 files changed, 3 insertions, 5 deletions
diff --git a/plugins/org.eclipse.etrice.core.fsm/src/org/eclipse/etrice/core/fsm/FSM.xtext b/plugins/org.eclipse.etrice.core.fsm/src/org/eclipse/etrice/core/fsm/FSM.xtext
index 9736caad1..3e7f4da78 100644
--- a/plugins/org.eclipse.etrice.core.fsm/src/org/eclipse/etrice/core/fsm/FSM.xtext
+++ b/plugins/org.eclipse.etrice.core.fsm/src/org/eclipse/etrice/core/fsm/FSM.xtext
@@ -92,11 +92,9 @@ RefinedState:
// the detail level (or target language) code
// the used flag might be used when overriding in derived grammars
-DetailCode:
- {DetailCode}
- used?='{'
- lines+=STRING*
- '}';
+DetailCode: {DetailCode}
+ (used?='{' lines+=STRING* '}') | (lines+=CC_STRING?)
+;
//
// transition points

Back to the top