Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorashatalin2009-02-19 08:41:06 -0500
committerashatalin2009-02-19 08:41:06 -0500
commit0702375a9c3b5c7a7fbfd8752448a23dc8848f38 (patch)
tree36f7a258d664cfa616a93048989039599613961c /plugins/org.eclipse.gmf.codegen/templates.migrated/xpt/ExternalizerUtils.qvto
parent38989ace85a97bb78a15e240a3695ddfc51610b2 (diff)
downloadorg.eclipse.gmf-tooling-0702375a9c3b5c7a7fbfd8752448a23dc8848f38.tar.gz
org.eclipse.gmf-tooling-0702375a9c3b5c7a7fbfd8752448a23dc8848f38.tar.xz
org.eclipse.gmf-tooling-0702375a9c3b5c7a7fbfd8752448a23dc8848f38.zip
String escaping switched on in templates in accordance with OCL string escaping - https://bugs.eclipse.org/bugs/show_bug.cgi?id=242880.
Diffstat (limited to 'plugins/org.eclipse.gmf.codegen/templates.migrated/xpt/ExternalizerUtils.qvto')
-rw-r--r--plugins/org.eclipse.gmf.codegen/templates.migrated/xpt/ExternalizerUtils.qvto4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/org.eclipse.gmf.codegen/templates.migrated/xpt/ExternalizerUtils.qvto b/plugins/org.eclipse.gmf.codegen/templates.migrated/xpt/ExternalizerUtils.qvto
index 32cae5298..8e8bb5381 100644
--- a/plugins/org.eclipse.gmf.codegen/templates.migrated/xpt/ExternalizerUtils.qvto
+++ b/plugins/org.eclipse.gmf.codegen/templates.migrated/xpt/ExternalizerUtils.qvto
@@ -13,9 +13,9 @@ helper getExternalizerClassName() : String {
}
helper escapeIllegalKeySymbols(key : String) : String {
- return key.xpandReplaceAll('[=&"]', '').xpandReplaceAll('[ .]', '_')
+ return key.xpandReplaceAll('[=&\"]', '').xpandReplaceAll('[ .]', '_')
}
helper escapeIllegalMessageSymbols(message : String) : String {
- return message.xpandReplaceAll('!', '\\!')
+ return message.xpandReplaceAll('!', '\\\\!')
}

Back to the top