From f42c6aaae81a28f42e4dc991011beca01fc28272 Mon Sep 17 00:00:00 2001 From: Johannes Mey <johannes.mey@tu-dresden.de> Date: Sun, 27 Feb 2022 16:17:08 +0100 Subject: [PATCH] fix #2 --- grammar2uml/src/main/jastadd/backend/Generation.jadd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/grammar2uml/src/main/jastadd/backend/Generation.jadd b/grammar2uml/src/main/jastadd/backend/Generation.jadd index 45276bd..ed5a3bb 100644 --- a/grammar2uml/src/main/jastadd/backend/Generation.jadd +++ b/grammar2uml/src/main/jastadd/backend/Generation.jadd @@ -79,8 +79,8 @@ aspect AttributesForMustache { // --- toMRelationModifier --- syn String Role.toMRelationModifier(); eq NormalRole.toMRelationModifier() = "\"1\""; - eq ListRole.toMRelationModifier() = "\"0 .. 1\""; - eq OptRole.toMRelationModifier() = "\"*\""; + eq ListRole.toMRelationModifier() = "\"*\""; + eq OptRole.toMRelationModifier() = "\"0 .. 1\""; eq UnnamedRole.toMRelationModifier() { throw new RuntimeException("UnnamedRole cannot be converted to MRelation"); } -- GitLab