diff options
author | Ansgar Radermacher | 2016-01-22 14:21:09 +0000 |
---|---|---|
committer | Gerrit Code Review @ Eclipse.org | 2016-01-22 15:46:52 +0000 |
commit | e8587f9c60ed458d6daee5128186f5b1ee54ac00 (patch) | |
tree | 7bf12bf148c1e271a5d29d19427896c5bb9e1cc7 | |
parent | 933ef683155a709c672ec90c1fe948d54ccaa9cb (diff) | |
download | org.eclipse.papyrus-e8587f9c60ed458d6daee5128186f5b1ee54ac00.tar.gz org.eclipse.papyrus-e8587f9c60ed458d6daee5128186f5b1ee54ac00.tar.xz org.eclipse.papyrus-e8587f9c60ed458d6daee5128186f5b1ee54ac00.zip |
Bug 486358 - [C++ codegen] The initialiser of a enumeration produces invalid code
-rw-r--r-- | extraplugins/qompass/codegen/cpp/org.eclipse.papyrus.cpp.codegen/src/org/eclipse/papyrus/cpp/codegen/xtend/CppEnumerations.xtend | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extraplugins/qompass/codegen/cpp/org.eclipse.papyrus.cpp.codegen/src/org/eclipse/papyrus/cpp/codegen/xtend/CppEnumerations.xtend b/extraplugins/qompass/codegen/cpp/org.eclipse.papyrus.cpp.codegen/src/org/eclipse/papyrus/cpp/codegen/xtend/CppEnumerations.xtend index 7ab2661f252..7ceaa1660f6 100644 --- a/extraplugins/qompass/codegen/cpp/org.eclipse.papyrus.cpp.codegen/src/org/eclipse/papyrus/cpp/codegen/xtend/CppEnumerations.xtend +++ b/extraplugins/qompass/codegen/cpp/org.eclipse.papyrus.cpp.codegen/src/org/eclipse/papyrus/cpp/codegen/xtend/CppEnumerations.xtend @@ -25,7 +25,7 @@ class CppEnumerations { enum «enumeration.name» { «FOR ownedLiteral : enumeration.ownedLiterals» «CppDocumentation.CppElementDoc(ownedLiteral)» - «ownedLiteral.name»«IF GenUtils.hasStereotype(ownedLiteral, CppInit)»«UMLUtil. + «ownedLiteral.name»«IF GenUtils.hasStereotype(ownedLiteral, CppInit)» = «UMLUtil. getStereotypeApplication(ownedLiteral, CppInit).value»«ENDIF», «ENDFOR» }; |