Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorashatalin2009-01-10 10:54:45 -0500
committerashatalin2009-01-10 10:54:45 -0500
commit5bf10b95e7a7fa13ee38cc630358a81f182c386a (patch)
treec3fb4efa700710b6a0e1ef07467d4b4c51fe9395
parentbfb519ec753460f97dceaeee45b509dfdf61097b (diff)
downloadorg.eclipse.gmf-tooling-5bf10b95e7a7fa13ee38cc630358a81f182c386a.tar.gz
org.eclipse.gmf-tooling-5bf10b95e7a7fa13ee38cc630358a81f182c386a.tar.xz
org.eclipse.gmf-tooling-5bf10b95e7a7fa13ee38cc630358a81f182c386a.zip
OCL keywords are prefixed with "_" in collection expression iterator name
-rw-r--r--plugins/org.eclipse.gmf.xpand.migration/src/org/eclipse/gmf/internal/xpand/migration/ExpressionMigrationFacade.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/org.eclipse.gmf.xpand.migration/src/org/eclipse/gmf/internal/xpand/migration/ExpressionMigrationFacade.java b/plugins/org.eclipse.gmf.xpand.migration/src/org/eclipse/gmf/internal/xpand/migration/ExpressionMigrationFacade.java
index ee9d37bad..817342971 100644
--- a/plugins/org.eclipse.gmf.xpand.migration/src/org/eclipse/gmf/internal/xpand/migration/ExpressionMigrationFacade.java
+++ b/plugins/org.eclipse.gmf.xpand.migration/src/org/eclipse/gmf/internal/xpand/migration/ExpressionMigrationFacade.java
@@ -501,7 +501,7 @@ public class ExpressionMigrationFacade {
}
write("(");
String varName = collectionExpression.getElementName();
- write(varName);
+ write(modelManager.getOclKeywordManager().getValidIdentifierValue(varName));
pushContextWithVariable(varName, innerTargetQvtType);
EClassifier expressionType;
try {

Back to the top